BaseLayerPicker.css 2.5 KB

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