mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 07:29:51 +01:00
Improve notebooks buttons
This commit is contained in:
@@ -3219,6 +3219,14 @@ notebook > stack:not(:only-child) {
|
|||||||
notebook > stack:not(:only-child):backdrop {
|
notebook > stack:not(:only-child):backdrop {
|
||||||
background-color: #1a1d2b; }
|
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 *
|
* Paned *
|
||||||
*********/
|
*********/
|
||||||
|
|||||||
@@ -3226,6 +3226,14 @@ notebook > stack:not(:only-child) {
|
|||||||
notebook > stack:not(:only-child):backdrop {
|
notebook > stack:not(:only-child):backdrop {
|
||||||
background-color: #e8edf3; }
|
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 *
|
* Paned *
|
||||||
*********/
|
*********/
|
||||||
|
|||||||
@@ -209,7 +209,11 @@ notebook {
|
|||||||
|
|
||||||
// colors the button like the label, overridden otherwise
|
// colors the button like the label, overridden otherwise
|
||||||
button.flat {
|
button.flat {
|
||||||
&:hover { background: transparent; box-shadow: none; color: $red; }
|
&:hover {
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
color: $red;
|
||||||
|
}
|
||||||
|
|
||||||
&, &:backdrop { color: gtkalpha(currentColor, 0.3); }
|
&, &:backdrop { color: gtkalpha(currentColor, 0.3); }
|
||||||
|
|
||||||
@@ -292,4 +296,15 @@ notebook {
|
|||||||
|
|
||||||
&:backdrop { background-color: $backdrop_base_color; }
|
&: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