[gnome-themes-standard] Dark theme buttons, combobox arrow fixes.



commit d64d0cbfb1173b202501a1a6e8a23d4ce0100484
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 8 19:51:19 2011 +0200

    Dark theme buttons, combobox arrow fixes.

 .../Adwaita/gtk-3.0/assets/button-border-dark.svg  |   62 +++++++++++++++++---
 .../gtk-3.0/assets/entry-border-normal-dark.svg    |    6 +-
 themes/Adwaita/gtk-3.0/gtk-dark.css                |    6 +-
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |    7 +-
 themes/Adwaita/gtk-3.0/gtk.css                     |    1 +
 5 files changed, 64 insertions(+), 18 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/assets/button-border-dark.svg b/themes/Adwaita/gtk-3.0/assets/button-border-dark.svg
index b223d19..b95ee06 100644
--- a/themes/Adwaita/gtk-3.0/assets/button-border-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/button-border-dark.svg
@@ -19,6 +19,18 @@
   <defs
      id="defs33224">
     <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3888">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop3890" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop3892" />
+    </linearGradient>
+    <linearGradient
        id="linearGradient7928">
       <stop
          style="stop-color:#16191a;stop-opacity:1;"
@@ -81,26 +93,48 @@
        y2="8"
        gradientUnits="userSpaceOnUse"
        gradientTransform="translate(-16,0)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3888"
+       id="linearGradient3894"
+       x1="-15"
+       y1="8"
+       x2="2.0614948"
+       y2="7.9043283"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="translate(16,0)" />
   </defs>
   <sodipodi:namedview
      id="base"
-     pagecolor="#ffffff"
+     pagecolor="#494949"
      bordercolor="#666666"
      borderopacity="1.0"
-     inkscape:pageopacity="0.0"
+     inkscape:pageopacity="1"
      inkscape:pageshadow="2"
-     inkscape:zoom="31.357231"
-     inkscape:cx="1.5126427"
-     inkscape:cy="8.7791051"
+     inkscape:zoom="1"
+     inkscape:cx="5.0524961"
+     inkscape:cy="9.0728671"
      inkscape:current-layer="layer1"
-     showgrid="true"
+     showgrid="false"
      inkscape:grid-bbox="true"
      inkscape:document-units="px"
      inkscape:window-width="1280"
-     inkscape:window-height="741"
+     inkscape:window-height="742"
      inkscape:window-x="0"
      inkscape:window-y="26"
-     inkscape:window-maximized="1" />
+     inkscape:window-maximized="1"
+     inkscape:snap-nodes="false"
+     inkscape:snap-bbox="true"
+     inkscape:showpageshadow="false"
+     showborder="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3116"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
   <metadata
      id="metadata33227">
     <rdf:RDF>
@@ -109,7 +143,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -127,5 +161,15 @@
        id="rect17861"
        style="color:#000000;fill:none;stroke:url(#linearGradient7934);stroke-width:0.99999994;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
        transform="matrix(0,-1,1,0,0,0)" />
+    <rect
+       transform="matrix(0,1,1,0,0,0)"
+       style="opacity:0.07;color:#000000;fill:none;stroke:url(#linearGradient3894);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect3114"
+       width="13"
+       height="13"
+       x="1.5"
+       y="1.5"
+       rx="1.4012935"
+       ry="1.4331841" />
   </g>
 </svg>
diff --git a/themes/Adwaita/gtk-3.0/assets/entry-border-normal-dark.svg b/themes/Adwaita/gtk-3.0/assets/entry-border-normal-dark.svg
index 9fa5210..81e1629 100644
--- a/themes/Adwaita/gtk-3.0/assets/entry-border-normal-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/entry-border-normal-dark.svg
@@ -58,14 +58,14 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="26.24"
-     inkscape:cx="-10.99067"
-     inkscape:cy="7.542469"
+     inkscape:cx="7.1114641"
+     inkscape:cy="8.1522251"
      inkscape:current-layer="layer1"
      showgrid="true"
      inkscape:grid-bbox="true"
      inkscape:document-units="px"
      inkscape:window-width="1280"
-     inkscape:window-height="741"
+     inkscape:window-height="742"
      inkscape:window-x="0"
      inkscape:window-y="26"
      inkscape:window-maximized="1" />
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index 3bbd56a..aa21487 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -16,8 +16,8 @@
 @define-color theme_tooltip_bg_color #000000;
 @define-color theme_tooltip_fg_color #eeeeee;
 
- define-color button_gradient_color_a #373e37;
- define-color button_gradient_color_b #1e1c1c;
+ define-color button_gradient_color_a shade (@theme_bg_color, 1.1);
+ define-color button_gradient_color_b shade (@theme_bg_color, 0.9);
 @define-color button_border #24282a;
 
 @define-color button_active_gradient_color_a @button_gradient_color_b;
@@ -51,6 +51,8 @@
 
 @define-color highlighted_border @button_border;
 @define-color internal_element_color #888a85;
+ define-color internal_element_insensitive shade (@internal_element_color, 0.75);
+
 
 @define-color progressbar_background_a #5893df;
 @define-color progressbar_background_b #2465ba;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 3612e6b..7bf53aa 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -454,7 +454,6 @@ GtkScrolledWindow.frame {
 
 GtkComboBox {
     padding: 0;
-
     -GtkWidget-focus-padding: 0;
     -GtkWidget-focus-line-width: 0;
 
@@ -469,12 +468,12 @@ GtkComboBox .entry {
 }
 
 GtkComboBox .button {
-    padding: 2 1;
     color: @internal_element_color;
+    padding: 2 3 2 1;
 }
 
 GtkComboBox .button *:prelight {
-    color: shade (@internal_element_color, 0.66);
+    color: @theme_text_color;
 }
 
 /**************
@@ -541,7 +540,7 @@ GtkComboBox .button *:prelight {
 }
 
 .scrollbar.button:insensitive {
-    color: lighter (@internal_element_color);
+    color: @internal_element_insensitive;
     background-color: @theme_base_color;
     border-color: @button_border;
 }
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index e398434..4774e3d 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -89,6 +89,7 @@
 @define-color progressbar_pattern #000000;
 
 @define-color internal_element_color #888a85;
+ define-color internal_element_insensitive shade (@internal_element_color, 1.6);
 
 @define-color scale_fill @insensitive_border_color;
 @define-color scale_border_a @internal_element_color;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]