[gtk+] Adwaita: set outline-color on selected items
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: set outline-color on selected items
- Date: Wed, 18 Jun 2014 08:22:08 +0000 (UTC)
commit e1ae22465b11f647357290d6e0b0c428f4ed2431
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Jun 18 10:21:13 2014 +0200
Adwaita: set outline-color on selected items
gtk/resources/theme/Adwaita/_common.scss | 1 +
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++-
gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 381d383..c7b6b2a 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1512,6 +1512,7 @@ GtkLevelBar.vertical {
%selected_items {
background-color: $selected_bg_color;
color: $selected_fg_color;
+ outline-color: transparentize($selected_fg_color, 0.7);
&:backdrop { color: $backdrop_base_color; }
}
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 4e6b2a3..df3b4cd 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -2041,7 +2041,8 @@ GtkLevelBar.vertical {
.view:selected, .view:selected:focus, .view:selected:hover, .entry:selected, .entry:selected:focus,
.button:selected, .button:selected:focus {
background-color: #215d9c;
- color: white; }
+ color: white;
+ outline-color: rgba(255, 255, 255, 0.3); }
.view:backdrop:selected, .entry:backdrop:selected, .button:backdrop:selected {
color: #2c2c2c; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index a6b1a52..45de207 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -2039,7 +2039,8 @@ GtkLevelBar.vertical {
.view:selected, .view:selected:focus, .view:selected:hover, .entry:selected, .entry:selected:focus,
.button:selected, .button:selected:focus {
background-color: #4a90d9;
- color: white; }
+ color: white;
+ outline-color: rgba(255, 255, 255, 0.3); }
.view:backdrop:selected, .entry:backdrop:selected, .button:backdrop:selected {
color: #fcfcfc; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]