index.styl 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. &__content
  64. color darkGrey
  65. &__version
  66. margin-top 40px
  67. background-color grey-hover
  68. &__btn
  69. padding 5px 25px
  70. border-radius 5px
  71. width 145px
  72. color white
  73. font-size 17px
  74. background-color htmlColor
  75. & > i
  76. margin-right 10px
  77. color darkGrey
  78. font-size 22px
  79. &:hover, &:focus
  80. btnState()
  81. &__date
  82. color fontColor
  83. font-size 17px
  84. &__texteditor
  85. &__advancedtext
  86. &__btn
  87. color fontColor
  88. border-color htmlColor
  89. &:hover ,&:focus, &:visited, &:active
  90. btnState()
  91. border-color darkHtmlColor
  92. box-shadow none
  93. &__submit
  94. &__btn
  95. background-color htmlColor
  96. color white
  97. &:hover, &:focus, &:visited, &:active
  98. background-color darkHtmlColor
  99. .messagelistOpen
  100. .page__contentpage__messagelist
  101. flex 0
  102. min-height 0
  103. .received
  104. .page__contentpage__messagelist__item__content
  105. background-color htmlColor
  106. @media (min-width: max-xs) and (max-width: max-lg)
  107. .page
  108. &__contentpage
  109. display block
  110. overflow-Y scroll
  111. &__textnote
  112. margin-right 10px
  113. padding 10px 20px
  114. width auto
  115. overflow-Y hidden
  116. &__latestversion
  117. padding-top 10px
  118. &__wrapper
  119. width auto
  120. &__texteditor
  121. &__simpletext
  122. display inline-flex
  123. width 60%
  124. &__submit
  125. display inline-flex
  126. margin 10px 0
  127. &__btn
  128. display flex
  129. margin-left 35px
  130. &__icon
  131. margin-left 15px
  132. @media (min-width: min-lg) and (max-width: max-lg)
  133. .page
  134. width 692px
  135. &__contentpage__texteditor__simpletext
  136. margin-left 15px
  137. @media (min-width: min-md) and (max-width: max-md)
  138. .page
  139. width 768px
  140. &__contentpage__texteditor__simpletext
  141. margin-left 25px
  142. @media (min-width: min-sm) and (max-width: max-sm)
  143. .page
  144. top 69px
  145. width 576px
  146. height calc(100% - 69px)
  147. &__contentpage__texteditor__simpletext
  148. margin-left 10px
  149. @media (max-width: max-xs)
  150. .page
  151. top 70px
  152. height calc(100% - 70px)
  153. width 100%
  154. box-shadow none
  155. &__contentpage
  156. display block
  157. overflow-Y scroll
  158. &__textnote
  159. margin-right 10px
  160. width auto
  161. overflow-Y hidden
  162. font-size 15px
  163. &__wrapper
  164. width auto
  165. &__messagelist
  166. &__item
  167. padding 0 35px 20px 30px
  168. &__version
  169. &__btn
  170. font-size 17px
  171. vertical-align middle
  172. &__dateversion
  173. font-size 15px
  174. &__texteditor
  175. &__simpletext
  176. margin 10px 0
  177. display flex
  178. width 95%
  179. margin-left 10px
  180. &__submit
  181. &__btn
  182. display flex
  183. margin 0 auto
  184. &__icon
  185. margin-left 10px