From d8a3a4e7aad9618a6c7ec89ab9f9454452646fd2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Oct 2015 16:13:43 -0400 Subject: [PATCH] Adwaita: Update entry progress rendering Adapt Adwaita to the changes in the previous commit. --- 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 edf8f70660..d0fada6573 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -249,7 +249,7 @@ entry { @extend %selected_items; } - &.progressbar { + & progressbar { margin: 1px; border-radius: 0; border-width: 0 0 2px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 533eb9b8c0..c468e7b28b 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -201,7 +201,7 @@ entry { border-color: #1f2222; background-image: linear-gradient(to bottom, #333636); box-shadow: 0 1px rgba(238, 238, 236, 0); } - entry.progressbar { + entry progressbar { margin: 1px; border-radius: 0; border-width: 0 0 2px; @@ -210,7 +210,7 @@ entry { background-image: none; background-color: transparent; box-shadow: none; } - entry.progressbar:backdrop { + entry progressbar:backdrop { background-color: transparent; } .linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > entry:focus + .button, .linked:not(.vertical) > entry:focus + GtkComboBox > .the-button-in-the-combobox, .linked:not(.vertical) > entry:focus + GtkComboBoxText > .the-button-in-the-combobox { border-left-color: #0f2b48; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 0a67641e15..5d3e52617c 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -201,7 +201,7 @@ entry { border-color: darkgray; background-image: linear-gradient(to bottom, #f4f4f4); box-shadow: 0 1px rgba(255, 255, 255, 0); } - entry.progressbar { + entry progressbar { margin: 1px; border-radius: 0; border-width: 0 0 2px; @@ -210,7 +210,7 @@ entry { background-image: none; background-color: transparent; box-shadow: none; } - entry.progressbar:backdrop { + entry progressbar:backdrop { background-color: transparent; } .linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > entry:focus + .button, .linked:not(.vertical) > entry:focus + GtkComboBox > .the-button-in-the-combobox, .linked:not(.vertical) > entry:focus + GtkComboBoxText > .the-button-in-the-combobox { border-left-color: #4a90d9; }