Opened 12 years ago

Last modified 11 years ago

#3879 closed defect

Style the palettes — at Version 2

Reported by: manuq Owned by: manuq
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords: 13.1.0
Cc: erikos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description (last modified by manuq)

Palettes need to be styled for the GTK+3 shell port.

  • correct alignments and sizes respecting the sugar cell size
  • separator below the header is not visible
  • separators should be grey and get the whole palette width

Also for the icon in the palette see #3836.

Attaching gif animations for reference.

Change History (6)

Changed 12 years ago by manuq

Reference animation.

Changed 12 years ago by manuq

Reference animation.

comment:1 Changed 12 years ago by manuq

This makes the activity separator the correct color and almost get all the width:

--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -445,14 +445,15 @@ SugarPaletteWindow SugarGroupBox *:insensitive {
     padding: 0px $(subcell_size)px;
 }
 
-.menu * {
-    color: @white;
-}
-
 .menuitem {
     padding: $(subcell_size)px $((subcell_size * 3 - font_height) / 2)px;
 }
 
+.menuitem.separator {
+    padding: $(subcell_size)px 0;
+    color: @button_grey;
+}
+
 .menuitem:prelight {
     background-color: @button_grey;
 }

comment:2 Changed 12 years ago by manuq

  • Description modified (diff)

Changed 12 years ago by manuq

Toolkit part of the fix.

Changed 12 years ago by manuq

Artwork part of the fix.

Note: See TracTickets for help on using tickets.