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