[gtk+/gtk-3-22] Adwaita: make rubberband selection work again for libgd apps
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Adwaita: make rubberband selection work again for libgd apps
- Date: Fri, 25 Nov 2016 17:54:52 +0000 (UTC)
commit 5282991ab9765282d695a7b04d54ff2e4ba54603
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Nov 25 18:53:21 2016 +0100
Adwaita: make rubberband selection work again for libgd apps
libgd views still use the old style class.
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++-
gtk/theme/Adwaita/gtk-contained.css | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 8ed5568..1c04ea3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4102,7 +4102,7 @@ colorchooser .popover.osd { border-radius: 5px; }
&:backdrop { background-color: darken($bg_color,7%); }
- rubberband { @extend rubberband; }
+ rubberband, .rubberband { @extend rubberband; }
}
.scale-popup {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 6604168..fa424be 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -80,7 +80,8 @@ textview border {
rubberband,
flowbox rubberband,
treeview.view rubberband,
-.content-view rubberband {
+.content-view rubberband,
+.content-view .rubberband {
border: 1px solid #184472;
background-color: rgba(24, 68, 114, 0.2); }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2752d2f..fda0ccd 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -80,7 +80,8 @@ textview border {
rubberband,
flowbox rubberband,
treeview.view rubberband,
-.content-view rubberband {
+.content-view rubberband,
+.content-view .rubberband {
border: 1px solid #2a76c6;
background-color: rgba(42, 118, 198, 0.2); }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]