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

79 lines
1.8 KiB
CSS
Raw Normal View History

2023-04-23 09:41:12 +08:00
.cesium-viewer-geocoderContainer .cesium-geocoder-input {
2023-09-11 21:56:39 +08:00
border: solid 1px #444;
background-color: rgba(40, 40, 40, 0.7);
color: white;
display: inline-block;
vertical-align: middle;
width: 0;
height: 32px;
margin: 0;
padding: 0 32px 0 0;
border-radius: 0;
box-sizing: border-box;
transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
-webkit-appearance: 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-viewer-geocoderContainer:hover .cesium-geocoder-input {
2023-09-11 21:56:39 +08:00
border-color: #aef;
box-shadow: 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-viewer-geocoderContainer .cesium-geocoder-input:focus {
2023-09-11 21:56:39 +08:00
border-color: #ea4;
background-color: rgba(15, 15, 15, 0.9);
box-shadow: none;
outline: 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-viewer-geocoderContainer:hover .cesium-geocoder-input,
.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,
.cesium-viewer-geocoderContainer .cesium-geocoder-input-wide {
2023-09-11 21:56:39 +08:00
padding-left: 4px;
width: 250px;
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-viewer-geocoderContainer .search-results {
2023-09-11 21:56:39 +08:00
position: absolute;
background-color: #000;
color: #eee;
overflow-y: auto;
opacity: 0.8;
width: 100%;
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-viewer-geocoderContainer .search-results ul {
2023-09-11 21:56:39 +08:00
list-style-type: none;
margin: 0;
padding: 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-viewer-geocoderContainer .search-results ul li {
2023-09-11 21:56:39 +08:00
font-size: 14px;
padding: 3px 10px;
2023-04-23 09:41:12 +08:00
}
.cesium-viewer-geocoderContainer .search-results ul li:hover {
2023-09-11 21:56:39 +08:00
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-viewer-geocoderContainer .search-results ul li.active {
2023-09-11 21:56:39 +08:00
background: #48b;
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-geocoder-searchButton {
2023-09-11 21:56:39 +08:00
background-color: #303336;
display: inline-block;
position: absolute;
cursor: pointer;
width: 32px;
top: 1px;
right: 1px;
height: 30px;
vertical-align: middle;
fill: #edffff;
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-geocoder-searchButton:hover {
2023-09-11 21:56:39 +08:00
background-color: #48b;
2023-04-23 09:41:12 +08:00
}