Skip to content

Commit

Permalink
Element editor hover style
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Dec 12, 2020
1 parent cd7d42b commit 3b87945
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/alchemy/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,14 @@
}
}

&.selected:not(.is-fixed) {
&.selected:not(.is-fixed), &:hover {
&:not(.hidden) {
box-shadow: 0 2px 8px rgba(#9b9b9b, 0.75);
}
}

&:not(.folded):not(.dirty):not(.hidden) > .element-header {
&.selected:not(.is-fixed):not(.folded):not(.dirty):not(.hidden) {
> .element-header {
background-color: $element-header-active-bg-color;
color: $element-header-active-color;
}
Expand Down

0 comments on commit 3b87945

Please sign in to comment.