forked from hibiyasleep/kagerou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialog.css
80 lines (68 loc) · 1.24 KB
/
dialog.css
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
.dialog {
width: 100%;
font-size: 0.875rem;
margin: auto;
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
transition: top 300ms ease;
box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.5),
0 0.25rem 0.5rem -0.25rem rgba(0, 0, 0, 0.5) inset;
}
.tabbed-section .dialog {
top: 2.5rem;
}
.tabbed-section .dialog.removing {
top: -3rem;
}
.dialog h4, .dialog p {
display: inline-block;
padding: 0.75rem;
margin: 0;
}
.dialog h4 {
font-size: 1em; /* force to current inherited font-size */
font-weight: 600;
padding-right: 0;
padding-bottom: 0;
}
.dialog.removing {
top: -5rem;
}
.dialog.error {
background: #424242; /* #FF9800; /* orange 500 */
color: white;
}
.dialog.confirm {
background: #424242; /* gray 800 */
color: white;
}
.dialog .buttons {
float: right;
margin: 0;
}
.dialog .buttons:before {
display: inline-block;
content: '';
margin: 0.75rem 0;
padding: 0 0.125rem;
width: 0;
height: 1.25rem;
border-left: 0.1rem solid #eee;
vertical-align: top;
}
.dialog-button {
background: none;
padding: 0.75rem;
color: inherit;
cursor: pointer;
}
.dialog-button:hover {
background: rgba(0, 0, 0, 0.125);
}
.dialog-button.close:before {
content: '×';
display: inline;
}