Geocoder.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .cesium-viewer-geocoderContainer .cesium-geocoder-input {
  2. border: solid 1px #444;
  3. background-color: rgba(40, 40, 40, 0.7);
  4. color: white;
  5. display: inline-block;
  6. vertical-align: middle;
  7. width: 0;
  8. height: 32px;
  9. margin: 0;
  10. padding: 0 32px 0 0;
  11. border-radius: 0;
  12. -moz-box-sizing: border-box;
  13. -webkit-box-sizing: border-box;
  14. box-sizing: border-box;
  15. -webkit-transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
  16. -moz-transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
  17. transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
  18. -webkit-appearance: none;
  19. }
  20. .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {
  21. border-color: #aef;
  22. box-shadow: 0 0 8px #fff;
  23. }
  24. .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
  25. border-color: #ea4;
  26. background-color: rgba(15, 15, 15, 0.9);
  27. box-shadow: none;
  28. outline: none;
  29. }
  30. .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input,
  31. .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,
  32. .cesium-viewer-geocoderContainer .cesium-geocoder-input-wide {
  33. padding-left: 4px;
  34. width: 250px;
  35. }
  36. .cesium-geocoder-searchButton {
  37. background-color: #303336;
  38. display: inline-block;
  39. position: absolute;
  40. cursor: pointer;
  41. width: 32px;
  42. top: 1px;
  43. right: 1px;
  44. height: 30px;
  45. vertical-align: middle;
  46. fill: #edffff;
  47. }
  48. .cesium-geocoder-searchButton:hover {
  49. background-color: #48b;
  50. }