[Pkg-sugar-commit] [sugar-artwork] 02/08: Remove SugarPaletteHeaderSeparator
Jonas Smedegaard
dr at jones.dk
Fri Jul 3 00:22:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository sugar-artwork.
commit 102eac97adf011f8bc5d9344e81f62a2b6b44d91
Author: Gonzalo Odiard <godiard at gmail.com>
Date: Tue Jun 30 15:31:41 2015 -0300
Remove SugarPaletteHeaderSeparator
Remove rules for the SugarPaletteHeaderSeparator, simplify rules for menu,
and add menuitem:hover for compatibility with newer versions of Gtk.
---
gtk3/theme/gtk-widgets.css.em | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 6dd95ac..1c8f74e 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -458,24 +458,21 @@ SugarPaletteWindow SugarGroupBox *:insensitive {
* However in the case of two normal menus, they are next to each other.
* It is not possible to be smarter about this, because the style comes from
* the submenu. */
- -GtkMenu-horizontal-offset : 0;
+ -GtkMenu-horizontal-offset : -$(line_width)px;
-GtkMenu-vertical-offset : 0;
- padding: 0px 0px $(subcell_size)px 0px;
+ padding: 0px;
+
border-width: 2px;
border-color: @button_grey;
border-style: solid;
}
-.menu :active {
- background-color: @button_grey;
-}
-
.menuitem {
padding: $(subcell_size)px $((subcell_size * 3 - font_height) / 2)px;
}
-.menuitem:prelight {
+.menuitem:prelight, .menuitem:hover {
background-color: @button_grey;
}
@@ -483,18 +480,6 @@ SugarPaletteWindow SugarGroupBox *:insensitive {
padding: 0;
}
-SugarPaletteHeader.menuitem {
- padding: 0px $((subcell_size * 3 - font_height) / 2)px;
-}
-
-SugarPaletteHeader.menuitem:prelight {
- background-color: @black;
-}
-
-SugarPaletteHeaderSeparator.menuitem.separator {
- padding: 0;
-}
-
.tooltip {
background-color: @black;
border-style: solid;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-artwork.git
More information about the pkg-sugar-commit
mailing list