[Sugar-devel] [PATCH sugar-artwork] Theme Tooltips like Palettes, SL #3403
Simon Schampijer
simon at schampijer.de
Thu May 31 09:46:01 EDT 2012
Theme the tooltips with a black background and a
button_grey border and white text on it to have the
same style as Palettes.
An example is the tooltip displayed for bookmarks in
the Read activity.
Signed-off-by: Simon Schampijer <simon at laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 9671e29..7186651 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -433,6 +433,17 @@ GtkMenuItem {
padding: $(subcell_size)px $((subcell_size * 3 - font_height) / 2)px;
}
+.tooltip {
+ background-color: @black;
+ border-style: solid;
+ border-width: $(thickness)px;
+ border-color: @button_grey;
+}
+
+.tooltip * {
+ color: @white;
+}
+
/* Scrollbars */
.scrollbar {
--
1.7.10.2
More information about the Sugar-devel
mailing list