index.styl 4.3KB

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