PageText.styl 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. &__content
  46. color dark-grey
  47. &__version
  48. margin-top 40px
  49. background-color hover-grey
  50. &__btn
  51. padding 5px 25px
  52. border-radius 5px
  53. width 145px
  54. color white
  55. font-size 17px
  56. background-color orange
  57. & > i
  58. margin-right 10px
  59. color dark-grey
  60. font-size 22px
  61. &:hover
  62. background-color dark-orange
  63. &:focus
  64. background-color dark-orange
  65. &__date
  66. color orange
  67. font-size 17px
  68. &__texteditor
  69. &__simpletext
  70. &__input
  71. &:focus
  72. color orange
  73. border-color orange
  74. &__submit
  75. &__btn
  76. border-color orange
  77. background-color orange
  78. color white
  79. &:hover
  80. border-color orange
  81. background-color orange
  82. &:focus
  83. border-color orange
  84. background-color orange
  85. /***** CLASS MESSAGELISTSIZE *****/
  86. .messagelistOpen
  87. .wsFileText__contentpage__messagelist
  88. flex 0
  89. min-height 0
  90. /*********************************/
  91. /***** SENDER RECEIVER *****/
  92. .received
  93. .wsFileText__contentpage__messagelist__item__content
  94. background-color orange
  95. /*****************************/
  96. /**** MEDIA QUERIES ****/
  97. @media (min-width: max-xs) and (max-width: max-lg)
  98. .wsFileText
  99. &__contentpage
  100. display block
  101. overflow-Y scroll
  102. &__textnote
  103. margin-right 10px
  104. padding 10px 20px
  105. width auto
  106. overflow-Y hidden
  107. &__latestversion
  108. padding-top 10px
  109. &__wrapper
  110. width auto
  111. &__texteditor
  112. &__simpletext
  113. display inline-flex
  114. display ms-inline-flex
  115. width 60%
  116. &__submit
  117. display inline-flex
  118. display ms-inline-flex
  119. margin 10px 0
  120. &__btn
  121. display flex
  122. margin-left 35px
  123. &__icon
  124. margin-left 15px
  125. /**** MEDIA 992px & 1199px ****/
  126. @media (min-width: min-lg) and (max-width: max-lg)
  127. .wsFileText
  128. width 692px
  129. &__contentpage__texteditor__simpletext
  130. margin-left 15px
  131. /******************************/
  132. /**** MEDIA 768px & 991px ****/
  133. @media (min-width: min-md) and (max-width: max-md)
  134. .wsFileText
  135. width 768px
  136. &__contentpage__texteditor__simpletext
  137. margin-left 25px
  138. /******************************/
  139. /**** MEDIA 576px & 767px ****/
  140. @media (min-width: min-sm) and (max-width: max-sm)
  141. .wsFileText
  142. top 69px
  143. width 576px
  144. height calc(100% - 69px)
  145. &__contentpage__texteditor__simpletext
  146. margin-left 10px
  147. /******************************/
  148. /**** MEDIA 575px ****/
  149. @media (max-width: max-xs)
  150. .wsFileText
  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