summaryrefslogtreecommitdiff
path: root/css/style.css
blob: 3017a4c96968679a6ad4948fb64dfae38b4ebd8f (plain)
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
/*--------------------
Body
--------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse farthest-corner at center bottom, #6beace, #2e9aa4);
  color: #8b9095;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}
a { color: inherit;
    text-decoration: none; } 
/*--------------------
CSS For the rest of the application (Wenbkit and stuff)
--------------------*/
.app {
  position: relative;
  top: 50%;
  left: 50%;
  width: 362px;
  height: 300px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.app h1 {
  position: absolute;
  top: -34px;
  left: -2px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 100;
  font-size: 27px;
  opacity: .9;
}
.app .logo {
  width: 25px;
  height: 25px;
  margin-right: 3px;
}
.app time {
  position: absolute;
  top: -32px;
  right: 1px;
  text-transform: uppercase;
  color: #fff;
  opacity: .7;
  font-size: 10.5px;
  text-align: right;
  line-height: 1.25;
  letter-spacing: 0.5px;
}
.app .widget {
  margin: 0;
  padding: 0;
}
.app .widget li {
  width: 180px;
  height: 148px;
  padding: 40px 10px;
  margin: 0.5px;
  float: left;
  background: #fff;
  text-align: center;
  -webkit-box-shadow: 0 5px 20px rgba(0, 64, 58, 0.15);
          box-shadow: 0 5px 20px rgba(0, 64, 58, 0.15);
  -webkit-transition: all 0.3s cubic-bezier(0.67, 0.13, 0.1, 0.81);
  transition: all 0.3s cubic-bezier(0.67, 0.13, 0.1, 0.81);
  -webkit-transform-origin: right bottom;
          transform-origin: right bottom;
  -webkit-transform: scale(0);
          transform: scale(0);
}
.app .widget li:nth-child(2) {
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transition-delay: .1s;
          transition-delay: .1s;
}
.app .widget li:nth-child(3) {
  -webkit-transform-origin: right top;
          transform-origin: right top;
  -webkit-transition-delay: .2s;
          transition-delay: .2s;
}
.app .widget li:nth-child(4) {
  -webkit-transform-origin: left top;
          transform-origin: left top;
  -webkit-transition-delay: .3s;
          transition-delay: .3s;
}
.app .widget li h2 {
  font-size: 11px;
  opacity: .8;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.app .widget li .val {
  font-size: 50px;
  font-weight: 100;
  color: #343a42;
}
.app .widget li .val small {
  font-size: 30px;
}
.app .widget li .val small sup {
  position: relative;
  top: -12px;
}

.active .app .widget li {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.5s cubic-bezier(0.67, 0.13, 0.1, 0.81);
  transition: all 0.5s cubic-bezier(0.67, 0.13, 0.1, 0.81);
}
.active .app .widget li:nth-child(2) {
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transition-delay: .2s;
          transition-delay: .2s;
}
.active .app .widget li:nth-child(3) {
  -webkit-transform-origin: right top;
          transform-origin: right top;
  -webkit-transition-delay: .4s;
          transition-delay: .4s;
}
.active .app .widget li:nth-child(4) {
  -webkit-transform-origin: left top;
          transform-origin: left top;
  -webkit-transition-delay: .6s;
          transition-delay: .6s;
}

.reload {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #fff;
  border: none;
  border-radius: 20px;
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 12px;
  text-transform: uppercase;
  z-index: 10;
  outline: none !important;
  cursor: pointer;
  -webkit-box-shadow: 0 6px 7px rgba(0, 64, 58, 0.27);
          box-shadow: 0 6px 7px rgba(0, 64, 58, 0.27);
  -webkit-transition: all 0.1s cubic-bezier(0.67, 0.13, 0.1, 0.81);
  transition: all 0.1s cubic-bezier(0.67, 0.13, 0.1, 0.81);
}
.reload:hover {
  -webkit-box-shadow: 0 4px 4px rgba(0, 64, 58, 0.27);
          box-shadow: 0 4px 4px rgba(0, 64, 58, 0.27);
  -webkit-transform: translateY(1px);
          transform: translateY(1px);
}
.reload:active {
  -webkit-box-shadow: 0 1px 2px rgba(0, 64, 58, 0.27);
          box-shadow: 0 1px 2px rgba(0, 64, 58, 0.27);
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}
.reload svg {
  vertical-align: middle;
  position: relative;
  top: -2px;
}