Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Btn info inconsistent #8907

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion java/code/src/com/suse/manager/webui/utils/ViewHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ public enum ViewHelper {
"rhn/channels/software/Search.do",
"/rhn/manager/systems/ssm/coco/settings",
"/rhn/systems/ssm/audit/ScheduleXccdf.do",
"/rhn/systems/ssm/provisioning/PowerManagementConfiguration.do"
"/rhn/systems/ssm/provisioning/PowerManagementConfiguration.do",
"/rhn/systems/details/kickstart/PowerManagement.do",
"/rhn/systems/ssm/provisioning/PowerManagementOperations.do",
"/rhn/channels/ChannelDetail.do",
"/rhn/software/packages/Details.do"
);

ViewHelper() { }
Expand Down
17 changes: 17 additions & 0 deletions web/html/src/branding/css/susemanager/components/buttons.suma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,23 @@
}
}

.btn-info {
&,
&:active,
&:focus,
&:disabled,
&.disabled {
&,
&:hover {
border-color: $eos-bc-cerulean-500;

&:not(:disabled):not(.disabled):not(.text-muted):hover {
color: $white;
}
}
}
}

// Warning shouldn't currently be used anywhere, but cover it just in case
.btn-warning,
.btn-danger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,15 @@
border-color: #d43f3a;
}
}

.btn-info {
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;

&:hover{
color: #fff;
background-color: #31b0d5;
border-color: #269abc;
}
}
4 changes: 4 additions & 0 deletions web/html/src/core/spa/view-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const BOOTSTRAP_READY_PAGES: string[] = [
"/rhn/manager/systems/ssm/coco/settings",
"/rhn/systems/ssm/audit/ScheduleXccdf.do",
"/rhn/systems/ssm/provisioning/PowerManagementConfiguration.do",
"/rhn/systems/details/kickstart/PowerManagement.do",
"/rhn/systems/ssm/provisioning/PowerManagementOperations.do",
"/rhn/channels/ChannelDetail.do",
"/rhn/software/packages/Details.do",
];

export const onEndNavigate = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed btn-info style in new theme
Loading