Improve notebooks buttons

This commit is contained in:
EliverLara
2019-04-09 12:02:09 -05:00
parent 056a89a35f
commit f225f18a87
3 changed files with 32 additions and 1 deletions

View File

@@ -3201,6 +3201,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 *
*********/

View File

@@ -3201,6 +3201,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 *
*********/

View File

@@ -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;
}
}