[gnome-themes-standard] Handle menu elements
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Handle menu elements
- Date: Mon, 6 Dec 2010 21:22:45 +0000 (UTC)
commit 7722eb6fac111c9ca923a884ff5eb5142b70f25e
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 30 03:25:46 2010 +0100
Handle menu elements
themes/Adwaita/gtk-3.0/gtk.css | 43 +++++++++++++++++++++++++++++++--------
1 files changed, 34 insertions(+), 9 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index a591d07..8533fe9 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -204,16 +204,21 @@ GtkStatusbar {
-GtkStatusbar-shadow-type: none;
}
-GtkStatusbar * {
- padding: 50;
-}
-
.menubar {
- padding: 0;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade (@bg_color, 0.94)),
to (@bg_color));
+ border-style: none;
+ padding: 4;
+
+ -GtkWidget-window-dragging: true;
+}
+
+.menubar *:prelight {
+ background-image: none;
+ background-color: @selected_bg_color;
+ color: @selected_fg_color;
}
.menu {
@@ -222,14 +227,34 @@ GtkStatusbar * {
border-radius: 0;
-GtkMenu-vertical-offset: 0;
-GtkMenu-horizontal-offset: -1;
+ -GtkMenuItem-arrow-scaling: 0.4;
}
-.menuitem {
- -GtkMenuItem-arrow-scaling: 0.4;
+.menu:active,
+.menu:prelight {
+ background-color: @selected_bg_color;
+ color: @selected_fg_color;
+}
+
+.check,
+.radio,
+.check:active,
+.radio:active,
+.menu .check,
+.menu .radio,
+.menu .check:hover,
+.menu .radio:hover,
+.menu .check:active,
+.menu .radio:active {
+ background-color: @base_color;
+ color: @text_color;
}
-.menuitem:hover {
- background-color: @selected_fg_color;
+GtkCheckButton:prelight,
+GtkRadioButton:prelight,
+GtkCheckButton:selected,
+GtkRadioButton:selected {
+ background-color: shade (@bg_color, 1.1);
}
.menu.separator {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]