Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

darker progressbars, lighter scrollbars

  • Loading branch information...
commit dfce2c4888f379a174a104303231e6746a8e0fe1 1 parent 9061860
@laite laite authored
Showing with 35 additions and 38 deletions.
  1. +7 −5 gtk-2.0/gtkrc
  2. +25 −29 gtk-3.0/gtk-widgets.css
  3. +3 −4 gtk-3.0/gtk.css
View
12 gtk-2.0/gtkrc
@@ -10,6 +10,7 @@ gtk_color_scheme = "tooltip_bg_color:#000000\ntooltip_fg_color:#E1E1E1" # Toolti
gtk_color_scheme = "link_color:#08c" # Hyperlinks
gtk_color_scheme = "panel_bg:#303030" # Panel bg color. Not used here though.
gtk_color_scheme = "fm_color:#F7F7F7" # Color used in Nautilus and Thunar.
+gtk_color_scheme = "frame_color:#CDCDCD\ninactive_frame_color:#CDCDCD" # Fix for Chrome
### EXTERNAL FILES ###
include "panel.rc" # This includes the file that handles panel theming.
@@ -62,7 +63,7 @@ style "murrine-default"
GtkArrow ::arrow-scaling = 0.3 # arrow size (e.g. in combobox or combobox-entry), only works with arrowstyle=0
- GtkScrollbar ::min-slider-length = 30
+ GtkScrollbar ::min-slider-length = 50
#GtkScrollbar ::activate-slider = 1
GtkScrollbar ::slider-width = 9
GtkScrollbar ::trough-border = 2
@@ -352,14 +353,14 @@ style "murrine-progressbar"
style "murrine-scrollbar"
{
- bg[SELECTED] = shade (0.65, @base_color)
-
+ bg[SELECTED] = shade (0.75, @base_color)
+
engine "murrine" {
arrowstyle = 1
roundness = 9
gradient_shades = {1.0,1.0,1.0,1.0}
highlight_shade = 1.0
- glow_shade = 1.0
+ glow_shade = 0.95
reliefstyle = 2
gradient_colors = FALSE
lightborder_shade = 1.0
@@ -369,7 +370,7 @@ style "murrine-scrollbar"
border_shades = { 0.85, 0.85} # slider border outline
shadow_shades = { 0.5, 0.8 }
contrast = 0.0 # no trough-border
- prelight_shade = 0.65
+ prelight_shade = 0.6
}
}
@@ -594,3 +595,4 @@ style "chrome-gtk-frame"
class "ChromeGtkFrame" style "chrome-gtk-frame"
include "nautilus.rc" # Nautilus styling
+
View
54 gtk-3.0/gtk-widgets.css
@@ -1087,8 +1087,8 @@ GtkImage:insensitive {
.progressbar row:selected:focused {
background-image: -gtk-gradient (linear,
left top, left bottom,
- from (shade (@progressbar_background_a,1.04)),
- to (shade (@progressbar_background_b,0.98)));
+ from (shade (@progressbar_background_a,1.14)),
+ to (shade (@progressbar_background_b,1.08)));
-unico-background-texture: url("progressbar.png");
border-radius: 4px;
border-style: solid;
@@ -1229,18 +1229,19 @@ GtkScale.progressbar {
.scale.highlight.left {
background-image: -gtk-gradient (linear, left top, left bottom,
- from (shade (@selected_bg_color, 1.13)),
- to (shade (@selected_bg_color, 0.9)));
+ from (shade (@progressbar_background_a, 0.94)),
+ to (shade (@progressbar_background_b, 0.88)));
border-style: solid;
- border-width: 1px;
-
+ border-width: 0px;
+ border-radius: 4px;
+
-unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
- from (shade (@selected_bg_color, 0.75)),
- to (shade (@selected_bg_color, 0.75)));
+ from (shade (@base_color, 0.45)),
+ to (shade (@base_color, 0.55)));
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
- from (shade (@selected_bg_color, 1.22)),
- to (shade (@selected_bg_color, 1.0)));
+ from (shade (@progressbar_border, 0.94)),
+ to (shade (@progressbar_border, 0.88)));
-unico-inner-stroke-width: 1px;
-unico-outer-stroke-color: @transparent;
-unico-outer-stroke-gradient: none;
@@ -1249,18 +1250,18 @@ GtkScale.progressbar {
.scale.highlight.bottom {
background-image: -gtk-gradient (linear, left top, right top,
- from (shade (@selected_bg_color, 1.13)),
- to (shade (@selected_bg_color, 0.9)));
+ from (shade (@progressbar_background_a, 0.94)),
+ to (shade (@progressbar_background_b, 0.88)));
border-style: solid;
- border-width: 1px;
+ border-width: 0px;
-unico-border-gradient: -gtk-gradient (linear, left top, right top,
- from (shade (@selected_bg_color, 0.75)),
- to (shade (@selected_bg_color, 0.75)));
+ from (shade (@base_color, 0.45)),
+ to (shade (@base_color, 0.55)));
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, right top,
- from (shade (@selected_bg_color, 1.22)),
- to (shade (@selected_bg_color, 1.0)));
+ from (shade (@progressbar_border, 0.94)),
+ to (shade (@progressbar_border, 0.88)));
-unico-inner-stroke-width: 1px;
-unico-outer-stroke-color: @transparent;
-unico-outer-stroke-gradient: none;
@@ -1273,6 +1274,7 @@ GtkScale.trough {
to (shade (@bg_color, 0.72)));
border-width: 1px;
border-style: solid;
+ border-radius: 4px;
-unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@bg_color, 0.5)),
@@ -1324,30 +1326,24 @@ GtkScale.trough.vertical {
.scrollbar.slider.horizontal,
.scrollbar.button.horizontal {
background-image: none;
- background-color: #a1a1a1;
- border-style: none;
- border-radius: 10px;
- border-width: 0;
-}
-
-.scrollbar.slider.vertical:prelight,
-.scrollbar.slider.horizontal:prelight {
- background-image: none;
- background-color: #686868;
- border-color: #8e8e8e;
+ background-color: #b8b8b8;
+ border-color: #aaaaaa;
border-radius: 10px;
border-width: 1px;
}
+.scrollbar.slider.vertical:prelight,
+.scrollbar.slider.horizontal:prelight,
.scrollbar.slider.vertical:prelight:active,
.scrollbar.slider.horizontal:prelight:active {
background-image: none;
background-color: #686868;
- border-color: #8e8e8e;
+ border-color: #909090;
border-radius: 10px;
border-width: 1px;
}
+
.scrollbar.slider:insensitive {
background-color: @base_color;
}
View
7 gtk-3.0/gtk.css
@@ -27,7 +27,6 @@
@define-color error_bg_color rgb (237, 54, 54);
@define-color link_color #74a0c6;
@define-color error_color #cc0000;
-@define-color success_color #4e9a06;
/* theme common colors */
@define-color button_bg_color shade (@bg_color,1.02);
@@ -61,9 +60,9 @@
@define-color progressbar_through_a #c7c7c7;
@define-color progressbar_through_b #d7d7d7;
@define-color progressbar_through_border #a3a3a3;
-@define-color progressbar_background_a #a2b8cb;
-@define-color progressbar_background_b #b5c8d7;
-@define-color progressbar_border #8298aa;
+@define-color progressbar_background_a #6d8eaf;
+@define-color progressbar_background_b #6d8eaf;
+@define-color progressbar_border #51667b;
@define-color menuitem_background_a #8ba4b8;
@define-color menuitem_background_b #7a94a9;
Please sign in to comment.
Something went wrong with that request. Please try again.