Dashboard.styl 7.6KB

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