[gnome-themes-standard] dialog buttons backdrop state fix
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] dialog buttons backdrop state fix
- Date: Mon, 9 Jun 2014 20:46:51 +0000 (UTC)
commit eb822a3ffb838d99f08434cf9562ea9c9e73b91d
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Jun 9 22:46:18 2014 +0200
dialog buttons backdrop state fix
themes/Adwaita/gtk-3.0/_common.scss | 7 ++++++-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 16 ++++++++++++++++
themes/Adwaita/gtk-3.0/gtk-contained.css | 16 ++++++++++++++++
3 files changed, 38 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 119afea..2d2e726 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -1390,7 +1390,12 @@ GtkMessageDialog .titlebar {
@include button(insensitive, $noedge: true);
@extend %middle_button;
}
- &:backdrop, &:backdrop:insensitive {
+ &:backdrop {
+ @include button(backdrop, $noedge: true);
+ @extend %middle_button;
+ }
+ &:backdrop:insensitive {
+ @include button(backdrop-insensitive, $noedge: true);
@extend %middle_button;
}
&:first-child{ @extend %first_button; }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 8c907a5..6fd7e7d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -1612,6 +1612,22 @@ GtkMessageDialog .titlebar {
text-shadow: none;
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ .dialog-action-area.linked .button:backdrop {
+ border-width: 1px;
+ border-style: solid;
+ color: #c9cbc9;
+ border-color: #1c1f1f;
+ background-image: linear-gradient(to bottom, #393f3f);
+ text-shadow: none;
+ icon-shadow: none;
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
+ .dialog-action-area.linked .button:backdrop:insensitive {
+ border-width: 1px;
+ border-style: solid;
+ color: #454c4c;
+ border-color: #1c1f1f;
+ background-image: linear-gradient(to bottom, #393f3f);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
.dialog-action-area.linked .button, .dialog-action-area.linked .button:hover, .dialog-action-area.linked
.button:active, .dialog-action-area.linked .button:insensitive, .dialog-action-area.linked .button:backdrop,
.dialog-action-area.linked .button:backdrop:insensitive {
border-style: solid none none solid; }
.dialog-action-area.linked .button:first-child {
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 4914ff0..d6eb94d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -1612,6 +1612,22 @@ GtkMessageDialog .titlebar {
text-shadow: none;
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ .dialog-action-area.linked .button:backdrop {
+ border-width: 1px;
+ border-style: solid;
+ color: #54595a;
+ border-color: #a1a1a1;
+ background-image: linear-gradient(to bottom, #ededed);
+ text-shadow: none;
+ icon-shadow: none;
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
+ .dialog-action-area.linked .button:backdrop:insensitive {
+ border-width: 1px;
+ border-style: solid;
+ color: #c7c7c7;
+ border-color: #a1a1a1;
+ background-image: linear-gradient(to bottom, #ededed);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
.dialog-action-area.linked .button, .dialog-action-area.linked .button:hover, .dialog-action-area.linked
.button:active, .dialog-action-area.linked .button:insensitive, .dialog-action-area.linked .button:backdrop,
.dialog-action-area.linked .button:backdrop:insensitive {
border-style: solid none none solid; }
.dialog-action-area.linked .button:first-child {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]