Geocoder.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. box-sizing: border-box;
  13. transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
  14. -webkit-appearance: none;
  15. }
  16. .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {
  17. border-color: #aef;
  18. box-shadow: 0 0 8px #fff;
  19. }
  20. .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
  21. border-color: #ea4;
  22. background-color: rgba(15, 15, 15, 0.9);
  23. box-shadow: none;
  24. outline: none;
  25. }
  26. .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input,
  27. .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,
  28. .cesium-viewer-geocoderContainer .cesium-geocoder-input-wide {
  29. padding-left: 4px;
  30. width: 250px;
  31. }
  32. .cesium-viewer-geocoderContainer .search-results {
  33. position: absolute;
  34. background-color: #000;
  35. color: #eee;
  36. overflow-y: auto;
  37. opacity: 0.8;
  38. width: 100%;
  39. }
  40. .cesium-viewer-geocoderContainer .search-results ul {
  41. list-style-type: none;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. .cesium-viewer-geocoderContainer .search-results ul li {
  46. font-size: 14px;
  47. padding: 3px 10px;
  48. }
  49. .cesium-viewer-geocoderContainer .search-results ul li:hover {
  50. cursor: pointer;
  51. }
  52. .cesium-viewer-geocoderContainer .search-results ul li.active {
  53. background: #48b;
  54. }
  55. .cesium-geocoder-searchButton {
  56. background-color: #303336;
  57. display: inline-block;
  58. position: absolute;
  59. cursor: pointer;
  60. width: 32px;
  61. top: 1px;
  62. right: 1px;
  63. height: 30px;
  64. vertical-align: middle;
  65. fill: #edffff;
  66. }
  67. .cesium-geocoder-searchButton:hover {
  68. background-color: #48b;
  69. }