AccountPage.styl 7.2KB

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