AccountPage.styl 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. .nomarginlabel
  2. margin-bottom 0
  3. settingText()
  4. margin 15px 0
  5. font-size 18px
  6. .table td
  7. vertical-align middle
  8. .table tr:nth-child(even)
  9. background-color grey-hover
  10. .account
  11. width 100%
  12. &__userinformation
  13. display flex
  14. justify-content center
  15. align-items center
  16. flex-wrap wrap
  17. border 1px solid grey
  18. padding 25px
  19. font-size 18px
  20. &__wrapper
  21. flex-direction column
  22. &__avatar
  23. margin-right 50px
  24. img
  25. width 150px
  26. height 150px
  27. &__name
  28. font-size 22px
  29. &__email
  30. color blue
  31. &__company
  32. font-size 20px
  33. color blue
  34. &__delimiter
  35. position relative
  36. top 3px
  37. margin auto
  38. z-index 3
  39. &__userpreference
  40. display flex
  41. padding 25px
  42. width 100%
  43. background-color lightGrey
  44. &__menu
  45. margin-right 30px
  46. border-radius 10px
  47. padding 0
  48. width 20%
  49. background-color off-white
  50. &__responsive
  51. font-size 20px
  52. &__list
  53. width 100%
  54. margin-bottom 20px
  55. &__close
  56. display none
  57. justify-content flex-end
  58. margin 10px 0 15px 0
  59. font-size 20px
  60. cursor pointer
  61. &__disabled
  62. padding 25px 20px 20px 16px
  63. color grey
  64. font-size 18px
  65. &__item
  66. margin-top 10px
  67. font-weight 500
  68. font-size 18px
  69. cursor pointer
  70. &:hover
  71. background-color blue
  72. color white
  73. &__setting
  74. border-radius 10px
  75. padding 20px
  76. width 80%
  77. background-color off-white
  78. .personaldata
  79. &__text
  80. settingText()
  81. &__form
  82. margin 25px 0
  83. &__title
  84. margin-bottom 15px
  85. font-size 18px
  86. &__txtinput
  87. display inline-flex
  88. width auto
  89. margin 0 15px 15px 0
  90. border 1px solid blue
  91. border-radius 5px
  92. padding 8px 15px
  93. &__button
  94. vertical-align top
  95. border 1px solid blue
  96. border-radius 5px
  97. padding 8px 25px
  98. cursor pointer
  99. .calendar
  100. &__text
  101. settingText()
  102. &__title
  103. margin 15px 0
  104. font-size 18px
  105. &__link
  106. display inline-block
  107. border 1px solid grey
  108. border-radius 5px
  109. padding 10px 25px
  110. &__timezone
  111. margin 15px 0 30px 0
  112. &__btn
  113. border 1px solid blue
  114. border-radius 5px
  115. padding 10px 35px
  116. color blue
  117. background-color transparent
  118. &::after
  119. margin-left 10px
  120. &:hover, &:focus
  121. background-color blue
  122. color white
  123. &__submenu
  124. width 203px
  125. max-height 300px
  126. overflow-Y auto
  127. &__item
  128. &:hover, &:focus
  129. background-color blue
  130. color white
  131. .notification
  132. &__text
  133. settingText()
  134. margin-bottom 30px
  135. &__table
  136. border 1px solid lightGrey
  137. &__role
  138. display flex
  139. align-items center
  140. &__icon
  141. margin-right 10px
  142. /***** MEDIAQUERIES *****/
  143. /**** MEDIA 576px & 1199px ****/
  144. // Regroup the common rules
  145. @media (min-width: min-sm) and (max-width: max-md)
  146. .account
  147. &__userpreference
  148. display block
  149. position relative
  150. &__menu
  151. justify-content center
  152. margin-bottom 25px
  153. border-radius 30px
  154. width 60px
  155. min-height 60px
  156. &__responsive
  157. align-self center
  158. &__list
  159. display none
  160. &__setting
  161. padding 10px
  162. width 100%
  163. .activemenu
  164. .account
  165. &__userpreference
  166. &__menu
  167. justify-content start
  168. position absolute
  169. top 0
  170. left 0
  171. border-radius 10px
  172. width 100%
  173. height 100%
  174. z-index 2
  175. background-color rgbGrey
  176. &__responsive
  177. display none
  178. &__list
  179. display block
  180. border-radius 10px
  181. height 100%
  182. background-color off-white
  183. width 300px
  184. &__close
  185. display flex
  186. &__disabled
  187. padding 0 20px
  188. /***** MEDIA LG *****/
  189. @media (min-width: min-lg) and (max-width: max-lg)
  190. .account
  191. &__userpreference
  192. padding 25px 10px
  193. &__menu
  194. margin-right 15px
  195. width 25%
  196. /**** MEDIA SM ****/
  197. @media (min-width: min-sm) and (max-width: max-sm)
  198. .account
  199. &__userpreference
  200. padding 25px 0
  201. &__menu
  202. margin-left 15px
  203. &__setting
  204. padding 30px 15px
  205. .activemenu
  206. .account__userpreference__menu
  207. margin-left 0
  208. /***** MEDIA XS *****/
  209. @media (max-width: max-xs)
  210. .account
  211. &__userinformation
  212. &__avatar
  213. margin 0 0 20px 0
  214. &__wrapper
  215. text-align center
  216. &__userpreference
  217. display block
  218. position relative
  219. padding 25px 0
  220. &__menu
  221. justify-content center
  222. margin 0 0 25px 15px
  223. border-radius 30px
  224. width 60px
  225. min-height 60px
  226. &__responsive
  227. align-self center
  228. &__list
  229. display none
  230. &__setting
  231. border-radius 0
  232. padding 10px 0
  233. width 100%
  234. .personaldata
  235. &__form
  236. margin-left 10px
  237. .calendar
  238. &__link
  239. padding 10px 15px
  240. .notification
  241. &__table
  242. &__wksname
  243. text-overflow ellipsis
  244. white-space nowrap
  245. overflow hidden
  246. width 310px
  247. &:focus
  248. overflow visible
  249. width auto
  250. .activemenu
  251. .account
  252. &__userpreference
  253. &__menu
  254. justify-content start
  255. position absolute
  256. top 0
  257. left 0
  258. margin-left 0
  259. border-radius 10px
  260. width 100%
  261. height 100%
  262. z-index 2
  263. background-color rgbGrey
  264. &__responsive
  265. display none
  266. &__list
  267. display block
  268. border-radius 10px
  269. height 100%
  270. background-color off-white
  271. width 300px
  272. &__close
  273. display flex
  274. &__disabled
  275. padding 0 20px