index.styl 4.5KB

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