From: Jakub Steiner Date: Mon, 16 Mar 2015 11:37:54 +0000 (+0100) Subject: HC: no border for insensitive backdrop buttons X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~10181 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6675b9639cc790b8a15343322bda526646bd5cfc;p=gtk4.git HC: no border for insensitive backdrop buttons https://bugzilla.gnome.org/show_bug.cgi?id=746192 --- diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 44af601d99..85ad778c84 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -374,8 +374,9 @@ $_dot_color: $selected_bg_color; &:active, &.flat:active { @include button(insensitive-active); } + } - &.flat, &.flat:backdrop { + &.flat, &.flat:backdrop, &.flat:insensitive:backdrop { @extend %undecorated_button; } //overlay / OSD style diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index 0f267bf352..772581ac8e 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -730,7 +730,7 @@ border-radius: 3px; 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; background-color: transparent; background-image: none; @@ -780,7 +780,8 @@ GtkColorButton.button { * border-radius: 0; * box-shadow: none; * } - * } */ } + * } + */ } .spinbutton .button { background-image: none; border-width: 0 0 0 1px;