Dashboard.styl 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @import "../../node_modules/tracim_frontend_lib/src/css/Variable.styl"
  2. flexwrap()
  3. display flex
  4. flex-wrap wrap
  5. .dashboard
  6. width 100%
  7. &__header
  8. flexwrap()
  9. align-items center
  10. justify-content space-between
  11. &__title
  12. width auto
  13. &__text
  14. margin 0
  15. &__advancedmode
  16. cursor pointer
  17. &__workspace-wrapper
  18. flexwrap()
  19. &__workspace
  20. margin-right 20px
  21. width calc(65% - 20px) //20px => margin-right
  22. &__title
  23. margin-bottom 20px
  24. font-size 40px
  25. font-weight 500
  26. color darkthirdColor
  27. &__detail
  28. margin-bottom 20px
  29. font-size 18px
  30. &__calltoaction
  31. flexwrap()
  32. margin 100px 0
  33. &__button
  34. &:active
  35. box-shadow inset 0px 0px 5px 2px #656565
  36. &__text
  37. color white
  38. &__icon
  39. font-size 30px
  40. &__title
  41. font-size 18px
  42. &__workspaceInfo
  43. flexwrap()
  44. /**** MEDIAQUERIES *****/
  45. /**** MEDIA 576px & 1199px ****/
  46. // Regroup the common rules
  47. @media (min-width min-sm) and (max-width: max-lg)
  48. .dashboard
  49. &__workspace
  50. width auto
  51. &__userstatut
  52. width auto
  53. &__calltoaction
  54. justify-content center
  55. /**** MEDIA 992px & 1199px ****/
  56. @media (min-width: min-lg) and (max-width: max-lg)
  57. .dashboard
  58. margin-left 15px
  59. /**** MEDIA 576px & 767px ****/
  60. @media (min-width: min-sm) and (max-width: max-sm)
  61. .dashboard
  62. &__activity
  63. margin 25px 15px 25px 0
  64. /**** MEDIA 575px ****/
  65. @media (max-width: max-xs)
  66. .dashboard
  67. margin-left 0
  68. &__title
  69. margin-left 10px
  70. &__workspace
  71. margin-left 10px
  72. width auto
  73. &__userstatut
  74. margin-left 10px
  75. width auto
  76. &__calltoaction
  77. justify-content center
  78. &__button
  79. margin 10px