forked from olton/metroui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcountdown.less
57 lines (50 loc) · 1.18 KB
/
countdown.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
.countdown, .times{
width: auto;
margin:0 auto;
font: 20px/1.5 'Open Sans Condensed',sans-serif;
text-align:center;
letter-spacing:-3px;
.digit-wrapper{
display: inline-block;
height: 1.6em;
overflow: hidden;
position: relative;
width: 1.05em;
.digit{
position:absolute;
display:block;
width:1em;
text-align:center;
vertical-align: middle;
letter-spacing:-1px;
&.stop {
background-color: @red;
}
}
}
.divider{
display :inline-block;
width: 16px;
height: 1.5em;
position :relative;
font-weight: bold;
&:before {
width: 100%;
height:1.5em;
position: absolute;
content: ":";
color: inherit;
font-size: inherit;
vertical-align: middle;
text-align: center;
left: -20%;
top: -15%;
}
}
&.inverse {
.digit {
color: @grayDark !important;
background-color: @grayLighter !important;
}
}
}