forked from deepu105/angular-clock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangular-clock.less
More file actions
60 lines (60 loc) · 866 Bytes
/
angular-clock.less
File metadata and controls
60 lines (60 loc) · 866 Bytes
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
/*Compiled into css*/
.widget-clock {
.digital {
text-align: center;
}
.time {
font-family: 'Syncopate', sans-serif;
font-size: 2.5em;
margin: 0;
}
.square {
position: relative;
width: 100%;
height: 0;
padding-bottom: 100%;
}
svg {
position: absolute;
width: 100%;
height: 100%;
left: 0;
}
.clock-face {
stroke: #333;
fill: white;
}
.minor {
stroke: #999;
stroke-width: 0.5;
}
.major {
stroke: #333;
stroke-width: 1;
}
.hour {
stroke: #333;
}
.minute {
stroke: #666;
}
.second,
.second-counterweight {
stroke: rgb(16, 118, 237);
}
.second-counterweight {
stroke-width: 3;
}
&.dark {
.clock-face {
fill: #111;
}
.hour {
stroke: #666;
}
.minute {
stroke: #999;
}
}
}
/* end clock less */