[gnome-themes-standard] Widget theme: insensitive radios assets for unfocused window.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: insensitive radios assets for unfocused window.
- Date: Tue, 20 Dec 2011 15:09:06 +0000 (UTC)
commit aba07a7460644da9386916e10daab42afcb604da
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Dec 20 16:08:57 2011 +0100
Widget theme: insensitive radios assets for unfocused window.
themes/Adwaita/gtk-3.0/assets/Makefile.am | 3 +
.../assets/radio-mixed-insensitive-unfocused.svg | 115 +++++++++++++++++++
.../radio-selected-insensitive-unfocused.svg | 116 ++++++++++++++++++++
.../gtk-3.0/assets/radio-selected-insensitive.svg | 6 +-
.../radio-unselected-insensitive-unfocused.svg | 106 ++++++++++++++++++
themes/Adwaita/gtk-3.0/gtk-widgets-assets.css | 17 +++
6 files changed, 360 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/assets/Makefile.am b/themes/Adwaita/gtk-3.0/assets/Makefile.am
index 4843983..e571bb4 100644
--- a/themes/Adwaita/gtk-3.0/assets/Makefile.am
+++ b/themes/Adwaita/gtk-3.0/assets/Makefile.am
@@ -30,18 +30,21 @@ assets_DATA = \
radio-selected-dark.svg \
radio-selected-insensitive.svg \
radio-selected-insensitive-dark.svg \
+ radio-selected-insensitive-unfocused.svg \
radio-selected-no-hilight.svg \
radio-selected-unfocused.svg \
radio-unselected.svg \
radio-unselected-dark.svg \
radio-unselected-insensitive.svg \
radio-unselected-insensitive-dark.svg \
+ radio-unselected-insensitive-unfocused.svg \
radio-unselected-no-hilight.svg \
radio-unselected-unfocused.svg \
radio-mixed.svg \
radio-mixed-dark.svg \
radio-mixed-insensitive.svg \
radio-mixed-insensitive-dark.svg \
+ radio-mixed-insensitive-unfocused.svg \
radio-mixed-no-hilight.svg \
radio-mixed-unfocused.svg \
radio-menuitem-checked.svg \
diff --git a/themes/Adwaita/gtk-3.0/assets/radio-mixed-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/radio-mixed-insensitive-unfocused.svg
new file mode 100644
index 0000000..114be09
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/radio-mixed-insensitive-unfocused.svg
@@ -0,0 +1,115 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ 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="radio-mixed-insensitive.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient12415-4-1-5-2"
+ id="linearGradient8392"
+ gradientUnits="userSpaceOnUse"
+ x1="664.26984"
+ y1="261.44751"
+ x2="664.26984"
+ y2="248.05356" />
+ <linearGradient
+ id="linearGradient12415-4-1-5-2"
+ inkscape:collect="always">
+ <stop
+ id="stop12417-2-8-0-7"
+ offset="0"
+ style="stop-color:#d3d7cf;stop-opacity:1;" />
+ <stop
+ id="stop12419-5-0-9-3"
+ offset="1"
+ style="stop-color:#8f9985;stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="22.627417"
+ inkscape:cx="7.2871964"
+ inkscape:cy="8.5766833"
+ inkscape:document-units="px"
+ inkscape:current-layer="g6305"
+ showgrid="true"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1180"
+ inkscape:window-height="708"
+ inkscape:window-x="93"
+ inkscape:window-y="26"
+ inkscape:window-maximized="0"
+ inkscape:snap-nodes="false"
+ inkscape:snap-bbox="true">
+ <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)">
+ <g
+ transform="translate(-1031,770.36221)"
+ id="g6305"
+ style="display:inline;enable-background:new">
+ <path
+ transform="matrix(1.4419436,0,0,0.89116967,85.921307,46.692189)"
+ d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+ sodipodi:ry="7.2937827"
+ sodipodi:rx="4.5078058"
+ sodipodi:cy="255.0668"
+ sodipodi:cx="660.96808"
+ id="path16919"
+ style="opacity:1;color:#000000;fill:none;stroke:#caccca;stroke-width:0.88215655000000004;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new"
+ sodipodi:type="arc" />
+ <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="1034.5"
+ y="273"
+ rx="1.515625"
+ ry="1" />
+ </g>
+ </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive-unfocused.svg
new file mode 100644
index 0000000..921bc81
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive-unfocused.svg
@@ -0,0 +1,116 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ 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="radio-selected-insensitive.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient12415-4-1-5-2"
+ id="linearGradient8392"
+ gradientUnits="userSpaceOnUse"
+ x1="664.26984"
+ y1="261.44751"
+ x2="664.26984"
+ y2="248.05356" />
+ <linearGradient
+ id="linearGradient12415-4-1-5-2"
+ inkscape:collect="always">
+ <stop
+ id="stop12417-2-8-0-7"
+ offset="0"
+ style="stop-color:#d3d7cf;stop-opacity:1;" />
+ <stop
+ id="stop12419-5-0-9-3"
+ offset="1"
+ style="stop-color:#8f9985;stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="22.627417"
+ inkscape:cx="7.2871964"
+ inkscape:cy="8.5766833"
+ inkscape:document-units="px"
+ inkscape:current-layer="g6305"
+ showgrid="true"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1180"
+ inkscape:window-height="708"
+ inkscape:window-x="82"
+ inkscape:window-y="26"
+ inkscape:window-maximized="0"
+ inkscape:snap-nodes="false"
+ inkscape:snap-bbox="true">
+ <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)">
+ <g
+ transform="translate(-1031,770.36221)"
+ id="g6305"
+ style="display:inline;enable-background:new">
+ <path
+ transform="matrix(1.4419436,0,0,0.89116967,85.921307,46.692189)"
+ d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+ sodipodi:ry="7.2937827"
+ sodipodi:rx="4.5078058"
+ sodipodi:cy="255.0668"
+ sodipodi:cx="660.96808"
+ id="path16919"
+ style="opacity:1;color:#000000;fill:none;stroke:#caccca;stroke-width:0.88215655000000004;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;color:#000000;fill:#caccca;fill-opacity:1;fill-rule:nonzero;stroke:#caccca;stroke-width:1.64002168000000004;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:144.44521581000000765;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path16921"
+ sodipodi:cx="660.96808"
+ sodipodi:cy="255.0668"
+ sodipodi:rx="4.5078058"
+ sodipodi:ry="7.2937827"
+ d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+ transform="matrix(0.77561096,0,0,0.47935462,526.34961,151.72885)" />
+ </g>
+ </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive.svg b/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive.svg
index 73d393a..6c19400 100644
--- a/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive.svg
+++ b/themes/Adwaita/gtk-3.0/assets/radio-selected-insensitive.svg
@@ -56,9 +56,9 @@
borderlayer="true"
inkscape:showpageshadow="false"
inkscape:window-width="1180"
- inkscape:window-height="950"
- inkscape:window-x="1600"
- inkscape:window-y="0"
+ inkscape:window-height="708"
+ inkscape:window-x="82"
+ inkscape:window-y="26"
inkscape:window-maximized="0"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true">
diff --git a/themes/Adwaita/gtk-3.0/assets/radio-unselected-insensitive-unfocused.svg b/themes/Adwaita/gtk-3.0/assets/radio-unselected-insensitive-unfocused.svg
new file mode 100644
index 0000000..ce06555
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/radio-unselected-insensitive-unfocused.svg
@@ -0,0 +1,106 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ 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="radio-unselected-insensitive.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient12415-4-1-5-2"
+ id="linearGradient8392"
+ gradientUnits="userSpaceOnUse"
+ x1="664.26984"
+ y1="261.44751"
+ x2="664.26984"
+ y2="248.05356" />
+ <linearGradient
+ id="linearGradient12415-4-1-5-2"
+ inkscape:collect="always">
+ <stop
+ id="stop12417-2-8-0-7"
+ offset="0"
+ style="stop-color:#d3d7cf;stop-opacity:1;" />
+ <stop
+ id="stop12419-5-0-9-3"
+ offset="1"
+ style="stop-color:#8f9985;stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="22.627417"
+ inkscape:cx="10.82273"
+ inkscape:cy="6.7647222"
+ inkscape:document-units="px"
+ inkscape:current-layer="g6305"
+ showgrid="true"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1180"
+ inkscape:window-height="708"
+ inkscape:window-x="184"
+ inkscape:window-y="26"
+ inkscape:window-maximized="0"
+ inkscape:snap-nodes="false"
+ inkscape:snap-bbox="true">
+ <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)">
+ <g
+ transform="translate(-1031,770.36221)"
+ id="g6305"
+ style="display:inline;enable-background:new">
+ <path
+ transform="matrix(1.4419436,0,0,0.89116967,85.921307,46.692189)"
+ d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+ sodipodi:ry="7.2937827"
+ sodipodi:rx="4.5078058"
+ sodipodi:cy="255.0668"
+ sodipodi:cx="660.96808"
+ id="path16919"
+ style="opacity:1;color:#000000;fill:none;stroke:#caccca;stroke-width:0.88215655000000004;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new"
+ sodipodi:type="arc" />
+ </g>
+ </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 997fa3c..8cfcf16 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
@@ -100,6 +100,12 @@
background-image: url("assets/radio-unselected-insensitive.svg");
}
+.radio:insensitive:window-unfocused,
+.radio row:selected:insensitive:window-unfocused {
+ background-image: url("assets/radio-unselected-insensitive-unfocused.svg");
+}
+
+
.radio:active {
background-image: url("assets/radio-selected.svg");
}
@@ -121,6 +127,12 @@
background-image: url("assets/radio-selected-insensitive.svg");
}
+.radio:active:insensitive:window-unfocused,
+.radio row:selected:active:insensitive:window-unfocused {
+ background-image: url("assets/radio-selected-insensitive-unfocused.svg");
+}
+
+
.radio:inconsistent {
background-image: url("assets/radio-mixed.svg");
}
@@ -142,6 +154,11 @@
background-image: url("assets/radio-mixed-insensitive.svg");
}
+.radio:inconsistent:insensitive:window-unfocused,
+.radio row:selected:inconsistent:insensitive:window-unfocused {
+ background-image: url("assets/radio-mixed-insensitive-unfocused.svg");
+}
+
.sidebar .radio:active,
.sidebar .radio:active:focus,
.sidebar .radio:active:hover {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]