-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoor.css
104 lines (88 loc) · 1.71 KB
/
door.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
html, body {
padding: 0;
margin: 0;
}
#door-state div[class|="door-sign"] {
display: none;
}
.door-state-closed .door-sign-closed {
display: block !important;
}
.door-state-open .door-sign-open {
display: block !important;
}
.door-state-error .door-sign-error {
display: block !important;
}
.door-state-checking .door-sign-checking {
display: block !important;
}
#door-state {
background: black;
width: 200px;
height: 100px;
color: #fff;
position: relative;
}
#door-state span {
display: block;
position: absolute;
}
#door-state .door-cursive {
font-size: 30px;
line-height: 40px;
font-family: 'Marck Script', cursive;
font-weight: 500;
text-decoration: underline;
-webkit-transform: rotate(-10deg);
top: 0;
left: 10px;
}
#door-state .door-we-are {
right: 10px;
top: 10px;
font-size: 28px;
line-height: 30px;
text-transform: uppercase;
font-family: 'Maven Pro';
font-weight: 900;
}
#door-state .door-status {
color: #f00;
font-size: 58px;
line-height: 38px;
font-weight: 900;
font-family: 'Exo';
bottom: 20px;
left: 0;
text-align: center;
width: 100%;
text-transform: uppercase;
}
.door-sign-closed .door-status {
font-size: 50px !important;
}
.door-sign-closed .door-cursive {
font-size: 40px !important;
}
.door-sign-checking .door-status {
font-size: 40px !important;
color: #aaa !important;
}
.door-sign-open .door-status {
color: #0f0 !important;
}
.door-sign-error .door-status {
font-size: 20px !important;
line-height: 20px !important;
color: #00f !important;
}
#door-state #door-state-timestamp {
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
font-size: 12px;
line-height: 15px;
font-family: "Exo";
}