AccountPage.styl 7.1KB

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