Dashboard.styl 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. flexwrap()
  2. display flex
  3. flex-wrap wrap
  4. btnNotification()
  5. margin 20px 0
  6. border 1px solid thirdColor
  7. padding 10px 15px
  8. hoverfocus()
  9. background-color thirdColor
  10. color white
  11. bgandcolor()
  12. background-color transparent
  13. color thirdColor
  14. label()
  15. font-weight 500
  16. font-size 18px
  17. color thirdColor
  18. coloricon()
  19. .fa-gavel
  20. color responsable
  21. .fa-graduation-cap
  22. color gestionnaire
  23. .fa-pencil
  24. color contributeur
  25. .fa-eye
  26. color lecteur
  27. .dashboard
  28. margin-left 20px
  29. width 100%
  30. &__header
  31. flexwrap()
  32. align-items center
  33. justify-content space-between
  34. &__title
  35. width auto
  36. &__text
  37. margin 0
  38. &__advancedmode
  39. cursor pointer
  40. &__wkswrapper
  41. flexwrap()
  42. &__workspace
  43. margin-right 20px
  44. width calc(65% - 20px) //20px => margin-right
  45. &__title
  46. margin-bottom 20px
  47. font-size 40px
  48. font-weight 500
  49. color darkthirdColor
  50. &__detail
  51. margin-bottom 20px
  52. font-size 18px
  53. &__userstatut
  54. width 35%
  55. &__role
  56. flexwrap()
  57. margin 20px 0
  58. font-size 18px
  59. &__text
  60. margin-right 15px
  61. &__rank
  62. display flex
  63. &__icon
  64. margin-right 15px
  65. color gestionnaire
  66. &__notification
  67. font-size 18px
  68. &__btn
  69. btnNotification()
  70. cursor pointer
  71. &__subscribe
  72. &__btn
  73. btnNotification()
  74. &__submenu
  75. padding 0
  76. &__item
  77. padding 10px
  78. &__calltoaction
  79. flexwrap()
  80. margin 100px 0
  81. &__button
  82. &:active
  83. box-shadow inset 0px 0px 5px 2px #656565
  84. &__text
  85. &__icon
  86. font-size 30px
  87. .fa-comments-o, .fa-paperclip, .fa-calendar, .fa-file-text-o, .fa-folder-open-o, .fa-video-camera
  88. color white
  89. &__title
  90. font-size 18px
  91. color white
  92. .btnthread
  93. background-color threadColor
  94. .writefile
  95. background-color writefile
  96. .importfile
  97. background-color importfile
  98. .visioconf
  99. background-color grey-hover
  100. .calendar
  101. background-color calendar
  102. .explore
  103. background-color explore
  104. &__wksinfo
  105. flexwrap()
  106. margin-top 150px
  107. &__activity
  108. margin 0 35px 50px 0
  109. width 60%
  110. &__header
  111. display flex
  112. justify-content space-between
  113. align-items center
  114. margin-bottom 20px
  115. height 44px
  116. &__allread
  117. padding 10px 25px
  118. font-size 18px
  119. cursor pointer
  120. &__wrapper
  121. border 1px solid grey
  122. height 480px
  123. &__workspace
  124. display flex
  125. align-items center
  126. border-bottom 1px solid grey
  127. padding 15px
  128. cursor pointer
  129. &:hover
  130. background-color fourthColor
  131. &:nth-child(even)
  132. background-color grey-hover
  133. &:hover
  134. background-color fourthColor
  135. &__icon
  136. margin 0 25px
  137. font-size 25px
  138. &__name
  139. font-size 18px
  140. font-weight 500
  141. span
  142. font-weight 400
  143. &__more
  144. &__btn
  145. margin 15px
  146. padding 10px 25px
  147. cursor pointer
  148. &__memberlist
  149. margin 0 0 50px 0
  150. width 35%
  151. &__title
  152. margin-bottom 20px
  153. padding 6px
  154. height 45px
  155. &__wrapper
  156. position relative
  157. border 1px solid grey
  158. height 480px
  159. &__list
  160. margin 0
  161. padding 0
  162. list-style none
  163. height 400px
  164. overflow-Y scroll
  165. &__item
  166. display flex
  167. border-bottom 1px solid grey
  168. padding 10px 15px
  169. &:hover
  170. background-color fourthColor
  171. &:nth-last-child(1)
  172. border-bottom 0
  173. &:nth-child(even)
  174. background-color grey-hover
  175. &:hover
  176. background-color fourthColor
  177. &__avatar
  178. margin-right 20px
  179. & > img
  180. width 50px
  181. height 50px
  182. &__info
  183. &__name
  184. font-size 20px
  185. &__role
  186. font-size 18px
  187. &__delete
  188. font-size 20px
  189. color darkGrey
  190. cursor pointer
  191. &__btnadd
  192. border-top 1px solid grey
  193. padding 15px
  194. &__button
  195. display flex
  196. align-items center
  197. &__avatar
  198. display flex
  199. justify-content center
  200. align-items center
  201. margin-right 20px
  202. border 2px dashed grey
  203. border-radius 50%
  204. width 50px
  205. height 50px
  206. cursor pointer
  207. &__icon
  208. color grey
  209. font-size 25px
  210. &__text
  211. font-size 18px
  212. color fontColor
  213. cursor pointer
  214. &__form
  215. padding 15px
  216. flex-direction column
  217. height 100%
  218. width 100%
  219. background-color off-white
  220. &__close
  221. font-size 20px
  222. & > i
  223. cursor pointer
  224. &__member
  225. &__name
  226. .name__label
  227. margin 30px 0 20px 0
  228. label()
  229. .name__input
  230. margin-bottom 20px
  231. border 1px solid grey
  232. border-radius 10px
  233. padding 10px
  234. width 300px
  235. &__create
  236. display flex
  237. align-items center
  238. margin 15px 0
  239. &__role
  240. margin-bottom 15px
  241. coloricon()
  242. &__text
  243. margin 15px 0
  244. label()
  245. &__list
  246. margin 0
  247. padding 0
  248. list-style none
  249. &__item
  250. display flex
  251. align-items center
  252. margin 10px 25px 10px 0
  253. .item
  254. &__text
  255. display flex
  256. &__submitbtn
  257. display flex
  258. justify-content flex-end
  259. & > button
  260. padding 8px 30px
  261. cursor pointer
  262. &__moreinfo
  263. display flex
  264. justify-content space-between
  265. flexwrap wrap
  266. &__webdav
  267. margin-bottom 40px
  268. &__btn
  269. width 300px
  270. &__information
  271. width 550px
  272. &__calendar
  273. margin-bottom 100px
  274. &__wrapperBtn
  275. margin-right 300px
  276. &__btn
  277. width 300px
  278. &__information
  279. width 550px
  280. /**** MEDIAQUERIES *****/
  281. /**** MEDIA 576px & 1199px ****/
  282. // Regroup the common rules
  283. @media (min-width min-sm) and (max-width: max-lg)
  284. .dashboard
  285. &__workspace
  286. width auto
  287. &__userstatut
  288. width auto
  289. &__calltoaction
  290. justify-content center
  291. &__activity
  292. width 100%
  293. &__memberlist
  294. width 50%
  295. /**** MEDIA 992px & 1199px ****/
  296. @media (min-width: min-lg) and (max-width: max-lg)
  297. .dashboard
  298. margin-left 15px
  299. /**** MEDIA 768px & 991px ****/
  300. @media (min-width: min-md) and (max-width: max-md)
  301. .dashboard
  302. &__activity
  303. margin 25px 15px 25px 0
  304. /**** MEDIA 576px & 767px ****/
  305. @media (min-width: min-sm) and (max-width: max-sm)
  306. .dashboard
  307. &__activity
  308. margin 25px 15px 25px 0
  309. &__memberlist
  310. margin 50px 0
  311. width 90%
  312. &__moreinfo__webdav__information
  313. width 500px
  314. /**** MEDIA 575px ****/
  315. @media (max-width: max-xs)
  316. position()
  317. margin-left 10px
  318. width auto
  319. .dashboard
  320. margin-left 0
  321. &__title
  322. margin-left 10px
  323. &__workspace
  324. position()
  325. &__userstatut
  326. position()
  327. &__calltoaction
  328. justify-content center
  329. &__button
  330. margin 10px
  331. &__activity
  332. margin 25px 0
  333. width 100%
  334. &__header
  335. display block
  336. height auto
  337. margin 0 15px 20px 15px
  338. &__title
  339. margin-bottom 20px
  340. &__memberlist
  341. margin 50px 0
  342. width 100%
  343. &__title
  344. margin-left 10px
  345. &__wrapper
  346. height auto
  347. &__list
  348. height auto
  349. overflow-Y visible
  350. &__item:nth-last-child(1)
  351. border-bottom 1px solid grey
  352. &__btnadd
  353. border-top 0
  354. &__moreinfo
  355. &__webdav
  356. margin-left 10px
  357. &__information
  358. width 350px