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. .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. border 1px solid grey
  48. padding 25px
  49. font-size 18px
  50. &__wrapper
  51. flex-direction column
  52. &__avatar
  53. margin-right 50px
  54. img
  55. width 150px
  56. height 150px
  57. &__name
  58. font-size 22px
  59. &__email
  60. color thirdColor
  61. &__company
  62. font-size 20px
  63. color thirdColor
  64. &__delimiter
  65. position relative
  66. top 3px
  67. margin auto
  68. z-index 3
  69. &__userpreference
  70. display flex
  71. padding 25px
  72. width 100%
  73. background-color lightGrey
  74. &__menu
  75. margin-right 30px
  76. border-radius 10px
  77. padding 0
  78. width 20%
  79. min-height 600px
  80. background-color off-white
  81. &__responsive
  82. font-size 20px
  83. &__list
  84. width 100%
  85. margin-bottom 20px
  86. &__close
  87. display none
  88. justify-content flex-end
  89. margin 10px 0 15px 0
  90. font-size 20px
  91. cursor pointer
  92. &__disabled
  93. padding 25px 20px 20px 16px
  94. color grey
  95. font-size 18px
  96. &__item
  97. margin-top 10px
  98. font-weight 500
  99. font-size 18px
  100. cursor pointer
  101. &:hover
  102. background-color lightGrey
  103. &.active
  104. background-color thirdColor
  105. color white
  106. &__setting
  107. border-radius 10px
  108. padding 20px
  109. width 80%
  110. min-height 600px
  111. background-color off-white
  112. .personaldata
  113. &__text
  114. settingText()
  115. &__form
  116. margin 25px 0
  117. &__title
  118. margin-bottom 15px
  119. font-size 18px
  120. &__txtinput
  121. display block
  122. width auto
  123. border 1px solid thirdColor
  124. border-radius 5px
  125. &__button
  126. vertical-align top
  127. border 1px solid thirdColor
  128. border-radius 5px
  129. padding 8px 25px
  130. cursor pointer
  131. .calendar
  132. &__text
  133. settingText()
  134. &__title
  135. margin 15px 0
  136. font-size 18px
  137. &__link
  138. display inline-block
  139. border 1px solid grey
  140. border-radius 5px
  141. padding 10px 25px
  142. &__timezone
  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