OptionsModal.css
⎇
Raw
1dialog {
2 position: fixed;
3 top: 50%;
4 left: 50%;
5 transform: translate(-50%, -50%);
6 border: none;
7 border-radius: 8px;
8 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
9 width: 400px;
10 max-width: 90%;
11 padding: 0;
12 ::backdrop {
13 background-color: rgba(0, 0, 0, 0.5);
14 }
15}
16
17.option-content {
18 display: flex;
19 flex-direction: column;
20 justify-content: center;
21 align-items: center;
22 background-color: var(--color-a);
23 padding: 1.5rem;
24
25 .option-title {
26 align-self: flex-start;
27 font-size: 1.2rem;
28 margin-bottom: 1rem;
29 font-weight: bold;
30 }
31
32 label {
33 margin-right: 1rem;
34 }
35
36 .option-buttons {
37 display: flex;
38 gap: 0.5rem;
39 margin-top: 1.5rem;
40
41 .cancel-button {
42 background-color: oklch(0.49 0.1742 26.51);
43
44 &:hover{
45 background-color: oklch(0.70 0.1742 26.51);
46 }
47 }
48 }
49}
50