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