_misc.scss
ASCII text
1@use "../../../../theme"; 2@use "../../../../theme-color"; 3@use "../../gnome-shell"; 4 5// Rubberband for select-area screenshots 6.select-area-rubberband { 7border: 1px solid theme-color.primary(theme-color.$on-dark); 8background-color: rgba(theme-color.primary(theme-color.$on-dark), .3); 9} 10 11// User icon 12$user-icon: if(gnome-shell.$version >= 3.32, ".user-icon", ".framed-user-icon"); 13 14#{$user-icon} { 15border: 0; 16border-radius: theme.$circular-radius; 17background-size: contain; 18color: inherit; 19 20&:hover { 21border-color: transparent; 22color: inherit; 23} 24} 25 26@mixin user-icon-size($size) { 27icon-size: $size; 28 29StIcon { 30width: $size / 2; 31height: $size / 2; 32padding: $size / 4; 33} 34} 35 36@if gnome-shell.$version >= 3.36 { 37.user-icon { 38StIcon { 39background-color: theme-color.fill(theme-color.$on-surface); 40border-radius: theme.$circular-radius; 41} 42 43@if gnome-shell.$version >= 40 { 44@include user-icon-size(64px); 45 46&.user-avatar { 47border: 0; 48} 49} 50} 51 52.user-widget.vertical .user-icon { 53@include user-icon-size(128px); 54} 55 56@if gnome-shell.$version < 40 { 57.user-widget.horizontal .user-icon { 58@include user-icon-size(64px); 59} 60} 61} 62 63// Lightbox 64.lightbox { 65background-color: black; 66} 67 68// Flashspot 69.flashspot { 70background-color: white; 71} 72 73// Hidden 74.hidden { 75color: transparent; 76} 77 78// Caps-lock warning 79.caps-lock-warning-label { 80text-align: center; 81padding-bottom: 8px; 82font-size: 1em; 83color: theme-color.$warning; 84} 85 86@if gnome-shell.$version >= 40 { 87/* Workspace animation */ 88 89.workspace-animation { 90background-color: theme-color.$system; 91} 92} 93