OptionsModal.css
⎇
Raw
1dialog {
2 position: fixed;
3 top: 50%;
4 left: 50%;
5 transform: translate(-50%, -50%);
6 border: none;
7 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
8 width: 400px;
9 max-width: 90%;
10 padding: 0;
11 ::backdrop {
12 background-color: rgba(0, 0, 0, 0.5);
13 }
14}
15
16.option-content {
17 display: flex;
18 gap: 0.5rem;
19 flex-direction: column;
20 background-color: var(--color-a);
21 padding: 1.5rem;
22
23 .option-title {
24 font-size: 1.2rem;
25 margin-bottom: 1rem;
26 font-weight: bold;
27 }
28
29 & > div {
30 display: flex;
31 justify-content: space-between;
32
33 & > input[type="number"] {
34 background: none;
35 width: 5rem;
36 }
37 }
38
39 & > label {
40 margin-right: 1rem;
41 }
42
43 & > .option-buttons {
44 justify-content: end;
45 gap: 0.5rem;
46 margin-top: 1.5rem;
47
48 .cache-button {
49 margin-right: auto;
50 }
51
52 .cancel-button {
53 background-color: oklch(0.49 0.1742 26.51);
54
55 &:hover {
56 background-color: oklch(0.7 0.1742 26.51);
57 }
58 }
59 }
60}
61