forked from AuroraMiddleware/gtk
HightContrast: make tab buttons not shift size
- only 1px stroke for close buttons in notebook tabs https://bugzilla.gnome.org/show_bug.cgi?id=746149
This commit is contained in:
parent
9b5fa0860f
commit
f671cd6296
@ -1327,15 +1327,18 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
|
||||
&:hover {
|
||||
color: $fg_color;
|
||||
@include button(hover, $edge: none);
|
||||
border-width: 1px;
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
&:active {
|
||||
@include button(active, $edge: none);
|
||||
border-width: 1px;
|
||||
}
|
||||
&:backdrop {
|
||||
color: transparentize($backdrop_fg_color,0.7);
|
||||
border-color: transparent;
|
||||
border-width: 1px;
|
||||
}
|
||||
& > GtkImage { // this is a hack which makes tabs grow
|
||||
padding: 2px;
|
||||
|
@ -1543,6 +1543,7 @@ GtkTreeView.view.progressbar {
|
||||
background-color: #fff;
|
||||
border-color: #7f7f7f;
|
||||
background-image: none;
|
||||
border-width: 1px;
|
||||
background-image: none;
|
||||
box-shadow: none; }
|
||||
.notebook tab .button:active {
|
||||
@ -1551,10 +1552,12 @@ GtkTreeView.view.progressbar {
|
||||
background-image: none;
|
||||
color: white;
|
||||
background-color: black;
|
||||
border-color: #7f7f7f; }
|
||||
border-color: #7f7f7f;
|
||||
border-width: 1px; }
|
||||
.notebook tab .button:backdrop {
|
||||
color: rgba(0, 0, 0, 0.3);
|
||||
border-color: transparent; }
|
||||
border-color: transparent;
|
||||
border-width: 1px; }
|
||||
.notebook tab .button > GtkImage {
|
||||
padding: 2px; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user