[gnome-themes-standard] Widget theme: insensitive checks assets for unfocused window.



commit 42847db21015445cbb1e3b6b1fd8f1d80c6a0196
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Dec 20 15:26:26 2011 +0100

    Widget theme: insensitive checks assets for unfocused window.

 themes/Adwaita/gtk-3.0/assets/Makefile.am          |    3 +
 .../checkbox-checked-insensitive-unfocused.svg     |   83 +++++++++++++++++
 .../checkbox-mixed-insensitive-unfocused.svg       |   97 ++++++++++++++++++++
 .../checkbox-unchecked-insensitive-unfocused.svg   |   76 +++++++++++++++
 themes/Adwaita/gtk-3.0/gtk-widgets-assets.css      |   20 ++++-
 5 files changed, 277 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/assets/Makefile.am b/themes/Adwaita/gtk-3.0/assets/Makefile.am
index d36c2e8..4843983 100644
--- a/themes/Adwaita/gtk-3.0/assets/Makefile.am
+++ b/themes/Adwaita/gtk-3.0/assets/Makefile.am
@@ -4,18 +4,21 @@ assets_DATA = 		\
 	checkbox-checked-dark.svg \
 	checkbox-checked-insensitive.svg \
 	checkbox-checked-insensitive-dark.svg \
+	checkbox-checked-insensitive-unfocused.svg \
 	checkbox-checked-no-hilight.svg \
 	checkbox-checked-unfocused.svg \
 	checkbox-unchecked.svg \
 	checkbox-unchecked-dark.svg \
 	checkbox-unchecked-insensitive.svg \
 	checkbox-unchecked-insensitive-dark.svg \
+	checkbox-unchecked-insensitive-unfocused.svg \
 	checkbox-unchecked-no-hilight.svg \
 	checkbox-unchecked-unfocused.svg \
 	checkbox-mixed.svg \
 	checkbox-mixed-dark.svg \
 	checkbox-mixed-insensitive.svg \
 	checkbox-mixed-insensitive-dark.svg \
+	checkbox-mixed-insensitive-unfocused.svg \
 	checkbox-mixed-no-hilight.svg \
 	checkbox-mixed-unfocused.svg \
 	checkbox-menuitem-checked.svg \
diff --git a/themes/Adwaita/gtk-3.0/assets/checkbox-checked-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/checkbox-checked-insensitive-unfocused.svg
new file mode 100644
index 0000000..bee11e7
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/checkbox-checked-insensitive-unfocused.svg
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   id="svg814"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="checkbox-checked-insensitive-unfocused.svg">
+  <defs
+     id="defs816" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="8"
+     inkscape:cx="15.449335"
+     inkscape:cy="7.428187"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     borderlayer="true"
+     inkscape:showpageshadow="false"
+     inkscape:window-width="981"
+     inkscape:window-height="708"
+     inkscape:window-x="383"
+     inkscape:window-y="26"
+     inkscape:window-maximized="0"
+     showborder="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4084"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata819">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <rect
+       transform="scale(1,-1)"
+       style="opacity:1;color:#000000;fill:none;stroke:#caccca;stroke-width:0.99999994000000003;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect16897"
+       width="11"
+       height="11"
+       x="0.50000477"
+       y="-1049.8622"
+       rx="2"
+       ry="2" />
+    <path
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="ccc"
+       d="m 3.76489,1043.1251 2.7047,3.5 6.3577,-7"
+       style="opacity:1;fill:none;stroke:#caccca;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;enable-background:new"
+       id="path16899" />
+  </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/assets/checkbox-mixed-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/checkbox-mixed-insensitive-unfocused.svg
new file mode 100644
index 0000000..2eb53b8
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/checkbox-mixed-insensitive-unfocused.svg
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   id="svg814"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="checkbox-mixed-insensitive-unfocused.svg">
+  <defs
+     id="defs816">
+    <linearGradient
+       id="linearGradient10332-5-8">
+      <stop
+         style="stop-color:#d3d7cf;stop-opacity:1"
+         offset="0"
+         id="stop10334-5-6" />
+      <stop
+         style="stop-color:#8f9985;stop-opacity:1"
+         offset="1"
+         id="stop10336-29-0" />
+    </linearGradient>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="26.001224"
+     inkscape:cx="4.782488"
+     inkscape:cy="8.4777625"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     borderlayer="true"
+     inkscape:showpageshadow="false"
+     inkscape:window-width="981"
+     inkscape:window-height="708"
+     inkscape:window-x="348"
+     inkscape:window-y="26"
+     inkscape:window-maximized="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4084"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata819">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <rect
+       transform="scale(1,-1)"
+       style="opacity:1;color:#000000;fill:none;stroke:#caccca;stroke-width:0.99999994000000003;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect16897"
+       width="11"
+       height="11"
+       x="0.50000477"
+       y="-1049.8622"
+       rx="2"
+       ry="1.9999999" />
+    <rect
+       style="opacity:1;color:#000000;fill:#caccca;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect5494"
+       width="8.9375"
+       height="2"
+       x="1.5"
+       y="1043.3622"
+       rx="1.515625"
+       ry="1" />
+  </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/assets/checkbox-unchecked-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/checkbox-unchecked-insensitive-unfocused.svg
new file mode 100644
index 0000000..05a7931
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/checkbox-unchecked-insensitive-unfocused.svg
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   id="svg814"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="checkbox-unchecked-insensitive-unfocused.svg">
+  <defs
+     id="defs816" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="32"
+     inkscape:cx="7.2006674"
+     inkscape:cy="8.3815374"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     borderlayer="true"
+     inkscape:showpageshadow="false"
+     inkscape:window-width="981"
+     inkscape:window-height="708"
+     inkscape:window-x="187"
+     inkscape:window-y="26"
+     inkscape:window-maximized="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4084"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata819">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <rect
+       transform="scale(1,-1)"
+       style="color:#000000;fill:none;stroke:#caccca;stroke-width:0.99999994000000003;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect16897"
+       width="11"
+       height="11"
+       x="0.50000477"
+       y="-1049.8622"
+       rx="2"
+       ry="1.9999999" />
+  </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
index b608087..997fa3c 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
@@ -23,6 +23,12 @@
     background-image: url("assets/checkbox-unchecked-unfocused.svg");
 }
 
+.check:insensitive:window-unfocused,
+.check row:selected:insensitive:window-unfocused {
+    background-image: url("assets/checkbox-unchecked-insensitive-unfocused.svg");
+}
+
+
 .check:active {
     background-image: url("assets/checkbox-checked.svg");
 }
@@ -39,11 +45,16 @@
 
 .check:active:insensitive,
 .check row:selected:active:insensitive,
-.check row:selected:focus:active:insensitive
-{
+.check row:selected:focus:active:insensitive {
     background-image: url("assets/checkbox-checked-insensitive.svg");
 }
 
+.check:active:insensitive:window-unfocused,
+.check row:selected:active:insensitive:window-unfocused {
+    background-image: url("assets/checkbox-checked-insensitive-unfocused.svg");
+}
+
+
 .check:inconsistent {
     background-image: url("assets/checkbox-mixed.svg");
 }
@@ -64,6 +75,11 @@
     background-image: url("assets/checkbox-mixed-insensitive.svg");
 }
 
+.check:inconsistent:insensitive:window-unfocused,
+.check row:selected:inconsistent:insensitive:window-unfocused {
+    background-image: url("assets/checkbox-mixed-insensitive-unfocused.svg");
+}
+
 .radio {
     background-image: url("assets/radio-unselected.svg");
 }



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