CesiumWidget.css 2.2 KB

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