Skip to content

Commit

Permalink
BUGfix: GTK3&4 - titlebuttons backdrop prelight
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Jan 31, 2022
1 parent dec281a commit 0a15db2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 62 deletions.
11 changes: 0 additions & 11 deletions gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,17 +439,6 @@ button {
outline-color: rgba(191, 195, 205, 0.3);
background-color: rgba(255, 106, 0, 0.6);
text-shadow: none; }
notebook > header > tabs > arrow:backdrop:backdrop,
button:backdrop:backdrop {
color: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:hover,
button:backdrop:backdrop:hover {
background: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:active, notebook > header > tabs > arrow:backdrop:backdrop:checked, notebook > header > tabs > arrow:backdrop:backdrop:selected,
button:backdrop:backdrop:active,
button:backdrop:backdrop:checked,
button:backdrop:backdrop:selected {
background: rgba(255, 106, 0, 0.6); }
notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:backdrop:disabled,
button.flat:backdrop,
button.flat:disabled,
Expand Down
11 changes: 0 additions & 11 deletions gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,17 +439,6 @@ button {
outline-color: rgba(191, 195, 205, 0.3);
background-color: rgba(255, 106, 0, 0.6);
text-shadow: none; }
notebook > header > tabs > arrow:backdrop:backdrop,
button:backdrop:backdrop {
color: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:hover,
button:backdrop:backdrop:hover {
background: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:active, notebook > header > tabs > arrow:backdrop:backdrop:checked, notebook > header > tabs > arrow:backdrop:backdrop:selected,
button:backdrop:backdrop:active,
button:backdrop:backdrop:checked,
button:backdrop:backdrop:selected {
background: rgba(255, 106, 0, 0.6); }
notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:backdrop:disabled,
button.flat:backdrop,
button.flat:disabled,
Expand Down
18 changes: 9 additions & 9 deletions gtk-3.0/widgets/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ button {
&:checked { @include button(backdrop-insensitive-active); }
}
}
&:backdrop {
color: inherit;
&:hover{
background: inherit;
}
&:active, &:checked, &:selected {
background: $backdrop_selected_bg_color;
}
}
//&:backdrop { // BUGfix - titlebutton backdrop prelight
//color: inherit;
//&:hover{
//background: inherit;
//}
//&:active, &:checked, &:selected {
//background: $backdrop_selected_bg_color;
//}
//}
}

&.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
Expand Down
11 changes: 0 additions & 11 deletions gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -427,17 +427,6 @@ button {
outline-color: rgba(191, 195, 205, 0.3);
background-color: rgba(255, 106, 0, 0.6);
text-shadow: none; }
notebook > header > tabs > arrow:backdrop:backdrop,
button:backdrop:backdrop {
color: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:hover,
button:backdrop:backdrop:hover {
background: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:active, notebook > header > tabs > arrow:backdrop:backdrop:checked, notebook > header > tabs > arrow:backdrop:backdrop:selected,
button:backdrop:backdrop:active,
button:backdrop:backdrop:checked,
button:backdrop:backdrop:selected {
background: rgba(255, 106, 0, 0.6); }
notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:backdrop:disabled,
button.flat:backdrop,
button.flat:disabled,
Expand Down
11 changes: 0 additions & 11 deletions gtk-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -427,17 +427,6 @@ button {
outline-color: rgba(191, 195, 205, 0.3);
background-color: rgba(255, 106, 0, 0.6);
text-shadow: none; }
notebook > header > tabs > arrow:backdrop:backdrop,
button:backdrop:backdrop {
color: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:hover,
button:backdrop:backdrop:hover {
background: inherit; }
notebook > header > tabs > arrow:backdrop:backdrop:active, notebook > header > tabs > arrow:backdrop:backdrop:checked, notebook > header > tabs > arrow:backdrop:backdrop:selected,
button:backdrop:backdrop:active,
button:backdrop:backdrop:checked,
button:backdrop:backdrop:selected {
background: rgba(255, 106, 0, 0.6); }
notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:backdrop:disabled,
button.flat:backdrop,
button.flat:disabled,
Expand Down
18 changes: 9 additions & 9 deletions gtk-4.0/widgets/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ button {
&:checked { @include button(backdrop-insensitive-active); }
}
}
&:backdrop {
color: inherit;
&:hover{
background: inherit;
}
&:active, &:checked, &:selected {
background: $backdrop_selected_bg_color;
}
}
//&:backdrop { // BUGfix - backdrop titlebuttons prelight
//color: inherit;
//&:hover{
//background: inherit;
//}
//&:active, &:checked, &:selected {
//background: $backdrop_selected_bg_color;
//}
//}
}

&.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
Expand Down

0 comments on commit 0a15db2

Please sign in to comment.