[gnome-themes-standard: 15/26] scrollbars: theme scrollbars more closely to the mockups
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard: 15/26] scrollbars: theme scrollbars more closely to the mockups
- Date: Fri, 4 Mar 2011 03:32:05 +0000 (UTC)
commit 1c477d84ff731c7363ab77aaa5b8edc0572a195e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Mar 3 11:10:10 2011 -0500
scrollbars: theme scrollbars more closely to the mockups
Remove hard contrast between the arrow and the button background.
themes/Adwaita/gtk-3.0/gtk.css | 34 +++++++++++++++++++++-------------
1 files changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index e540c57..052bfe1 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -276,7 +276,7 @@ GtkComboBox .button {
* Scrollbars *
**************/
-GtkScrollbar {
+.scrollbar {
background-image: none;
border-style: solid;
-GtkRange-trough-border: 2;
@@ -286,45 +286,53 @@ GtkScrollbar {
-GtkScrollbar-min-slider-length: 30; /* minimum size for the slider. sadly can't be in '.slider' where it belongs */
}
-GtkScrollbar.trough {
+.scrollbar.trough {
background-image: none;
background-color: shade (@theme_bg_color, 0.882);
border-width: 0;
border-radius: 0;
}
-GtkScrollbar.slider, GtkScrollbar.button {
+.scrollbar.slider,
+.scrollbar.button {
background-image: none;
- background-color: lighter (@theme_bg_color);
+ background-color: @theme_base_color;
border-color: @button_border;
border-radius: 3;
border-width: 1;
}
-GtkScrollbar.slider:prelight {
+.scrollbar.slider:prelight {
background-image: none;
- background-color: lighter (@theme_bg_color);
+ background-color: @theme_base_color;
border-color: shade (@highlighted_border, 0.964);
}
-GtkScrollbar.slider:prelight:active {
+.scrollbar.slider:prelight:active {
background-image: none;
+ background-color: @theme_base_color;
border-color: @theme_selected_bg_color;
}
+.scrollbar.button {
+ color: @internal_element_color;
+}
-GtkScrollbar.button:prelight {
+.scrollbar.button:prelight {
background-image: none;
- background-color: lighter (@theme_bg_color);
+ background-color: @theme_base_color;
+ border-color: shade (@highlighted_border, 0.964)
}
-
-GtkScrollbar.button:prelight:active {
+.scrollbar.button:prelight:active {
background-image: none;
+ background-color: @theme_base_color;
+ border-color: shade (@highlighted_border, 0.964)
}
-GtkScrollbar.button:insensitive {
- background-color: lighter (@theme_bg_color);
+.scrollbar.button:insensitive {
+ color: lighter (@internal_element_color);
+ background-color: @theme_base_color;
}
/***********
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]