Adrià Vilanova MartÃnez | e5263f1 | 2022-05-29 19:22:13 +0200 | [diff] [blame] | 1 | import {css} from 'lit'; |
| 2 | |
| 3 | export const DIALOG_STYLES = css` |
| 4 | dialog { |
| 5 | padding: 0; |
| 6 | border: 1px solid rgba(0, 0, 0, 0.3); |
| 7 | border-radius: 6px; |
| 8 | box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); |
| 9 | } |
| 10 | |
| 11 | |
| 12 | dialog h3 { |
| 13 | margin-bottom: 10px; |
| 14 | } |
| 15 | |
| 16 | dialog::backdrop { |
| 17 | position: fixed; |
| 18 | top: 0; |
| 19 | left: 0; |
| 20 | right: 0; |
| 21 | bottom: 0; |
| 22 | background-color: rgba(0, 0, 0, 0.5); |
| 23 | } |
| 24 | |
| 25 | .scrollable { |
| 26 | padding: 1em; |
| 27 | overflow-y: auto; |
| 28 | } |
| 29 | |
| 30 | .action_buttons { |
| 31 | border-top: 1px solid #ccc; |
| 32 | padding: 1em; |
| 33 | text-align: end; |
| 34 | } |
| 35 | `; |