[gnome-shell-sass] theme: Move caps-lock warning to entry widget stylesheet



commit 16127047174977b308a21451e5782a150523d6b5
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu Jan 23 23:26:45 2020 +0100

    theme: Move caps-lock warning to entry widget stylesheet
    
    The caps-lock warning is more related to entries than dialogs and is
    also used in gdm, which is not realated to dialogs at all. Rename the
    css class to caps-lock-warning-label and move it to the entry
    stylesheet.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

 widgets/_dialogs.scss | 5 -----
 widgets/_entries.scss | 6 ++++++
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/widgets/_dialogs.scss b/widgets/_dialogs.scss
index bd49e73..f1960db 100644
--- a/widgets/_dialogs.scss
+++ b/widgets/_dialogs.scss
@@ -133,11 +133,6 @@
   padding: 8px;
 }
 
-.prompt-dialog-caps-lock-warning {
-  @extend .prompt-dialog-error-label;
-  padding-left: 6.2em;
-}
-
 
 /* Polkit Dialog */
 
diff --git a/widgets/_entries.scss b/widgets/_entries.scss
index 0a43e86..70875b0 100644
--- a/widgets/_entries.scss
+++ b/widgets/_entries.scss
@@ -25,3 +25,9 @@ StEntry {
     color: transparentize($fg_color, 0.3);
   }
 }
+
+.caps-lock-warning-label {
+  padding-left: 6.2em;
+  @include fontsize($base_font_size - 1);
+  color: $warning_color;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]