index.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .hc-layout-box {
  2. position: relative;
  3. height: 100%;
  4. display: flex;
  5. .hc-layout-left-box {
  6. position: relative;
  7. width: 260px;
  8. height: 100%;
  9. color: #1A1A1A;
  10. border-radius: 10px;
  11. background-color: #f1f5f8;
  12. box-shadow: -2px 0 10px 0 rgba(32,37,50,0.03), 0 10px 21px 20px rgba(32,37,50,0.03);
  13. .user-avatar-box {
  14. position: relative;
  15. text-align: center;
  16. padding: 24px;
  17. .user-avatar {
  18. position: relative;
  19. height: 100px;
  20. width: 100px;
  21. border-radius: 50%;
  22. background: #d8d8d8;
  23. margin: 24px auto auto;
  24. border: 2px solid #ffffff;
  25. box-shadow: 7px 7px 8px 0 rgba(54,92,167,0.15), -7px -7px 8px 0 #ffffff, 4px 4px 8px 0 rgba(54,92,167,0.15), -4px -4px 8px 0 #ffffff;
  26. img {
  27. display: block;
  28. object-fit: cover;
  29. height: 100%;
  30. width: 100%;
  31. border-radius: 50%;
  32. }
  33. .user-avatar-upload {
  34. position: absolute;
  35. right: 0;
  36. bottom: 0;
  37. width: 24px;
  38. height: 24px;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. background: #f1f5f8;
  43. border-radius: 50%;
  44. color: #838791;
  45. cursor: pointer;
  46. box-shadow: 4px 4px 8px 0 rgba(54,92,167,0.15);
  47. transition: color 0.2s;
  48. &:hover {
  49. color: var(--el-color-primary);
  50. }
  51. }
  52. }
  53. .user-name {
  54. position: relative;
  55. margin-top: 18px;
  56. font-weight: bold;
  57. color: #1a1a1a;
  58. font-size: 16px;
  59. }
  60. }
  61. .user-menu-box {
  62. position: relative;
  63. height: calc(100% - 230px);
  64. }
  65. }
  66. .hc-layout-content-box {
  67. flex: 1;
  68. position: relative;
  69. margin-left: 24px;
  70. .basic-hight {
  71. height: calc(100% - 75px);
  72. }
  73. .hc-card-foot-box {
  74. position: absolute;
  75. height: 80px;
  76. width: 100%;
  77. bottom: -24px;
  78. background: #f1f5f8;
  79. border-radius: 8px 8px 0 0;
  80. display: flex;
  81. align-items: center;
  82. justify-content: center;
  83. box-shadow: -2px 0 10px 0 rgba(32,37,50,0.03), 0 -10px 21px 3px rgba(32,37,50,0.03);
  84. }
  85. .foot-recycle {
  86. position: relative;
  87. display: flex;
  88. }
  89. }
  90. }