BaseLayerPicker.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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,
  78. .cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel {
  79. text-decoration: underline;
  80. }
  81. .cesium-baseLayerPicker-itemIcon {
  82. display: inline-block;
  83. position: relative;
  84. width: inherit;
  85. height: auto;
  86. background-size: 100% 100%;
  87. border: solid 1px #444;
  88. border-radius: 9px;
  89. color: #edffff;
  90. margin: 0;
  91. padding: 0;
  92. cursor: pointer;
  93. box-sizing: border-box;
  94. }
  95. .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
  96. border-color: #fff;
  97. box-shadow: 0 0 8px #fff, 0 0 8px #fff;
  98. }
  99. .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
  100. color: rgb(189, 236, 248);
  101. }
  102. .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
  103. border: double 4px rgb(189, 236, 248);
  104. }