CesiumWidget.css 2.3 KB

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