Agriculture-front-end/dist/Cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css

117 lines
2.6 KiB
CSS
Raw Normal View History

2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-selected {
2023-09-11 21:56:39 +08:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-dropDown {
2023-09-11 21:56:39 +08:00
display: block;
position: absolute;
box-sizing: content-box;
top: auto;
right: 0;
width: 320px; /* Includes space needed for scrollbar */
max-height: 500px;
margin-top: 5px;
background-color: rgba(38, 38, 38, 0.75);
border: 1px solid #444;
padding: 6px;
overflow: auto;
border-radius: 10px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
transform: translate(0, -20%);
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.2s, opacity 0.2s ease-in, transform 0.2s ease-in;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-dropDown-visible {
2023-09-11 21:56:39 +08:00
transform: translate(0, 0);
visibility: visible;
opacity: 1;
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-sectionTitle {
2023-09-11 21:56:39 +08:00
display: block;
font-family: sans-serif;
font-size: 16pt;
text-align: left;
color: #edffff;
margin-bottom: 4px;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-choices {
2023-09-11 21:56:39 +08:00
margin-bottom: 5px;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-categoryTitle {
2023-09-11 21:56:39 +08:00
color: #edffff;
font-size: 11pt;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-choices {
2023-09-11 21:56:39 +08:00
display: block;
border: 1px solid #888;
border-radius: 5px;
padding: 5px 0;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-item {
2023-09-11 21:56:39 +08:00
display: inline-block;
vertical-align: top;
margin: 2px 5px;
width: 64px;
text-align: center;
cursor: pointer;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-itemLabel {
2023-09-11 21:56:39 +08:00
display: block;
font-family: sans-serif;
font-size: 8pt;
text-align: center;
vertical-align: middle;
color: #edffff;
cursor: pointer;
word-wrap: break-word;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel, .cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel {
text-decoration: underline;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-itemIcon {
2023-09-11 21:56:39 +08:00
display: inline-block;
position: relative;
width: inherit;
height: auto;
background-size: 100% 100%;
border: solid 1px #444;
border-radius: 9px;
color: #edffff;
margin: 0;
padding: 0;
cursor: pointer;
box-sizing: border-box;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
2023-09-11 21:56:39 +08:00
border-color: #fff;
box-shadow: 0 0 8px #fff, 0 0 8px #fff;
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
2023-09-11 21:56:39 +08:00
color: rgb(189, 236, 248);
2023-04-23 09:41:12 +08:00
}
2023-09-11 21:56:39 +08:00
2023-04-23 09:41:12 +08:00
.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
2023-09-11 21:56:39 +08:00
border: double 4px rgb(189, 236, 248);
2023-04-23 09:41:12 +08:00
}