CesiumWidget.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .cesium-widget {
  2. position: relative;
  3. }
  4. .cesium-widget, .cesium-widget canvas {
  5. width: 100%;
  6. height: 100%;
  7. touch-action: none;
  8. }
  9. .cesium-widget-credits {
  10. display: block;
  11. position: absolute;
  12. bottom: 0;
  13. left: 0;
  14. color: #fff;
  15. font-size: 10px;
  16. text-shadow: 0px 0px 2px #000000;
  17. padding-right: 5px;
  18. }
  19. .cesium-widget-credits a,
  20. .cesium-widget-credits a:visited {
  21. color: #fff;
  22. }
  23. .cesium-widget-errorPanel {
  24. position: absolute;
  25. top: 0;
  26. right: 0;
  27. bottom: 0;
  28. left: 0;
  29. text-align: center;
  30. background: rgba(0, 0, 0, 0.7);
  31. z-index: 99999;
  32. }
  33. .cesium-widget-errorPanel:before {
  34. display: inline-block;
  35. vertical-align: middle;
  36. height: 100%;
  37. content: "";
  38. }
  39. .cesium-widget-errorPanel-content {
  40. width: 75%;
  41. display: inline-block;
  42. text-align: left;
  43. vertical-align: middle;
  44. border: 1px solid #526F82;
  45. border-radius: 7px;
  46. background-color: black;
  47. color: white;
  48. font-size: 10pt;
  49. padding: 1em;
  50. }
  51. .cesium-widget-errorPanel-header {
  52. font-size: 120%;
  53. color: #fe4;
  54. }
  55. .cesium-widget-errorPanel-scroll {
  56. overflow: auto;
  57. font-family: monospace;
  58. white-space: pre-wrap;
  59. padding: 0;
  60. margin: 10px 0;
  61. }
  62. .cesium-widget-errorPanel-buttonPanel {
  63. text-align: center;
  64. }