[gtk+] Adwaita: Fix up color button styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Fix up color button styling
- Date: Sat, 31 Oct 2015 23:14:08 +0000 (UTC)
commit d3abd83330851dc75ea8f7b9e8c437544d2ea30c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Oct 31 19:13:32 2015 -0400
Adwaita: Fix up color button styling
There was one forgotten instance of the GtkColorSwatch type name.
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++--
gtk/theme/Adwaita/gtk-contained.css | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 7108aed..2b72f7d 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -734,7 +734,7 @@ modelbutton.flat,
button.color {
padding: 5px; // Uniform padding on the GtkColorButton
- GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets
overridden by the
+ colorswatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden
by the
// colorpicker style, otherwise
border-radius: 0;
box-shadow: inset 0 1px 1px transparentize(black, 0.9),
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 4ed6f63..07d67dd 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1243,10 +1243,10 @@ modelbutton.flat,
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
- button.color GtkColorSwatch:first-child:last-child {
+ button.color colorswatch:first-child:last-child {
border-radius: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
- button.color GtkColorSwatch:first-child:last-child:insensitive, button.color
GtkColorSwatch:first-child:last-child:backdrop {
+ button.color colorswatch:first-child:last-child:insensitive, button.color
colorswatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index cee5a74..b177506 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1243,10 +1243,10 @@ modelbutton.flat,
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
- button.color GtkColorSwatch:first-child:last-child {
+ button.color colorswatch:first-child:last-child {
border-radius: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
- button.color GtkColorSwatch:first-child:last-child:insensitive, button.color
GtkColorSwatch:first-child:last-child:backdrop {
+ button.color colorswatch:first-child:last-child:insensitive, button.color
colorswatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]