[gnome-themes-standard/touch-selections] widgets: add initial theming for GtkBubbleWindow
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/touch-selections] widgets: add initial theming for GtkBubbleWindow
- Date: Tue, 5 Mar 2013 17:19:56 +0000 (UTC)
commit 11b1b35abf43a3a88487bb5fe78bf1ab6e6ea645
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 5 11:38:26 2013 -0500
widgets: add initial theming for GtkBubbleWindow
Used internally by GTK for the text selection popups on touchscreens.
themes/Adwaita/gtk-3.0/gtk-main-common.css | 5 +++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 16 ++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-common.css b/themes/Adwaita/gtk-3.0/gtk-main-common.css
index d733db0..8ccb134 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-common.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-common.css
@@ -64,6 +64,11 @@
@define-color osd_scrollbar_slider_active shade(@osd_scrollbar_trough, 2.10);
@define-color osd_scrollbar_slider_backdrop shade(@osd_scrollbar_trough_backdrop, 1.50);
+/***********
+ * Popover *
+ ***********/
+ define-color osd_popover_bg alpha(@osd_base, 0.90);
+
/*********************
* Error/Warning/... *
*********************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 0534f5a..a9ed677 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3954,6 +3954,22 @@ GtkInfoBar {
text-shadow: none;
}
+/*************************
+ * Touch text selections *
+ *************************/
+GtkBubbleWindow {
+ border-radius: 5px;
+ background-clip: border-box;
+}
+
+GtkBubbleWindow.osd.background {
+ background-color: @osd_popover_bg;
+}
+
+GtkBubbleWindow .toolbar {
+ background-color: transparent;
+}
+
/**********************
* Fallback Mode Panel
**********************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]