From bd80b1d037520dbaf9c22c5d7919b390b30421f4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 25 Oct 2015 15:21:17 -0400 Subject: [PATCH] Adwaita: Update spinner styling Adapt Adwaita to the changes in the previous commit. --- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index fe449dfe0b..5e99cfd924 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -201,7 +201,7 @@ GtkTextView { // This will get overridden by .view, needed by gedit line numbers to { -gtk-icon-transform: rotate(1turn); } } -.spinner { +spinner { background-image: none; background-color: blue; opacity: 0; // non spinning spinner makes no sense diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index e8055e5d88..be9a832fb7 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -138,15 +138,15 @@ GtkTextView { @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } -.spinner { +spinner { background-image: none; background-color: blue; opacity: 0; -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } - .spinner:active { + spinner:active { opacity: 1; animation: spin 1s linear infinite; } - .spinner:active:insensitive { + spinner:active:insensitive { opacity: 0.5; } /**************** diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 500563b2ad..345202b2d1 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -138,15 +138,15 @@ GtkTextView { @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } -.spinner { +spinner { background-image: none; background-color: blue; opacity: 0; -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } - .spinner:active { + spinner:active { opacity: 1; animation: spin 1s linear infinite; } - .spinner:active:insensitive { + spinner:active:insensitive { opacity: 0.5; } /****************