[Sugar-devel] [PATCH sugar-artwork] Theme Tooltips like Palettes, SL #3403
Manuel Quiñones
manuq at laptop.org
Thu May 31 10:27:28 EDT 2012
2012/5/31 Simon Schampijer <simon at schampijer.de>:
> 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.
I tested it and is looking good. I observe is different than the GTK2
theme tooltips, they were black text over light grey background, but I
think white text over black background is better.
> Signed-off-by: Simon Schampijer <simon at laptop.org>
Reviewed-by: Manuel Quiñones <manuq 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
.. manuq ..
More information about the Sugar-devel
mailing list