SceneModePicker.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. span.cesium-sceneModePicker-wrapper {
  2. display: inline-block;
  3. position: relative;
  4. margin: 0 3px;
  5. }
  6. .cesium-sceneModePicker-visible {
  7. visibility: visible;
  8. opacity: 1;
  9. transition: opacity 0.25s linear;
  10. -webkit-transition: opacity 0.25s linear;
  11. -moz-transition: opacity 0.25s linear;
  12. }
  13. .cesium-sceneModePicker-hidden {
  14. visibility: hidden;
  15. opacity: 0;
  16. transition: visibility 0s 0.25s, opacity 0.25s linear;
  17. -webkit-transition: visibility 0s 0.25s, opacity 0.25s linear;
  18. -moz-transition: visibility 0s 0.25s, opacity 0.25s linear;
  19. }
  20. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-none {
  21. display: none;
  22. }
  23. .cesium-sceneModePicker-slide-svg {
  24. -webkit-transition: left 2s;
  25. -moz-transition: left 2s;
  26. transition: left 2s;
  27. top: 0;
  28. left: 0;
  29. }
  30. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
  31. -moz-box-sizing: border-box;
  32. -webkit-box-sizing: border-box;
  33. box-sizing: border-box;
  34. padding: 0;
  35. margin: 3px 0;
  36. }
  37. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D,
  38. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView,
  39. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D {
  40. margin: 0 0 3px 0;
  41. }
  42. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-icon2D {
  43. left: 100%;
  44. }
  45. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-iconColumbusView {
  46. left: 200%;
  47. }
  48. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon3D {
  49. left: -200%;
  50. }
  51. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon2D {
  52. left: -100%;
  53. }
  54. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-icon3D {
  55. left: -100%;
  56. }
  57. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-iconColumbusView {
  58. left: 100%;
  59. }
  60. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-selected {
  61. border-color: #2e2;
  62. box-shadow: 0 0 8px #fff, 0 0 8px #fff;
  63. }