@@ -119,7 +119,7 @@ onUnmounted(() => {
119
119
})
120
120
</script >
121
121
122
- <style >
122
+ <style lang="less">
123
123
/* *cesium 工具按钮栏*/
124
124
.cesium-viewer-toolbar {
125
125
top : auto !important ;
@@ -139,19 +139,23 @@ onUnmounted(() => {
139
139
text-align : center ;
140
140
}
141
141
.cesium-button {
142
- background-color : #3f4854 ;
142
+ background-color : rgba ( 23 , 49 , 71 , 0.8 ) ;
143
143
color : #e6e6e6 ;
144
144
fill : #e6e6e6 ;
145
145
box-shadow : 0 1px 4px rgba (0 , 0 , 0 , 0.3 );
146
146
line-height : 32px ;
147
147
}
148
+ .cesium-button :hover {
149
+ background : #3ea6ff ;
150
+ }
148
151
149
152
/* *cesium 底图切换面板*/
150
153
.cesium-baseLayerPicker-dropDown {
151
154
bottom : 0 ;
152
155
left : 40px ;
153
156
max-height : 700px ;
154
157
margin-bottom : 5px ;
158
+ background-color : rgba (23 , 49 , 71 , 0.8 );
155
159
}
156
160
157
161
/* *cesium 帮助面板*/
@@ -160,6 +164,18 @@ onUnmounted(() => {
160
164
bottom : 0 ;
161
165
left : 40px ;
162
166
transform-origin : left bottom ;
167
+ background : none ;
168
+ background-color : rgba (23 , 49 , 71 , 0.8 );
169
+ .cesium-navigation-help-instructions {
170
+ background : none ;
171
+ }
172
+ .cesium-navigation-button {
173
+ background : none ;
174
+ }
175
+ .cesium-navigation-button-selected ,
176
+ .cesium-navigation-button-unselected :hover {
177
+ background : rgba (0 , 138 , 255 , 0.2 );
178
+ }
163
179
}
164
180
165
181
/* *cesium 二维三维切换*/
@@ -179,7 +195,7 @@ onUnmounted(() => {
179
195
z-index : 9999 ;
180
196
}
181
197
.cesium-geocoder-searchButton {
182
- background-color : #3f4854 ;
198
+ background-color : rgba ( 23 , 49 , 71 , 0.8 ) ;
183
199
}
184
200
.cesium-viewer-geocoderContainer .cesium-geocoder-input {
185
201
background-color : rgba (63 , 72 , 84 , 0.7 );
@@ -188,16 +204,16 @@ onUnmounted(() => {
188
204
background-color : rgba (63 , 72 , 84 , 0.9 );
189
205
}
190
206
.cesium-viewer-geocoderContainer .search-results {
191
- background-color : #3f4854 ;
207
+ background-color : rgba ( 23 , 49 , 71 , 0.8 ) ;
192
208
}
193
209
194
210
/* *cesium info信息框*/
195
211
.cesium-infoBox {
196
212
top : 50px ;
197
- background : rgba (63 , 72 , 84 , 0.9 );
213
+ background-color : rgba (23 , 49 , 71 , 0.8 );
198
214
}
199
215
.cesium-infoBox-title {
200
- background-color : #3f4854 ;
216
+ background-color : rgba ( 23 , 49 , 71 , 0.8 ) ;
201
217
}
202
218
203
219
/* *cesium 任务栏的FPS信息*/
@@ -216,6 +232,59 @@ onUnmounted(() => {
216
232
top : 10px ;
217
233
left : 10px ;
218
234
right : auto ;
219
- background-color : #3f4854 ;
235
+ }
236
+ .cesium-cesiumInspector {
237
+ background-color : rgba (23 , 49 , 71 , 0.8 );
238
+ }
239
+
240
+ /* *覆盖mars3d内部控件的颜色等样式*/
241
+ .mars3d-compass .mars3d-compass-outer {
242
+ fill : rgba (23 , 49 , 71 , 0.8 );
243
+ }
244
+ .mars3d-contextmenu-ul ,
245
+ .mars3d-sub-menu {
246
+ background-color : rgba (23 , 49 , 71 , 0.8 );
247
+
248
+ > li > a :hover ,
249
+ > li > a :focus ,
250
+ > li > .active {
251
+ background-color : #3ea6ff ;
252
+ }
253
+
254
+ > .active > a ,
255
+ > .active > a :hover ,
256
+ > .active > a :focus {
257
+ background-color : #3ea6ff ;
258
+ }
259
+ }
260
+
261
+ /* Popup样式*/
262
+ .mars3d-popup-color {
263
+ color : #ffffff ;
264
+ }
265
+ .mars3d-popup-background {
266
+ background : rgba (23 , 49 , 71 , 0.8 );
267
+ }
268
+ .mars3d-popup-content {
269
+ margin : 15px ;
270
+ }
271
+ .mars3d-template-content label {
272
+ padding-right : 6px ;
273
+ }
274
+ .mars3d-template-titile {
275
+ border-bottom : 1px solid #3ea6ff ;
276
+ }
277
+ .mars3d-template-titile a {
278
+ font-size : 16px ;
279
+ }
280
+ .mars3d-tooltip {
281
+ background : rgba (23 , 49 , 71 , 0.8 );
282
+ border : 1px solid rgba (23 , 49 , 71 , 0.8 );
283
+ }
284
+
285
+ .mars3d-popup-btn-custom {
286
+ padding : 3px 10px ;
287
+ border : 1px solid #209ffd ;
288
+ background : #209ffd1c ;
220
289
}
221
290
</style >
0 commit comments