Dashboard.styl 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. & > i
  222. cursor pointer
  223. &__member
  224. &__name
  225. .name__label
  226. margin 30px 0 20px 0
  227. label()
  228. .name__input
  229. margin-bottom 20px
  230. border 1px solid grey
  231. border-radius 10px
  232. padding 10px
  233. width 300px
  234. &__create
  235. display flex
  236. align-items center
  237. margin 15px 0
  238. &__role
  239. margin-bottom 15px
  240. coloricon()
  241. &__text
  242. margin 15px 0
  243. label()
  244. &__list
  245. margin 0
  246. padding 0
  247. list-style none
  248. &__item
  249. display flex
  250. align-items center
  251. margin 10px 25px 10px 0
  252. .item
  253. &__text
  254. display flex
  255. &__submitbtn
  256. display flex
  257. justify-content flex-end
  258. & > button
  259. padding 8px 30px
  260. cursor pointer
  261. &__moreinfo
  262. display flex
  263. justify-content space-between
  264. flexwrap wrap
  265. &__webdav
  266. margin-bottom 40px
  267. &__btn
  268. width 300px
  269. &__information
  270. width 550px
  271. &__calendar
  272. margin-bottom 100px
  273. &__wrapperBtn
  274. margin-right 300px
  275. &__btn
  276. width 300px
  277. &__information
  278. width 550px
  279. /**** MEDIAQUERIES *****/
  280. /**** MEDIA 576px & 1199px ****/
  281. // Regroup the common rules
  282. @media (min-width min-sm) and (max-width: max-lg)
  283. .dashboard
  284. &__workspace
  285. width auto
  286. &__userstatut
  287. width auto
  288. &__calltoaction
  289. justify-content center
  290. &__activity
  291. width 100%
  292. &__memberlist
  293. width 50%
  294. /**** MEDIA 992px & 1199px ****/
  295. @media (min-width: min-lg) and (max-width: max-lg)
  296. .dashboard
  297. margin-left 15px
  298. /**** MEDIA 768px & 991px ****/
  299. @media (min-width: min-md) and (max-width: max-md)
  300. .dashboard
  301. &__activity
  302. margin 25px 15px 25px 0
  303. /**** MEDIA 576px & 767px ****/
  304. @media (min-width: min-sm) and (max-width: max-sm)
  305. .dashboard
  306. &__activity
  307. margin 25px 15px 25px 0
  308. &__memberlist
  309. margin 50px 0
  310. width 90%
  311. &__moreinfo__webdav__information
  312. width 500px
  313. /**** MEDIA 575px ****/
  314. @media (max-width: max-xs)
  315. position()
  316. margin-left 10px
  317. width auto
  318. .dashboard
  319. margin-left 0
  320. &__title
  321. margin-left 10px
  322. &__workspace
  323. position()
  324. &__userstatut
  325. position()
  326. &__calltoaction
  327. justify-content center
  328. &__button
  329. margin 10px
  330. &__activity
  331. margin 25px 0
  332. width 100%
  333. &__header
  334. display block
  335. height auto
  336. margin 0 15px 20px 15px
  337. &__title
  338. margin-bottom 20px
  339. &__memberlist
  340. margin 50px 0
  341. width 100%
  342. &__title
  343. margin-left 10px
  344. &__wrapper
  345. height auto
  346. &__list
  347. height auto
  348. overflow-Y visible
  349. &__item:nth-last-child(1)
  350. border-bottom 1px solid grey
  351. &__btnadd
  352. border-top 0
  353. &__moreinfo
  354. &__webdav
  355. margin-left 10px
  356. &__information
  357. width 350px