dotfiles/.themes/dracula/gtk-3.0/gtk-widgets-assets.css

294 lines
9.8 KiB
CSS
Raw Normal View History

2021-08-12 16:13:26 +02:00
.selection-mode.titlebar .titlebutton.minimize,
.titlebar .titlebutton.minimize {
color: transparent;
border:none;
box-shadow: none;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/min.svg"));
}
.selection-mode.titlebar .titlebutton.minimize:backdrop,
.titlebar .titlebutton.minimize:backdrop {
background-image: -gtk-scaled(url("../assets/min_unfocused.png"));
color: transparent;
}
.selection-mode.titlebar .titlebutton.minimize:hover,
.selection-mode.titlebar .titlebutton.minimize:active,
.selection-mode.titlebar .titlebutton.minimize:checked,
.titlebar .titlebutton.minimize:hover,
.titlebar .titlebutton.minimize:active,
.titlebar .titlebutton.minimize:checked {
color: transparent;
border: none;
box-shadow: none;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/min_prelight.svg"));
}
.selection-mode.titlebar .titlebutton.maximize,
.titlebar .titlebutton.maximize {
color: transparent;
border: none;
box-shadow: none;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/maximize.svg"));
}
.selection-mode.titlebar .titlebutton.maximize:backdrop,
.titlebar .titlebutton.maximize:backdrop {
background-image: -gtk-scaled(url("../assets/maximize_unfocused.png"));
color: transparent;
}
.selection-mode.titlebar .titlebutton.maximize:hover,
.selection-mode.titlebar .titlebutton.maximize:active,
.selection-mode.titlebar .titlebutton.maximize:checked,
.titlebar .titlebutton.maximize:hover,
.titlebar .titlebutton.maximize:active,
.titlebar .titlebutton.maximize:checked {
color: transparent;
border: none;
box-shadow: none;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/maximize_prelight.svg"));
}
.selection-mode.titlebar .titlebutton.close,
.titlebar .titlebutton.close {
color: transparent;
border: none;
box-shadow: none;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/close.svg"));
}
.selection-mode.titlebar .titlebutton.close:backdrop,
.titlebar .titlebutton.close:backdrop {
background-image: -gtk-scaled(url("../assets/close_unfocused.png"));
color: transparent;
}
.selection-mode.titlebar .titlebutton.close:hover,
.selection-mode.titlebar .titlebutton.close:active,
.selection-mode.titlebar .titlebutton.close:checked,
.titlebar .titlebutton.close:hover,
.titlebar .titlebutton.close:active,
.titlebar .titlebutton.close:checked {
color: transparent;
border: none;
box-shadow: none;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
background-image: -gtk-scaled(url("../assets/close_prelight.svg"));
}
/*******************
* check and radio *
*******************/
/* draw regular check and radio items using our assets */
.check,
.check:focus {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked.png"),url("../assets/checkbox-unchecked@2.png"));
}
.check:hover {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-hover.png"),url("../assets/checkbox-unchecked-hover@2.png"));
}
.check:insensitive,
.check row:selected:insensitive,
.check row:selected:focus:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-insensitive.png"),url("../assets/checkbox-unchecked-insensitive@2.png"));
}
.check:active,
.check:checked,
.check row:selected:active,
.check row:selected:focus:active {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked.png"),url("../assets/checkbox-checked@2.svg"));
}
.check:active:insensitive,
.check:checked:insensitive,
.check row:selected:active:insensitive,
.check row:selected:focus:active:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-insensitive.png"),url("../assets/checkbox-checked-insensitive@2.png"));
}
.check:inconsistent,
.check row:selected:inconsistent,
.check row:selected:focus:inconsistent {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed.png"),url("../assets/checkbox-mixed@2.png"));
}
.check:inconsistent:insensitive,
.check row:selected:inconsistent:insensitive,
.check row:selected:focus:inconsistent:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-insensitive.png"),url("../assets/checkbox-mixed-insensitive@2.png"));
}
.radio,
.radio:hover,
.radio row:selected,
.radio row:selected:focus {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked.png"),url("../assets/radio-unselected@2.png"));
}
.radio:insensitive,
.radio row:selected:insensitive,
.radio row:selected:focus:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-insensitive.png"),url("../assets/radio-unselected-insensitive@2.png"));
}
.radio:active,
.radio:active:hover,
.radio:checked,
.radio row:selected:active,
.radio row:selected:focus:active {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-checked.png"),url("../assets/radio-selected@2.png"));
}
.radio:active:insensitive,
.radio:checked:insensitive,
.radio row:selected:active:insensitive,
.radio row:selected:focus:active:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-insensitive.png"),url("../assets/radio-selected-insensitive@2.png"));
}
.radio:inconsistent,
.radio row:selected:inconsistent,
.radio row:selected:focus:inconsistent {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed.png"),url("../assets/radio-mixed@2.png"));
}
.radio:inconsistent:insensitive,
.radio row:selected:inconsistent:insensitive,
.radio row:selected:focus:inconsistent:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-insensitive.png"),url("../assets/radio-mixed-insensitive@2.png"));
}
.menuitem.check {
-gtk-icon-source: none;
}
.menuitem.check:active,
.menuitem.check:checked {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-checkbox-checked.png"),url("../assets/menuitem-checkbox-checked@2.png"));
}
.menuitem.check:active:hover,
.menuitem.check:checked:hover {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-checkbox-checked-hover.png"),url("../assets/menuitem-checkbox-checked-hover@2.png"));
}
.menuitem.check:active:insensitive,
.menuitem.check:checked:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-checkbox-checked-insensitive.png"),url("../assets/menuitem-checkbox-checked-insensitive@2.png"));
}
.menuitem.check:inconsistent,
.menuitem.radio:inconsistent {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-checkbox-mixed.png"),url("../assets/menuitem-checkbox-mixed@2.png"));
}
.menuitem.check:inconsistent:insensitive,
.menuitem.radio:inconsistent:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-checkbox-mixed-insensitive.png"),url("../assets/menuitem-checkbox-mixed-insensitive@2.png"));
}
.menuitem.radio {
-gtk-icon-source: none;
}
.menuitem.radio:active,
.menuitem.radio:checked {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-radio-checked.png"),url("../assets/menuitem-radio-checked@2.png"));
}
.menuitem.radio:active:hover,
.menuitem.radio:checked:hover {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-radio-checked-hover.png"),url("../assets/menuitem-radio-checked-hover@2.png"));
}
.menuitem.radio:active:insensitive,
.menuitem.radio:checked:insensitive {
-gtk-icon-source: -gtk-scaled(url("../assets/menuitem-radio-checked-insensitive.png"),url("../assets/menuitem-radio-checked-insensitive@2.png"));
}
GtkIconView.content-view.cell.check {
-gtk-icon-source: -gtk-scaled(url("../assets/grid-selection-unchecked.png"),url("../assets/grid-selection-unchecked@2.png"));
}
GtkIconView.content-view.cell.check:checked {
-gtk-icon-source: -gtk-scaled(url("../assets/grid-selection-checked.svg"),url("../assets/grid-selection-checked@2.svg"));
}
/******************
* pane separator *
******************/
.pane-separator.horizontal {
background-image: -gtk-scaled(url("../assets/pane-handle.png"),url("../assets/pane-handle@2.png"));
background-repeat: no-repeat;
background-position: center center;
}
.pane-separator.vertical {
background-image: -gtk-scaled(url("../assets/pane-handle-vertical.png"),url("../assets/pane-handle-vertical@2.png"));
background-repeat: no-repeat;
background-position: center center;
}
/*************
* GtkSwitch *
*************/
GtkSwitch.trough {
background-image: -gtk-scaled(url("../assets/switch-off.svg"),url("../assets/switch-off@2.svg"));
}
GtkSwitch.trough:active {
background-image: -gtk-scaled(url("../assets/switch-on.svg"),url("../assets/switch-on@2.svg"));
}
GtkSwitch.trough:insensitive,
GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("../assets/switch-insensitive.svg"),url("../assets/switch-insensitive@2.svg"));
}
GtkSwitch.slider {
background-image: -gtk-scaled(url("../assets/switch-slider-off.svg"),url("../assets/switch-slider-off@2.svg"));
}
GtkSwitch.slider:active {
background-image: -gtk-scaled(url("../assets/switch-slider-on.svg"),url("../assets/switch-slider-on@2.svg"));
}
GtkSwitch.slider:insensitive,
GtkSwitch.slider:active:insensitive {
background-image: -gtk-scaled(url("../assets/switch-slider-insensitive.svg"),url("../assets/switch-slider-insensitive@2.svg"));
}
/*******************
* GtkScale slider *
*******************/
.scale.slider {
background: -gtk-scaled(url("../assets/scale-slider.svg"),url("../assets/scale-slider@2.png"));
}
.scale.slider:hover {
background: -gtk-scaled(url("../assets/scale-slider-hover.svg"),url("../assets/scale-slider-hover@2.png"));
}
.scale.slider:insensitive {
background: -gtk-scaled(url("../assets/scale-slider-insensitive.png"),url("../assets/scale-slider-insensitive@2.png"));
}