forked from pubnub/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperformance.css
More file actions
138 lines (129 loc) · 2.75 KB
/
performance.css
File metadata and controls
138 lines (129 loc) · 2.75 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
body { background: #efebdc; }
table { width: 100%; }
body, div, img {
padding: 0;
margin: 0;
border; 0;
-webkit-backface-visibility: hidden;
-webkit-transform-style: preserve-3d;
}
body {
transform: translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
}
#performance {
position: relative;
width: 640px;
height: 640px;
overflow: hidden;
}
#performance-meter {
position: absolute;
top: -11px;
left: 0px;
width: 640px;
height: 640px;
background: transparent url(./performance-meter.png) no-repeat 0px 0px;
}
#performance-meter-bezel {
position: absolute;
top: 0px;
left: 0px;
width: 640px;
height: 640px;
background: transparent url(./performance-meter.png) no-repeat -1280px 0px;
}
#performance-arrow {
position: absolute;
top: 10px;
left: 0px;
width: 640px;
height: 900px;
background: transparent url(./performance-meter.png) no-repeat -640px 0px;
}
#performance-meter-number {
position: absolute;
top: 330px;
left: 0px;
width: 640px;
color: #474332;
text-shadow: 0px 1px 20px rgba(0,0,0,0.5);
text-align: center;
font-family: Exo;
font-size: 100px;
font-weight: 100;
}
#performance-meter-rps {
position: absolute;
top: 450px;
left: 0px;
width: 640px;
color: #615c49;
opacity: 0.8;
text-shadow: 0px 1px 2px #fff;
text-align: center;
font-family: Exo;
font-size: 95px;
font-weight: 800;
}
.performance-title {
margin-top: 10px;
margin-bottom: 10px;
padding-top: 10px;
width: 640px;
color: #615c57;
text-shadow: 0px 1px 2px #fff;
text-align: center;
font-family: Exo;
font-size: 22px;
font-weight: 800;
border-radius: 3px;
}
#performance-medians {
margin-top: 10px;
margin-bottom: 10px;
padding-top: 10px;
width: 640px;
color: #615c57;
text-shadow: 0px 1px 2px #fff;
text-align: center;
font-family: Exo;
font-size: 22px;
font-weight: 100;
border-radius: 3px;
background: #ebe7d5;
}
.strong {
font-family: Exo;
font-weight: 800;
}
.fastest {
background: #cfc5a1;
}
.slowest {
background: #cfc5a1;
}
#performance-sent {
position: absolute;
top: 6px;
left: 0px;
border-top: 1px solid rgba(0,0,0,0.1);
border-bottom: 1px solid rgba(0,0,0,0.1);
margin-top: 10px;
padding-top: 10px;
padding-bottom: 10px;
width: 640px;
color: #615c57;
background: rgba(255,255,255,0.2);
text-shadow: 0px 1px 5px rgba(0,0,0,0.4);
text-align: center;
font-family: Exo;
font-size: 22px;
font-weight: 100;
}
#performance-graph {
border-top: 1px solid rgba(0,0,0,0.1);
border-bottom: 1px solid rgba(0,0,0,0.1);
width: 640px;
height: 50px;
}