mock平台

index.scss 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. @import '../../styles/mixin.scss';
  2. .g-doc {
  3. margin: 0 auto 0.24rem;
  4. }
  5. /* .user-box.css */
  6. .user-box {
  7. @include row-width-limit;
  8. padding: 0;
  9. display: -webkit-box;
  10. -webkit-box-flex: 1;
  11. margin: 0 auto;
  12. margin-top: 24px;
  13. .user-list {
  14. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  15. background: #fff;
  16. border-radius: 4px;
  17. min-height: 5rem;
  18. .search {
  19. padding: 5px;
  20. background-color: #eee;
  21. }
  22. ul {
  23. border: none;
  24. }
  25. .ant-menu-item {
  26. font-size: 18px;
  27. }
  28. }
  29. .user-name {
  30. padding: 0.24rem;
  31. background-color: #34495e;
  32. color: white;
  33. font-size: 18px;
  34. border-top-left-radius: 4px;
  35. border-top-right-radius: 4px;
  36. span {
  37. margin-right: 5px;
  38. }
  39. }
  40. .router-content {
  41. min-height: calc(100% - 2.47rem);
  42. }
  43. .user-table {
  44. -webkit-box-flex: 1;
  45. padding: 24px;
  46. background: #fff;
  47. min-height: 5rem;
  48. .ant-table-wrapper table {
  49. // font-size: .14rem;
  50. a {
  51. // font-size: 13px;
  52. }
  53. }
  54. .user-search-wrapper {
  55. position: relative;
  56. .ant-input-search {
  57. position: absolute;
  58. right: 0;
  59. top: 0;
  60. width: 250px;
  61. }
  62. }
  63. }
  64. .user-profile {
  65. -webkit-box-flex: 1;
  66. background: #fff;
  67. min-height: 5rem;
  68. position: relative;
  69. .edit-buttons {
  70. .edit-button {
  71. text-align: center;
  72. margin-right: 10px;
  73. }
  74. }
  75. .bacToPer {
  76. position: absolute;
  77. right: 8px;
  78. top: 8px;
  79. z-index: 3;
  80. }
  81. .user-item-body {
  82. width: 95%;
  83. margin: 0px auto;
  84. padding: 32px;
  85. position: relative;
  86. // box-shadow: 0 4px 6px rgba(50, 50, 93, 0.3), 0 1px 3px rgba(0, 0, 0, 0.01);
  87. h3 {
  88. font-size: 20px;
  89. font-weight: 500;
  90. margin-bottom: 16px;
  91. }
  92. .user-item-mask-top {
  93. position: absolute;
  94. top: 0px;
  95. left: 0px;
  96. height: 100%;
  97. width: 100%;
  98. background: black;
  99. z-index: 2;
  100. opacity: 0.7;
  101. }
  102. .user-item-mask {
  103. position: absolute;
  104. top: 0px;
  105. left: 0px;
  106. height: 0px;
  107. width: 100%;
  108. height: 100%;
  109. overflow: hidden;
  110. background-color: rgba(0, 0, 0, 0.7);
  111. }
  112. .user-item {
  113. position: relative;
  114. z-index: 3;
  115. padding: 8px 0px;
  116. .maoboli {
  117. // background-color: rgba(225,225,225,0.16);
  118. position: absolute;
  119. width: 100%;
  120. height: 100%;
  121. left: 0px;
  122. top: 0px;
  123. }
  124. }
  125. }
  126. .user-item {
  127. min-height: 35px;
  128. line-height: 35px;
  129. margin: 5px;
  130. margin-left: 0px;
  131. font-size: 14px;
  132. #old_password,
  133. #password,
  134. #verify_pass {
  135. margin-top: 20px;
  136. }
  137. #old_password {
  138. margin-top: 0px;
  139. }
  140. .ant-col-12 {
  141. .ant-input {
  142. width: 60%;
  143. margin-right: 16px;
  144. }
  145. }
  146. .ant-col-4 {
  147. color: rgba(71, 86, 99, 0.8);
  148. font-weight: 500;
  149. padding: 0px 16px;
  150. text-indent: 0.7em;
  151. margin-right: 30px;
  152. white-space: nowrap;
  153. text-align: right;
  154. width: 130px;
  155. }
  156. .text {
  157. padding-right: 16px;
  158. }
  159. .text-button {
  160. color: #657289;
  161. cursor: pointer;
  162. }
  163. }
  164. }
  165. .user-nav {
  166. border-bottom-left-radius: 0.04rem;
  167. border-bottom-right-radius: 0.04rem;
  168. }
  169. .avatar-uploader {
  170. border: none;
  171. box-shadow: 0 4px 6px rgba(50, 50, 93, 0.31), 0 1px 3px rgba(0, 0, 0, 0.08);
  172. }
  173. .avatar-uploader,
  174. .avatar-uploader-trigger {
  175. width: 100px;
  176. height: 100px;
  177. overflow: hidden;
  178. border-radius: 50px;
  179. }
  180. .avatar {
  181. width: 100px;
  182. min-height: 100px;
  183. }
  184. .avatarImg {
  185. width: 100px;
  186. border-radius: 50px;
  187. overflow: hidden;
  188. height: 100px;
  189. background-color: white;
  190. box-shadow: 0 4px 6px rgba(50, 50, 93, 0.31), 0 1px 3px rgba(0, 0, 0, 0.08);
  191. margin-left: 60px;
  192. img {
  193. width: 100%;
  194. }
  195. }
  196. .avatar-uploader {
  197. display: block;
  198. cursor: pointer;
  199. height: 100px;
  200. }
  201. .ant-upload-list {
  202. display: none;
  203. }
  204. .avatar-box {
  205. width: 100px;
  206. position: relative;
  207. margin-left: 60px;
  208. }
  209. .avatarCon {
  210. // background: gray;
  211. padding: 16px 0px;
  212. width: 100%;
  213. overflow: hidden;
  214. position: relative;
  215. }
  216. .avatar-uploader-trigger {
  217. display: table-cell;
  218. vertical-align: middle;
  219. font-size: 28px;
  220. color: #999;
  221. }
  222. .avatarChange {
  223. display: block;
  224. width: 300px;
  225. text-align: center;
  226. padding: 8px;
  227. margin-left: -100px;
  228. color: #ececec;
  229. position: absolute;
  230. top: 0px;
  231. }
  232. }