style.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .modal-bd{
  2. padding: 24px 0;
  3. }
  4. .user-top{
  5. display: flex;
  6. padding-bottom: 16px;
  7. border-bottom: 1px solid #e5e5e5;
  8. .user-avatar{
  9. width: 60px;
  10. height: 60px;
  11. line-height: 60px;
  12. border-radius: 4px;
  13. margin-right: 12px;
  14. position: relative;
  15. overflow: hidden;
  16. cursor: pointer;
  17. img{
  18. width: 100%;
  19. height: 60px;
  20. border-radius: 4px;
  21. vertical-align: middle;
  22. }
  23. &:hover{
  24. p{
  25. bottom: 0;
  26. }
  27. }
  28. p{
  29. font-size: 12px;
  30. text-align: center;
  31. color: #ffffff;
  32. height: 16px;
  33. line-height: 16px;
  34. position: absolute;
  35. left: 0;
  36. right: 0;
  37. bottom: -16px;
  38. transition: .2s all ease-in;
  39. background-color: rgba($color: #000000, $alpha: .4);
  40. }
  41. }
  42. .r-info{
  43. flex: 1;
  44. text-align: left;
  45. font-size: 14px;
  46. color: #333333;
  47. }
  48. .name{
  49. font-weight: bold;
  50. display: block;
  51. margin-bottom: 12px;
  52. max-width: 210px;
  53. @include ellipsis();
  54. }
  55. }
  56. .account-wrap{
  57. text-align: left;
  58. font-size: 14px;
  59. color: #333333;
  60. padding-top: 10px;
  61. .title{
  62. margin-bottom: 16px;
  63. }
  64. .type{
  65. height: 20px;
  66. line-height: 20px;
  67. margin-bottom: 10px;
  68. }
  69. .fr{
  70. float: right;
  71. span{
  72. font-size: 12px;
  73. color: #999999;
  74. display: inline-block;
  75. margin-right: 6px;
  76. }
  77. }
  78. strong{
  79. font-weight: bold;
  80. }
  81. .key{
  82. font-size: 12px;
  83. color: #333333;
  84. }
  85. }
  86. .account-item{
  87. margin-bottom: 20px;
  88. &:hover{
  89. .open-tips{
  90. visibility: visible;
  91. }
  92. }
  93. }
  94. .send-msg-btn{
  95. display: block;
  96. width: 100%;
  97. outline: none;
  98. border: none;
  99. height: 34px;
  100. line-height: 34px;
  101. text-align: center;
  102. color: #ffffff;
  103. font-size: 14px;
  104. border-radius: 4px;
  105. background-color: #239af2;
  106. &:hover{
  107. opacity: .8;
  108. }
  109. }
  110. .edit-name-input{
  111. height: 20px;
  112. line-height: 20px;
  113. outline: none;
  114. border: none;
  115. background-color: #efefef;
  116. margin-bottom: 4px;
  117. border-radius: 2px;
  118. width: 120px;
  119. padding-left: 10px;
  120. font-size: 12px;
  121. color: #333333;
  122. }
  123. .open-tips{
  124. visibility: hidden;
  125. font-size: 12px;
  126. display: inline-block;
  127. margin-left: 10px;
  128. color: #999999;
  129. }
  130. .btn-unbind{
  131. text-align: right;
  132. color: #ff3737;
  133. cursor: pointer;
  134. font-size: 12px;
  135. margin: 4px 10px 0 0;
  136. }