css: simpler edit-dialog headerbar button

make it full height and visually cleaner.
This commit is contained in:
Lapo Calamandrei
2016-07-08 01:56:06 +02:00
parent 7160da43a7
commit 7f8cb1a25d
+13 -14
View File
@@ -279,22 +279,21 @@ event-widget.color-light:backdrop {
} }
/* Edit dialog's header button */ /* Edit dialog's header button */
button.sources-button { .sources-button {
border: none; margin-top: 0;
background: transparent; margin-bottom: 0;
box-shadow: none; border-radius: 0;
padding-bottom: 0; border-top-style: none;
padding-top: 0; border-bottom-style: none;
-gtk-icon-effect: none;
} }
button.sources-button:hover { .sources-button:hover:not(:backdrop) {
background: @theme_bg_color; background-image: none;
border-bottom: solid 2px @theme_selected_bg_color; text-shadow: none;
box-shadow: none; icon-shadow: 0 1px alpha(black, 0.1);
} }
button.sources-button:checked { .sources-button:not(:backdrop) {
background: @theme_bg_color; icon-shadow: 0 1px alpha(black, 0.1);
border-bottom: solid 2px @theme_selected_bg_color;
box-shadow: none;
} }