dialogs.css
ASCII text
1dialog::backdrop { 2background: var(--color-modal-backdrop); 3opacity: 0; 4} 5 6dialog:modal { 7opacity: 1; 8visibility: visible; 9} 10 11dialog:modal::backdrop { 12opacity: 1; 13} 14 15dialog { 16max-width: 100vw; 17min-width: 100vw; 18max-height: 100vh; 19min-height: 100vh; 20border: none; 21padding: 0; 22margin: 0; 23position: fixed; 24display: flex; 25top: 0; 26left: 0; 27background: transparent; 28border: none; 29align-items: center; 30justify-content: center; 31opacity: 0; 32visibility: hidden; 33} 34 35dialog.sheet-left { 36justify-content: flex-start; 37align-items: stretch; 38} 39 40dialog.sheet-right { 41justify-content: flex-end; 42align-items: stretch; 43} 44 45dialog.sheet-top { 46justify-content: stretch; 47align-items: flex-start; 48} 49 50dialog.sheet-bottom { 51justify-content: stretch; 52align-items: flex-end; 53}