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 gap: 0.5rem;
20 flex-direction: column;
21 background-color: var(--color-a);
22 padding: 1.5rem;
23
24 .option-title {
25 font-size: 1.2rem;
26 margin-bottom: 1rem;
27 font-weight: bold;
28 }
29
30 & > div {
31 display: flex;
32 justify-content: space-between;
33
34 & > input[type="number"] {
35 background: none;
36 width: 5rem;
37 }
38 }
39
40 & > label {
41 margin-right: 1rem;
42 }
43
44 & > .option-buttons {
45 justify-content: end;
46 gap: 0.5rem;
47 margin-top: 1.5rem;
48
49 .cache-button {
50 margin-right: auto;
51 }
52
53 .cancel-button {
54 background-color: oklch(0.49 0.1742 26.51);
55
56 &:hover {
57 background-color: oklch(0.7 0.1742 26.51);
58 }
59 }
60 }
61}
62