_misc.scss
ASCII text
1// Rubberband for select-area screenshots 2.select-area-rubberband { 3border: 1px solid primary($on-dark); 4background-color: rgba(primary($on-dark), .3); 5} 6 7// User icon 8$user-icon: if($version >= 3.32, ".user-icon", ".framed-user-icon"); 9 10#{$user-icon} { 11border: 0; 12border-radius: $circular-radius; 13background-size: contain; 14color: inherit; 15 16&:hover { 17border-color: transparent; 18color: inherit; 19} 20} 21 22@if $version >= 3.36 { 23.user-icon { 24StIcon { 25background-color: fill($on-surface); 26border-radius: $circular-radius; 27} 28} 29 30@each $class, $size in (".vertical", 128px), (".horizontal", 64px) { 31.user-widget#{$class} .user-icon { 32icon-size: $size; 33 34StIcon { 35width: $size / 2; 36height: $size / 2; 37padding: $size / 4; 38} 39} 40} 41} 42 43// Lightbox 44.lightbox { 45background-color: black; 46} 47 48// Flashspot 49.flashspot { 50background-color: white; 51} 52 53// Hidden 54.hidden { 55color: transparent; 56} 57 58// Caps-lock warning 59.caps-lock-warning-label { 60text-align: center; 61padding-bottom: 8px; 62font-size: 1em; 63color: $warning; 64} 65