summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-08-14 17:05:06 +0200
committerraveit65 <[email protected]>2015-08-14 17:05:06 +0200
commitc602da32b367ffa2a647a69648892ecf9964362c (patch)
treeef022ca13e1a85e10987e0930c44b0fd2def285c
parentbf43021cc6276ba0e955f6650026b02a43bb90d3 (diff)
downloadmate-themes-c602da32b367ffa2a647a69648892ecf9964362c.tar.bz2
mate-themes-c602da32b367ffa2a647a69648892ecf9964362c.tar.xz
Gtk+-3.16 ContrastHigh: style vertical linked buttons + vertical toolbar
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css116
1 files changed, 110 insertions, 6 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
index 9b19bfbe..155ebac4 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -662,6 +662,10 @@ GtkProgressBar {
background-color: @theme_base_color;
}
+.vertical.toolbar {
+ border-width: 0 1px 0 0;
+}
+
.toolbar .button {
background-color: transparent;
padding: 1px;
@@ -936,8 +940,7 @@ GtkComboBox.combobox-entry .button {
.linked.vertical .button:checked,
.linked.vertical .button:checked:hover,
.linked.vertical .button:insensitive {
- border-top-width: 0;
- border-bottom-width: 0;
+ border-width: 0 2px 1px 2px;
border-radius: 0;
}
@@ -949,7 +952,7 @@ GtkComboBox.combobox-entry .button {
.linked.vertical .button:checked:first-child,
.linked.vertical .button:checked:hover:first-child,
.linked.vertical .button:insensitive:first-child {
- border-bottom-width: 0;
+ border-width: 2px 2px 1px 2px;
border-radius: 3px 3px 0 0;
}
@@ -961,7 +964,7 @@ GtkComboBox.combobox-entry .button {
.linked.vertical .button:checked:last-child,
.linked.vertical .button:checked:hover:last-child,
.linked.vertical .button:insensitive:last-child {
- border-top-width: 0;
+ border-width: 0px 2px 2px 2px;
border-radius: 0 0 3px 3px;
}
@@ -973,8 +976,7 @@ GtkComboBox.combobox-entry .button {
.linked.vertical .button:checked:only-child,
.linked.vertical .button:checked:hover:only-child,
.linked.vertical .button:insensitive:only-child {
- border-top-width: 1px;
- border-bottom-width: 1px;
+ border-width: 2px;
border-radius: 3px;
}
@@ -2430,6 +2432,108 @@ GtkPopover .separator {
box-shadow: 0 1px 5px @wm_shadow;
}
+/************
+ * GtkStack *
+ ************/
+
+GtkStackSidebar.sidebar GtkViewport.frame {
+ border-style: solid;
+ border-width: 0px 1px 0px 0px;
+ border-color: @theme_border_color;
+ padding: 1px;
+}
+
+GtkStackSidebar.sidebar .separator.horizontal {
+ -GtkWidget-separator-height: 0px;
+}
+
+GtkStackSidebar.sidebar GtkViewport.frame .sidebar-item.list-row.button {
+ border-radius: 0px;
+}
+
+/* top button */
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:last-child,
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:hover:last-child,
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:focus:last-child,
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:active:last-child,
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:checked:last-child,
+GtkStack .vertical.linked > GtkComboBox > GtkToggleButton.button:insensitive:last-child,
+GtkStack .linked.vertical GtkToggleButton.button,
+GtkStack .linked.vertical GtkToggleButton.button:hover,
+GtkStack .linked.vertical GtkToggleButton.button:focus,
+GtkStack .linked.vertical GtkToggleButton.button:active,
+GtkStack .linked.vertical GtkToggleButton.button:checked,
+GtkStack .linked.vertical GtkToggleButton.button:insensitive {
+ border-radius: 3px 3px 0 0;
+ border-width: 2px;
+ border-bottom-width: 0;
+ border-style: solid;
+ padding: 3px 4px;
+}
+
+/* bottom button */
+GtkStack .linked.vertical .button.text-button:last-child,
+GtkStack .linked.vertical .button.text-button:hover:last-child,
+GtkStack .linked.vertical .button.text-button:focus:last-child,
+GtkStack .linked.vertical .button.text-button:active:last-child,
+GtkStack .linked.vertical .button.text-button:checked:last-child,
+GtkStack .linked.vertical .button.text-button:insensitive:last-child {
+ border-radius: 0 0 3px 3px;
+ border-width: 2px;
+ border-top-width: 1px;
+ border-style: solid;
+ padding: 3px 4px;
+}
+
+/* spinbuttons, middle */
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton:hover,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton:focus,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton:active,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton:checked,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton:insensitive {
+ border-radius: 0px;
+ border-width: 1px 2px 0 2px;
+ border-style: solid;
+ padding: 6px 5px;
+}
+
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:hover,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child:hover,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child:hover,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:active,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:checked,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child:active,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child:active,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child:checked,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child:checked,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:insensitive,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child:insensitive,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child:insensitive {
+ border-radius: 0px;
+ border-width: 0 1px 0 1px;
+ border-style: solid;
+ padding: 6px 5px;
+}
+
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:focus,
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:first-child:focus {
+ border-radius: 0px;
+ border-width: 1px;
+ border-style: solid;
+ padding: 6px 5px;
+}
+
+GtkStack .linked.vertical GtkSpinButton.horizontal.entry.spinbutton .button:last-child:focus {
+ border-radius: 0px;
+ border-width: 1px 0px 1px 1px;
+ border-style: solid;
+ padding: 6px 5px;
+}
+
/****************
* App-specific *
****************/