-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
49 lines (42 loc) · 827 Bytes
/
styles.css
File metadata and controls
49 lines (42 loc) · 827 Bytes
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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
max-width: 1200px;
margin: auto;
}
.hidden {
display: none;
}
/* Dialogs page */
/* Dialog 1 - without dialog element*/
[role="dialog"] {
position: absolute;
padding: 15px;
border: 1px solid #000;
background-color: #fff;
min-width: 300px;
top: 50vh;
left: 50vw;
transform: translateX(-50%) translateY(-50%);
overflow: hidden;
box-shadow: 0 19px 38px rgb(0 0 0 / 12%), 0 15px 12px rgb(0 0 0 / 22%);
}
.modalBackground {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgb(0 0 0 / 70%);
}
/* Dialog 2 - with new dialog element*/
dialog::backdrop {
background: rgb(0 0 0 / 70%);
}
dialog {
border: 1px solid #000;
box-shadow: 0 19px 38px rgb(0 0 0 / 12%), 0 15px 12px rgb(0 0 0 / 22%);
}