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:
@@ -3230,6 +3230,14 @@ notebook > stack:not(:only-child) {
|
||||
notebook > stack:not(:only-child):backdrop {
|
||||
background-color: #1a1d2b; }
|
||||
|
||||
notebook button.flat {
|
||||
padding: 2px 4px; }
|
||||
notebook button.flat, notebook button.flat:backdrop {
|
||||
border: none;
|
||||
background-color: transparent; }
|
||||
notebook button.flat:hover, notebook button.flat:active, notebook button.flat:checked {
|
||||
background: #00D3A7; }
|
||||
|
||||
/*********
|
||||
* Paned *
|
||||
*********/
|
||||
|
||||
@@ -3237,6 +3237,14 @@ notebook > stack:not(:only-child) {
|
||||
notebook > stack:not(:only-child):backdrop {
|
||||
background-color: #e8edf3; }
|
||||
|
||||
notebook button.flat {
|
||||
padding: 2px 4px; }
|
||||
notebook button.flat, notebook button.flat:backdrop {
|
||||
border: none;
|
||||
background-color: transparent; }
|
||||
notebook button.flat:hover, notebook button.flat:active, notebook button.flat:checked {
|
||||
background: #00D3A7; }
|
||||
|
||||
/*********
|
||||
* Paned *
|
||||
*********/
|
||||
|
||||
@@ -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