gtk-css-engine r173 - in trunk: . conf



Author: robsta
Date: Tue Oct 28 16:18:57 2008
New Revision: 173
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=173&view=rev

Log:
* conf/user-agent.css: stylesheet describing the relation between widgets and primitives.

Added:
   trunk/conf/
   trunk/conf/user-agent.css
Modified:
   trunk/ChangeLog

Added: trunk/conf/user-agent.css
==============================================================================
--- (empty file)
+++ trunk/conf/user-agent.css	Tue Oct 28 16:18:57 2008
@@ -0,0 +1,259 @@
+
+GtkButton > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkCellRendererProgress > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkCheckButton > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+/* FIXME: rtl variant? */
+GtkComboBox > shadow {
+	background: inherit;
+	border-left: inherit;
+	border-top: inherit;
+	border-bottom: inherit;
+	border-top-left-radius: inherit;
+	border-bottom-left-radius: inherit;
+}
+
+GtkCurve > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkEntry > flat-box.entry_bg {
+	background: inherit;
+}
+
+GtkEntry > shadow {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkEventBox > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkExpander > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkFrame > shadow {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkFrame > shadow_gap {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+/* The `payload' area. */
+GtkHandleBox > box {
+	background: inherit;
+}
+GtkHandleBox[handle-position=left] > box {
+	border-top: inherit;
+	border-right: inherit;
+	border-bottom: inherit;
+	border-top-right-radius: inherit;
+	border-bottom-right-radius: inherit;
+}
+GtkHandleBox[handle-position=top] > box {
+	border-left: inherit;
+	border-right: inherit;
+	border-bottom: inherit;
+	border-bottom-left-radius: inherit;
+	border-bottom-right-radius: inherit;
+}
+GtkHandleBox[handle-position=right] > box {
+	border-left: inherit;
+	border-top: inherit;
+	border-bottom: inherit;
+	border-top-left-radius: inherit;
+	border-bottom-left-radius: inherit;
+}
+GtkHandleBox[handle-position=bottom] > box {
+	border-left: inherit;
+	border-top: inherit;
+	border-right: inherit;
+	border-top-left-radius: inherit;
+	border-top-right-radius: inherit;
+}
+
+GtkHScrollbar > box.trough {
+	background: inherit;
+	border-top: inherit;
+	border-bottom: inherit;
+	border-radius: 0;
+}
+
+GtkListItem > flat-box {
+	ccss:import("GtkTreeView > flat-box");
+}
+
+GtkMenuBar > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkMenu > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkMenuItem > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkNotebook > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkNotebook > box_gap {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkOptionMenu > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkOptionMenu > tab {
+	ccss:import("arrow[direction=down]");
+}
+
+/* Interestingly GtkProgress uses `flat-box', while GtkProgressBar uses `box' 
+ * for the trough. */
+GtkProgressBar > box.trough {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+GtkProgress > flat-box.trough {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+GtkProgressBar > box.bar {
+	border-radius: inherit;
+}
+
+GtkRadioButton > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkRuler > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkSeparator > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+/* FIXME: rtl variant? */
+GtkSpinButton > box.spinbutton_up {
+	border-top: inherit;
+	border-right: inherit;
+	border-top-right-radius: inherit;
+}
+GtkSpinButton > box.spinbutton_down {
+	border-right: inherit;
+	border-bottom: inherit;
+	border-bottom-right-radius: inherit;
+}
+
+GtkTearoffMenuItem > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkText > flat-box {
+	ccss:import("GtkEntry > flat-box");
+}
+
+GtkText > shadow {
+	ccss:import("GtkEntry > shadow");
+}
+
+GtkToolbar > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkTooltip > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkTreeItem > flat-box {
+	ccss:import("GtkTreeView > flat-box");
+}
+
+GtkViewport > flat-box {
+	background: inherit;
+}
+
+GtkViewport > shadow {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+
+GtkVScrollbar > box.trough {
+	background: inherit;
+	border-left: inherit;
+	border-right: inherit;
+	border-radius: 0;
+}
+
+GtkWindow > flat-box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+/* Need to find out whether this is used at all
+GtkWindow > box {
+	background: inherit;
+	border: inherit;
+	border-radius: inherit;
+}
+*/
+



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