From d52653bef4eda976394642e10a3081636ae3e824 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Thu, 28 Feb 2013 01:20:46 +0530 Subject: [PATCH] Various fixes --- gtk-3.0/apps/granite-widgets.css | 48 +++++++++++++------------------- gtk-3.0/gtk-widgets.css | 17 +++++++---- gtk-3.0/gtk.css | 2 +- gtk-3.0/settings.ini | 2 +- 4 files changed, 33 insertions(+), 36 deletions(-) diff --git a/gtk-3.0/apps/granite-widgets.css b/gtk-3.0/apps/granite-widgets.css index b7a14dc..ff2428d 100644 --- a/gtk-3.0/apps/granite-widgets.css +++ b/gtk-3.0/apps/granite-widgets.css @@ -2,7 +2,7 @@ * dynamic notebooks * *********************/ .dynamic-notebook { - background-color: shade(@theme_bg_color, 1.02); + background-color: shade(@theme_bg_color, 1.08); background-image: none; } @@ -32,7 +32,7 @@ border-width: 1px; border-color: shade(@theme_bg_color, 0.8); border-radius: 2px; - background-color: shade(@theme_bg_color, 1.02); + background-color: shade(@theme_bg_color, 1.08); color: @theme_fg_color; } @@ -59,17 +59,15 @@ .content-view-window { border-width: 1px; border-style: solid; - border-color: shade(@theme_bg_color, 0.8); + border-color: shade(@theme_bg_color, 0.8); border-radius: 5px; - background-image: -gtk-gradient(linear, left top, left bottom, - from (@theme_base_color), - to (shade(@theme_base_color, 0.97))); + background-color:shade(@theme_bg_color, 1.08); + color: @theme_fg_color; } .content-view .entry { - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(@theme_base_color, 0.97)), - to (@theme_base_color)); + background-color: @theme_base_color; + color: @theme_text_color; } .content-view .title, @@ -110,9 +108,9 @@ border-width: 0 0 1px 0; border-style: solid; border-color: shade(@theme_bg_color, 0.8); - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(@theme_bg_color, 0.96)), - to (shade(@theme_bg_color, 0.94))); + background-image: none; + background-color: @theme_bg_color; + -GtkWidget-window-dragging: true; } @@ -152,10 +150,8 @@ *************/ GraniteWidgetsStatusBar { padding: 1px; - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(shade(@theme_bg_color, 1.02), 1.1)), - to (shade(shade(@theme_bg_color, 1.02), 0.9))); - + background-image: none; + background-color: @theme_bg_color; box-shadow: inset 0 1px shade(@theme_bg_color, 0.8); } @@ -177,9 +173,8 @@ GraniteWidgetsPopOver { .popover_bg { background-color: transparent; - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(@menu_bg_color, 1.02)), - to (shade(@menu_bg_color, 1.0))); + background-image: none; + background-color: @menu_bg_color; } GraniteWidgetsPopOver .sidebar.view, @@ -202,10 +197,8 @@ GraniteWidgetsPopOver .button:hover:active { } GraniteWidgetsPopOver .entry { - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(@theme_base_color, 0.97)), - to (@theme_base_color)); - + background-image: none; + background-color: @theme_base_color; color: @theme_text_color; } @@ -216,10 +209,9 @@ GraniteWidgetsPopOver .entry { .app:hover, .app:focus { - background-image: -gtk-gradient(linear, left top, left bottom, - from (shade(@theme_selected_bg_color, 1.1)), - to (shade(@theme_selected_bg_color, 0.9))); - + border-color: shade(@theme_selected_bg_color, 0.90); + background-image: none; + background-color: @theme_selected_bg_color; color: @theme_selected_fg_color; } @@ -269,4 +261,4 @@ GraniteWidgetsPopOver .entry { } .notify .critical { -} \ No newline at end of file +} diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css index 6c003a4..b684152 100644 --- a/gtk-3.0/gtk-widgets.css +++ b/gtk-3.0/gtk-widgets.css @@ -439,10 +439,15 @@ column-header:last-child .button { /**************** * drawing area * ****************/ + GtkDrawingArea { background-color: transparent; } +GtkDrawingArea:insensitive { + background-color: shade(@theme_bg_color, 0.90); +} + /************ * gucharmap * *************/ @@ -941,10 +946,10 @@ GtkTreeMenu .menuitem * { .notebook tab { padding: 3px; - border-color: shade(@theme_bg_color, 0.90); + border-color: shade(@theme_bg_color, 0.85); border-radius: 2px; background-image: none; - background-color: shade(@theme_bg_color, 0.95); + background-color: shade(@theme_bg_color, 0.90); } .notebook tab:active { @@ -1164,18 +1169,18 @@ GtkScale.mark { GtkScale.trough { margin: 7px 0; - border-color: shade(@theme_bg_color, 0.8); + border-color: shade(@theme_bg_color, 0.85); border-radius: 2px; background-image: none; - background-color: shade(@theme_bg_color, 0.95); + background-color: shade(@theme_bg_color, 0.85); } GtkScale.trough.vertical { margin: 0 7px; - border-color: shade(@theme_bg_color, 0.8); + border-color: shade(@theme_bg_color, 0.85); border-radius: 2px; background-image: none; - background-color: shade(@theme_bg_color, 0.95); + background-color: shade(@theme_bg_color, 0.85); } .menubar .menuitem .scale.highlight.left, diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index ed1e514..d6957fb 100644 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -1,7 +1,7 @@ /* Default color scheme */ @define-color bg_color #dedede; @define-color fg_color #555555; -@define-color base_color #f1f1f1; +@define-color base_color #f9f9f9; @define-color text_color #555555; @define-color selected_bg_color #d64937; @define-color selected_fg_color #f9f9f9; diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini index bf9b5ee..7556e6c 100644 --- a/gtk-3.0/settings.ini +++ b/gtk-3.0/settings.ini @@ -1,4 +1,4 @@ [Settings] -gtk-color-scheme = "base_color:#eeeeee\nbg_color:#dddddd\ntooltip_bg_color:#2d2d2d\nselected_bg_color:#d64937\ntext_color:#888888\nfg_color:#888888;\ntooltip_fg_color:#f9f9f9\nselected_fg_color:#f9f9f9\nlink_color:#569be4" +gtk-color-scheme = "base_color:#f9f9f9\nbg_color:#dedede\ntooltip_bg_color:#2d2d2d\nselected_bg_color:#d64937\ntext_color:#555555\nfg_color:#555555;\ntooltip_fg_color:#f9f9f9\nselected_fg_color:#f9f9f9\nlink_color:#d64937" gtk-auto-mnemonics = 1 gtk-visible-focus = automatic