forked from bendavis78/paper-time-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paper-clock-selector.css
74 lines (74 loc) · 1.32 KB
/
paper-clock-selector.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
:host /deep/ * {
--webkit-tap-highlight-color: rgba(0,0,0,0);
}
:host {
display: block;
@apply(--paper-font-body1);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
#clock {
@apply(--layout-fit);
display: block;
margin: 0 auto;
overflow: visible;
width: 100%;
height: 100%;
}
#clock * {
pointer-events: fill;
}
#clock .face .bg {
fill: var(--divider-color);
cursor: default;
}
.lineA, .lineB {
stroke-width: 2;
}
.dot {
fill: var(--default-primary-color);
}
.lineA {
stroke: var(--default-primary-color);
}
.lineB {
stroke: var(--dark-primary-color);
}
.pointer-large {
fill: var(--light-primary-color);
}
.pointer.visible .pointer-large {
fill: var(--default-primary-color);
}
.number.selected text {
fill: var(--text-primary-color) !important;
}
.pointer-small {
fill: var(--dark-primary-color);
}
.pointer.visible .lineB,
.pointer.visible .pointer-small {
fill: none;
stroke: none;
}
.number text {
fill: var(--primary-text-color);
}
.number text {
@apply(--paper-font-subhead);
pointer-events: none;
dominant-baseline: middle;
text-align: center;
text-anchor: middle;
}
.select-area {
fill-opacity: 0;
}
.select-area:hover {
cursor: pointer;
}