mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Improve notebooks buttons
This commit is contained in:
@@ -209,7 +209,11 @@ notebook {
|
||||
|
||||
// colors the button like the label, overridden otherwise
|
||||
button.flat {
|
||||
&:hover { background: transparent; box-shadow: none; color: $red; }
|
||||
&:hover {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: $red;
|
||||
}
|
||||
|
||||
&, &:backdrop { color: gtkalpha(currentColor, 0.3); }
|
||||
|
||||
@@ -292,4 +296,15 @@ notebook {
|
||||
|
||||
&:backdrop { background-color: $backdrop_base_color; }
|
||||
}
|
||||
|
||||
button.flat{
|
||||
&, &:backdrop {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
&:hover, &:active, &:checked {
|
||||
background: $selected_bg_color;
|
||||
}
|
||||
padding: 2px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user