index.styl 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. @import "../../node_modules/tracim_lib/src/css/Variable.styl"
  2. bgandcolor()
  3. border-color threadColor
  4. color off-white
  5. background-color threadColor
  6. bgandcolorhover()
  7. border-color darkenThread
  8. background-color darkenThread
  9. box-shadow shadow-all-side-thread
  10. .wsContentThread
  11. width 1100px
  12. &__header
  13. color white
  14. background-color threadColor
  15. &__editionmode
  16. display none
  17. &__icon
  18. .fa-comments-o
  19. color white
  20. &__option
  21. &__menu
  22. .selectStatus
  23. margin-right 15px
  24. &__app
  25. display flex
  26. flex-flow column
  27. width 100%
  28. &__messagelist
  29. flex 1 1 auto
  30. margin 0
  31. padding 15px 35px
  32. list-style none
  33. overflow-y auto
  34. background-color off-white
  35. &__item
  36. &__avatar
  37. position relative
  38. top 40px
  39. left -20px
  40. & > img
  41. width 45px
  42. height 45px
  43. border-radius 25px
  44. &__createhour
  45. margin-left 35px
  46. opacity 0.7
  47. font-size 14px
  48. &__content
  49. display inline-block
  50. border 1px solid grey
  51. border-radius 5px
  52. padding 15px
  53. background-color off-white
  54. font-size 15px
  55. &__texteditor
  56. flex 0 1 auto
  57. border-top 1px solid grey
  58. padding 35px 20px
  59. &__textinput
  60. width 85%
  61. & > textarea
  62. border-radius 5px
  63. border 1.5px solid grey
  64. padding 5px
  65. height 80px
  66. width 100%
  67. &__wrapper
  68. display flex
  69. flex-direction column
  70. justify-content center
  71. &__advancedtext
  72. &__btn
  73. border-color threadColor
  74. color threadColor
  75. cursor pointer
  76. &:hover, &:focus
  77. bgandcolorhover()
  78. &__submit
  79. &__btn
  80. display flex
  81. cursor pointer
  82. bgandcolor()
  83. width 118px
  84. &:hover, &:focus
  85. bgandcolorhover()
  86. .received
  87. text-align right
  88. .wsContentGeneric__messagelist__item
  89. &__avatar
  90. left 20px
  91. &__createhour
  92. margin-left 0
  93. margin-right 35px
  94. &__content
  95. color white
  96. background-color threadColor
  97. .activeEditionTitle
  98. .wsContentThread
  99. &__header
  100. &__editionmode
  101. display block
  102. &__title
  103. display none
  104. .activeAdvancedText
  105. .wsContentThread__app
  106. &__texteditor
  107. padding 10px
  108. height 500px
  109. &__textinput
  110. width 100%
  111. &__wrapper
  112. flex-direction row
  113. width 100%
  114. &__advancedtext
  115. margin-right 20px
  116. @media (min-width: min-lg) and (max-width: max-lg)
  117. .wsContentThread
  118. width 900px
  119. @media (min-width: min-md) and (max-width: max-md)
  120. .wsContentThread
  121. width 700px
  122. &__app__texteditor__textinput
  123. width 75%
  124. @media (min-width: min-sm) and (max-width: max-sm)
  125. .wsContentThread
  126. top 69px
  127. width 500px
  128. &__app__texteditor__textinput
  129. width 70%
  130. @media (max-width: max-xs)
  131. .wsContentThread
  132. top 69px
  133. width 100%
  134. box-shadow none
  135. z-index 1
  136. &__app
  137. &__texteditor
  138. padding 55px 20px 30px 20px
  139. &__textinput
  140. width 60%