notebook: prevent tab closebutton :hover to change metric
This commit is contained in:
@ -1324,7 +1324,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
|
|||||||
&:backdrop { color: $backdrop_fg_color; }
|
&:backdrop { color: $backdrop_fg_color; }
|
||||||
}
|
}
|
||||||
.button { //tab close button
|
.button { //tab close button
|
||||||
border: 1px solid transparent;
|
border: 2px solid transparent;
|
||||||
@extend %undecorated_button;
|
@extend %undecorated_button;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
@ -1332,18 +1332,18 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
|
|||||||
&:hover {
|
&:hover {
|
||||||
color: $fg_color;
|
color: $fg_color;
|
||||||
@include button(hover, $edge: none);
|
@include button(hover, $edge: none);
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
&:active {
|
&:active {
|
||||||
@include button(active, $edge: none);
|
@include button(active, $edge: none);
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
}
|
}
|
||||||
&:backdrop {
|
&:backdrop, &:backdrop:hover {
|
||||||
color: transparentize($backdrop_fg_color,0.7);
|
color: transparentize($backdrop_fg_color,0.7);
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
}
|
}
|
||||||
& > GtkImage { // this is a hack which makes tabs grow
|
& > GtkImage { // this is a hack which makes tabs grow
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|||||||
@ -1539,7 +1539,7 @@ GtkTreeView.view.progressbar {
|
|||||||
.notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
|
.notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
|
||||||
color: #000; }
|
color: #000; }
|
||||||
.notebook tab .button {
|
.notebook tab .button {
|
||||||
border: 1px solid transparent;
|
border: 2px solid transparent;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: rgba(0, 0, 0, 0.3); }
|
color: rgba(0, 0, 0, 0.3); }
|
||||||
@ -1551,7 +1551,7 @@ GtkTreeView.view.progressbar {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-color: #7f7f7f;
|
border-color: #7f7f7f;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
.notebook tab .button:active {
|
.notebook tab .button:active {
|
||||||
@ -1561,11 +1561,11 @@ GtkTreeView.view.progressbar {
|
|||||||
color: white;
|
color: white;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
border-color: #7f7f7f;
|
border-color: #7f7f7f;
|
||||||
border-width: 1px; }
|
border-width: 2px; }
|
||||||
.notebook tab .button:backdrop {
|
.notebook tab .button:backdrop, .notebook tab .button:backdrop:hover {
|
||||||
color: rgba(0, 0, 0, 0.3);
|
color: rgba(0, 0, 0, 0.3);
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-width: 1px; }
|
border-width: 2px; }
|
||||||
.notebook tab .button > GtkImage {
|
.notebook tab .button > GtkImage {
|
||||||
padding: 2px; }
|
padding: 2px; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user