[gnome-themes-standard] progress-bar: add backdrop versions of the alternate border asset
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] progress-bar: add backdrop versions of the alternate border asset
- Date: Tue, 10 Apr 2012 16:36:27 +0000 (UTC)
commit 332ef148bacaf8d716eef0fc30a83d1317702708
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 10 12:23:26 2012 -0400
progress-bar: add backdrop versions of the alternate border asset
We need borders with no highlight space even for the backdrop state, or
progressbar troughs will be rendered with an 1px bottom space.
themes/Adwaita/gtk-3.0/borders/Makefile.am | 2 +
.../borders/generic-border-unfocused-alt.svg | 77 ++++++++++++++++++++
.../borders/generic-border-unfocused-dark-alt.svg | 77 ++++++++++++++++++++
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 8 ++
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 8 ++
themes/Adwaita/gtk-3.0/gtk.gresource.xml | 2 +
6 files changed, 174 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/borders/Makefile.am b/themes/Adwaita/gtk-3.0/borders/Makefile.am
index f3adc21..c7e9ed7 100644
--- a/themes/Adwaita/gtk-3.0/borders/Makefile.am
+++ b/themes/Adwaita/gtk-3.0/borders/Makefile.am
@@ -10,7 +10,9 @@ EXTRA_DIST = \
generic-border-dark.svg \
generic-border-dark-alt.svg \
generic-border-unfocused.svg \
+ generic-border-unfocused-alt.svg \
generic-border-unfocused-dark.svg \
+ generic-border-unfocused-dark-alt.svg \
primary-toolbar-button-border-focused.svg \
primary-toolbar-button-border-focused-dark.svg \
primary-toolbar-button-border.svg \
diff --git a/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-alt.svg b/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-alt.svg
new file mode 100644
index 0000000..2e4bd63
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-alt.svg
@@ -0,0 +1,77 @@
+<?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="16px"
+ height="16px"
+ id="svg33222"
+ version="1.1"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="generic-border-unfocused.svg">
+ <defs
+ id="defs33224" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#8e8e8e"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="16"
+ inkscape:cx="15.49645"
+ inkscape:cy="1.9528796"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1280"
+ inkscape:window-height="741"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:snap-nodes="false"
+ inkscape:snap-bbox="true"
+ inkscape:showpageshadow="false"
+ showborder="false">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata33227">
+ <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
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <rect
+ ry="2.6785715"
+ rx="2.5000005"
+ y="0.49999991"
+ x="0.5"
+ height="14.999999"
+ width="15"
+ id="rect17861"
+ style="color:#000000;fill:none;stroke:#a7aba7;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-dark-alt.svg b/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-dark-alt.svg
new file mode 100644
index 0000000..58f9337
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/borders/generic-border-unfocused-dark-alt.svg
@@ -0,0 +1,77 @@
+<?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="16px"
+ height="16px"
+ id="svg33222"
+ version="1.1"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="generic-border-unfocused-dark.svg">
+ <defs
+ id="defs33224" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#8e8e8e"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.313709"
+ inkscape:cx="17.850819"
+ inkscape:cy="-4.775269"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1280"
+ inkscape:window-height="741"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:snap-nodes="false"
+ inkscape:snap-bbox="true"
+ inkscape:showpageshadow="false"
+ showborder="false">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata33227">
+ <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
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <rect
+ ry="2.6785715"
+ rx="2.5000005"
+ y="0.50000095"
+ x="0.5"
+ height="14.999999"
+ width="15"
+ id="rect17861"
+ style="color:#000000;fill:none;stroke:#545959;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ </g>
+</svg>
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index 234b766..43d319e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -211,6 +211,14 @@ GtkSwitch.trough:backdrop,
border-color: transparent;
}
+.trough row:backdrop {
+ border-image: url("borders/generic-border-unfocused-dark-alt.svg") 3 / 3 stretch;
+ border-radius: 3px;
+ border-width: 1px;
+ border-style: solid;
+ border-color: transparent;
+}
+
/* unfocused window: primary toolbar generic element borders */
.primary-toolbar .button:active:backdrop,
.primary-toolbar .button.raised:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 55c386b..1bcd1b8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -215,6 +215,14 @@ GtkSwitch.trough:backdrop,
border-color: transparent;
}
+.trough row:backdrop {
+ border-image: url("borders/generic-border-unfocused-alt.svg") 3 / 3 stretch;
+ border-radius: 3px;
+ border-width: 1px;
+ border-style: solid;
+ border-color: transparent;
+}
+
/* unfocused window: primary toolbar generic element borders */
.primary-toolbar .button:active:backdrop,
.primary-toolbar .button.raised:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk.gresource.xml b/themes/Adwaita/gtk-3.0/gtk.gresource.xml
index 0410579..ac2f8a9 100644
--- a/themes/Adwaita/gtk-3.0/gtk.gresource.xml
+++ b/themes/Adwaita/gtk-3.0/gtk.gresource.xml
@@ -151,7 +151,9 @@
<file preprocess="to-pixdata">borders/generic-border.svg</file>
<file preprocess="to-pixdata">borders/generic-border-alt.svg</file>
<file preprocess="to-pixdata">borders/generic-border-unfocused-dark.svg</file>
+ <file preprocess="to-pixdata">borders/generic-border-unfocused-dark-alt.svg</file>
<file preprocess="to-pixdata">borders/generic-border-unfocused.svg</file>
+ <file preprocess="to-pixdata">borders/generic-border-unfocused-alt.svg</file>
<file preprocess="to-pixdata">borders/primary-toolbar-button-border-dark.svg</file>
<file preprocess="to-pixdata">borders/primary-toolbar-button-border-focused-dark.svg</file>
<file preprocess="to-pixdata">borders/primary-toolbar-button-border-focused.svg</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]