[gtk+] Adwaita: inhert backdrop selected list rows
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: inhert backdrop selected list rows
- Date: Sat, 6 Sep 2014 15:14:39 +0000 (UTC)
commit 7633118e7dbdefaabb473ed43d63d1b062e42030
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sat Sep 6 17:14:09 2014 +0200
Adwaita: inhert backdrop selected list rows
gtk/resources/theme/Adwaita/_common.scss | 1 +
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index bad740c..4e9313e 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -2246,6 +2246,7 @@ GtkScrolledWindow {
&:hover {
background-color: mix(black, $selected_bg_color, 10%);
}
+ &:backdrop { background-color: $selected_bg_color; }
}
&:backdrop:hover {
@extend %undecorated_button;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index a8f9346..4ccd4dc 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -3364,6 +3364,8 @@ GtkCalendar.header .list-row.button.titlebutton {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #1d538c; }
+ .list-row.button:selected:backdrop {
+ background-color: #215d9c; }
.list-row:selected .button {
color: #eeeeec;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 1453805..a2a7b15 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -3514,6 +3514,8 @@ GtkCalendar.header .list-row.button.titlebutton {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #4281c3; }
+ .list-row.button:selected:backdrop {
+ background-color: #4a90d9; }
.list-row:selected .button {
color: #2e3436;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]