index.less 953 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .home,
  2. #map-container {
  3. width: 100%;
  4. height: 100%;
  5. margin: 0;
  6. padding: 0;
  7. }
  8. .draw {
  9. position: absolute;
  10. top: 0;
  11. right: 0;
  12. width: 0;
  13. height: 100%;
  14. .draw-warp {
  15. position: relative;
  16. right: 0;
  17. height: 100%;
  18. transition: right 0.6s;
  19. &.show {
  20. right: 990px;
  21. }
  22. .draw-button {
  23. position: absolute;
  24. top: 20px;
  25. left: -36px;
  26. display: flex;
  27. align-items: center;
  28. justify-content: center;
  29. width: 36px;
  30. height: 36px;
  31. color: #fff;
  32. background-color: #1890ff;
  33. border-radius: 2px 0 0 2px;
  34. .draw-button-icon {
  35. transform: rotate(0);
  36. transition: all 0.3s;
  37. }
  38. & .active {
  39. transform: rotate(180deg);
  40. }
  41. }
  42. .draw-content {
  43. box-sizing: border-box;
  44. width: 990px;
  45. height: 100%;
  46. padding: 20px;
  47. background-color: #fff;
  48. box-shadow: 0 0 12px rgb(0 0 0 / 30%);
  49. }
  50. }
  51. }