[gnome-shell/gbsneto/new-lock-screen-part2: 58/62] theme: Adjust style of lock screen notifications



commit 70b0a75d72369e67ece294cc555ce57a96751abd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Nov 29 16:08:20 2019 -0300

    theme: Adjust style of lock screen notifications
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

 data/theme/gnome-shell-sass/widgets/_screen-shield.scss | 12 ++++++------
 js/ui/unlockDialog.js                                   |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_screen-shield.scss 
b/data/theme/gnome-shell-sass/widgets/_screen-shield.scss
index b3607579aa..a28ef27384 100644
--- a/data/theme/gnome-shell-sass/widgets/_screen-shield.scss
+++ b/data/theme/gnome-shell-sass/widgets/_screen-shield.scss
@@ -19,10 +19,10 @@
 }
 
 .unlock-dialog-notifications-container {
+  margin: 12px 0;
   spacing: 6px;
-  width: 30em;
+  width: 23em;
   background-color: transparent;
-  max-height: 500px;
   .summary-notification-stack-scrollview {
     padding-top: 0;
     padding-bottom: 0;
@@ -36,16 +36,16 @@
     color: $osd_fg_color;
     border-radius: 4px;
   }
-  .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
 }
 
-
 .unlock-dialog-notification-label {
-  font-weight: bold;
   padding: 0px 0px 0px 12px;
 }
 
-.unlock-dialog-notification-count-text { padding: 0px 0px 0px 12px; }
+.unlock-dialog-notification-count-text {
+  weight: bold;
+  padding: 0px 12px;
+}
 
 .screen-shield-background { //just the shadow, really
   background: black;
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 8d29b48e00..85d7f5448d 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -21,7 +21,7 @@ const CROSSFADE_TIME = 300;
 const BLUR_BRIGHTNESS = 0.55;
 const BLUR_RADIUS = 200;
 
-const SUMMARY_ICON_SIZE = 48;
+const SUMMARY_ICON_SIZE = 32;
 
 var NotificationsBox = GObject.registerClass({
     Signals: { 'wake-up-screen': {} },


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