forked from terrestris/react-geo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTimeLayerSliderPanel.less
More file actions
111 lines (98 loc) · 1.96 KB
/
TimeLayerSliderPanel.less
File metadata and controls
111 lines (98 loc) · 1.96 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
.time-layer-slider {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 15px;
width: 100%;
background-color: white;
padding: 10px 0;
position: relative;
button {
margin-left: 5px;
}
.time-slider-container {
display: flex;
align-items: center;
width: 100%;
position: relative;
.timeslider {
flex: 1 1 0;
min-width: 0;
&.ant-slider-with-marks {
margin: 10px 20px 20px 20px;
}
}
.spin-indicator {
margin-left: 10px;
width: 24px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
.ant-spin {
width: 16px;
height: 16px;
}
}
}
:not(.timeslider-in-future) {
.ant-slider-handle {
background-color: #4baeff;
}
}
.playback,
.speed-picker {
border-radius: 2px 0 0 2px;
flex: 0 0 auto;
}
.ant-select-selection {
background-color: white;
width: 150px;
margin-right: 5px;
border-radius: 0 4px 4px 0;
}
.time-value {
text-align: center;
font-weight: bold;
flex: 0 0 auto;
overflow: hidden;
max-width: 100px;
font-size: 1em;
white-space: normal;
overflow-wrap: break-word;
display: inline-block;
}
&.no-layers-available {
pointer-events: none;
opacity: 0.8;
color: rgba(0, 0, 0, 0.35);
.ant-slider-mark span,
.ant-select {
color: rgba(0, 0, 0, 0.35);
}
button {
opacity: 0.5;
}
}
.ant-slider-mark-text {
max-width: 80px;
white-space: normal;
word-wrap: break-word;
text-align: center;
font-size: small;
display: inline-block;
overflow: hidden;
}
.ant-slider-mark-text:hover {
overflow: visible;
white-space: normal;
background: #fff;
border: 1px solid #d9d9d9;
padding: 4px;
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
z-index: 10;
position: absolute;
}
}