HC: no border for insensitive backdrop buttons

https://bugzilla.gnome.org/show_bug.cgi?id=746192
This commit is contained in:
Jakub Steiner 2015-03-16 12:37:54 +01:00
parent 49cd3c8232
commit 6675b9639c
2 changed files with 5 additions and 3 deletions

View File

@ -374,8 +374,9 @@ $_dot_color: $selected_bg_color;
&:active, &.flat:active { &:active, &.flat:active {
@include button(insensitive-active); @include button(insensitive-active);
} }
} }
&.flat, &.flat:backdrop { &.flat, &.flat:backdrop, &.flat:insensitive:backdrop {
@extend %undecorated_button; @extend %undecorated_button;
} }
//overlay / OSD style //overlay / OSD style

View File

@ -730,7 +730,7 @@
border-radius: 3px; border-radius: 3px;
border-style: solid; } border-style: solid; }
.button.flat, .button.flat:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover { .button.flat, .button.flat:backdrop, .button.flat:insensitive:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
@ -780,7 +780,8 @@ GtkColorButton.button {
* border-radius: 0; * border-radius: 0;
* box-shadow: none; * box-shadow: none;
* } * }
* } */ } * }
*/ }
.spinbutton .button { .spinbutton .button {
background-image: none; background-image: none;
border-width: 0 0 0 1px; border-width: 0 0 0 1px;