[gnome-themes-standard] osd button: FIXME - lapo why? ;)
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] osd button: FIXME - lapo why? ;)
- Date: Mon, 9 Jun 2014 13:19:58 +0000 (UTC)
commit d12211919d5ef048d7b01ebbce830b9f3803dfc4
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Jun 4 18:27:45 2014 +0200
osd button: FIXME - lapo why? ;)
themes/Adwaita/gtk-3.0/_colors.scss | 3 +++
themes/Adwaita/gtk-3.0/_common.scss | 6 +++++-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 3 +++
themes/Adwaita/gtk-3.0/gtk-contained.css | 3 +++
4 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_colors.scss b/themes/Adwaita/gtk-3.0/_colors.scss
index 46ccca3..142946c 100644
--- a/themes/Adwaita/gtk-3.0/_colors.scss
+++ b/themes/Adwaita/gtk-3.0/_colors.scss
@@ -18,6 +18,9 @@ $error_color: #cc0000;
$success_color: if($variant =='light', #73d216, darken(#73d216,10%));
$destructive_color: if($variant =='light', #ef2929, darken(#ef2929,10%));
+$osd_fg_color: #fff;
+$osd_bg_color: transparentize(#000,0.5);
+
//insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 3383c64..aa6355e 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -218,7 +218,11 @@
@include button(insensitive-active);
}
}
-
+ //overlay / OSD style
+ .osd & {
+ background-image: none;
+ background-color: red;
+ }
// Suggested and Destructive Action buttons
@each $b_type, $b_color in (suggested-action, $selected_bg_color),
(destructive-action, $destructive_color) {
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 40e62bd..27358e8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -239,6 +239,9 @@
border-color: #1c1f1f;
background-image: linear-gradient(to bottom, #333737);
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
+ .osd .button {
+ background-image: none;
+ background-color: red; }
.button.suggested-action {
border-width: 1px;
border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 69866e8..799808f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -239,6 +239,9 @@
border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #ebebeb);
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
+ .osd .button {
+ background-image: none;
+ background-color: red; }
.button.suggested-action {
border-width: 1px;
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]