From b1cae4ca38acc865c7aa6d5e61f22d244c384b41 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 May 2015 13:19:31 +0200 Subject: Traditional themes GTK+-3.16: adjust vertical linked spinbuttons --- .../TraditionalOk/gtk-3.0/gtk-widgets-img.css | 51 ++++++++++++++++++++-- 1 file changed, 47 insertions(+), 4 deletions(-) (limited to 'desktop-themes/TraditionalOk') diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets-img.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets-img.css index a4ce7957..5563cf9d 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets-img.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets-img.css @@ -758,7 +758,7 @@ column-header:last-child .button:active:focus { } /* Middle button */ -.linked.vertical .entry, + .linked.vertical > GtkComboBox > .button:last-child, .linked.vertical > GtkComboBox > .button:active:last-child, .linked.vertical > GtkComboBox > .button:active:hover:last-child, @@ -779,7 +779,7 @@ column-header:last-child .button:active:focus { } /* top button */ -.linked.vertical .entry:first-child, + .linked.vertical > GtkComboBox:first-child > .button:last-child, .linked.vertical > GtkComboBox:first-child > .button:active:last-child, .linked.vertical > GtkComboBox:first-child > .button:active:hover:last-child, @@ -788,7 +788,14 @@ column-header:last-child .button:active:focus { .linked.vertical > GtkComboBox:first-child > .button:focus:last-child, .linked.vertical > GtkComboBox:first-child > .button:focus:active:last-child, .linked.vertical > GtkComboBox:first-child > .button:focus:checked:last-child, -.linked.vertical > GtkComboBox:first-child > .button:insensitive:last-child, +.linked.vertical > GtkComboBox:first-child > .button:insensitive:last-child { + border-image: none; + border-radius: 3px 3px 0px 0px; + border-color: @border_color; + border-width: 1px 1px 1px 1px; + padding: 5px 5px; +} + .vertical .horizontal .vertical .frame .horizontal .vertical .linked.vertical .button.image-button:first-child, .vertical .horizontal .vertical .frame .horizontal .vertical .linked.vertical .button.image-button:active:first-child, .vertical .horizontal .vertical .frame .horizontal .vertical .linked.vertical .button.image-button:active:hover:first-child, @@ -806,7 +813,7 @@ column-header:last-child .button:active:focus { } /* bottom button */ -.vertical .linked.vertical .entry:last-child, + .linked.vertical > GtkComboBox:last-child > .button, .linked.vertical > GtkComboBox:last-child > .button:last-child, .linked.vertical .button:last-child, @@ -828,6 +835,42 @@ column-header:last-child .button:active:focus { padding: 5px 5px; } +/* vertical linked spinbutton */ + +.linked.vertical .horizontal.entry.spinbutton { + border-image: none; + border-color: @border_color; + border-radius: 0px; + border-width: 0px 1px 1px 1px; + padding: 4px 5px; + background-image: none; +} + +.linked.vertical .horizontal.entry.spinbutton .button, +.linked.vertical .horizontal.entry.spinbutton .button:hover, +.linked.vertical .horizontal.entry.spinbutton .button:focus, +.linked.vertical .horizontal.entry.spinbutton .button:active, +.linked.vertical .horizontal.entry.spinbutton .button:checked, +.linked.vertical .horizontal.entry.spinbutton .button:active:hover, +.linked.vertical .horizontal.entry.spinbutton .button:checked:hover, +.linked.vertical .horizontal.entry.spinbutton .button:insensitive { + border-image: none; + border-color: @border_color; + border-radius: 0px; + border-width: 0px 1px 0px 1px; +} + +.linked.vertical .horizontal.entry.spinbutton .button:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:hover:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:focus:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:active:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:checked:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:active:hover:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:checked:hover:last-child, +.linked.vertical .horizontal.entry.spinbutton .button:insensitive:last-child { + border-width: 0px 0px 0px 0px; +} + /* Dialog Action Area */ /* Leftmost button */ -- cgit v1.2.1