Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-09-04 03:36:30 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-09-11 12:43:02 (GMT)
commitdec9fd9ee61bce8fd0d03825adf3248dab51f57e (patch)
tree67f79f03d47e20bb458814c388b0da1a0432da64
parent08cebcd93f4414f8d8966ec8508fc33a6da73f35 (diff)
Set correct border-color for entries - SL #3389
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>
-rw-r--r--gtk3/theme/gtk-widgets.css.em14
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index c1579ad..906bbfe 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -218,7 +218,7 @@ GtkTreeView row:nth-child(odd) {
.entry {
border-radius: $(2 * subcell_size)px;
border-width: $(thickness)px;
- border-color: @selection_grey;
+ border-color: @text_field_grey;
border-style: solid;
background-color: @text_field_grey;
color: @black;
@@ -237,10 +237,18 @@ GtkTreeView row:nth-child(odd) {
background-color: @white;
}
+.toolbar .entry:focused {
+ border-color: @white;
+}
+
.entry:insensitive, .view:insensitive {
background-color: @button_grey;
}
+.entry:insensitive {
+ border-color: @button_grey;
+}
+
.view:selected {
background-color: @panel_grey;
color: @black;
@@ -252,6 +260,10 @@ GtkTreeView row:nth-child(odd) {
color: @black;
}
+.entry:selected, .entry:selected:focused {
+ border-color: @selection_grey;
+}
+
/* Frames */
GtkScrolledWindow.frame {