Skip to content

Commit

Permalink
Update tabs buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
EliverLara committed Apr 20, 2019
1 parent 4f0456c commit 750c719
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3181,6 +3181,8 @@ notebook > header {
box-shadow: none;
color: #bf616a; }
notebook > header tab button.flat, notebook > header tab button.flat:backdrop {
background: transparent;
border: none;
color: alpha(currentColor,0.3); }
notebook > header tab button.flat:last-child {
margin-left: 4px;
Expand Down
2 changes: 2 additions & 0 deletions gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3181,6 +3181,8 @@ notebook > header {
box-shadow: none;
color: #bf616a; }
notebook > header tab button.flat, notebook > header tab button.flat:backdrop {
background: transparent;
border: none;
color: alpha(currentColor,0.3); }
notebook > header tab button.flat:last-child {
margin-left: 4px;
Expand Down
12 changes: 10 additions & 2 deletions gtk-3.0/widgets/_notebooks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,17 @@

// 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); }
&, &:backdrop {
background: transparent;
border: none;
color: gtkalpha(currentColor, 0.3);
}

padding: 0;
margin-top: 4px;
Expand Down

0 comments on commit 750c719

Please sign in to comment.