GTK3 theme: Improve selected widget outline
This commit is contained in:
parent
690763efb2
commit
1506ec8e5e
@ -4685,11 +4685,12 @@ popover.emoji-completion .emoji:hover {
|
||||
background: #2e313d; }
|
||||
|
||||
* {
|
||||
outline-color: alpha(currentColor,0.07);
|
||||
outline-style: solid;
|
||||
outline-offset: -2px;
|
||||
outline-offset: -4px;
|
||||
outline-width: 2px;
|
||||
-gtk-outline-radius: 6px; }
|
||||
-gtk-outline-radius: 3px; }
|
||||
*, *:hover, *:active, *:checked, *:focus, * button, * button:hover, * button:active, * button:checked, * button:focus {
|
||||
outline-color: alpha(currentColor,0.07); }
|
||||
|
||||
.titlebar stackswitcher button:checked:active, .titlebar stackswitcher button:checked,
|
||||
.titlebar button.toggle:active,
|
||||
|
||||
@ -4685,11 +4685,12 @@ popover.emoji-completion .emoji:hover {
|
||||
background: #2e313d; }
|
||||
|
||||
* {
|
||||
outline-color: alpha(currentColor,0.07);
|
||||
outline-style: solid;
|
||||
outline-offset: -2px;
|
||||
outline-offset: -4px;
|
||||
outline-width: 2px;
|
||||
-gtk-outline-radius: 6px; }
|
||||
-gtk-outline-radius: 3px; }
|
||||
*, *:hover, *:active, *:checked, *:focus, * button, * button:hover, * button:active, * button:checked, * button:focus {
|
||||
outline-color: alpha(currentColor,0.07); }
|
||||
|
||||
.titlebar stackswitcher button:checked:active, .titlebar stackswitcher button:checked,
|
||||
.titlebar button.toggle:active,
|
||||
|
||||
@ -4706,11 +4706,12 @@ popover.emoji-completion .emoji:hover {
|
||||
background: white; }
|
||||
|
||||
* {
|
||||
outline-color: alpha(currentColor,0.07);
|
||||
outline-style: solid;
|
||||
outline-offset: -2px;
|
||||
outline-offset: -4px;
|
||||
outline-width: 2px;
|
||||
-gtk-outline-radius: 6px; }
|
||||
-gtk-outline-radius: 3px; }
|
||||
*, *:hover, *:active, *:checked, *:focus, * button, * button:hover, * button:active, * button:checked, * button:focus {
|
||||
outline-color: alpha(currentColor,0.15); }
|
||||
|
||||
.titlebar stackswitcher button:checked:active, .titlebar stackswitcher button:checked,
|
||||
.titlebar button.toggle:active,
|
||||
|
||||
@ -1,9 +1,14 @@
|
||||
* {
|
||||
outline-color: gtkalpha(currentColor, 0.07);
|
||||
outline-style: solid;
|
||||
outline-offset: -2px;
|
||||
outline-offset: -4px;
|
||||
outline-width: 2px;
|
||||
-gtk-outline-radius: 6px;
|
||||
-gtk-outline-radius: 3px;
|
||||
|
||||
&, & button {
|
||||
&, &:hover, &:active, &:checked, &:focus {
|
||||
outline-color: gtkalpha(currentColor, if($variant == 'light', 0.15, 0.07));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%button_active,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user