theme: Adjust style of lock screen notifications

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:
Georges Basile Stavracas Neto 2019-11-29 16:08:20 -03:00
parent 852cefb6fc
commit 47d3203622
2 changed files with 6 additions and 6 deletions

View File

@ -2069,10 +2069,9 @@ $_unlockdialog_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
} }
.unlock-dialog-notifications-container { .unlock-dialog-notifications-container {
margin: 12px 0;
spacing: 6px; spacing: 6px;
width: 30em;
background-color: transparent; background-color: transparent;
max-height: 500px;
.summary-notification-stack-scrollview { .summary-notification-stack-scrollview {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
@ -2086,16 +2085,17 @@ $_unlockdialog_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
color: $osd_fg_color; color: $osd_fg_color;
border-radius: 4px; border-radius: 4px;
} }
.notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
} }
.unlock-dialog-notification-label { .unlock-dialog-notification-label {
font-weight: bold;
padding: 0px 0px 0px 12px; 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 0px 12px;
}
.screen-shield-background { //just the shadow, really .screen-shield-background { //just the shadow, really
background: black; background: black;

View File

@ -19,7 +19,7 @@ const SCREENSAVER_SCHEMA = 'org.gnome.desktop.screensaver';
const BLUR_BRIGHTNESS = 0.55; const BLUR_BRIGHTNESS = 0.55;
const BLUR_RADIUS = 200; const BLUR_RADIUS = 200;
const SUMMARY_ICON_SIZE = 48; const SUMMARY_ICON_SIZE = 32;
var NotificationsBox = GObject.registerClass({ var NotificationsBox = GObject.registerClass({
Signals: { 'wake-up-screen': {} }, Signals: { 'wake-up-screen': {} },