mirror of
https://github.com/grassmunk/Chicago95.git
synced 2025-07-25 22:55:20 +02:00
XFCE4.14 Updates
Adding the radiobutton to the focus state exclusion as well as porting to the gtk3.0 version of the theme. This resolves the double outline border effect seen in the Firefox download dialog when selecting download location.
This commit is contained in:
parent
9fc4add879
commit
655b9013c1
@ -44,7 +44,7 @@ iconview:selected,
|
||||
-gtk-icon-effect: dim; }
|
||||
|
||||
/* There appears to be a bug in gtk treeviews on :focus with outlines that will cause a momentary displacement of the UI. Keep the treeview exclusion! */
|
||||
:focus:not(treeview):not(view) {
|
||||
:focus:not(treeview):not(view):not(checkbutton):not(radiobutton) {
|
||||
outline: 1px dotted @border_dark;
|
||||
-gtk-outline-radius: 0px;
|
||||
outline-offset: -4px; }
|
||||
@ -631,85 +631,69 @@ button.color {
|
||||
/* disabling focus outline because it looks bad around the whole element... */
|
||||
radiobutton:focus,
|
||||
checkbutton:focus {
|
||||
outline: 0px
|
||||
}
|
||||
outline: 0px;
|
||||
outline: none; }
|
||||
|
||||
/* ...instead we are going to enable it around the label */
|
||||
/* but outline doesen't work inside a label! so we use borders */
|
||||
radiobutton label,
|
||||
checkbutton label{
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
border: 1px dotted alpha(@border_dark,0);
|
||||
}
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
border: 1px dotted alpha(@border_dark,0); }
|
||||
|
||||
radiobutton:focus label,
|
||||
checkbutton:focus label{
|
||||
border: 1px dotted @border_dark;
|
||||
}
|
||||
border: 1px dotted @border_dark; }
|
||||
|
||||
check,
|
||||
radio {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
}
|
||||
min-width: 16px;
|
||||
min-height: 16px; }
|
||||
|
||||
check:checked {
|
||||
-gtk-icon-source: url("assets/checkbox-checked.png");
|
||||
-gtk-icon-transform: none;
|
||||
background: none;
|
||||
}
|
||||
-gtk-icon-source: url("assets/checkbox-checked.png");
|
||||
-gtk-icon-transform: none;
|
||||
background: none; }
|
||||
|
||||
check:not(:checked) {
|
||||
-gtk-icon-source: url("assets/checkbox-unchecked.png");
|
||||
-gtk-icon-transform: none;
|
||||
background: none;
|
||||
}
|
||||
-gtk-icon-source: url("assets/checkbox-unchecked.png");
|
||||
-gtk-icon-transform: none;
|
||||
background: none; }
|
||||
|
||||
check:indeterminate {
|
||||
-gtk-icon-source: url("assets/checkbox-mixed.png");
|
||||
background: none;
|
||||
}
|
||||
-gtk-icon-source: url("assets/checkbox-mixed.png");
|
||||
background: none; }
|
||||
|
||||
check:disabled:checked {
|
||||
-gtk-icon-source: url("assets/checkbox-checked-insensitive.png");
|
||||
background: none;
|
||||
}
|
||||
-gtk-icon-source: url("assets/checkbox-checked-insensitive.png");
|
||||
background: none; }
|
||||
|
||||
check:disabled:not(checked) {
|
||||
-gtk-icon-source: url("assets/checkbox-unchecked-insensitive.png");
|
||||
background: none;
|
||||
}
|
||||
-gtk-icon-source: url("assets/checkbox-unchecked-insensitive.png");
|
||||
background: none; }
|
||||
|
||||
check:indeterminate:disabled {
|
||||
-gtk-icon-source: url("assets/checkbox-mixed-insensitive.png");
|
||||
background: none;
|
||||
}
|
||||
|
||||
-gtk-icon-source: url("assets/checkbox-mixed-insensitive.png");
|
||||
background: none; }
|
||||
|
||||
radio:checked {
|
||||
-gtk-icon-source: url("assets/radio-selected.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-selected.png"); }
|
||||
|
||||
radio:not(:checked) {
|
||||
-gtk-icon-source: url("assets/radio-unselected.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-unselected.png"); }
|
||||
|
||||
radio:indeterminate {
|
||||
-gtk-icon-source: url("assets/radio-mixed.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-mixed.png"); }
|
||||
|
||||
radio:disabled:checked {
|
||||
-gtk-icon-source: url("assets/radio-selected-insensitive.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-selected-insensitive.png"); }
|
||||
|
||||
radio:disabled:not(checked) {
|
||||
-gtk-icon-source: url("assets/radio-unselected-insensitive.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-unselected-insensitive.png"); }
|
||||
|
||||
radio:indeterminate:disabled {
|
||||
-gtk-icon-source: url("assets/radio-mixed-insensitive.png");
|
||||
}
|
||||
-gtk-icon-source: url("assets/radio-mixed-insensitive.png"); }
|
||||
|
||||
/*********
|
||||
* Frames *
|
||||
|
@ -44,7 +44,7 @@ iconview:selected,
|
||||
-gtk-icon-effect: dim; }
|
||||
|
||||
/* There appears to be a bug in gtk treeviews on :focus with outlines that will cause a momentary displacement of the UI. Keep the treeview exclusion! */
|
||||
:focus:not(treeview):not(view):not(checkbutton) {
|
||||
:focus:not(treeview):not(view):not(checkbutton):not(radiobutton) {
|
||||
outline: 1px dotted @border_dark;
|
||||
-gtk-outline-radius: 0px;
|
||||
outline-offset: -4px; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user