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 */
button.sources-button {
border: none;
background: transparent;
box-shadow: none;
padding-bottom: 0;
padding-top: 0;
.sources-button {
margin-top: 0;
margin-bottom: 0;
border-radius: 0;
border-top-style: none;
border-bottom-style: none;
-gtk-icon-effect: none;
}
button.sources-button:hover {
background: @theme_bg_color;
border-bottom: solid 2px @theme_selected_bg_color;
box-shadow: none;
.sources-button:hover:not(:backdrop) {
background-image: none;
text-shadow: none;
icon-shadow: 0 1px alpha(black, 0.1);
}
button.sources-button:checked {
background: @theme_bg_color;
border-bottom: solid 2px @theme_selected_bg_color;
box-shadow: none;
.sources-button:not(:backdrop) {
icon-shadow: 0 1px alpha(black, 0.1);
}