Account.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @import "~assets/less/variable";
  2. .wrapper {
  3. width: 100%;
  4. height: 100%;
  5. overflow-y: auto;
  6. .container {
  7. width: 100%;
  8. height: auto;
  9. max-width: 970px;
  10. margin: 24px auto;
  11. display: flex;
  12. flex-direction: row;
  13. justify-content: flex-start;
  14. .sidebar {
  15. width: 186px;
  16. margin-right: 16px;
  17. display: flex;
  18. flex-direction: column;
  19. .user {
  20. margin-bottom: 16px;
  21. .userWrap {
  22. padding: 24px;
  23. display: flex;
  24. flex-direction: column;
  25. align-items: center;
  26. border: 1px solid @grey-line-color;
  27. .userAvatar {
  28. flex-shrink: 0;
  29. }
  30. .userItems {
  31. flex: 1;
  32. margin-top: 16px;
  33. width: 136px;
  34. text-align: left;
  35. -webkit-box-orient: vertical;
  36. overflow: hidden;
  37. .userName {
  38. font-size: 18px;
  39. font-weight: 600;
  40. }
  41. .userDesc {
  42. margin-top: 6px;
  43. display: inline-block;
  44. max-width: 100%;
  45. color: @light-text-color;
  46. }
  47. }
  48. }
  49. }
  50. .menu {
  51. }
  52. }
  53. .content {
  54. flex: 1;
  55. width: 640px;
  56. }
  57. }
  58. }