CesiumWidget.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* Source/Widgets/CesiumWidget/CesiumWidget.css */
  2. .cesium-widget {
  3. position: relative;
  4. }
  5. .cesium-widget,
  6. .cesium-widget canvas {
  7. width: 100%;
  8. height: 100%;
  9. touch-action: none;
  10. }
  11. .cesium-widget-credits {
  12. display: block;
  13. position: absolute;
  14. bottom: 0;
  15. left: 0;
  16. color: #fff;
  17. font-size: 10px;
  18. text-shadow: 0px 0px 2px #000000;
  19. padding-right: 5px;
  20. }
  21. .cesium-widget-credits a,
  22. .cesium-widget-credits a:visited {
  23. color: #fff;
  24. }
  25. .cesium-widget-errorPanel {
  26. position: absolute;
  27. top: 0;
  28. right: 0;
  29. bottom: 0;
  30. left: 0;
  31. text-align: center;
  32. background: rgba(0, 0, 0, 0.7);
  33. z-index: 99999;
  34. }
  35. .cesium-widget-errorPanel:before {
  36. display: inline-block;
  37. vertical-align: middle;
  38. height: 100%;
  39. content: "";
  40. }
  41. .cesium-widget-errorPanel-content {
  42. width: 75%;
  43. max-width: 500px;
  44. display: inline-block;
  45. text-align: left;
  46. vertical-align: middle;
  47. border: 1px solid #510c00;
  48. border-radius: 7px;
  49. background-color: #f0d9d5;
  50. font-size: 14px;
  51. color: #510c00;
  52. }
  53. .cesium-widget-errorPanel-content.expanded {
  54. max-width: 75%;
  55. }
  56. .cesium-widget-errorPanel-header {
  57. font-size: 18px;
  58. font-family:
  59. "Open Sans",
  60. Verdana,
  61. Geneva,
  62. sans-serif;
  63. background: #d69d93;
  64. border-bottom: 2px solid #510c00;
  65. padding-bottom: 10px;
  66. border-radius: 3px 3px 0 0;
  67. padding: 15px;
  68. }
  69. .cesium-widget-errorPanel-scroll {
  70. overflow: auto;
  71. font-family:
  72. "Open Sans",
  73. Verdana,
  74. Geneva,
  75. sans-serif;
  76. white-space: pre-wrap;
  77. padding: 0 15px;
  78. margin: 10px 0 20px 0;
  79. }
  80. .cesium-widget-errorPanel-buttonPanel {
  81. padding: 0 15px;
  82. margin: 10px 0 20px 0;
  83. text-align: right;
  84. }
  85. .cesium-widget-errorPanel-buttonPanel button {
  86. border-color: #510c00;
  87. background: #d69d93;
  88. color: #202020;
  89. margin: 0;
  90. }
  91. .cesium-widget-errorPanel-buttonPanel button:focus {
  92. border-color: #510c00;
  93. background: #f0d9d5;
  94. color: #510c00;
  95. }
  96. .cesium-widget-errorPanel-buttonPanel button:hover {
  97. border-color: #510c00;
  98. background: #f0d9d5;
  99. color: #510c00;
  100. }
  101. .cesium-widget-errorPanel-buttonPanel button:active {
  102. border-color: #510c00;
  103. background: #b17b72;
  104. color: #510c00;
  105. }
  106. .cesium-widget-errorPanel-more-details {
  107. text-decoration: underline;
  108. cursor: pointer;
  109. }
  110. .cesium-widget-errorPanel-more-details:hover {
  111. color: #2b0700;
  112. }