shared.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .cesium-svgPath-svg {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. overflow: hidden;
  8. }
  9. .cesium-button {
  10. display: inline-block;
  11. position: relative;
  12. background: #303336;
  13. border: 1px solid #444;
  14. color: #edffff; /* For text buttons */
  15. fill: #edffff; /* For SVG buttons */
  16. border-radius: 4px;
  17. padding: 5px 12px;
  18. margin: 2px 3px;
  19. cursor: pointer;
  20. overflow: hidden;
  21. -moz-user-select: none;
  22. -webkit-user-select: none;
  23. user-select: none;
  24. }
  25. .cesium-button:focus {
  26. color: #fff; /* For text buttons */
  27. fill: #fff; /* For SVG buttons */
  28. border-color: #ea4;
  29. outline: none;
  30. }
  31. .cesium-button:hover {
  32. color: #fff; /* For text buttons */
  33. fill: #fff; /* For SVG buttons */
  34. background: #48b;
  35. border-color: #aef;
  36. box-shadow: 0 0 8px #fff;
  37. }
  38. .cesium-button:active {
  39. color: #000; /* For text buttons */
  40. fill: #000; /* For SVG buttons */
  41. background: #adf;
  42. border-color: #fff;
  43. box-shadow: 0 0 8px #fff;
  44. }
  45. .cesium-button:disabled,
  46. .cesium-button-disabled,
  47. .cesium-button-disabled:focus,
  48. .cesium-button-disabled:hover,
  49. .cesium-button-disabled:active {
  50. background: #303336;
  51. border-color: #444;
  52. color: #646464; /* For text buttons */
  53. fill: #646464; /* For SVG buttons */
  54. box-shadow: none;
  55. cursor: default;
  56. }
  57. .cesium-button option {
  58. background-color: #000;
  59. color: #eee;
  60. }
  61. .cesium-button option:disabled {
  62. color: #777;
  63. }
  64. .cesium-toolbar-button {
  65. -moz-box-sizing: border-box;
  66. box-sizing: border-box;
  67. width: 32px;
  68. height: 32px;
  69. border-radius: 14%;
  70. padding: 0;
  71. vertical-align: middle;
  72. z-index: 0; /* Workaround for rounded raster image corners in Chrome */
  73. }