[gtk+] HC: no border for insensitive backdrop buttons
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HC: no border for insensitive backdrop buttons
- Date: Mon, 16 Mar 2015 11:39:20 +0000 (UTC)
commit 6675b9639cc790b8a15343322bda526646bd5cfc
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Mar 16 12:37:54 2015 +0100
HC: no border for insensitive backdrop buttons
https://bugzilla.gnome.org/show_bug.cgi?id=746192
gtk/theme/HighContrast/_common.scss | 3 ++-
gtk/theme/HighContrast/gtk.css | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 44af601..85ad778 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 0f267bf..772581a 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]