BaseLayerPicker.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .cesium-baseLayerPicker-selected {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. border: none;
  8. }
  9. .cesium-baseLayerPicker-dropDown {
  10. display: block;
  11. position: absolute;
  12. box-sizing: content-box;
  13. top: auto;
  14. right: 0;
  15. width: 320px; /* Includes space needed for scrollbar */
  16. max-height: 500px;
  17. margin-top: 5px;
  18. background-color: rgba(38, 38, 38, 0.75);
  19. border: 1px solid #444;
  20. padding: 6px;
  21. overflow: auto;
  22. border-radius: 10px;
  23. -moz-user-select: none;
  24. -webkit-user-select: none;
  25. -ms-user-select: none;
  26. user-select: none;
  27. transform: translate(0, -20%);
  28. visibility: hidden;
  29. opacity: 0;
  30. transition: visibility 0s 0.2s, opacity 0.2s ease-in, transform 0.2s ease-in;
  31. }
  32. .cesium-baseLayerPicker-dropDown-visible {
  33. transform: translate(0, 0);
  34. visibility: visible;
  35. opacity: 1;
  36. transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  37. }
  38. .cesium-baseLayerPicker-sectionTitle {
  39. display: block;
  40. font-family: sans-serif;
  41. font-size: 16pt;
  42. text-align: left;
  43. color: #edffff;
  44. margin-bottom: 4px;
  45. }
  46. .cesium-baseLayerPicker-choices {
  47. margin-bottom: 5px;
  48. }
  49. .cesium-baseLayerPicker-categoryTitle {
  50. color: #edffff;
  51. font-size: 11pt;
  52. }
  53. .cesium-baseLayerPicker-choices {
  54. display: block;
  55. border: 1px solid #888;
  56. border-radius: 5px;
  57. padding: 5px 0;
  58. }
  59. .cesium-baseLayerPicker-item {
  60. display: inline-block;
  61. vertical-align: top;
  62. margin: 2px 5px;
  63. width: 64px;
  64. text-align: center;
  65. cursor: pointer;
  66. }
  67. .cesium-baseLayerPicker-itemLabel {
  68. display: block;
  69. font-family: sans-serif;
  70. font-size: 8pt;
  71. text-align: center;
  72. vertical-align: middle;
  73. color: #edffff;
  74. cursor: pointer;
  75. word-wrap: break-word;
  76. }
  77. .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel, .cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel {
  78. text-decoration: underline;
  79. }
  80. .cesium-baseLayerPicker-itemIcon {
  81. display: inline-block;
  82. position: relative;
  83. width: inherit;
  84. height: auto;
  85. background-size: 100% 100%;
  86. border: solid 1px #444;
  87. border-radius: 9px;
  88. color: #edffff;
  89. margin: 0;
  90. padding: 0;
  91. cursor: pointer;
  92. box-sizing: border-box;
  93. }
  94. .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
  95. border-color: #fff;
  96. box-shadow: 0 0 8px #fff, 0 0 8px #fff;
  97. }
  98. .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
  99. color: rgb(189, 236, 248);
  100. }
  101. .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
  102. border: double 4px rgb(189, 236, 248);
  103. }