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