diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-29 20:58:13 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-29 20:58:13 +0100 |
commit | e90fa27a41a9d1ef76e9e7bdd9190974b2f6f094 (patch) | |
tree | 0bcaaefb5d149665b855597991f31402b0405b2b /desktop-themes | |
parent | 5aa2a0b01aebe3e71adc710208e194006414a6d1 (diff) | |
download | mate-themes-e90fa27a41a9d1ef76e9e7bdd9190974b2f6f094.tar.bz2 mate-themes-e90fa27a41a9d1ef76e9e7bdd9190974b2f6f094.tar.xz |
Gtk+-3.20 BlueMenta gtk-widgets-borders: first raw port to gtk+ 3.20
Diffstat (limited to 'desktop-themes')
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css | 185 |
1 files changed, 156 insertions, 29 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css index 4befce04..aa45d706 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css @@ -1,6 +1,17 @@ /* Borders */ /* generic element borders */ +entry, +button:active, +button:checked, +combobox entry entry, +combobox entry button, +spinbutton.vertical button:active, +spinbutton.vertical button:checked, +toolbar.inline-toolbar.vertical button:active, +toolbar.inline-toolbar.vertical button:checked, +stack box.linked.verticalspinbutton.horizontal.entry.spinbutton.vertical button:active, +stack box.linked.verticalspinbutton.horizontal.entry.spinbutton.vertical button:checked, .entry, .button:active, .button:checked, @@ -19,20 +30,29 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } +trough, +trough highlight, .trough, .trough.highlight { border: 1px solid @borders; } - -.entry:insensitive, -.button:active:insensitive, -.spinbutton.vertical .button:insensitive, -GtkComboBox.combobox-entry .entry:insensitive, -GtkComboBox.combobox-entry .button:insensitive, -.inline-toolbar.toolbar.vertical .button:insensitive, -.inline-toolbar.toolbar.vertical .button.default:insensitive, -GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .button:insensitive { +entry:disabled, +button:active:disabled, +spinbutton.vertical button:disabled, +combobox entry entry:disabled, +combobox entry button:disabled, +toolbar.inline-toolbar.vertical button:disabled, +toolbar.inline-toolbar.vertical button.default:disabled, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton.vertical button:disabled, +.entry:disabled, +.button:active:disabled, +.spinbutton.vertical .button:disabled, +GtkComboBox.combobox-entry .entry:disabled, +GtkComboBox.combobox-entry .button:disabled, +.inline-toolbar.toolbar.vertical .button:disabled, +.inline-toolbar.toolbar.vertical .button.default:disabled, +GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .button:disabled { border-image: url("borders/button-active-ins.png") 3 4 4 4 / 3px 4px 4px 4px stretch; border-radius: 4px; border-width: 2px; @@ -40,14 +60,22 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } -.button:insensitive, -.button.default:insensitive, -.spinbutton.vertical .button:insensitive, -.inline-toolbar.toolbar .button:insensitive, -.inline-toolbar.toolbar .button.default:insensitive, -.inline-toolbar.toolbar.vertical .button:insensitive, -.inline-toolbar.toolbar.vertical .button.default:insensitive, -GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .button:insensitive { +button:disabled, +button.default:disabled, +spinbutton.vertical button:disabled, +toolbar.inline-toolbar button:disabled, +toolbar.inline-toolbar button.default:disabled, +toolbar.inline-toolbar.vertical button:disabled, +toolbar.inline-toolbar.vertical button.default:disabled, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton.vertical button:disabled, +.button:disabled, +.button.default:disabled, +.spinbutton.vertical .button:disabled, +.inline-toolbar.toolbar .button:disabled, +.inline-toolbar.toolbar .button.default:disabled, +.inline-toolbar.toolbar.vertical .button:disabled, +.inline-toolbar.toolbar.vertical .button.default:disabled, +GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .button:disabled { border-image: url("borders/button-ins.png") 3 4 4 4 / 3px 4px 4px 4px stretch; border-radius: 4px; border-width: 2px; @@ -55,6 +83,7 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } +row trough, .trough row { border-image: url("borders/nohl-generic-border.png") 3 / 3px stretch; border-radius: 4px; @@ -64,6 +93,22 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* focused element borders */ +entry:focus, +button:active:focus, +button:checked:focus, +button.default:active, +button.default:checked, +combobox entry button:focus, +spinbutton.vertical button:active:focus, +spinbutton.vertical button:checked:focus, +toolbar.inline-toolbar.vertical button:active:focus, +toolbar.inline-toolbar.vertical button:checked:focus +toolbar.inline-toolbar.vertical button.default:active, +toolbar.inline-toolbar.vertical button.default:checked, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton button:active, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton button:checked, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton button:active:focus, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton button:checked:focus, .entry:focus, .button:active:focus, .button:checked:focus, @@ -87,6 +132,10 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:chec border-color: transparent; } +.titlebar button:hover, +.titlebar button.titlebutton:hover, +.titlebar button.titlebutton:active, +.titlebar button:checked:checked, .titlebar .button:hover, .titlebar .titlebutton:hover, .titlebar .titlebutton:active, @@ -98,6 +147,7 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:chec border-color: transparent; } +button, .button /*.spinbutton.vertical .button, .inline-toolbar.toolbar.vertical .button*/ { @@ -108,6 +158,9 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:chec border-color: transparent; } +spinbutton.vertical button, +toolbar.inline-toolbar.vertical button, +stack box.linked.vertical spinbutton.horizontal.entry.spinbutton.vertical .button, .spinbutton.vertical .button, .inline-toolbar.toolbar.vertical .button, GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .button { @@ -119,6 +172,8 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* focused button borders */ +button.default, +button:focus, .button.default, .button:focus { border-image: url("borders/button-focus.png") 3 4 4 4 / 3px 4px 4px 4px stretch; @@ -128,21 +183,26 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } +button.flat:hover, .button.flat:hover { border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; } /* overrride for osd */ +toolbar.osd button:hover, .osd.toolbar .button:hover { border-image: none; } /* primary toolbar button borders */ +toolbar.primary-toolbar button:hover, .primary-toolbar .button:hover { border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; background-color: transparent; } +toolbar.primary-toolbar button:active, +toolbar.primary-toolbar button:checked, .primary-toolbar .button:active, .primary-toolbar .button:checked { border-image: url("borders/button-active.png") 3 3 4 3 / 3px 3px 4px 3px stretch; @@ -150,6 +210,7 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* tooltip elements borders */ +tooltip entry, .tooltip .entry { border-image: url("borders/button-active.png") 3 3 4 3 / 3px 3px 4px 3px stretch; border-width: 1px; @@ -157,6 +218,7 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } +tooltip button, .tooltip .button { border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; border-width: 1px; @@ -165,6 +227,7 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* tooltip focused elements borders */ +tooltip entry:focus, .tooltip .entry:focus { border-image: url("borders/button-focus.png") 3 3 4 3 / 3px 3px 4px 3px stretch; border-width: 1px; @@ -173,6 +236,20 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* primary toolbar - generic element borders */ +toolbar.primary-toolbar entry, +toolbar.primary-toolbar combobox entry .entry, +toolbar.primary-toolbar combobox entry .button, +toolbar.primary-toolbar button:active, +toolbar.primary-toolbar button.raised:active, +toolbar.primary-toolbar raised button:active, +toolbar.inline-toolbar button:active, +toolbar.primary-toolbar button:checked, +toolbar.primary-toolbar button.raised:checked, +toolbar.primary-toolbar .raised button:checked, +toolbar.inline-toolbar .button:checked, +toolbar.primary-toolbar switch.trough, +toolbar.primary-toolbar combobox button:checked, +toolbar.primary-toolbar combobox button:active, .primary-toolbar .entry, .primary-toolbar GtkComboBox.combobox-entry .entry, .primary-toolbar GtkComboBox.combobox-entry .button, @@ -194,13 +271,20 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu border-color: transparent; } -.primary-toolbar .button.raised:insensitive, -.primary-toolbar .raised .button:insensitive, -.primary-toolbar .button.raised.default:insensitive, -.primary-toolbar .raised .button.default:insensitive, -.primary-toolbar GtkSwitch.trough:insensitive, -.primary-toolbar GtkSwitch.trough:active:insensitive, -.primary-toolbar GtkComboBox .button:insensitive { +toolbar.primary-toolbar button.raised:disabled, +toolbar.primary-toolbar raised .button:disabled, +toolbar.primary-toolbar button.raised.default:disabled, +toolbar.primary-toolbar raised .button.default:disabled, +toolbar.primary-toolbar switch.trough:disabled, +toolbar.primary-toolbar switch.trough:active:disabled, +toolbar.primary-toolbar combobox button:disabled, +.primary-toolbar .button.raised:disabled, +.primary-toolbar .raised .button:disabled, +.primary-toolbar .button.raised.default:disabled, +.primary-toolbar .raised .button.default:disabled, +.primary-toolbar GtkSwitch.trough:disabled, +.primary-toolbar GtkSwitch.trough:active:disabled, +.primary-toolbar GtkComboBox .button:disabled { border-image: url("borders/button-active-ins.png") 3 3 4 3 / 3px 3px 4px 3px stretch; border-radius: 4px; border-width: 2px; @@ -209,6 +293,15 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* primary toolbar - focused element borders */ +toolbar.primary-toolbar button:active:focus, +toolbar.primary-toolbar entry:focus, +toolbar.primary-toolbar combobox entry entry:focus, +toolbar.primary-toolbar button.raised.default:checked, +toolbar.primary-toolbar .raised button.default:checked, +toolbar.inline-toolbar button.default:checked, +toolbar.primary-toolbar button.raised.default:active, +toolbar.primary-toolbar raised button.default:active, +toolbar.inline-toolbar button.default:active, .primary-toolbar .button:active:focus, .primary-toolbar .entry:focus, .primary-toolbar GtkComboBox.combobox-entry .entry:focus, @@ -227,6 +320,10 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* primary toolbar - generic button borders */ +toolbar.primary-toolbar button.raised, +toolbar.primary-toolbar .raised button, +toolbar.inline-toolbar button, +toolbar.primary-toolbar combobox button, .primary-toolbar .button.raised, .primary-toolbar .raised .button, .inline-toolbar.toolbar .button, @@ -239,6 +336,9 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* primary toolbar - focused button borders */ +toolbar.primary-toolbar button.raised.default, +toolbar.primary-toolbar .raised button.default, +toolbar.inline-toolbar button.default, .primary-toolbar .button.raised.default, .primary-toolbar .raised .button.default, .inline-toolbar.toolbar .button.default { @@ -250,6 +350,12 @@ GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton.vertical .bu } /* column-headers borders */ +treeview header button, +treeview header button:active, +treeview header button:active:hover, +treeview header button:checked, +treeview header button:checked:hover, +treeview header button:disabled, column-header.button, column-header .button, column-header.button:active, @@ -260,14 +366,20 @@ column-header.button:checked, column-header .button:checked, column-header.button:checked:hover, column-header .button:checked:hover, -column-header.button:insensitive, -column-header .button:insensitive { +column-header.button:disabled, +column-header .button:disabled { border-width: 0 1px 1px 0; border-radius: 0; border-style: solid; border-color: transparent; } +treeview header button, +treeview header button:active, +treeview header button:active:hover, +treeview header button:checked, +treeview header button:checked:hover, +treeview header button.dnd, column-header.button, column-header .button, column-header.button:active, @@ -285,6 +397,7 @@ column-header .button.dnd { } /* ie. yumex-dnf */ +stack treeview header button, GtkStack column-header .button { border-width: 0px 1px 1px 0px; border-color: transparent; @@ -294,13 +407,19 @@ GtkStack column-header .button { shade(@borders, 1.0)) 0 1 1 0; } -column-header.button:insensitive, -column-header .button:insensitive { +treeview header button:disabled, +column-header.button:disabled, +column-header .button:disabled { border-image: linear-gradient(to top, alpha(@theme_base_color, 0.0), @insensitive_bg_color) 0 1 1 0; } +treeview header button:last-child, +treeview header button:active:last-child, +treeview header button:active:hover:last-child, +treeview header button:checked:last-child, +treeview header button:checked:hover:last-child, column-header.button:last-child, column-header:last-child .button, column-header.button:last-child:active, @@ -314,6 +433,7 @@ column-header:last-child .button:checked:hover { border-right-width: 0; } +treeview header button:focus column-header.button:focus, column-header .button:focus { border-image: linear-gradient(to top, @@ -324,6 +444,8 @@ column-header .button:focus { } /* pushed colored buttons borders */ +toolbar.selection-mode button.suggested-action, +toolbar.selection-mode GtkToolButton.suggested-action button, .selection-mode.toolbar .suggested-action.button, .selection-mode.toolbar GtkToolButton.suggested-action .button { border-image: url("borders/button-focus.png") 3 3 4 3 / 3px 3px 4px 3px stretch; @@ -335,6 +457,9 @@ column-header .button:focus { } /* suggested action buttons borders */ +button.suggested-action, +button.suggested-action:checked, +button.suggested-action:active, .suggested-action.button, .suggested-action.button:checked, .suggested-action.button:active { @@ -347,6 +472,9 @@ column-header .button:focus { } /* destructive action buttons borders */ +button.destructive-action, +button.destructive-action:checked, +button.destructive-action:active, .destructive-action.button, .destructive-action.button:checked, .destructive-action.button:active { @@ -355,5 +483,4 @@ column-header .button:focus { border-width: 2px; border-style: solid; border-color: transparent; - /* Zuki note: figure out the heck it does */ } |