From 38a446a73d68b5b9ec872cb2f377c4ffb896d3af Mon Sep 17 00:00:00 2001 From: PetyaMarkovaBogdanova Date: Mon, 12 Aug 2024 13:38:10 +0300 Subject: [PATCH] fix(ui5-shellbar): buttons now have equal styles (#9664) Co-authored-by: PetyaMarkovaBogdanova --- packages/fiori/src/themes/ShellBar.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/fiori/src/themes/ShellBar.css b/packages/fiori/src/themes/ShellBar.css index 4dde838eb965..56dfc9d2d4ac 100644 --- a/packages/fiori/src/themes/ShellBar.css +++ b/packages/fiori/src/themes/ShellBar.css @@ -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; @@ -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 { @@ -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);