Skip to content

Commit

Permalink
EZEE-3271: Fixed styles for 'Send to review' action menu (#1519)
Browse files Browse the repository at this point in the history
* EZEE-3271: Fixed styles for 'Send to review' action menu

* EZEE-3271: Refactor selector for buttons in side-menu and context-menu
  • Loading branch information
lucasOsti authored Sep 22, 2020
1 parent 15ec293 commit 7a11fae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/bundle/Resources/public/scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -111,7 +111,6 @@
&:hover,
&:focus {
box-shadow: none;
background: $ibexa-white;
outline: none;
}

Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
4 changes: 4 additions & 0 deletions src/bundle/Resources/public/scss/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
padding: 0;
outline: none;
line-height: 0;

.ez-icon {
fill: $ibexa-color-base-black;
}
}
}

0 comments on commit 7a11fae

Please # to comment.