From d8b2cd5f8e426deb4ccd6126e509201a28fc9083 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Thu, 2 Oct 2014 18:04:05 +0200 Subject: [PATCH] theme: update some svg assets to adwaita 3.14 counterparts - switches - checkboxes --- data/theme/_gnome-shell-old.scss | 6 - data/theme/checkbox-focused.svg | 178 ++++++++---------- data/theme/checkbox-off-focused.svg | 134 +++++++------- data/theme/checkbox-off.svg | 156 ++++++++-------- data/theme/checkbox.svg | 156 +++++++++------- data/theme/gnome-shell.css | 7 +- data/theme/toggle-off-intl.svg | 217 +++++++++++++++------- data/theme/toggle-off-us.svg | 275 ++++++++++++++++++++-------- data/theme/toggle-on-intl.svg | 200 +++++++++++++------- data/theme/toggle-on-us.svg | 193 ++++++++++++------- 10 files changed, 917 insertions(+), 605 deletions(-) diff --git a/data/theme/_gnome-shell-old.scss b/data/theme/_gnome-shell-old.scss index 77eaaba9a..613be6a1b 100644 --- a/data/theme/_gnome-shell-old.scss +++ b/data/theme/_gnome-shell-old.scss @@ -1317,12 +1317,6 @@ .notification-button { -st-natural-width: 140px; - padding: 4px 4px 5px; -} - -.notification-button:focus { - -st-natural-width: 138px; - padding: 3px 4px 4px; } .notification-icon-button { diff --git a/data/theme/checkbox-focused.svg b/data/theme/checkbox-focused.svg index ed77ad20e..9d15354f6 100644 --- a/data/theme/checkbox-focused.svg +++ b/data/theme/checkbox-focused.svg @@ -14,7 +14,7 @@ height="22" id="svg3199" version="1.1" - inkscape:version="0.48.1 r9760" + inkscape:version="0.48.5 r10040" sodipodi:docname="checkbox.svg"> @@ -132,51 +132,54 @@ xlink:href="#linearGradient10597-5" inkscape:collect="always" /> + gradientTransform="matrix(3.0317573,0,0,1.0053174,-102.66338,-0.82153381)" + x1="63.568954" + y1="127.16142" + x2="63.568954" + y2="152.6618" /> + id="linearGradient5581-5-2-4-6-8-7-35-8"> + style="stop-color:#454c4c;stop-opacity:1;" /> + + style="stop-color:#2d3232;stop-opacity:1;" /> + showborder="true"> - - - - - - - - - - - - - - - - + style="display:inline" + id="use5671" + transform="matrix(1.3594109,0,0,1.3564242,319.2059,481.99447)"> + + + + + + + diff --git a/data/theme/checkbox-off-focused.svg b/data/theme/checkbox-off-focused.svg index 4f7732039..428bafe4b 100644 --- a/data/theme/checkbox-off-focused.svg +++ b/data/theme/checkbox-off-focused.svg @@ -14,22 +14,10 @@ height="22" id="svg3199" version="1.1" - inkscape:version="0.48.1 r9760" + inkscape:version="0.48.5 r10040" sodipodi:docname="checkbox-off.svg"> - - - - - @@ -110,30 +88,55 @@ id="linearGradient15376" xlink:href="#linearGradient10597-5" inkscape:collect="always" /> + + + + + + + showborder="true"> - - - - - - + style="display:inline" + id="use5671" + transform="matrix(1.3594109,0,0,1.3564242,319.2059,481.99447)"> + + + + + diff --git a/data/theme/checkbox-off.svg b/data/theme/checkbox-off.svg index fe4ba51a9..2c7a95172 100644 --- a/data/theme/checkbox-off.svg +++ b/data/theme/checkbox-off.svg @@ -14,22 +14,10 @@ height="22" id="svg3199" version="1.1" - inkscape:version="0.48.1 r9760" - sodipodi:docname="checkbox.svg"> + inkscape:version="0.48.5 r10040" + sodipodi:docname="checkbox-focused.svg"> - - - - - - - - - - @@ -131,30 +88,55 @@ id="linearGradient15376" xlink:href="#linearGradient10597-5" inkscape:collect="always" /> + + + + + + + showborder="true"> - - - - - - + style="display:inline" + id="use5671" + transform="matrix(1.3594109,0,0,1.3564242,319.2059,481.99447)"> + + + + + diff --git a/data/theme/checkbox.svg b/data/theme/checkbox.svg index 119b600d8..ec668467f 100644 --- a/data/theme/checkbox.svg +++ b/data/theme/checkbox.svg @@ -14,8 +14,8 @@ height="22" id="svg3199" version="1.1" - inkscape:version="0.48.1 r9760" - sodipodi:docname="checkbox-focused.svg"> + inkscape:version="0.48.5 r10040" + sodipodi:docname="checkbox.svg"> + + + + + + + showborder="true"> image/svg+xml - + @@ -181,63 +206,56 @@ id="layer1" transform="translate(-342.5,-521.36218)"> - - - - - - - - - - + style="display:inline" + id="use5671" + transform="matrix(1.3594109,0,0,1.3564242,319.2059,481.99447)"> + + + + + + + diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 79ed02739..386dc087d 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1083,12 +1083,7 @@ spacing: 10px; } .notification-button { - -st-natural-width: 140px; - padding: 4px 4px 5px; } - -.notification-button:focus { - -st-natural-width: 138px; - padding: 3px 4px 4px; } + -st-natural-width: 140px; } .notification-icon-button { border-radius: 5px; diff --git a/data/theme/toggle-off-intl.svg b/data/theme/toggle-off-intl.svg index b153b733d..a1734fbe7 100644 --- a/data/theme/toggle-off-intl.svg +++ b/data/theme/toggle-off-intl.svg @@ -7,51 +7,127 @@ 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="65" height="22" - id="svg3273" + id="svg2857" version="1.1" - inkscape:version="0.47 r22583" - sodipodi:docname="New document 14"> + inkscape:version="0.48.5 r10040" + sodipodi:docname="toggle-off-us.svg"> + id="defs2859"> + id="perspective2865" /> + + + + + + + + + + + + + + inkscape:window-y="27" + inkscape:window-maximized="1" + borderlayer="true" + inkscape:showpageshadow="false" + inkscape:snap-nodes="false" + inkscape:snap-bbox="true" + showborder="false"> + + + id="metadata2862"> @@ -66,61 +142,68 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(-343,-521.36218)"> + transform="translate(-444.64286,-781.36218)"> - - + transform="matrix(0.6526046,0,0,0.80554422,99.592644,-636.32172)" + id="g37994"> - - - + id="g37996" + transform="translate(-115,1277)"> + + + + + + + + + style="color:#000000;fill:none;stroke:#ffffff;stroke-width:2.15627193;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:new" + id="path13479" + sodipodi:cx="16.4375" + sodipodi:cy="10.8125" + sodipodi:rx="4.3125" + sodipodi:ry="4.3125" + d="m 20.75,10.8125 a 4.3125,4.3125 0 1 1 -8.625,0 4.3125,4.3125 0 1 1 8.625,0 z" + transform="matrix(1.4212691,0,0,1.1514287,577.38488,1761.1138)" /> diff --git a/data/theme/toggle-off-us.svg b/data/theme/toggle-off-us.svg index 8e06ea4e8..941501dfd 100644 --- a/data/theme/toggle-off-us.svg +++ b/data/theme/toggle-off-us.svg @@ -7,51 +7,171 @@ 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="65" height="22" - id="svg3012" + id="svg2857" version="1.1" - inkscape:version="0.47 r22583" - sodipodi:docname="New document 6"> + inkscape:version="0.48.5 r10040" + sodipodi:docname="toggle-on-intl.svg"> + id="defs2859"> + id="perspective2865" /> + + + + + + + + + + + + + + + + + + + + + + + + inkscape:window-y="27" + inkscape:window-maximized="1" + borderlayer="true" + inkscape:showpageshadow="false" + inkscape:snap-nodes="false" + inkscape:snap-bbox="true" + showborder="false"> + + + id="metadata2862"> @@ -66,73 +186,70 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(-343,-521.36218)"> + transform="translate(-444.64286,-781.36218)"> - - + transform="matrix(0.6526046,0,0,0.80554422,99.592644,-636.32172)" + id="g37994"> - - - + id="g37996" + transform="translate(-115,1277)"> + + - - - + transform="translate(-49.946213,-1.890275)" + id="g38002"> + + + + + OFF diff --git a/data/theme/toggle-on-intl.svg b/data/theme/toggle-on-intl.svg index ecf23a7cf..60ac0e56f 100644 --- a/data/theme/toggle-on-intl.svg +++ b/data/theme/toggle-on-intl.svg @@ -7,51 +7,113 @@ 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="65" height="22" - id="svg3199" + id="svg2857" version="1.1" - inkscape:version="0.48.1 r9760" + inkscape:version="0.48.5 r10040" sodipodi:docname="toggle-on-intl.svg"> + id="defs2859"> + id="perspective2865" /> + + + + + + + + + + + + inkscape:window-y="27" + inkscape:window-maximized="1" + borderlayer="true" + inkscape:showpageshadow="false" + inkscape:snap-nodes="false" + inkscape:snap-bbox="true" + showborder="false"> + + + id="metadata2862"> @@ -66,57 +128,65 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(-342.5,-521.36218)"> + transform="translate(-444.64286,-781.36218)"> - - + transform="matrix(0.6526046,0,0,0.80554422,99.592644,-636.32172)" + id="g37994"> - - - + id="g37996" + transform="translate(-115,1277)"> + + - + + + + + + + diff --git a/data/theme/toggle-on-us.svg b/data/theme/toggle-on-us.svg index 2a734d6f8..09089fd30 100644 --- a/data/theme/toggle-on-us.svg +++ b/data/theme/toggle-on-us.svg @@ -7,13 +7,14 @@ 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="65" height="22" id="svg2857" version="1.1" - inkscape:version="0.48.1 r9760" + inkscape:version="0.48.5 r10040" sodipodi:docname="toggle-on-us.svg"> @@ -31,27 +32,86 @@ inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" /> + + + + + + + + + + + + inkscape:showpageshadow="false" + inkscape:snap-nodes="false" + inkscape:snap-bbox="true" + showborder="false"> + + @@ -70,61 +130,68 @@ id="layer1" transform="translate(-444.64286,-781.36218)"> - - + transform="matrix(0.6526046,0,0,0.80554422,99.592644,-636.32172)" + id="g37994"> - - - + id="g37996" + transform="translate(-115,1277)"> + + - - + transform="translate(2.0625,-2)" + id="g38002"> + + + + + ON