[gtk+] Adwaita: fix rubberband selection
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: fix rubberband selection
- Date: Thu, 19 Jun 2014 17:11:41 +0000 (UTC)
commit b7c51de62b4c0864312cbca484e7c06cdcf73ffd
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Jun 19 19:11:02 2014 +0200
Adwaita: fix rubberband selection
gtk/resources/theme/Adwaita/_common.scss | 5 +++++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++
gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 0a4ee52..2867290 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -117,6 +117,11 @@
}
}
+.rubberband {
+ border: 1px solid $selected_bg_color;
+ background-color: transparentize($selected_bg_color,0.8);
+}
+
/*********************
* Spinner Animation *
*********************/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 34f00c7..e5015a4 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -105,6 +105,10 @@
color: #c9cbc9;
background-color: #2c2c2c; }
+.rubberband {
+ border: 1px solid #215d9c;
+ background-color: rgba(33, 93, 156, 0.2); }
+
/*********************
* Spinner Animation *
*********************/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index c929c8f..efcea7a 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -105,6 +105,10 @@
color: #54595a;
background-color: #fcfcfc; }
+.rubberband {
+ border: 1px solid #4a90d9;
+ background-color: rgba(74, 144, 217, 0.2); }
+
/*********************
* Spinner Animation *
*********************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]