Skip to content

Commit

Permalink
fix(ui5-shellbar): buttons now have equal styles (SAP#9664)
Browse files Browse the repository at this point in the history
Co-authored-by: PetyaMarkovaBogdanova <[email protected]>
  • Loading branch information
PetyaMarkovaBogdanova and PetyaMarkovaBogdanova authored Aug 12, 2024
1 parent a95ef11 commit 38a446a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
.ui5-shellbar-menu-button,
.ui5-shellbar-button,
.ui5-shellbar-image-button,
::slotted([ui5-toggle-button][slot="assistant"]),
::slotted([ui5-button][slot="startButton"]) {
::slotted([ui5-toggle-button]),
::slotted([ui5-button]){
height: 2.25rem;
padding: 0;
margin-inline-start: 0.5rem;
Expand All @@ -57,8 +57,8 @@
margin-inline-start: 0;
}

::slotted([ui5-toggle-button][slot="assistant"]:hover),
::slotted([ui5-button][slot="startButton"]:hover),
::slotted([ui5-toggle-button]:hover),
::slotted([ui5-button]:hover),
.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover,
.ui5-shellbar-button:hover,
.ui5-shellbar-image-button:hover {
Expand All @@ -72,11 +72,11 @@
color: var(--sapShell_Assistant_ForegroundColor);
}

::slotted([ui5-toggle-button][slot="assistant"][active]),
::slotted([ui5-button][slot="startButton"][active]),
::slotted([ui5-toggle-button][active]),
::slotted([ui5-button][active]),
.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active,
.ui5-shellbar-button[active],
.ui5-shellbar-image-button:active {
.ui5-shellbar-image-button:active{
background: var(--sapShell_Active_Background);
border-color: var(--sapButton_Lite_Active_BorderColor);
color: var(--_ui5_shellbar_button_active_color);
Expand Down

0 comments on commit 38a446a

Please sign in to comment.