From 7a11faebc8acdf04c95f8f670e6958b0e9e2ef59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ostafin?= Date: Tue, 22 Sep 2020 10:26:59 +0200 Subject: [PATCH] EZEE-3271: Fixed styles for 'Send to review' action menu (#1519) * EZEE-3271: Fixed styles for 'Send to review' action menu * EZEE-3271: Refactor selector for buttons in side-menu and context-menu --- src/bundle/Resources/public/scss/_buttons.scss | 15 ++++++++------- src/bundle/Resources/public/scss/_tag.scss | 4 ++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/bundle/Resources/public/scss/_buttons.scss b/src/bundle/Resources/public/scss/_buttons.scss index 0f08fc37af..0a7d501494 100644 --- a/src/bundle/Resources/public/scss/_buttons.scss +++ b/src/bundle/Resources/public/scss/_buttons.scss @@ -95,7 +95,7 @@ .ez-side-menu, .ez-context-menu { - .btn:not(.ez-btn--confirm-send-to-trash):not(.ez-btn--hide-confirm) { + .ez-sticky-container > .btn { width: calculateRem(80px); height: calculateRem(80px); padding: calculateRem(2px); @@ -111,7 +111,6 @@ &:hover, &:focus { box-shadow: none; - background: $ibexa-white; outline: none; } @@ -135,10 +134,11 @@ } .ez-context-menu { - .btn:not(.ez-btn--confirm-send-to-trash):not(.ez-btn--hide-confirm) { - &:hover, - &:focus { + .ez-sticky-container > .btn { + &:focus, + &:hover { color: $ibexa-color-primary; + background: $ibexa-white; .ez-icon { fill: $ibexa-color-primary; @@ -148,11 +148,12 @@ } .ez-side-menu { - .btn { + .ez-sticky-container > .btn { &:focus, &:hover { color: $ibexa-black; - + background: $ibexa-white; + .ez-icon { fill: $ibexa-black; } diff --git a/src/bundle/Resources/public/scss/_tag.scss b/src/bundle/Resources/public/scss/_tag.scss index 23b4b6b1a1..9fc0284e9c 100644 --- a/src/bundle/Resources/public/scss/_tag.scss +++ b/src/bundle/Resources/public/scss/_tag.scss @@ -24,5 +24,9 @@ padding: 0; outline: none; line-height: 0; + + .ez-icon { + fill: $ibexa-color-base-black; + } } }