Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk3
Commit message (Collapse)AuthorAgeFilesLines
* GtkDialog: theme dialog with a black bg and white textSimon Schampijer2012-10-091-0/+5
| | | | | | | | 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>
* Style activities in home view for tap - click and hover feedbackManuel Quiñones2012-10-052-4/+16
| | | | | | | | | | | | | | | | | | | 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>
* Don't set color for GtkLabel, do it in containers instead - SL #3974Manuel Quiñones2012-10-021-12/+8
| | | | | | | | | | | | | | | | | | 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>
* Style prelight state of favorite activity icon - SL #3894Manuel Quiñones2012-10-021-0/+9
| | | | | | Set a border with the appearence as the shell code was doing before. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Add border-redius to SugarTimeoutIcon - SL #3907Manuel Quiñones2012-10-021-0/+1
| | | | | | | 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>
* Set background color to GtkTreeView - SL #3962Manuel Quiñones2012-10-011-0/+4
| | | | | | | | | | 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>
* Set 'gtk-button-images' to True in settings.ini - SL #3904 #3725Manuel Quiñones2012-10-011-0/+1
| | | | | | | | | 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>
* Fix color and background-color for GtkWindow - SL #3917Manuel Quiñones2012-09-261-11/+5
| | | | | | | | | | | | | 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>
* Style cursor handlesManuel Quiñones2012-09-205-2/+234
| | | | | | | | - 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>
* Style intro screen - SL #3904Manuel Quiñones2012-09-201-0/+8
| | | | | | | | 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>
* Use the same style as Browse in all GtkNotebooks - SL #3923Daniel Francis2012-09-181-24/+6
| | | | | | | | | | 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>
* Theme: set 'gtk-menu-images' to True in settings.ini, SL #3900Simon Schampijer2012-09-171-1/+1
| | | | | | | | | | | | | | | 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
* Remove settings.iniSimon Schampijer2012-09-171-5/+0
| | | | | | We do generate settings-100.ini settings-72.ini from settings.ini.em now, no need to keep the unused settings.ini around.
* Pretty up settings.ini.emSimon Schampijer2012-09-171-3/+3
|
* Style general menus and the Sugar palette menus - SL #3879Manuel Quiñones2012-09-131-1/+18
| | | | | | | | | | | | | | | - 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>
* Remove unexistent .palette class, menu improvementsManuel Quiñones2012-09-111-22/+2
| | | | | | | | | | | | | | | 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>
* Set toolbar shadow type to None - SL #3388Manuel Quiñones2012-09-111-0/+1
| | | | | | | | | | | | 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>
* Style the sugar frame window background color - SL #3873Manuel Quiñones2012-09-111-0/+6
| | | | | | | | 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>
* Set the proper toolbar background - SL #3403Manuel Quiñones2012-09-111-1/+1
| | | | | | | Toolbar color is @toolbar_grey, not @black. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Set correct border-color for entries - SL #3389Manuel Quiñones2012-09-111-1/+13
| | | | | | | | | | | 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>
*