BaseLayerPicker.css 3.2 KB

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