-
Notifications
You must be signed in to change notification settings - Fork 49
/
demo-events.less
83 lines (71 loc) · 1.36 KB
/
demo-events.less
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
.border-radius(@radius) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
.transform(...) {
-webkit-transform: @arguments;
-moz-transform: @arguments;
-o-transform: @arguments;
-ms-transform: @arguments;
transform: @arguments;
}
.transition(@duration:0.2s, @ease:ease-out) {
-webkit-transition: all @duration @ease;
-moz-transition: all @duration @ease;
-o-transition: all @duration @ease;
transition: all @duration @ease;
}
#pagecontent.scanning {
-webkit-filter: blur(1px) grayscale(50%);
}
.data {
font-family: "Lucida Console", Monaco, monospace;
font-size: 80%;
}
form ul { list-style: none; }
.dialog {
position: absolute;
top: 25%;
left: 25%;
margin: auto;
padding: 20px;
border: 3px solid black;
.border-radius(9px);
font-family: 'Trebuchet MS', sans-serif;
font-size: 150%;
font-weight: bold;
width: auto;
}
#overlay {
position: fixed;
display: none;
background-color: rgba(0, 0, 0, 0.25);
left: 0;
right: 0;
top: 0;
bottom: 0;
text-align: center;
z-index: 999;
}
#scanning {
.dialog();
z-index: 1000;
color: black;
background-color: #6495ed;
}
#success {
.dialog();
display: none;
color: black;
background-color: #5be298;
}
#failure {
.dialog();
display: none;
color: black;
background-color: #cd5c5c;
}
#pagecontent, #background {
.transition(0.2s; ease);
}