index.scss 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. display: inline-grid;
  69. position: relative;
  70. margin-left: 24px;
  71. .basic-hight {
  72. height: calc(100% - 75px);
  73. }
  74. .hc-card-foot-box {
  75. position: absolute;
  76. height: 80px;
  77. width: 100%;
  78. bottom: -24px;
  79. background: #f1f5f8;
  80. border-radius: 8px 8px 0 0;
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. box-shadow: -2px 0 10px 0 rgba(32,37,50,0.03), 0 -10px 21px 3px rgba(32,37,50,0.03);
  85. }
  86. .foot-recycle {
  87. position: relative;
  88. display: flex;
  89. }
  90. }
  91. }