summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalOk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-themes/TraditionalOk')
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css121
1 files changed, 95 insertions, 26 deletions
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index d1c51c73..7c1d6698 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -2254,6 +2254,7 @@ menubar menuitem,
background-color: transparent;
}
+menubar:hover, /* firefox */
menubar menuitem:hover,
.menubar menuitem:hover,
menuitem button.flat:hover,
@@ -2289,19 +2290,17 @@ menubar menuitem:hover,
}
menu menuitem,
-menu menuitem:disabled,
-.menu menuitem,
-.menu menuitem:disabled {
+.menu menuitem {
border-width: 1px 0px;
border-style: solid;
border-color: transparent;
padding: 4px;
- background-color: @menu_bg_color;
- color: @theme_text_color;
}
+.menuitem, /* firefox */
menu > menuitem,
.menu > menuitem {
+ background-color: @menu_bg_color;
color: @theme_text_color;
}
@@ -2334,7 +2333,9 @@ menu menuitem:hover,
menu menuitem:disabled,
.menu menuitem:disabled {
+ background-color: @menu_bg_color;
color: mix (@menu_fg_color, @menu_bg_color, 0.6);
+ border-color: transparent;
}
menu menuitem accelerator:disabled,
@@ -2354,7 +2355,7 @@ menuitem arrow {
min-height: 16px;
min-width: 16px;
margin-left: 10px;
- color: @menu_controls_color;
+ color: @theme_text_color;
}
menu menuitem arrow:dir(ltr),
@@ -2386,32 +2387,100 @@ menu arrow:hover,
/* settings for 4 menu level, this is needed to override the menuitem:hover
state from previous menu level, as GtkArrow itself don't support states.
thanks gtk+ devs for this madness */
-menu > menuitem > arrow,
-menu > menuitem:hover menu > menuitem arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow,
-.menu > menuitem > arrow,
-.menu > menuitem:hover .menu > menuitem arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow {
+menu > menuitem > arrow.right,
+menu > menuitem:hover menu > menuitem > arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right,
+menu > menuitem > arrow.left,
+menu > menuitem:hover menu > menuitem > arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left,
+.menu > menuitem > arrow.right,
+.menu > menuitem:hover .menu > menuitem > arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right,
+.menu > menuitem > arrow.left,
+.menu > menuitem:hover .menu > menuitem > arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left {
color: @theme_text_color;
}
-menu > menuitem:hover > arrow,
-menu > menuitem:hover menu > menuitem:hover arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow,
-menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow,
-.menu > menuitem:hover > arrow,
-.menu > menuitem:hover .menu > menuitem:hover arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow,
-.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow {
+menu > menuitem:hover > arrow.right,
+menu > menuitem:hover menu > menuitem:hover arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right,
+menu > menuitem:hover > arrow.left,
+menu > menuitem:hover menu > menuitem:hover arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left,
+menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left,
+.menu > menuitem:hover > arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right,
+.menu > menuitem:hover > arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left,
+.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left {
color: @menubar_menuitem_hover_color;
}
+/* scroll arrows */
+menu > arrow,
+.menu > arrow {
+ border-width: 0px;
+ border-style: none;
+ border-radius: 0px;
+ background-color: transparent;
+ background-image: none;
+ min-height: 16px;
+ min-width: 16px;
+ padding: 2px 4px;
+ color: @theme_text_color;
+}
+
+menu > arrow.top,
+.menu > arrow.top {
+ margin-top: -2px;
+ margin-left: -1px;
+ margin-right: -1px;
+}
+
+menu > arrow.bottom,
+.menu > arrow.bottom {
+ margin-bottom: -2px;
+ margin-left: -1px;
+ margin-right: -1px;
+}
+
+menu > arrow:hover,
+.menu > arrow:hover {
+ color: @menubar_menuitem_hover_color;
+ background-image: -gtk-gradient (linear,
+ left top,
+ left bottom,
+ from (@menubar_menuitem_hover_gradient_a),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_b),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_c),
+ to (@menubar_menuitem_hover_gradient_d));
+}
+
+menu > arrow:disabled,
+.menu > arrow:disabled {
+ color: mix (@menu_fg_color, @menu_bg_color, 0.6);
+ -gtk-icon-shadow: none;
+ background-color: transparent;
+ background-image: none;
+}
+
menu separator,
.menu separator,
menuitem separator {