forked from visgl/deck.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
169 lines (152 loc) · 2.69 KB
/
app.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
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
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 13px;
-webkit-font-smoothing: antialiased;
margin:0;
padding:0;
overflow:hidden;
}
h4 {
margin-top: 24px;
margin-bottom: 8px;
}
#layer-info {
position: fixed;
z-index: 9;
margin: 20px;
left: 0;
bottom: 0;
white-space: nowrap;
pointer-events: none;
}
#no-token-warning {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 20px;
max-width: 240px;
text-align: center;
background: rgba(255, 255, 255, 0.5);
}
#control-panel {
position: fixed;
z-index: 9;
top: 0;
bottom: 0;
right: 0;
overflow-x: hidden;
overflow-y: auto;
height: 100%;
width: 400px;
background: rgba(255, 255, 255, 0.8);
}
#control-panel > div{
padding: 0 20px 20px 20px;
}
.layer-controls {
border: groove 2px #fff;
border-left: none;
border-right: none;
padding: 8px 0;
}
/* Checkbox style adapted from http://cssdeck.com/labs/css-checkbox-styles */
.input-group {
color: #333;
line-height: 28px;
display: flex;
width: 100%;
align-items: center;
}
.input-group > * {
min-width: 24px;
}
.input-group > label {
width: 140px;
}
.input-group .addon {
cursor: pointer;
color: #ccc;
text-align: right;
}
.input-group .addon:hover {
color: #000;
}
.input-group .addon.on {
color: #048 !important;
}
.input-group .input {
flex-grow: 1;
}
.input-group .input input {
width: 100%;
vertical-align: middle;
}
.color-picker {
width: 18px;
height: 18px;
vertical-align: middle;
border: solid 1px #ccc;
display: block;
margin: 5px 2px;
}
.color-palette-picker {
width: 120px;
display: block;
line-height: 24px;
}
.color-palette-picker .block {
display: inline-block;
vertical-align: middle;
height: 18px;
}
.color-palette-picker .picker-checkbox {
display: inline-block;
}
.checkbox {
text-align: center;
width: 20px;
height: 20px;
margin: 12px 20px 12px 0;
background: #fcfcfc;
border-radius: 50px;
box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
position: relative;
}
.checkbox input {
visibility: hidden;
}
.checkbox label {
color: #333;
cursor: pointer;
position: absolute;
width: 14px;
height: 14px;
border-radius: 50px;
left: 3px;
top: 3px;
white-space: nowrap;
box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
}
.checkbox label > span {
padding-left: 30px;
}
.checkbox label:after {
opacity: 0.1;
content: '';
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: #000000;
border-radius: 50px;
box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}
.checkbox label:hover::after {
opacity: 0.3;
}
.checkbox input:checked + label:after {
background: #40bf00;
opacity: 1;
}