index.styl 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. @import "../../node_modules/tracim_lib/src/css/Variable.styl"
  2. .wsFilePageHtml
  3. &__header
  4. background-color htmlColor
  5. &__editionmode
  6. display none
  7. &__icon
  8. .fa-file-word-o
  9. color white
  10. &__contentpage
  11. &__textnote
  12. margin 10px
  13. border-radius 10px
  14. padding 25px
  15. height 100%
  16. background-color off-white
  17. &__latestversion
  18. text-align right
  19. opacity 0.7
  20. &__text
  21. font-size 14px
  22. &__edition
  23. display none
  24. &__messagelist
  25. min-height 300px
  26. &__item
  27. &__content
  28. color darkGrey
  29. &__version
  30. margin-top 40px
  31. background-color grey-hover
  32. &__btn
  33. padding 5px 25px
  34. border-radius 5px
  35. width 145px
  36. color white
  37. font-size 17px
  38. background-color htmlColor
  39. & > i
  40. margin-right 10px
  41. color darkGrey
  42. font-size 22px
  43. &:hover
  44. background-color darkHtmlColor
  45. &:focus
  46. background-color darkHtmlColor
  47. &__date
  48. color fontColor
  49. font-size 17px
  50. &__texteditor
  51. &__simpletext
  52. &__input
  53. &:focus
  54. color htmlColor
  55. border-color htmlColor
  56. &__submit
  57. &__btn
  58. border-color htmlColor
  59. background-color htmlColor
  60. color white
  61. &:hover
  62. border-color htmlColor
  63. background-color htmlColor
  64. &:focus
  65. border-color htmlColor
  66. background-color htmlColor
  67. .messagelistOpen
  68. .wsFilePageHtml__contentpage__messagelist
  69. flex 0
  70. min-height 0
  71. .received
  72. .wsFilePageHtml__contentpage__messagelist__item__content
  73. background-color htmlColor
  74. @media (min-width: max-xs) and (max-width: max-lg)
  75. .wsFilePageHtml
  76. &__contentpage
  77. display block
  78. overflow-Y scroll
  79. &__textnote
  80. margin-right 10px
  81. padding 10px 20px
  82. width auto
  83. overflow-Y hidden
  84. &__latestversion
  85. padding-top 10px
  86. &__wrapper
  87. width auto
  88. &__texteditor
  89. &__simpletext
  90. display inline-flex
  91. width 60%
  92. &__submit
  93. display inline-flex
  94. margin 10px 0
  95. &__btn
  96. display flex
  97. margin-left 35px
  98. &__icon
  99. margin-left 15px
  100. @media (min-width: min-lg) and (max-width: max-lg)
  101. .wsFilePageHtml
  102. width 692px
  103. &__contentpage__texteditor__simpletext
  104. margin-left 15px
  105. @media (min-width: min-md) and (max-width: max-md)
  106. .wsFilePageHtml
  107. width 768px
  108. &__contentpage__texteditor__simpletext
  109. margin-left 25px
  110. @media (min-width: min-sm) and (max-width: max-sm)
  111. .wsFilePageHtml
  112. top 69px
  113. width 576px
  114. height calc(100% - 69px)
  115. &__contentpage__texteditor__simpletext
  116. margin-left 10px
  117. @media (max-width: max-xs)
  118. .wsFilePageHtml
  119. top 70px
  120. height calc(100% - 70px)
  121. width 100%
  122. box-shadow none
  123. &__contentpage
  124. display block
  125. overflow-Y scroll
  126. &__textnote
  127. margin-right 10px
  128. width auto
  129. overflow-Y hidden
  130. font-size 15px
  131. &__wrapper
  132. width auto
  133. &__messagelist
  134. &__item
  135. padding 0 35px 20px 30px
  136. &__version
  137. &__btn
  138. font-size 17px
  139. vertical-align middle
  140. &__dateversion
  141. font-size 15px
  142. &__texteditor
  143. &__simpletext
  144. margin 10px 0
  145. display flex
  146. width 95%
  147. margin-left 10px
  148. &__submit
  149. &__btn
  150. display flex
  151. margin 0 auto
  152. &__icon
  153. margin-left 10px