_network-dialog.scss
ASCII text
1/* Network Dialogs */ 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../../../st-theme"; 6@use "../../typography"; 7 8.nm-dialog { 9max-height: 34em; 10min-height: 31em; 11min-width: 32em; 12} 13 14.nm-dialog-content { 15spacing: 20px; 16padding: 24px; 17} 18 19.nm-dialog-airplane-box { 20spacing: 12px; 21} 22 23.nm-dialog-airplane-headline { 24// font-weight: bold; 25text-align: center; 26} 27 28.nm-dialog-airplane-text { 29color: theme-color.hint(theme-color.$on-surface); 30} 31 32// header 33.nm-dialog-header { 34@include typography.headline6; 35} 36 37.nm-dialog-subheader { 38color: theme-color.hint(theme-color.$on-surface); 39} 40 41.nm-dialog-header-icon { 42icon-size: 32px; 43color: theme-color.hint(theme-color.$on-surface); 44} 45 46.nm-dialog-header-hbox { 47spacing: 16px; 48} 49 50// list of networks 51.nm-dialog-scroll-view { 52border: 0; 53padding: 0; 54background-color: transparent; 55} 56 57// list item 58.nm-dialog-item { 59transition-duration: st-theme.$duration; 60padding: 12px; 61spacing: 20px; 62border-bottom: 0; 63border-radius: theme.$corner-radius; 64font-size: 1em; 65 66&:focus { 67background-color: theme-color.focus-overlay(theme-color.$on-surface); 68} 69 70&:hover { 71background-color: theme-color.hover-overlay(theme-color.$on-surface); 72} 73 74&:active { 75transition-duration: st-theme.$duration-ripple; 76background-color: theme-color.pressed-overlay(theme-color.$on-surface); 77} 78 79&:selected { 80background-color: theme-color.$selected-overlay; 81color: theme-color.$on-surface; 82} 83} 84 85// icons in list 86.nm-dialog-icon { 87icon-size: 16px; 88color: theme-color.hint(theme-color.$on-surface); 89} 90 91.nm-dialog-icons { 92spacing: .5em; 93} 94 95// no networks 96.no-networks-label { 97color: theme-color.hint(theme-color.$on-surface); 98} 99 100.no-networks-box { 101spacing: 12px; 102} 103