mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 23:39:51 +01:00
Cinnamon: Fix missing hover effect on some elements #133
This commit is contained in:
@@ -51,7 +51,10 @@
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
min-height: 24px;
|
min-height: 24px;
|
||||||
&:hover { color: $selected_bg_color; }
|
&:hover {
|
||||||
|
background: transparent;
|
||||||
|
color: $selected_bg_color;
|
||||||
|
}
|
||||||
&:selected,
|
&:selected,
|
||||||
&:active,
|
&:active,
|
||||||
&:checked { @include button(active-header); }
|
&:checked { @include button(active-header); }
|
||||||
|
|||||||
@@ -986,8 +986,18 @@ button:backdrop {
|
|||||||
border-width: 1px; }
|
border-width: 1px; }
|
||||||
|
|
||||||
.primary-toolbar
|
.primary-toolbar
|
||||||
|
button, .primary-toolbar .raised
|
||||||
button {
|
button {
|
||||||
-gtk-icon-shadow: none; }
|
-gtk-icon-shadow: none; }
|
||||||
|
.primary-toolbar
|
||||||
|
button:hover, .primary-toolbar
|
||||||
|
button:focus, .primary-toolbar .raised
|
||||||
|
button:hover, .primary-toolbar .raised
|
||||||
|
button:focus {
|
||||||
|
color: #fefefe;
|
||||||
|
outline-color: rgba(254, 254, 254, 0.3);
|
||||||
|
background-color: #00D3A7;
|
||||||
|
text-shadow: none; }
|
||||||
|
|
||||||
.stack-switcher > button.needs-attention > label,
|
.stack-switcher > button.needs-attention > label,
|
||||||
.stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label {
|
.stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label {
|
||||||
@@ -6409,6 +6419,7 @@ ConversationListView {
|
|||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
min-height: 24px; }
|
min-height: 24px; }
|
||||||
.nemo-window toolbar.primary-toolbar button:hover {
|
.nemo-window toolbar.primary-toolbar button:hover {
|
||||||
|
background: transparent;
|
||||||
color: #00D3A7; }
|
color: #00D3A7; }
|
||||||
.nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
|
.nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
|
||||||
border-radius: 23px;
|
border-radius: 23px;
|
||||||
|
|||||||
@@ -989,8 +989,18 @@ button:backdrop {
|
|||||||
border-width: 1px; }
|
border-width: 1px; }
|
||||||
|
|
||||||
.primary-toolbar
|
.primary-toolbar
|
||||||
|
button, .primary-toolbar .raised
|
||||||
button {
|
button {
|
||||||
-gtk-icon-shadow: none; }
|
-gtk-icon-shadow: none; }
|
||||||
|
.primary-toolbar
|
||||||
|
button:hover, .primary-toolbar
|
||||||
|
button:focus, .primary-toolbar .raised
|
||||||
|
button:hover, .primary-toolbar .raised
|
||||||
|
button:focus {
|
||||||
|
color: #fefefe;
|
||||||
|
outline-color: rgba(254, 254, 254, 0.3);
|
||||||
|
background-color: #00D3A7;
|
||||||
|
text-shadow: none; }
|
||||||
|
|
||||||
.stack-switcher > button.needs-attention > label,
|
.stack-switcher > button.needs-attention > label,
|
||||||
.stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label {
|
.stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label {
|
||||||
@@ -6434,6 +6444,7 @@ ConversationListView {
|
|||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
min-height: 24px; }
|
min-height: 24px; }
|
||||||
.nemo-window toolbar.primary-toolbar button:hover {
|
.nemo-window toolbar.primary-toolbar button:hover {
|
||||||
|
background: transparent;
|
||||||
color: #00D3A7; }
|
color: #00D3A7; }
|
||||||
.nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
|
.nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
|
||||||
border-radius: 23px;
|
border-radius: 23px;
|
||||||
|
|||||||
@@ -366,7 +366,15 @@ button {
|
|||||||
@extend %linked;
|
@extend %linked;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-toolbar & { -gtk-icon-shadow: none; } // tango icons don't need shadows
|
.primary-toolbar &, .primary-toolbar .raised & { // tango icons don't need shadows
|
||||||
|
-gtk-icon-shadow: none;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
@include button(hover,$selected_bg_color,$selected_fg_color);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.linked > &,
|
.linked > &,
|
||||||
.linked > &:hover,
|
.linked > &:hover,
|
||||||
|
|||||||
Reference in New Issue
Block a user