PageText.styl 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. .wsFileText
  2. width 1200px
  3. height calc(100% - 85px)
  4. overflow-Y auto
  5. &__header
  6. background-color orange
  7. &__contentpage
  8. display flex
  9. overflow-Y auto
  10. &__textnote
  11. margin 10px
  12. border-radius 10px
  13. padding 25px
  14. width 55%
  15. height 100%
  16. background-color off-white
  17. &__latestversion
  18. text-align right
  19. opacity 0.7
  20. &__title
  21. margin 10px 0
  22. font-size 30px
  23. color orange
  24. &__data
  25. flex-grow 1
  26. flex-shrink 1
  27. flex-basis 0
  28. &__wrapper
  29. margin 10px
  30. border-radius 10px
  31. width 45%
  32. height 100%
  33. background-color off-white
  34. &__header
  35. border-top-left-radius 10px
  36. border-top-right-radius 10px
  37. padding 10px 0
  38. text-align center
  39. font-size 20px
  40. color dark-grey
  41. background-color hover-grey
  42. &__messagelist
  43. min-height 300px
  44. &__item
  45. padding 0 25px 20px 35px
  46. &__content
  47. color dark-grey
  48. &__version
  49. margin-top 40px
  50. background-color hover-grey
  51. &__btn
  52. margin-left 15px
  53. padding 5px 25px
  54. border-radius 5px
  55. width 145px
  56. color white
  57. font-size 17px
  58. background-color orange
  59. & > i
  60. margin-right 10px
  61. color dark-grey
  62. font-size 22px
  63. &:hover
  64. background-color dark-orange
  65. &:focus
  66. background-color dark-orange
  67. &__date
  68. color orange
  69. font-size 17px
  70. &__texteditor
  71. &__simpletext
  72. &__input
  73. &:focus
  74. color orange
  75. border-color orange
  76. &__submit
  77. &__btn
  78. border-color orange
  79. background-color orange
  80. color white
  81. &:hover
  82. border-color orange
  83. background-color orange
  84. &:focus
  85. border-color orange
  86. background-color orange
  87. /***** CLASS MESSAGELISTSIZE *****/
  88. .messagelistOpen
  89. .wsFileText__contentpage__messagelist
  90. flex 0
  91. min-height 0
  92. /*********************************/
  93. /***** SENDER RECEIVER *****/
  94. .received
  95. .wsFileText__contentpage__messagelist__item__content
  96. background-color orange
  97. /*****************************/
  98. /**** MEDIA QUERIES ****/
  99. @media (min-width: max-xs) and (max-width: max-lg)
  100. .wsFileText
  101. &__contentpage
  102. display block
  103. overflow-Y scroll
  104. &__textnote
  105. margin-right 10px
  106. padding 10px 20px
  107. width auto
  108. overflow-Y hidden
  109. &__latestversion
  110. padding-top 10px
  111. &__wrapper
  112. width auto
  113. &__texteditor
  114. &__simpletext
  115. display inline-flex
  116. display ms-inline-flex
  117. width 60%
  118. &__submit
  119. display inline-flex
  120. display ms-inline-flex
  121. margin 10px 0
  122. &__btn
  123. display flex
  124. margin-left 35px
  125. &__icon
  126. margin-left 15px
  127. /**** MEDIA 992px & 1199px ****/
  128. @media (min-width: min-lg) and (max-width: max-lg)
  129. .wsFileText
  130. width 692px
  131. &__contentpage__texteditor__simpletext
  132. margin-left 15px
  133. /******************************/
  134. /**** MEDIA 768px & 991px ****/
  135. @media (min-width: min-md) and (max-width: max-md)
  136. .wsFileText
  137. width 768px
  138. &__contentpage__texteditor__simpletext
  139. margin-left 25px
  140. /******************************/
  141. /**** MEDIA 576px & 767px ****/
  142. @media (min-width: min-sm) and (max-width: max-sm)
  143. .wsFileText
  144. top 69px
  145. width 576px
  146. height calc(100% - 69px)
  147. &__contentpage__texteditor__simpletext
  148. margin-left 10px
  149. /******************************/
  150. /**** MEDIA 575px ****/
  151. @media (max-width: max-xs)
  152. .wsFileText
  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