-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathmodal-dialog.component.module.css
More file actions
67 lines (60 loc) · 1.15 KB
/
Copy pathmodal-dialog.component.module.css
File metadata and controls
67 lines (60 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.container {
z-index: 5;
position: fixed;
top: 0;
left: 0;
width: 100svw;
height: 100svh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--primary-900-50-opacity);
}
.dialog {
position: relative;
z-index: 3;
width: 90%;
max-width: 1280px;
height: 80%;
overflow: auto;
border-radius: var(--border-radius-l);
}
.dialogContent {
overflow: auto;
flex: 1;
}
.dialogHeader {
position: sticky;
top: 0;
z-index: 4;
background-color: var(--primary-500);
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--space-s) var(--space-md);
border-top-left-radius: var(--border-radius-l);
border-top-right-radius: var(--border-radius-l);
}
.dialogTitle {
font-size: var(--fs-md);
color: var(--pure-white);
}
.dialogButton {
width: fit-content;
margin-left: auto;
background-color: transparent;
color: var(--pure-white);
padding: var(--space-xs);
line-height: 0;
border: none;
}
.dialogButton:hover {
cursor: pointer;
}
@media screen and (max-device-width: 780px) {
.dialog {
width: 92%;
height: 82%;
}
}