[gnome-themes-standard] fix scale trough
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] fix scale trough
- Date: Tue, 6 May 2014 22:23:52 +0000 (UTC)
commit ba1444f246e7e4b048a7e9891f9469c620581088
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue May 6 16:18:02 2014 -0400
fix scale trough
themes/Adwaita/gtk-3.0/gtk-widgets.css | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index cf5750b..13f0241 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -887,6 +887,11 @@ GtkProgressBar {
box-shadow: none;
}
+.trough,
+.trough.highlight {
+ border-radius: 3.5px;
+}
+
/* for progressbars in cell renderers */
.trough row {
padding: 0;
@@ -1230,8 +1235,8 @@ GtkComboBox.combobox-entry .button {
.inline-toolbar.toolbar.vertical .button:active,
.inline-toolbar.toolbar.vertical .button:insensitive,
.inline-toolbar.toolbar.vertical .button.default:insensitive,
-GtkSwitch.trough,
-GtkSwitch.trough:active:insensitive,
+.trough,
+.trough:active:insensitive,
.titlebar .titlebutton:hover,
.titlebar .titlebutton:active {
box-shadow: inset .5px .5px @borders,
@@ -1248,7 +1253,7 @@ GtkSwitch.trough:active:insensitive,
/* focused button borders */
.button.default:active,
.inline-toolbar.toolbar.vertical .button.default:active,
-GtkSwitch.trough:active {
+.trough:active {
box-shadow: inset .5px .5px @theme_selected_bg_color,
inset -.5px .5px @theme_selected_bg_color,
inset .5px -.5px @theme_selected_bg_color,
@@ -1263,7 +1268,7 @@ GtkSwitch.trough:active {
/* unfocused window: generic button borders */
.button:backdrop,
.spinbutton.vertical .button:backdrop,
-GtkSwitch.trough:backdrop,
+.trough:backdrop,
.inline-toolbar.toolbar.vertical .button:backdrop,
.inline-toolbar.toolbar.vertical .button:backdrop:insensitive,
.inline-toolbar.toolbar.vertical .button:backdrop:active,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]