CesiumInspector.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .cesium-cesiumInspector {
  2. border-radius: 5px;
  3. transition: width ease-in-out 0.25s;
  4. background: rgba(48, 51, 54, 0.8);
  5. border: 1px solid #444;
  6. color: #edffff;
  7. display: inline-block;
  8. position: relative;
  9. padding: 4px 12px;
  10. -moz-user-select: none;
  11. -webkit-user-select: none;
  12. -ms-user-select: none;
  13. user-select: none;
  14. overflow: hidden;
  15. }
  16. .cesium-cesiumInspector-button {
  17. text-align: center;
  18. font-size: 11pt;
  19. }
  20. .cesium-cesiumInspector-visible .cesium-cesiumInspector-button {
  21. border-bottom: 1px solid #aaa;
  22. padding-bottom: 3px;
  23. }
  24. .cesium-cesiumInspector input:enabled, .cesium-cesiumInspector-button {
  25. cursor: pointer;
  26. }
  27. .cesium-cesiumInspector-visible {
  28. width: 185px;
  29. height: auto;
  30. }
  31. .cesium-cesiumInspector-hidden {
  32. width: 122px;
  33. height: 17px;
  34. }
  35. .cesium-cesiumInspector-sectionContent {
  36. max-height: 500px;
  37. }
  38. .cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionContent {
  39. max-height: 0;
  40. padding: 0 !important;
  41. overflow: hidden;
  42. }
  43. .cesium-cesiumInspector-dropDown {
  44. margin: 5px 0;
  45. font-family: sans-serif;
  46. font-size: 10pt;
  47. width: 185px;
  48. }
  49. .cesium-cesiumInspector-frustumStatistics {
  50. padding-left: 10px;
  51. padding: 5px;
  52. background-color: rgba(80, 80, 80, 0.75);
  53. }
  54. .cesium-cesiumInspector-pickButton {
  55. background-color: rgba(0, 0, 0, 0.3);
  56. border: 1px solid #444;
  57. color: #edffff;
  58. border-radius: 5px;
  59. padding: 3px 7px;
  60. cursor: pointer;
  61. -moz-user-select: none;
  62. -webkit-user-select: none;
  63. -ms-user-select: none;
  64. user-select: none;
  65. margin: 0 auto;
  66. }
  67. .cesium-cesiumInspector-pickButton:focus {
  68. outline: none;
  69. }
  70. .cesium-cesiumInspector-pickButton:active, .cesium-cesiumInspector-pickButtonHighlight {
  71. color: #000; /* For text buttons */
  72. background: #adf;
  73. border-color: #fff;
  74. box-shadow: 0 0 8px #fff;
  75. }
  76. .cesium-cesiumInspector-center {
  77. text-align: center;
  78. }
  79. .cesium-cesiumInspector-sectionHeader {
  80. font-weight: bold;
  81. font-size: 10pt;
  82. margin: 0;
  83. cursor: pointer;
  84. }
  85. .cesium-cesiumInspector-pickSection {
  86. border: 1px solid #aaa;
  87. border-radius: 5px;
  88. padding: 3px;
  89. margin-bottom: 5px;
  90. }
  91. .cesium-cesiumInspector-sectionContent {
  92. margin-bottom: 10px;
  93. transition: max-height 0.25s;
  94. }
  95. .cesium-cesiumInspector-tileText {
  96. padding-bottom: 10px;
  97. border-bottom: 1px solid #aaa;
  98. }
  99. .cesium-cesiumInspector-relativeText {
  100. padding-top: 10px;
  101. }
  102. .cesium-cesiumInspector-sectionHeader::before {
  103. margin-right: 5px;
  104. content: '-';
  105. width: 1ch;
  106. display: inline-block;
  107. }
  108. .cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionHeader::before {
  109. content: '+';
  110. }