gtk-css-engine r144 - in trunk: . themes/Gilouche-CSS/gtk-2.0



Author: robsta
Date: Wed Oct  1 10:08:27 2008
New Revision: 144
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=144&view=rev

Log:
* themes/Gilouche-CSS/gtk-2.0/styles.css:
* themes/Gilouche-CSS/gtk-2.0/optionmenu.svg (added):
Teak theme, mainly roundings.



Added:
   trunk/themes/Gilouche-CSS/gtk-2.0/optionmenu.svg
Modified:
   trunk/ChangeLog
   trunk/themes/Gilouche-CSS/gtk-2.0/styles.css

Added: trunk/themes/Gilouche-CSS/gtk-2.0/optionmenu.svg
==============================================================================
--- (empty file)
+++ trunk/themes/Gilouche-CSS/gtk-2.0/optionmenu.svg	Wed Oct  1 10:08:27 2008
@@ -0,0 +1,96 @@
+<?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="31.95381"
+   height="44.380955"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.46"
+   version="1.0"
+   sodipodi:docname="optionmenu.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape">
+  <defs
+     id="defs4">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 526.18109 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="744.09448 : 526.18109 : 1"
+       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+       id="perspective10" />
+    <inkscape:perspective
+       id="perspective9"
+       inkscape:persp3d-origin="64 : 42.666667 : 1"
+       inkscape:vp_z="128 : 64 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 64 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective2403"
+       inkscape:persp3d-origin="64 : 42.666667 : 1"
+       inkscape:vp_z="128 : 64 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 64 : 1"
+       sodipodi:type="inkscape:persp3d" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     gridtolerance="10000"
+     guidetolerance="10"
+     objecttolerance="10"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1"
+     inkscape:cx="215.60297"
+     inkscape:cy="-161.88095"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1019"
+     inkscape:window-height="878"
+     inkscape:window-x="489"
+     inkscape:window-y="75" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-249.73738,-294.45742)">
+    <g
+       transform="matrix(0.2501396,0,0,-0.2494828,249.758,320.1096)"
+       id="g2392">
+      <path
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+         id="path5138"
+         d="M 127.66147,39.210176 L 63.789521,102.82143 L -0.082434003,38.688771 L 10.867044,28.2607 L 51.01513,68.669485 C 51.01513,68.669485 54.939372,72.840708 63.789521,72.840708 C 72.899931,72.840708 80.474437,64.498259 80.474437,64.498259 L 116.97269,28 L 127.66147,39.210176 z" />
+    </g>
+    <g
+       transform="matrix(0.2501396,0,0,0.2494828,249.758,313.1862)"
+       id="g2405">
+      <path
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+         id="path2407"
+         d="M 127.66147,39.210176 L 63.789521,102.82143 L -0.082434003,38.688771 L 10.867044,28.2607 L 51.01513,68.669485 C 51.01513,68.669485 54.939372,72.840708 63.789521,72.840708 C 72.899931,72.840708 80.474437,64.498259 80.474437,64.498259 L 116.97269,28 L 127.66147,39.210176 z" />
+    </g>
+  </g>
+</svg>

Modified: trunk/themes/Gilouche-CSS/gtk-2.0/styles.css
==============================================================================
--- trunk/themes/Gilouche-CSS/gtk-2.0/styles.css	(original)
+++ trunk/themes/Gilouche-CSS/gtk-2.0/styles.css	Wed Oct  1 10:08:27 2008
@@ -64,7 +64,7 @@
 arrow {
 	background-position: center;
 	background-repeat: no-repeat;
-	background-size: 100% 100%;
+	background-size: contain;
 }
 
 arrow[orientation=up] {
@@ -93,6 +93,61 @@
 	border: 1px solid #e2d4b2;
 }
 
+/* GtkComboBox > GtkEntry > shadow ? */
+GtkComboBox > GtkEntry {
+	border-right: none;		/* TODO Rob: seems this doesn't work */
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+GtkComboBox > GtkButton {
+	border-left: none;		/* TODO Rob: seems this doesn't work */
+	border-top-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+GtkCombo > GtkEntry {
+	border-right: none;		/* TODO Rob: seems this doesn't work */
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+GtkCombo > GtkButton {
+	border-left: none;		/* TODO Rob: seems this doesn't work */
+	border-top-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+GtkSpinButton {
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+/* spinbuttons */
+GtkSpinButton > box.spinbutton-up {
+	background-image: url(arrow-up.svg);
+	background-position: center;
+	background-repeat: no-repeat;
+	background-size: contain;
+	border: 1px solid #a99975;
+	border-top-left-radius: 0px;
+	border-top-right-radius: 3px;
+	border-bottom-right-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+GtkSpinButton > box.spinbutton-down {
+	background-image: url(arrow-down.svg);
+	background-position: center;
+	background-repeat: no-repeat;
+	background-size: contain;
+	border: 1px solid #a99975;
+	border-top-left-radius: 0px;
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 3px;
+	border-bottom-left-radius: 0px;
+}
+
 /* progressbar */
 
 GtkProgressBar box.bar {
@@ -126,15 +181,22 @@
 }
 
 /* horizontal scrollbar */
-GtkHScrollbar slider {
+GtkHScrollbar > slider {
 	background-image: url(slider-background-horizontal.png);
 	background-position: center;
 	background-repeat: no-repeat;
 	border: 1px solid #587ba1;
 	border-radius: 0px;
 }
+/* TODO Rob: need a way to match left/right stepper box (top/bottom for vscroll).
+GtkHScrollbar > box {
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+*/
+
 /* vertical scrollbar */
-GtkVScrollbar slider {
+GtkVScrollbar > slider {
 	background-image: url(slider-background.png);
 	background-position: center;
 	background-repeat: no-repeat;
@@ -161,6 +223,24 @@
 	border: 1px solid #c6b182;
 }
 
+/* No rounding at the side of the tabs. */
+box[gap=left].notebook {
+	border-top-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+box[gap=top].notebook {
+	border-top-left-radius: 0px;
+	border-top-right-radius: 0px;
+}
+box[gap=right].notebook {
+	border-top-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+box[gap=bottom].notebook {
+	border-bottom-left-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
 extension {
 	border: 1px solid #c6b182;
 	background-color: #ebdfc4;
@@ -202,7 +282,7 @@
 
 /* small frame boxes */
 shadow.frame{
-border: 1px solid #c6b182;
+	border: 1px solid #c6b182;
 }
 
 /* the buttons on the scrolled window sliders */
@@ -212,17 +292,19 @@
 	border: 1px solid #a19373;
 }
 
-/* spinbuttons */
-box.spinbutton-up, box.spinbutton-down{
-border: 1px solid #a99975;
-}
-
 resizegrip.statusbar {
 	background-image: url(resizegrip.png);
 	background-position: right bottom;
 	background-repeat: no-repeat;
 }
 
+tab {
+	background-image: url(optionmenu.svg);
+	background-position: center;
+	background-repeat: no-repeat;
+	background-size: contain;
+}
+
 GtkEntry {
-background-color: #fff;
+	background-color: #fff;
 }



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