| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is coherent with the themeing for Palettes and modal
alerts. Follow up of SL #3971
Signed-off-by: Simon Schampijer <simon@laptop.org
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For hover, change the previous outline to a background fill. For tap
- click, add a grey background fill. This change is consistent with
the style of buttons in toolbars, which have subtle hover feedback,
and more visible background change for tap - click feedback.
For choosing the grey tones, Gary used the 'strive for at least two
Munsell steps' guideline as per the HIG. Assuming our current white
zoom view canvas backrounds, and 50% grey for activities without
Journal entries (the 50% grey is 3 too bright for a strict two Munsell
gap, but close enough). This gives good visibility for both hover,
press, and enough contrast during a press on a 50% grey.
Also, make the corners a bit more round.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An example of why this is wrong is #3974, in which removing:
SugarAlert GtkLabel { color: @white; }
makes the buttons label recover the right color, as specified in the
rule .buttons {...}
The only exception is in the notebook tabs: setting color there
doesn't paint the labels, so we have to add a rule for labels in tabs,
and then add another rule to make sure labels inside buttons inside
tabs get the right black color. This patch also adds a comment in the
CSS explaining that.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
| |
Set a border with the appearence as the shell code was doing before.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
| |
This make the timeout counter in the sugar alerts round again.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
This makes the treeview header get the same style as in GTK+2. The
background is the same color as the header button, so looks a
rectagular area. And a white round border is visible when the button
is active.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
| |
For the same reason we set 'gtk-menu-images' in commit 6ad1090a . In
the absence of an Xsettings manager, GTK+ reads default values for
settings from settings.ini .
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkStyleContext doesn't have .window class, GtkWindow should be used.
This is what a11y_base.css does in gnome-themes-standard. Also in
gnome-themes-standard they don't use the .background class, which
affects the window background [1], and set the background-color in
GtkWindow directly. This patch does the same.
[1] http://developer.gnome.org/gtk3/stable/GtkStyleContext.html#GTK-STYLE-CLASS-BACKGROUND:CAPS
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
- Add CSS rules to style the handles
- Add SVG assets for the handles
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
Set white background and black foreground color like gtkrc does with
the white-bg style class.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
BrowseNotebook is already used in Terminal and Browse, let's set it as
the default GtkNotebook style.
Also, remove rule for BrowseLinkInfo that was removed from Browse.
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The global settings between applications are usually shared
using an XSettings manager, in the case of Sugar we do not have
one (yet). In the absence of an Xsettings manager, GTK+ reads
default values for settings from settings.ini files in
/etc/gtk-3.0 and $XDG_CONFIG_HOME/gtk-3.0 [1].
This sets 'gtk-menu-images' to True in settings.ini.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
[1] http://developer.gnome.org/gtk3/3.4/GtkSettings.html#GtkSettings.description
|
|
|
|
|
|
| |
We do generate settings-100.ini settings-72.ini from
settings.ini.em now, no need to keep the unused
settings.ini around.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add bottom padding to the menu.
- Style separators in menu.
- Add exception for the header menu item of the Sugar palette,
1. correct padding and 2. set a background color so it doesn't look
clickeable, and looks like an informational header instead.
- Add exception for the first separator in the Sugar palette.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More cleanup for the initial commit, 529e929c .
- palette class does not exist, is not listed here:
http://developer.gnome.org/gtk3/3.4/GtkStyleContext.html
- we don't change the menu color in the prelight state
- remove rule to set the color for .menu * that was there to override
the global rule, now removed
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a direct translation of the same setting in the gtk2 gtkrc
file:
GtkToolbar::shadow-type = GTK_SHADOW_NONE
This affects the toolbar height too.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
After applying this patch, the styling in the sugar component code can
be safely removed.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
Toolbar color is @toolbar_grey, not @black.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Now the entries in the toolbar have a border color that is the same as
the background color, looking like in GTK2. Entries with a
progressbar inside, like Browse activity URL entry, now have the same
style than in GTK2, with an outline. See images attached to the
ticket for reference.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|