web.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .TUI-profile {
  2. background: #ffffff;
  3. display: flex;
  4. flex-direction: column;
  5. &-basic {
  6. width: 200px;
  7. display: flex;
  8. flex-direction: row;
  9. &-avatar {
  10. width: 30px;
  11. height: 30px;
  12. border-radius: 5px;
  13. margin-right: 10px;
  14. }
  15. &-info {
  16. font-size: 14px;
  17. &-nick {
  18. overflow: hidden;
  19. text-overflow: ellipsis;
  20. white-space: nowrap;
  21. }
  22. &-id {
  23. display: flex;
  24. flex-direction: row;
  25. overflow: hidden;
  26. &-label {
  27. font-weight: 400;
  28. color: #999;
  29. }
  30. &-value {
  31. overflow: hidden;
  32. text-overflow: ellipsis;
  33. white-space: nowrap;
  34. }
  35. }
  36. }
  37. }
  38. &-setting {
  39. &-item {
  40. height: 40px;
  41. padding-left: 14px;
  42. padding-right: 8px;
  43. display: flex;
  44. line-height: 40px;
  45. text-align: center;
  46. align-items: center;
  47. justify-content: space-between;
  48. cursor: pointer;
  49. &:hover {
  50. background-color: rgba(0, 110, 255, 0.1);
  51. .TUI-profile-setting-item-children {
  52. display: block;
  53. }
  54. }
  55. &-label {
  56. font-size: 14px;
  57. display: flex;
  58. flex-direction: row;
  59. justify-content: center;
  60. justify-content: space-between;
  61. flex: 1;
  62. }
  63. &-children {
  64. display: none;
  65. position: absolute;
  66. left: 100%;
  67. top: 0;
  68. height: fit-content;
  69. width: fit-content;
  70. min-width: 167px;
  71. border-radius: 0 4px 4px 0;
  72. bottom: 10px;
  73. z-index: 2;
  74. background: #fff;
  75. box-shadow: 2px 1px 6px 0 rgba(2, 16, 43, 0.15);
  76. &-item {
  77. height: 40px;
  78. padding-left: 14px;
  79. padding-right: 8px;
  80. display: flex;
  81. line-height: 40px;
  82. text-align: center;
  83. align-items: center;
  84. justify-content: space-between;
  85. cursor: pointer;
  86. &:hover {
  87. background-color: rgba(0, 110, 255, 0.1);
  88. }
  89. &-label {
  90. font-size: 14px;
  91. display: flex;
  92. flex-direction: row;
  93. justify-content: center;
  94. justify-content: space-between;
  95. flex: 1;
  96. padding-right: 5px;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }