From 46b19da5311ca9b05beda1288a0964fa4f94983d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 21 Apr 2015 18:25:04 +0200 Subject: BlackMATE GTK3: fix stack-switcher button --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 28 ++++++++++++++++-------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'desktop-themes/BlackMATE') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 82d8d79a..2e13fc70 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1827,14 +1827,19 @@ GtkMenuButton .menu { border-color: alpha(@frame_color, 0.6); /*shade(@theme_bg_color, 0.8);*/ } -/* Stack switcher */ -.stack-switcher > .button > GtkLabel, .header-bar .stack-switcher > .button.titlebutton > GtkLabel, +/****************** + * Stack switcher * + ******************/ + +.stack-switcher > .button > GtkLabel, +.header-bar .stack-switcher > .button.titlebutton > GtkLabel, .titlebar .stack-switcher > .button.titlebutton > GtkLabel, GtkCalendar.header .stack-switcher > .button.titlebutton > GtkLabel { padding-left: 6px; padding-right: 6px; } -.stack-switcher > .button > GtkImage, .header-bar .stack-switcher > .button.titlebutton > GtkImage, +.stack-switcher > .button > GtkImage, +.header-bar .stack-switcher > .button.titlebutton > GtkImage, .titlebar .stack-switcher > .button.titlebutton > GtkImage, GtkCalendar.header .stack-switcher > .button.titlebutton > GtkImage { padding-left: 6px; @@ -1845,25 +1850,30 @@ GtkCalendar.header .stack-switcher > .button.titlebutton > GtkImage { .stack-switcher > .button.text-button { padding: 5px 10px 6px; } -.stack-switcher > .button.image-button, .header-bar .stack-switcher > .titlebutton.button, +.stack-switcher > .button.image-button, +.header-bar .stack-switcher > .titlebutton.button, .titlebar .stack-switcher > .titlebutton.button, GtkCalendar.header .stack-switcher > .titlebutton.button { padding: 5px 2px; } -.stack-switcher > .button.needs-attention > GtkLabel, .stack-switcher > .button.needs-attention > GtkImage { +.stack-switcher > .button.needs-attention > GtkLabel, +.stack-switcher > .button.needs-attention > GtkImage { animation: needs_attention 150ms ease-in; - background-color: @theme_bg_color; /* FIXME: ? */ + background-color: transparent; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: right 3px, right 4px; } -.stack-switcher > .button.needs-attention > GtkLabel:backdrop, .stack-switcher > .button.needs-attention > GtkImage:backdrop { +.stack-switcher > .button.needs-attention > GtkLabel:backdrop, +.stack-switcher > .button.needs-attention > GtkImage:backdrop { background-size: 6px 6px, 0 0; } -.stack-switcher > .button.needs-attention > GtkLabel:dir(rtl), .stack-switcher > .button.needs-attention > GtkImage:dir(rtl) { +.stack-switcher > .button.needs-attention > GtkLabel:dir(rtl), +.stack-switcher > .button.needs-attention > GtkImage:dir(rtl) { background-position: left 3px, left 4px; } -.stack-switcher > .button.needs-attention:active > GtkLabel, .stack-switcher > .button.needs-attention:active > GtkImage, .stack-switcher > .button.needs-attention:checked > GtkLabel, .stack-switcher > .button.needs-attention:checked > GtkImage { +.stack-switcher > .button.needs-attention:active > GtkLabel, +.stack-switcher > .button.needs-attention:active > GtkImage, .stack-switcher > .button.needs-attention:checked > GtkLabel, .stack-switcher > .button.needs-attention:checked > GtkImage { animation: none; background-image: none; } -- cgit v1.2.1