[gnome-shell/gbsneto/new-lock-screen-part2: 34/37] theme: Adjust style of lock screen notifications
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/new-lock-screen-part2: 34/37] theme: Adjust style of lock screen notifications
- Date: Wed, 8 Jan 2020 19:41:05 +0000 (UTC)
commit d653d748012580bf106c02a171f3c0a1292b9c57
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/_common.scss | 12 +++++++-----
js/ui/unlockDialog.js | 2 +-
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index d1ea5664e7..90dcff22df 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -2079,10 +2079,11 @@ $_unlockdialog_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
}
.unlock-dialog-notifications-container {
+ margin: 12px 0;
spacing: 6px;
- width: 30em;
background-color: transparent;
- max-height: 500px;
+ width: 23em;
+
.summary-notification-stack-scrollview {
padding-top: 0;
padding-bottom: 0;
@@ -2096,16 +2097,17 @@ $_unlockdialog_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
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 0px 12px;
+}
.screen-shield-background { //just the shadow, really
background: black;
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 56a31913d9..580e0fb6e0 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -19,7 +19,7 @@ const SCREENSAVER_SCHEMA = 'org.gnome.desktop.screensaver';
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]