Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk3/theme/gtk-widgets.css.em
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-10-03 20:48:39 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-10-05 13:06:25 (GMT)
commitca9ba657aeed8e53c421b356fc1f26e4f519989a (patch)
tree989aa370f3c8671a10e6ee98dee3a1444bd1a1eb /gtk3/theme/gtk-widgets.css.em
parent9cfc22cb137cff238aa8ed2b93e2f8be335bf2f5 (diff)
Style activities in home view for tap - click and hover feedback
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>
Diffstat (limited to 'gtk3/theme/gtk-widgets.css.em')
-rw-r--r--gtk3/theme/gtk-widgets.css.em18
1 files changed, 14 insertions, 4 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index b9a39d5..58cf450 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -687,13 +687,23 @@ SugarFrameWindow {
/* Sugar Favorite Activity icon */
-SugarFavoriteActivityIcon:prelight {
- border-color: @selection_grey;
- border-radius: $(2 * thickness)px;
- border-width: $(thickness)px;
+SugarFavoriteActivityIcon {
+ border-color: transparent;
+ border-radius: $(4 * thickness)px;
+ border-width: 2px;
border-style: solid;
}
+SugarFavoriteActivityIcon:prelight {
+ border-color: @zoom_views_prelight;
+ background-color: @zoom_views_prelight;
+}
+
+SugarFavoriteActivityIcon:active {
+ border-color: @zoom_views_active;
+ background-color: @zoom_views_active;
+}
+
/* Text cursor handles */
.cursor-handle.top,