index.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .user-layout {
  2. margin-top: 30px !important;
  3. position: relative;
  4. .block-layout {
  5. background: rgba(255, 255, 255, 1);
  6. box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.06);
  7. border-radius: 12px;
  8. position: relative;
  9. margin-bottom: 10px;
  10. }
  11. .left-layout {
  12. width: 150px;
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. .block-layout {
  17. padding: 24px 0;
  18. padding-right: 8px;
  19. }
  20. .item {
  21. display: block;
  22. height: 32px;
  23. line-height: 32px;
  24. color: #686872;
  25. text-align: center;
  26. margin: 4px 0;
  27. }
  28. .item:hover {
  29. color: #4299FF;
  30. }
  31. .item.active {
  32. color: #fff;
  33. background: #4299FF;
  34. border-top-right-radius: 16px;
  35. border-bottom-right-radius: 16px;
  36. }
  37. }
  38. .center-layout {
  39. padding-left: 160px;
  40. }
  41. .right-layout {
  42. width: 230px;
  43. display: none;
  44. position: absolute;
  45. top: 0;
  46. right: 0;
  47. }
  48. }
  49. .user-layout.right {
  50. .center-layout {
  51. padding-right: 240px;
  52. }
  53. .right-layout {
  54. display: block;
  55. }
  56. }