forked from nexu-io/open-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdialog.module.css
More file actions
101 lines (87 loc) · 1.56 KB
/
Copy pathdialog.module.css
File metadata and controls
101 lines (87 loc) · 1.56 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.backdrop {
position: fixed;
inset: 0;
background: rgba(28, 27, 26, 0.42);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
-webkit-app-region: no-drag;
display: flex;
align-items: center;
justify-content: center;
z-index: 2000;
animation: dialog-backdrop-fade-in 160ms ease-out;
}
:where(.dialog) {
background: var(--bg-elevated);
-webkit-app-region: no-drag;
border-radius: var(--radius-lg);
padding: 22px;
width: 520px;
max-width: calc(100vw - 32px);
display: flex;
flex-direction: column;
gap: 12px;
box-shadow: var(--shadow-lg);
animation: dialog-panel-pop-in 220ms cubic-bezier(0.21, 1.02, 0.73, 1);
}
.dialogSectioned {
padding: 0;
gap: 0;
}
.header {
display: flex;
flex-direction: column;
gap: 4px;
}
.body {
display: flex;
flex-direction: column;
gap: 12px;
}
.footer {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.dialogSectioned .header {
padding: 22px 22px 0;
}
.dialogSectioned .body {
padding: 16px 22px 0;
}
.dialogSectioned .footer {
padding: 16px 22px 16px;
border-top: 1px solid var(--border);
margin-top: 16px;
}
.title {
margin: 0;
font-size: 22px;
font-weight: 600;
letter-spacing: -0.015em;
color: var(--text);
}
.description {
margin: 0;
font-size: 13px;
line-height: 1.55;
color: var(--text-muted);
}
@keyframes dialog-backdrop-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes dialog-panel-pop-in {
from {
opacity: 0;
transform: scale(0.97);
}
to {
opacity: 1;
transform: scale(1);
}
}