_screen-shield.scss
ASCII text
1/* Screen Shield */ 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../gnome-shell"; 6@use "../../typography"; 7@use "../base/scrollbar"; 8 9@if gnome-shell.$version >= 3.36 { 10.unlock-dialog-clock { 11padding-bottom: 2.5em; 12spacing: 24px; 13color: theme-color.$on-dark; 14font-weight: normal; 15text-align: center; 16} 17 18.unlock-dialog-clock-time { 19padding-top: 42px; 20@include typography.headline1; 21font-feature-settings: "tnum"; 22} 23 24.unlock-dialog-clock-date { 25@include typography.headline4; 26} 27 28.unlock-dialog-clock-hint { 29padding-top: 48px; 30color: theme-color.hint(theme-color.$on-dark); 31font-weight: normal; 32} 33 34.unlock-dialog-notifications-container { 35width: 23em; 36margin: 12px 0; 37spacing: 6px; 38background-color: transparent; 39 40.summary-notification-stack-scrollview { 41padding-top: 0; 42padding-bottom: 0; 43} 44 45.notification, 46.unlock-dialog-notification-source { 47padding: 8px; 48border: 0; 49border-radius: theme.$corner-radius; 50background-color: theme-color.entry-fill(theme-color.$on-dark); 51color: theme-color.$on-dark; 52 53&.critical { 54background-color: theme-color.entry-fill(theme-color.$on-dark); 55color: theme-color.error(theme-color.$on-dark); 56} 57} 58} 59 60.unlock-dialog-notification-label { 61padding: 0 0 0 12px; 62} 63 64.unlock-dialog-notification-count-text { 65// min-height: $small-size; 66margin-right: 12px; 67padding: 2px 8px; 68border-radius: 99px; 69background-color: theme-color.fill(theme-color.$on-dark); 70color: theme-color.$on-dark; 71// font-weight: bold; 72} 73 74#lockDialogGroup { 75background-color: theme-color.$system; 76color: theme-color.$on-system; 77} 78 79#unlockDialogNotifications { 80StScrollBar { 81@include scrollbar.color(theme-color.$on-dark); 82} 83} 84} @else { 85.screen-shield-arrows { 86padding-bottom: 3em; 87} 88 89.screen-shield-arrows Gjs_Arrow { 90width: 80px; 91height: 48px; 92color: theme-color.$on-dark; 93-arrow-thickness: 12px; 94-arrow-shadow: theme.$shadow-z2; 95} 96 97.screen-shield-clock { 98padding-bottom: 1.5em; 99color: theme-color.$on-dark; 100text-shadow: theme.$shadow-z2; 101font-weight: normal; 102text-align: center; 103} 104 105.screen-shield-clock-time { 106@include typography.headline1; 107text-shadow: theme.$shadow-z2; 108font-feature-settings: "tnum"; 109} 110 111.screen-shield-clock-date { 112@include typography.headline4; 113} 114 115.screen-shield-notifications-container { 116spacing: 6px; 117width: 30em; 118max-height: 500px; 119background-color: transparent; 120 121.summary-notification-stack-scrollview { 122padding-top: 0; 123padding-bottom: 0; 124} 125 126.notification, 127.screen-shield-notification-source { 128padding: 8px; 129border: 0; 130border-radius: theme.$corner-radius; 131background-color: theme-color.$scrim-alt; 132color: theme-color.$on-scrim-alt; 133} 134 135// compensate for space allocated to the scrollbar 136.notification { 137margin-right: 16px; 138} 139} 140 141.screen-shield-notification-label { 142min-height: theme.$small-size - 2px; 143padding: 2px 0 0 16px; 144font-weight: bold; 145} 146 147.screen-shield-notification-count-text { 148min-height: theme.$small-size - 2px; 149padding: 2px 0 0 16px; 150color: theme-color.hint(theme-color.$on-scrim-alt); 151} 152 153#lockDialogGroup { 154background-color: theme-color.$system; 155background-repeat: repeat; 156color: theme-color.$on-system; 157} 158 159#screenShieldNotifications { 160StScrollBar { 161@include scrollbar.color(theme-color.$on-dark); 162} 163} 164} 165 166// just the shadow, really 167.screen-shield-background { 168background: black; 169box-shadow: theme.$shadow-z16; 170} 171