Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-02-20 19:06:15 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-02-20 19:06:15 (GMT)
commitaa717e33a81ce06511fc096b86324f28edf17182 (patch)
tree18e2e445b626926918be6b80b348bac534986a9f
parent6a00cef336d855f71cc4ed5b2cb2e023bf48b636 (diff)
parente44e689d446d93842b8af535518292b1bd263990 (diff)
Merge branch 'master' of git.sugarlabs.org:test-theme-gtk3/test-theme-gtk3
-rw-r--r--activity.py18
-rw-r--r--assets/checkbox-checked-selected.svg125
-rw-r--r--assets/checkbox-checked.svg125
-rw-r--r--assets/checkbox-unchecked-selected.svg119
-rw-r--r--assets/checkbox-unchecked.svg119
-rw-r--r--assets/radio-active-selected.svg77
-rw-r--r--assets/radio-active.svg77
-rw-r--r--assets/radio-selected.svg67
-rw-r--r--assets/radio.svg67
-rw-r--r--assets/scale-slider-active.svg127
-rw-r--r--assets/scale-slider.svg127
-rw-r--r--assets/spinbutton-button-down.svg110
-rw-r--r--assets/spinbutton-button-up.svg110
-rw-r--r--sugar-theme.css231
14 files changed, 1477 insertions, 22 deletions
diff --git a/activity.py b/activity.py
index 55ce1b4..91cf06c 100644
--- a/activity.py
+++ b/activity.py
@@ -36,6 +36,9 @@ from sugar3.graphics.combobox import ComboBox
from sugar3.graphics.menuitem import MenuItem
+USE_LOCAL_CSS = True
+
+
class TestTheme3Activity(activity.Activity):
"""HelloWorldActivity class as specified in activity.info"""
@@ -45,11 +48,12 @@ class TestTheme3Activity(activity.Activity):
screen = Gdk.Screen.get_default()
- css_provider = Gtk.CssProvider()
- css_provider.load_from_path('sugar-theme.css')
+ if USE_LOCAL_CSS:
+ css_provider = Gtk.CssProvider()
+ css_provider.load_from_path('sugar-theme.css')
- context = Gtk.StyleContext()
- context.add_provider_for_screen(screen, css_provider,
+ context = Gtk.StyleContext()
+ context.add_provider_for_screen(screen, css_provider,
Gtk.STYLE_PROVIDER_PRIORITY_USER)
# toolbar with the new toolbar redesign
@@ -128,9 +132,9 @@ class TestTheme3Activity(activity.Activity):
vbox1.pack_start(spin, False, False, 5)
hb_group = Gtk.HBox()
- item1 = Gtk.RadioButton(None, _('RadioBt 1'))
- item2 = Gtk.RadioButton(item1, _('RadioBt 2'))
- item3 = Gtk.RadioButton(item1, _('RadioBt 3'))
+ item1 = Gtk.RadioButton.new_with_label_from_widget(None, _('RadioBt 1'))
+ item2 = Gtk.RadioButton.new_with_label_from_widget(item1, _('RadioBt 2'))
+ item3 = Gtk.RadioButton.new_with_label_from_widget(item1, _('RadioBt 3'))
hb_group.pack_start(item1, False, False, 5)
hb_group.pack_start(item2, False, False, 5)
diff --git a/assets/checkbox-checked-selected.svg b/assets/checkbox-checked-selected.svg
new file mode 100644
index 0000000..06d9d01
--- /dev/null
+++ b/assets/checkbox-checked-selected.svg
@@ -0,0 +1,125 @@
+<?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="26"
+ height="26"
+ id="svg814"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="checkbox-checked.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10354-2"
+ id="linearGradient8378"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-1609.9926,-78.958432)"
+ x1="1205.5752"
+ y1="-186.45331"
+ x2="1205.5752"
+ y2="-202.34555" />
+ <linearGradient
+ id="linearGradient10354-2"
+ inkscape:collect="always">
+ <stop
+ id="stop10356-2"
+ offset="0"
+ style="stop-color:#bcbfb8;stop-opacity:1" />
+ <stop
+ id="stop10358-2"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10332-5"
+ id="linearGradient8380"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.84941206,0,0,0.84794288,-623.98415,-483.16392)"
+ x1="260.92538"
+ y1="233.77748"
+ x2="260.92538"
+ y2="248.97633" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient10332-5">
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1"
+ offset="0"
+ id="stop10334-5" />
+ <stop
+ style="stop-color:#8f9985;stop-opacity:1"
+ offset="1"
+ id="stop10336-29" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.6285013"
+ inkscape:cx="-6.8857977"
+ inkscape:cy="9.0676681"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1">
+ <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,-1026.3622)">
+ <rect
+ style="color:#000000;fill:#e5e5e5;fill-opacity:1;stroke:#808080;stroke-width:2.81361675000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3268"
+ width="21.562355"
+ height="21.562355"
+ x="2.2188225"
+ y="1028.5811" />
+ <path
+ style="fill:none;stroke:#000000;stroke-width:3.18462515;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 6.8608237,1038.3186 4.7885443,4.7885 7.489808,-7.4898"
+ id="path3438"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>
diff --git a/assets/checkbox-checked.svg b/assets/checkbox-checked.svg
new file mode 100644
index 0000000..da62d85
--- /dev/null
+++ b/assets/checkbox-checked.svg
@@ -0,0 +1,125 @@
+<?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="26"
+ height="26"
+ id="svg814"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="checkbox-checked.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10354-2"
+ id="linearGradient8378"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-1609.9926,-78.958432)"
+ x1="1205.5752"
+ y1="-186.45331"
+ x2="1205.5752"
+ y2="-202.34555" />
+ <linearGradient
+ id="linearGradient10354-2"
+ inkscape:collect="always">
+ <stop
+ id="stop10356-2"
+ offset="0"
+ style="stop-color:#bcbfb8;stop-opacity:1" />
+ <stop
+ id="stop10358-2"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10332-5"
+ id="linearGradient8380"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.84941206,0,0,0.84794288,-623.98415,-483.16392)"
+ x1="260.92538"
+ y1="233.77748"
+ x2="260.92538"
+ y2="248.97633" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient10332-5">
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1"
+ offset="0"
+ id="stop10334-5" />
+ <stop
+ style="stop-color:#8f9985;stop-opacity:1"
+ offset="1"
+ id="stop10336-29" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.6285013"
+ inkscape:cx="-0.65914867"
+ inkscape:cy="9.0676681"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1026.3622)">
+ <rect
+ style="color:#000000;fill:#ffffff;fill-opacity:1;stroke:#808080;stroke-width:2.81361675;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3268"
+ width="21.562355"
+ height="21.562355"
+ x="2.2188225"
+ y="1028.5811" />
+ <path
+ style="fill:none;stroke:#000000;stroke-width:3.18462515;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 6.8608237,1038.3186 4.7885443,4.7885 7.489808,-7.4898"
+ id="path3438"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>
diff --git a/assets/checkbox-unchecked-selected.svg b/assets/checkbox-unchecked-selected.svg
new file mode 100644
index 0000000..d66a10c
--- /dev/null
+++ b/assets/checkbox-unchecked-selected.svg
@@ -0,0 +1,119 @@
+<?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="26"
+ height="26"
+ id="svg814"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="checkbox-checked-selected.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10354-2"
+ id="linearGradient8378"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-1609.9926,-78.958432)"
+ x1="1205.5752"
+ y1="-186.45331"
+ x2="1205.5752"
+ y2="-202.34555" />
+ <linearGradient
+ id="linearGradient10354-2"
+ inkscape:collect="always">
+ <stop
+ id="stop10356-2"
+ offset="0"
+ style="stop-color:#bcbfb8;stop-opacity:1" />
+ <stop
+ id="stop10358-2"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10332-5"
+ id="linearGradient8380"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.84941206,0,0,0.84794288,-623.98415,-483.16392)"
+ x1="260.92538"
+ y1="233.77748"
+ x2="260.92538"
+ y2="248.97633" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient10332-5">
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1"
+ offset="0"
+ id="stop10334-5" />
+ <stop
+ style="stop-color:#8f9985;stop-opacity:1"
+ offset="1"
+ id="stop10336-29" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.6285013"
+ inkscape:cx="-6.8857977"
+ inkscape:cy="9.0676681"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1">
+ <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,-1026.3622)">
+ <rect
+ style="color:#000000;fill:#e5e5e5;fill-opacity:1;stroke:#808080;stroke-width:2.81361675000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3268"
+ width="21.562355"
+ height="21.562355"
+ x="2.2188225"
+ y="1028.5811" />
+ </g>
+</svg>
diff --git a/assets/checkbox-unchecked.svg b/assets/checkbox-unchecked.svg
new file mode 100644
index 0000000..1a0fecb
--- /dev/null
+++ b/assets/checkbox-unchecked.svg
@@ -0,0 +1,119 @@
+<?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="26"
+ height="26"
+ id="svg814"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="checkbox-unchecked-selected.svg">
+ <defs
+ id="defs816">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10354-2"
+ id="linearGradient8378"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-1609.9926,-78.958432)"
+ x1="1205.5752"
+ y1="-186.45331"
+ x2="1205.5752"
+ y2="-202.34555" />
+ <linearGradient
+ id="linearGradient10354-2"
+ inkscape:collect="always">
+ <stop
+ id="stop10356-2"
+ offset="0"
+ style="stop-color:#bcbfb8;stop-opacity:1" />
+ <stop
+ id="stop10358-2"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient10332-5"
+ id="linearGradient8380"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.84941206,0,0,0.84794288,-623.98415,-483.16392)"
+ x1="260.92538"
+ y1="233.77748"
+ x2="260.92538"
+ y2="248.97633" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient10332-5">
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1"
+ offset="0"
+ id="stop10334-5" />
+ <stop
+ style="stop-color:#8f9985;stop-opacity:1"
+ offset="1"
+ id="stop10336-29" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.6285013"
+ inkscape:cx="-6.8857977"
+ inkscape:cy="9.0676681"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1">
+ <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,-1026.3622)">
+ <rect
+ style="color:#000000;fill:none;fill-opacity:1;stroke:#808080;stroke-width:2.81361675000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3268"
+ width="21.562355"
+ height="21.562355"
+ x="2.2188225"
+ y="1028.5811" />
+ </g>
+</svg>
diff --git a/assets/radio-active-selected.svg b/assets/radio-active-selected.svg
new file mode 100644
index 0000000..5ed6d5e
--- /dev/null
+++ b/assets/radio-active-selected.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="26"
+ height="26"
+ id="svg27352"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="radio-active.svg">
+ <defs
+ id="defs27354" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.237461"
+ inkscape:cx="-2.417176"
+ inkscape:cy="11.694433"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata27357">
+ <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"
+ transform="translate(0,10)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#e5e5e5;fill-opacity:1;stroke:#808080;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3002"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(2.1416497,0,0,2.1416497,0.31073656,-9.4647578)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3774"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(0.78924644,0,0,0.78924644,8.3237188,-1.5935458)" />
+ </g>
+</svg>
diff --git a/assets/radio-active.svg b/assets/radio-active.svg
new file mode 100644
index 0000000..0ba7d49
--- /dev/null
+++ b/assets/radio-active.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="26"
+ height="26"
+ id="svg27352"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="radio-unselected.svg">
+ <defs
+ id="defs27354" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="5.8147327"
+ inkscape:cx="21.243215"
+ inkscape:cy="6.2397562"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata27357">
+ <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"
+ transform="translate(0,10)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#ffffff;fill-opacity:1;stroke:#808080;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3002"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(2.1416497,0,0,2.1416497,0.31073656,-9.4647578)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3774"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(0.78924644,0,0,0.78924644,8.3237188,-1.5935458)" />
+ </g>
+</svg>
diff --git a/assets/radio-selected.svg b/assets/radio-selected.svg
new file mode 100644
index 0000000..4370fda
--- /dev/null
+++ b/assets/radio-selected.svg
@@ -0,0 +1,67 @@
+<?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="26"
+ height="26"
+ id="svg27352"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="radio-active-selected.svg">
+ <defs
+ id="defs27354" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.237461"
+ inkscape:cx="-2.417176"
+ inkscape:cy="11.694433"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata27357">
+ <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"
+ transform="translate(0,10)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#e5e5e5;fill-opacity:1;stroke:#808080;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3002"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(2.1416497,0,0,2.1416497,0.31073656,-9.4647578)" />
+ </g>
+</svg>
diff --git a/assets/radio.svg b/assets/radio.svg
new file mode 100644
index 0000000..61cccc3
--- /dev/null
+++ b/assets/radio.svg
@@ -0,0 +1,67 @@
+<?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="26"
+ height="26"
+ id="svg27352"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="radio-selected.svg">
+ <defs
+ id="defs27354" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff00ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.237461"
+ inkscape:cx="-2.417176"
+ inkscape:cy="11.694433"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata27357">
+ <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"
+ transform="translate(0,10)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:none;fill-opacity:1;stroke:#808080;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3002"
+ sodipodi:cx="5.9249949"
+ sodipodi:cy="5.8201666"
+ sodipodi:rx="5.3516083"
+ sodipodi:ry="5.3516083"
+ d="m 11.276603,5.8201666 a 5.3516083,5.3516083 0 1 1 -10.70321633,0 5.3516083,5.3516083 0 1 1 10.70321633,0 z"
+ transform="matrix(2.1416497,0,0,2.1416497,0.31073656,-9.4647578)" />
+ </g>
+</svg>
diff --git a/assets/scale-slider-active.svg b/assets/scale-slider-active.svg
new file mode 100644
index 0000000..ead06dd
--- /dev/null
+++ b/assets/scale-slider-active.svg
@@ -0,0 +1,127 @@
+<?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="32"
+ height="32"
+ id="svg5980"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="scale-slider-horizontal.svg">
+ <defs
+ id="defs5982">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4714-2"
+ id="linearGradient5304-8"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-167.30724,401.40146)"
+ x1="108.59611"
+ y1="477.02258"
+ x2="113.8317"
+ y2="477.02258" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4714-2">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop4716-4" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop4718-5" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4722-3"
+ id="linearGradient5306-4"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-166.30724,401.40146)"
+ x1="116.15861"
+ y1="479.89758"
+ x2="107.97111"
+ y2="479.89758" />
+ <linearGradient
+ id="linearGradient4722-3">
+ <stop
+ style="stop-color:#babdb6;stop-opacity:1;"
+ offset="0"
+ id="stop4724-2" />
+ <stop
+ style="stop-color:#7b8073;stop-opacity:1"
+ offset="1"
+ id="stop4726-2" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff06ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="8.8688426"
+ inkscape:cx="16"
+ inkscape:cy="16"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true" />
+ <metadata
+ id="metadata5985">
+ <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">
+ <g
+ id="g5104"
+ transform="matrix(1.9661528,0,0,1.9661528,0.27077716,-27.255355)">
+ <path
+ transform="matrix(1.0909091,0,0,1.0909091,-332.77273,-294.63637)"
+ d="m 319.25,290.25 c 0,3.79696 -3.07804,6.875 -6.875,6.875 -3.79696,0 -6.875,-3.07804 -6.875,-6.875 0,-3.79696 3.07804,-6.875 6.875,-6.875 3.79696,0 6.875,3.07804 6.875,6.875 z"
+ sodipodi:ry="6.875"
+ sodipodi:rx="6.875"
+ sodipodi:cy="290.25"
+ sodipodi:cx="312.375"
+ id="path5387"
+ style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#808080;stroke-width:0.91666669;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.91666669;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path5102"
+ sodipodi:cx="312.375"
+ sodipodi:cy="290.25"
+ sodipodi:rx="6.875"
+ sodipodi:ry="6.875"
+ d="m 319.25,290.25 c 0,3.79696 -3.07804,6.875 -6.875,6.875 -3.79696,0 -6.875,-3.07804 -6.875,-6.875 0,-3.79696 3.07804,-6.875 6.875,-6.875 3.79696,0 6.875,3.07804 6.875,6.875 z"
+ transform="matrix(0.6088795,0,0,0.6088795,-182.19873,-154.72728)" />
+ </g>
+ </g>
+</svg>
diff --git a/assets/scale-slider.svg b/assets/scale-slider.svg
new file mode 100644
index 0000000..b0aaa49
--- /dev/null
+++ b/assets/scale-slider.svg
@@ -0,0 +1,127 @@
+<?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="32"
+ height="32"
+ id="svg5980"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="scale-slider.svg">
+ <defs
+ id="defs5982">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4714-2"
+ id="linearGradient5304-8"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-167.30724,401.40146)"
+ x1="108.59611"
+ y1="477.02258"
+ x2="113.8317"
+ y2="477.02258" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4714-2">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop4716-4" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop4718-5" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4722-3"
+ id="linearGradient5306-4"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-166.30724,401.40146)"
+ x1="116.15861"
+ y1="479.89758"
+ x2="107.97111"
+ y2="479.89758" />
+ <linearGradient
+ id="linearGradient4722-3">
+ <stop
+ style="stop-color:#babdb6;stop-opacity:1;"
+ offset="0"
+ id="stop4724-2" />
+ <stop
+ style="stop-color:#7b8073;stop-opacity:1"
+ offset="1"
+ id="stop4726-2" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff06ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="8.8688426"
+ inkscape:cx="-5.3669369"
+ inkscape:cy="16"
+ inkscape:current-layer="g5104"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true" />
+ <metadata
+ id="metadata5985">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <g
+ id="g5104"
+ transform="matrix(1.9661528,0,0,1.9661528,0.27077716,-27.255355)">
+ <path
+ transform="matrix(1.0909091,0,0,1.0909091,-332.77273,-294.63637)"
+ d="m 319.25,290.25 c 0,3.79696 -3.07804,6.875 -6.875,6.875 -3.79696,0 -6.875,-3.07804 -6.875,-6.875 0,-3.79696 3.07804,-6.875 6.875,-6.875 3.79696,0 6.875,3.07804 6.875,6.875 z"
+ sodipodi:ry="6.875"
+ sodipodi:rx="6.875"
+ sodipodi:cy="290.25"
+ sodipodi:cx="312.375"
+ id="path5387"
+ style="color:#000000;fill:#e5e5e5;fill-opacity:1;fill-rule:nonzero;stroke:#808080;stroke-width:0.91666669000000001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.91666669;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path5102"
+ sodipodi:cx="312.375"
+ sodipodi:cy="290.25"
+ sodipodi:rx="6.875"
+ sodipodi:ry="6.875"
+ d="m 319.25,290.25 c 0,3.79696 -3.07804,6.875 -6.875,6.875 -3.79696,0 -6.875,-3.07804 -6.875,-6.875 0,-3.79696 3.07804,-6.875 6.875,-6.875 3.79696,0 6.875,3.07804 6.875,6.875 z"
+ transform="matrix(0.6088795,0,0,0.6088795,-182.19873,-154.72728)" />
+ </g>
+ </g>
+</svg>
diff --git a/assets/spinbutton-button-down.svg b/assets/spinbutton-button-down.svg
new file mode 100644
index 0000000..bc11819
--- /dev/null
+++ b/assets/spinbutton-button-down.svg
@@ -0,0 +1,110 @@
+<?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="svg5980"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="spinbutton-button-up.svg">
+ <defs
+ id="defs5982">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4714-2"
+ id="linearGradient5304-8"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-167.30724,401.40146)"
+ x1="108.59611"
+ y1="477.02258"
+ x2="113.8317"
+ y2="477.02258" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4714-2">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop4716-4" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop4718-5" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4722-3"
+ id="linearGradient5306-4"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-166.30724,401.40146)"
+ x1="116.15861"
+ y1="479.89758"
+ x2="107.97111"
+ y2="479.89758" />
+ <linearGradient
+ id="linearGradient4722-3">
+ <stop
+ style="stop-color:#babdb6;stop-opacity:1;"
+ offset="0"
+ id="stop4724-2" />
+ <stop
+ style="stop-color:#7b8073;stop-opacity:1"
+ offset="1"
+ id="stop4726-2" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff06ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.313708"
+ inkscape:cx="8.4899306"
+ inkscape:cy="6.0708311"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true" />
+ <metadata
+ id="metadata5985">
+ <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"
+ transform="translate(0,-16)">
+ <path
+ style="color:#000000;fill:none;stroke:#000000;stroke-width:2.142;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-miterlimit:4;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
+ d="M 13.065472,21.37973 7.6897859,26.755416 2.3141,21.37973"
+ id="rect5213"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>
diff --git a/assets/spinbutton-button-up.svg b/assets/spinbutton-button-up.svg
new file mode 100644
index 0000000..4690037
--- /dev/null
+++ b/assets/spinbutton-button-up.svg
@@ -0,0 +1,110 @@
+<?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="svg5980"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="spinbutton-button-down.svg">
+ <defs
+ id="defs5982">
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4714-2"
+ id="linearGradient5304-8"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-167.30724,401.40146)"
+ x1="108.59611"
+ y1="477.02258"
+ x2="113.8317"
+ y2="477.02258" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4714-2">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop4716-4" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop4718-5" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4722-3"
+ id="linearGradient5306-4"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,-1,1,0,-166.30724,401.40146)"
+ x1="116.15861"
+ y1="479.89758"
+ x2="107.97111"
+ y2="479.89758" />
+ <linearGradient
+ id="linearGradient4722-3">
+ <stop
+ style="stop-color:#babdb6;stop-opacity:1;"
+ offset="0"
+ id="stop4724-2" />
+ <stop
+ style="stop-color:#7b8073;stop-opacity:1"
+ offset="1"
+ id="stop4726-2" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ff06ff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.313708"
+ inkscape:cx="8.4899306"
+ inkscape:cy="6.0708311"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1024"
+ inkscape:window-height="542"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true" />
+ <metadata
+ id="metadata5985">
+ <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"
+ transform="translate(0,-16)">
+ <path
+ style="color:#000000;fill:none;stroke:#000000;stroke-width:2.14199996;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="M 13.065472,26.755416 7.6897859,21.37973 2.3141,26.755416"
+ id="rect5213"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>
diff --git a/sugar-theme.css b/sugar-theme.css
index d275a4c..d4134d3 100644
--- a/sugar-theme.css
+++ b/sugar-theme.css
@@ -1,11 +1,20 @@
+* {
+ -GtkCheckButton-indicator-size: 26; /* $radio_size */
+
+}
GtkButton {
- color: #ffffff;
+ color: @white;
padding: 4;
-GtkButton-inner-border: 4 4 4 4;
}
+GtkButton:active:focus:hover {
+ color: @black;
+ background-color: @white;
+}
+
.entry {
border-width: 0;
padding: 6; /* $default_padding */
@@ -18,21 +27,29 @@ GtkButton {
GtkToggleButton:active {
background-color: @white;
- color: @black; /* FIXME */
}
-
-GtkToggleButton:active GtkLabel:active{
- background-color: @white;
+GtkToggleButton:active GtkLabel:active {
color: @black;
}
-SugarToggleToolButton:active {
- background-color: #C0C0C0; /* FIXME */
+/* toolbar */
+
+.toolbar GtkToolButton .button {
+ border-radius: 6;
+ padding: 6;
+}
+
+.toolbar GtkToggleButton:active {
+ background-color: @selection_grey;
+}
+
+.toolbar GtkToolButton .button:prelight {
+ background-color: @black;
}
GtkRadioButton, GtkCheckButton {
- color: #000000;
+ color: @black;
border-radius: 10;
}
@@ -41,13 +58,6 @@ GtkCheckButton:prelight {
background-color: @selection_grey;
}
-GtkRadioButton:active,
-GtkCheckButton:active {
- border-style: solid;
- border-color: @white;
- border-width: 2;
-}
-
GtkVSeparator, GtkHSeparator {
color: @button_grey;
}
@@ -65,6 +75,10 @@ GtkComboBox {
color: @white;
}
+GtkComboBox .separator {
+ color: alpha(@theme_base_color, 0.0);
+}
+
/* FIXME
GtkMenu {
background-color: #000000;
@@ -75,3 +89,190 @@ GtkMenu:active {
background-color: #808080;
}
*/
+
+/* check */
+
+.check,
+.check row:selected,
+.check row:selected:focused {
+ background-image: url("assets/checkbox-unchecked.svg");
+}
+
+.check:selected,
+.check:selected row:selected,
+.check:selected row:selected:focused {
+ background-image: url("assets/checkbox-unchecked-selected.svg");
+}
+
+.check:insensitive,
+.check row:selected:insensitive,
+.check row:selected:focused:insensitive {
+}
+
+.check:active,
+.check row:selected:active,
+.check row:selected:focused:active {
+ background-image: url("assets/checkbox-checked.svg");
+}
+
+.check:active:selected,
+.check:selected row:selected:active,
+.check:selected row:selected:focused:active {
+ background-image: url("assets/checkbox-checked-selected.svg");
+}
+
+.check:active:insensitive,
+.check row:selected:active:insensitive,
+.check row:selected:focused:active:insensitive {
+}
+
+.check:inconsistent,
+.check row:selected:inconsistent,
+.check row:selected:focused:inconsistent {
+}
+
+.check:inconsistent:insensitive,
+.check row:selected:inconsistent:insensitive,
+.check row:selected:focused:inconsistent:insensitive {
+}
+
+/* radio */
+
+.radio,
+.radio row:selected,
+.radio row:selected:focused {
+ background-image: url("assets/radio.svg");
+}
+
+.radio:selected,
+.radio:selected row:selected,
+.radio:selected row:selected:focused {
+ background-image: url("assets/radio-selected.svg");
+}
+
+.radio:insensitive,
+.radio row:selected:insensitive,
+.radio row:selected:focused:insensitive {
+}
+
+.radio:active,
+.radio row:selected:active,
+.radio row:selected:focused:active {
+ background-image: url("assets/radio-active.svg");
+}
+
+.radio:active:selected,
+.radio:selected row:selected:active,
+.radio:selected row:selected:focused:active {
+ background-image: url("assets/radio-active-selected.svg");
+}
+
+.radio:active:insensitive,
+.radio row:selected:active:insensitive,
+.radio row:selected:focused:active:insensitive {
+}
+
+.radio:active:insensitive,
+.radio row:selected:active:insensitive,
+.radio row:selected:focused:active:insensitive {
+}
+
+.radio:inconsistent,
+.radio row:selected:inconsistent,
+.radio row:selected:focused:inconsistent {
+}
+
+.radio:inconsistent:insensitive,
+.radio row:selected:inconsistent:insensitive,
+.radio row:selected:focused:inconsistent:insensitive {
+}
+
+/* GtkScale */
+
+GtkScale {
+ -GtkScale-slider-length: 32; /* $scale_slider_width */
+ -GtkRange-slider-width: 32; /* $scale_slider_width */
+}
+
+GtkScale.trough {
+ border-width: 2;
+ border-radius: 30;
+ border-style: solid;
+ border-color: @button_grey;
+ background-color: @button_grey;
+}
+
+/*
+
+FIXME - :active selection is not working
+
+GtkScale.trough:active {
+ border-color: @white;
+}
+
+*/
+
+GtkScale.slider {
+ border-width: 0;
+ border-radius: 0;
+ border-style: none;
+ color: alpha(@theme_base_color, 0.0);
+ background-color: alpha(@theme_base_color, 0.0);
+ background-image: url("assets/scale-slider.svg");
+}
+
+GtkScale.slider:active {
+ background-image: url("assets/scale-slider-active.svg");
+}
+
+GtkScale.slider:insensitive {
+}
+
+Sugar3PaletteWindow.background {
+ background-color: @black;
+}
+
+Sugar3PaletteWindow GtkLabel {
+ color: @white;
+}
+
+/* spinbutton */
+
+/*
+
+FIXME - wait for gnome 3.3.3 (19th december)
+
+.spinbutton.button {
+ color: alpha(@theme_base_color, 0.0);
+ background-color: alpha(@theme_base_color, 0.0);
+ border-width: 0;
+ border-radius: 0;
+ border-style: none;
+ padding-left: 20;
+}
+
+.spinbutton.button.arrow:nth-child(first) {
+ background-image: url("assets/spinbutton-button-up.svg");
+}
+
+.spinbutton.button.arrow:nth-child(last) {
+ background-image: url("assets/spinbutton-button-down.svg");
+}
+
+*/
+
+/* notebook */
+
+/*
+
+FIXME not in the repo yet?
+
+.notebook tab {
+ color: #f00;
+}
+
+.notebook tab:active {
+ color: #0f0;
+}
+
+*/