CesiumInspector.css 2.6 KB

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