Timeline.styl 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. @import '../../css/Variable.styl'
  2. .timeline
  3. display flex
  4. flex-direction row
  5. margin 10px 10px 10px 5px
  6. border-radius 10px
  7. width 100%
  8. height 100%
  9. &__header
  10. display flex
  11. flex-direction column
  12. border-radius 10px 0 0 10px
  13. width 50px
  14. background-color grey-hover
  15. font-size 20px
  16. color darkGrey
  17. cursor pointer
  18. &__icon
  19. text-align center
  20. &__title
  21. transform rotate(-90deg)
  22. &__body
  23. display flex
  24. flex-direction column
  25. width 100%
  26. &__messagelist
  27. flex 1 1 auto
  28. margin-bottom 0
  29. padding-left 0
  30. border-bottom 1px solid grey
  31. background-color off-white
  32. overflow-y auto
  33. list-style none
  34. &__item
  35. padding 0 25px 0 35px
  36. &__avatar
  37. position relative
  38. top 60px
  39. left -20px
  40. border-radius 50%
  41. width 45px
  42. height 45px
  43. & > img
  44. width 45px
  45. height 45px
  46. border-radius 25px
  47. &__authorandhour
  48. margin-left 35px
  49. opacity 0.7
  50. font-size 14px
  51. &__content
  52. display inline-block
  53. border 1px solid grey
  54. border-radius 5px
  55. padding 15px
  56. background-color off-white
  57. font-size 15px
  58. &__version
  59. display flex
  60. justify-content space-between
  61. margin 20px 0 20px 0
  62. padding 10px 15px
  63. width 100%
  64. background-color lightGrey
  65. &__btn
  66. display flex
  67. justify-content center
  68. padding 5px 20px
  69. border-radius 5px
  70. width 145px
  71. color white
  72. font-size 17px
  73. cursor pointer
  74. & > i
  75. margin-right 10px
  76. color off-white
  77. font-size 22px
  78. &__date
  79. color fontColor
  80. font-size 17px
  81. margin auto 15px
  82. &__texteditor
  83. flex 0 1 auto
  84. margin 20px
  85. &__textinput
  86. width 100%
  87. & > textarea
  88. border-radius 5px
  89. border 1.5px solid grey
  90. padding 5px
  91. height 80px
  92. width 100%
  93. &__wrapper
  94. display flex
  95. align-items center
  96. justify-content flex-end
  97. margin-top 10px
  98. &__advancedtext
  99. margin-right 15px
  100. cursor pointer
  101. &__submit
  102. &__btn
  103. display inline-block
  104. cursor pointer
  105. &__icon
  106. display inline-block
  107. margin-left 20px
  108. .sent
  109. text-align right
  110. .timeline__body__messagelist__item
  111. &__wrapper
  112. display flex
  113. flex-direction row-reverse
  114. &__avatar
  115. left 20px
  116. &__authorandhour
  117. margin-left 0
  118. margin-right 35px
  119. .mce-btn-group:not(:first-child)
  120. border-left none!important //remove the left borders of the wysiwyg for a better aesthetic result
  121. @media (min-width: min-lg) and (max-width: max-lg)
  122. .timeline
  123. margin 0
  124. @media (min-width: min-sm) and (max-width: max-md)
  125. .timeline
  126. display block
  127. margin 0
  128. @media (max-width: max-xs)
  129. .timeline
  130. display block
  131. margin 0
  132. &__messagelist__version__date
  133. font-size 15px