styles.module.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. .container{
  2. width: 100%;
  3. min-height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. position: relative;
  7. padding: 1rem .75rem;
  8. background-color: var(--widget-bg);
  9. }
  10. .content{
  11. width: 100%;
  12. display: flex;
  13. flex-direction: column;
  14. gap: 1rem;
  15. }
  16. .wrap_item{
  17. display: flex;
  18. flex-direction: column;
  19. background: var(--card-bg);
  20. border-radius: var(--border-radius);
  21. padding: 1rem .75rem;
  22. gap: 1.2rem;
  23. }
  24. .logout{
  25. background: var(--card-bg);
  26. color: var(--text);
  27. height: 3rem;
  28. }
  29. .user_con{
  30. display: flex;
  31. justify-content: space-between;
  32. width: 100%;
  33. }
  34. .user_edit_con{
  35. display: flex;
  36. flex-direction: column;
  37. & .edit_btn{
  38. //background: var(--nav-item-hover);
  39. border-radius: var(--border-radius);
  40. //background: var(--nav-item-bg);
  41. //background-color: rgba(0, 0, 0, 0.15);
  42. width: 2rem;
  43. height: 2rem;
  44. //opacity: 0.5;
  45. & .icon{
  46. font-size: .75rem;
  47. width: 1.4em;
  48. height: 1.4em;
  49. fill: var(--text);
  50. }
  51. }
  52. }
  53. .user_info{
  54. display: flex;
  55. align-items: center;
  56. width: 100%;
  57. gap: 1rem;
  58. }
  59. .avatar_empty{
  60. width: 4rem;
  61. height: 4rem;
  62. }
  63. .empty_info{
  64. display: flex;
  65. flex-direction: column;
  66. gap: .25rem;
  67. & .welcome{
  68. font-size: 1.125rem;
  69. line-height: 1.375rem;
  70. color: var(--header);
  71. font-weight: 700;
  72. }
  73. & .login_tips{
  74. font-size: 1rem;
  75. line-height: 1.125rem;
  76. color: var(--text);
  77. }
  78. }
  79. .login_con{
  80. display: flex;
  81. align-items: center;
  82. justify-content: space-between;
  83. gap: 1.2rem;
  84. & .button{
  85. font-size: 1rem;
  86. height: 3.1rem;
  87. }
  88. }
  89. .avatar{
  90. width: 4rem;
  91. border-radius: 50%;
  92. img{
  93. width: 4rem;
  94. height: auto;
  95. border-radius: 50%;
  96. }
  97. }
  98. .info{
  99. flex-direction: column;
  100. align-items: flex-start;
  101. font-size: 1rem;
  102. color: var(--header);
  103. font-weight: 600;
  104. gap: .25rem;
  105. & .info_item{
  106. display: flex;
  107. align-items: center;
  108. gap: .4rem;
  109. //justify-content: space-between;
  110. width: 100%;
  111. padding: 0 0.7rem 0 0;
  112. }
  113. & .name{
  114. color: var(--header);
  115. font-size: 1.125rem;
  116. font-weight: 700;
  117. line-height: 1.375rem;
  118. }
  119. & .text{
  120. font-size: 1rem;
  121. color: var(--text);
  122. font-weight: 600;
  123. }
  124. & .icon_golds{
  125. width: 1.2rem;
  126. height: 1.2rem;
  127. }
  128. & .golds{
  129. font-size: 1rem;
  130. font-weight: 600;
  131. color: #edc349;
  132. }
  133. & .icon_copy{
  134. width: 1.2rem;
  135. height: 1.2rem;
  136. fill: var(--text);
  137. }
  138. & .male{
  139. width: 1.2rem;
  140. height: 1.2rem;
  141. g{
  142. fill: #05b0ff;
  143. }
  144. }
  145. & .female{
  146. width: 1.2rem;
  147. height: 1.2rem;
  148. g{
  149. fill: #fa5fdb;
  150. }
  151. }
  152. }
  153. .action_wrap{
  154. padding: 0.2rem .75rem;
  155. gap: 0rem;
  156. }
  157. .action_item{
  158. display: flex;
  159. align-items: center;
  160. height: 3.25rem;
  161. justify-content: space-between;
  162. & .action_left{
  163. height: 100%;
  164. font-size: 1rem;
  165. display: flex;
  166. align-items: center;
  167. color: var(--header);
  168. gap: 0.525rem;
  169. text-align: left;
  170. & .icon{
  171. width: 1.4rem;
  172. height: 1.4rem;
  173. fill: var(--text);
  174. g{
  175. fill: var(--text);
  176. }
  177. path{
  178. fill: var(--text);
  179. }
  180. }
  181. }
  182. & .action_right{
  183. display: flex;
  184. height: 100%;
  185. align-items: center;
  186. font-size: 1rem;
  187. color: var(--text);
  188. gap: .5rem;
  189. & .gender{
  190. font-size: .9rem;
  191. width: 1.4em;
  192. height: 1.4em;
  193. fill: var(--text);
  194. g{
  195. fill: var(--text);
  196. }
  197. }
  198. & .icon{
  199. font-size: .75rem;
  200. width: 1.4em;
  201. height: 1.4em;
  202. fill: var(--text);
  203. g{
  204. fill: var(--text);
  205. }
  206. }
  207. }
  208. }
  209. .theme_con{
  210. position: relative;
  211. width: 5.875rem;
  212. height: 3rem;
  213. transition: var(--transition);
  214. background-color: var(--nav-item-bg);
  215. border-radius: var(--border-radius);
  216. padding: .25rem;
  217. }
  218. .theme_bg{
  219. position:absolute;
  220. width:50%;
  221. height:100%;
  222. pointer-events: none;
  223. border-radius: var(--border-radius);
  224. background-color: var(--nav-item-hover);
  225. transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  226. left:0%;
  227. }
  228. .theme_icon{
  229. font-size: .75rem;
  230. width: 1.4em;
  231. height: 1.4em;
  232. fill: var(--text);
  233. &.active{
  234. fill: var(--header);
  235. }
  236. }
  237. .card_line{
  238. width: 100%;
  239. border-top: 1px solid var(--card-line);
  240. margin: 0.75rem 0;
  241. }
  242. .bonus_con{
  243. display: flex;
  244. flex-direction: row;
  245. align-items: center;
  246. justify-content: center;
  247. background-color: var(--primary-color);
  248. color: #fff;
  249. padding: 0rem 0.5rem;
  250. border-radius: 0.3rem;
  251. font-size: 0.85rem;
  252. font-weight: 600;
  253. text-align: left;
  254. }