-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjquery.alert2.less
More file actions
116 lines (82 loc) · 1.57 KB
/
Copy pathjquery.alert2.less
File metadata and controls
116 lines (82 loc) · 1.57 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.jquery-alert {
outline: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1000;
display: none;
&.is-open {
display: block;
}
.alert-overlay {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1010;
display: none;
}
.alert-box {
position: relative;
width: auto;
max-width: 80%;
margin: 60px auto 0;
z-index: 1020;
padding: 1px;
display: none;
@media (min-width: 768px) {
max-width: 640px;
}
@media (min-width: 960px) {
max-width: 720px;
}
.alert-message {
text-align: left;
}
.alert-buttons {
text-align: right;
a {
margin-left: 10px;
}
}
}
&.theme-light {
.alert-overlay {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEElEQVQImWNgYGCYCcUQBgASAAJli5xnrQAAAABJRU5ErkJggg==') repeat;
background: rgba(0, 0, 0, 0.65);
}
.alert-box {
background: #FFFFFF;
color: #212121;
border-radius: 5px;
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
.alert-message {
padding: 20px;
}
.alert-buttons {
padding: 10px;
}
}
}
&.theme-dark {
.alert-overlay {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEElEQVQImWNgYGCYCcUQBgASAAJli5xnrQAAAABJRU5ErkJggg==') repeat;
background: rgba(0, 0, 0, 0.65);
}
.alert-box {
background: #2E2F29;
color: #FFFFFF;
border-radius: 5px;
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
.alert-message {
padding: 20px;
}
.alert-buttons {
padding: 20px;
}
}
}
}