[gnome-themes-standard] initial tooltip styling
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] initial tooltip styling
- Date: Mon, 9 Jun 2014 21:04:26 +0000 (UTC)
commit 59cddbc3e4600e72223e103e1b5e3370bf1ffedd
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Jun 9 23:04:10 2014 +0200
initial tooltip styling
themes/Adwaita/gtk-3.0/_common.scss | 12 +++++++++++-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 11 +++++++++++
themes/Adwaita/gtk-3.0/gtk-contained.css | 11 +++++++++++
3 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index f0600ac..37d9312 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -1484,7 +1484,17 @@ GtkInfoBar {
* Tooltips *
************/
-//FIXME
+.tooltip {
+ padding: 4px; /* not working */
+ border-radius: 3px;
+ background-color: transparentize($base_color,0.1); //FIXME proper color
+ text-shadow: 0 1px transparentize(black,0.9);
+}
+
+.tooltip * { //Yeah this is ugly
+ padding: 4px;
+ background-color: transparent;
+}
/**********************
* Window Decorations *
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 5e35ab4..0c0db6c 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -1761,6 +1761,17 @@ GtkInfoBar {
/************
* Tooltips *
************/
+.tooltip {
+ padding: 4px;
+ /* not working */
+ border-radius: 3px;
+ background-color: rgba(51, 51, 51, 0.9);
+ text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+
+.tooltip * {
+ padding: 4px;
+ background-color: transparent; }
+
/**********************
* Window Decorations *
*********************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 00c66dc..95d865e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -1761,6 +1761,17 @@ GtkInfoBar {
/************
* Tooltips *
************/
+.tooltip {
+ padding: 4px;
+ /* not working */
+ border-radius: 3px;
+ background-color: rgba(255, 255, 255, 0.9);
+ text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+
+.tooltip * {
+ padding: 4px;
+ background-color: transparent; }
+
/**********************
* Window Decorations *
*********************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]