Dashboard.styl 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. flexwrap()
  2. display flex
  3. flex-wrap wrap
  4. btnNotification()
  5. margin 20px 0
  6. border 1px solid blue
  7. padding 10px 15px
  8. hoverfocus()
  9. background-color blue
  10. color white
  11. bgandcolor()
  12. background-color transparent
  13. color blue
  14. label()
  15. font-weight 500
  16. font-size 18px
  17. color blue
  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 darkBlue
  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 folder-hover
  130. &:nth-child(even)
  131. background-color grey-hover
  132. &:hover
  133. background-color folder-hover
  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 folder-hover
  170. &:nth-last-child(1)
  171. border-bottom 0
  172. &:nth-child(even)
  173. background-color grey-hover
  174. &:hover
  175. background-color folder-hover
  176. &__avatar
  177. margin-right 20px
  178. width 50px
  179. height 50px
  180. &__info
  181. &__name
  182. font-size 20px
  183. &__role
  184. font-size 18px
  185. &__delete
  186. font-size 20px
  187. color blue
  188. cursor pointer
  189. &__btnadd
  190. border-top 1px solid grey
  191. padding 15px
  192. &__button
  193. display flex
  194. align-items center
  195. &__avatar
  196. display flex
  197. justify-content center
  198. align-items center
  199. margin-right 20px
  200. border 2px dashed grey
  201. border-radius 50%
  202. width 50px
  203. height 50px
  204. cursor pointer
  205. &__icon
  206. color grey
  207. font-size 25px
  208. &__text
  209. font-size 18px
  210. color blue
  211. cursor pointer
  212. &__form
  213. padding 15px
  214. flex-direction column
  215. height 100%
  216. width 100%
  217. background-color off-white
  218. &__close
  219. font-size 20px
  220. cursor pointer
  221. &__member
  222. &__name
  223. .name__label
  224. margin 30px 0 20px 0
  225. label()
  226. .name__input
  227. margin-bottom 20px
  228. border 1px solid grey
  229. border-radius 10px
  230. padding 10px
  231. width 300px
  232. &__create
  233. display flex
  234. align-items center
  235. margin 15px 0
  236. &__role
  237. margin-bottom 15px
  238. coloricon()
  239. &__text
  240. margin 15px 0
  241. label()
  242. &__list
  243. display flex
  244. align-items center
  245. flex-wrap wrap
  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