style.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. width: 100%;
  5. height: 100vh;
  6. font-family: monospace;
  7. }
  8. .wrapper {
  9. height: 90%;
  10. padding: 2% 7%;
  11. display: flex;
  12. flex-direction: row;
  13. }
  14. .left_menu {
  15. display: flex;
  16. flex-direction: column;
  17. flex: 15%;
  18. }
  19. .left_menu__wrapper {
  20. flex: 93%;
  21. overflow: auto;
  22. scrollbar-width: thin;
  23. scrollbar-color: #6493bc #b6c7d6;
  24. margin-bottom: 10%;
  25. }
  26. .left_menu__item {
  27. width: 98%;
  28. margin-bottom: 5%;
  29. border: 2px solid #b6c7d6;
  30. }
  31. .left_menu__item_title {
  32. font-size: 20px;
  33. font-weight: bold;
  34. color: #6493bc;
  35. padding: 2% 0 0 2%;
  36. margin-bottom: 3%;
  37. }
  38. .left_menu__item_rooms {
  39. margin-bottom: 5%;
  40. }
  41. .left_menu__item_link {
  42. display: block;
  43. padding-left: 7%;
  44. text-decoration: none;
  45. color: #2f444c;
  46. font-size: 18px;
  47. margin-bottom: 1%;
  48. }
  49. .left_menu__item_link:hover {
  50. text-decoration: 1.5px underline;
  51. }
  52. .left_menu__item_link__selected {
  53. display: block;
  54. padding-left: 2%;
  55. text-decoration: none;
  56. color: #2f444c;
  57. font-size: 18px;
  58. background: #b6c7d6;
  59. margin: 0 5% 1% 5%;
  60. }
  61. .left_menu__footer {
  62. display: flex;
  63. flex: 3%;
  64. font-size: 18px;
  65. color: #6493bc;
  66. text-decoration: none;
  67. }
  68. .main {
  69. flex: 68%;
  70. display: flex;
  71. flex-direction: column;
  72. margin-left: 2%;
  73. }
  74. .main_header {
  75. flex: 5%;
  76. display: flex;
  77. flex-direction: row;
  78. }
  79. .main_header__title {
  80. font-size: 34px;
  81. flex: 69%;
  82. font-weight: bold;
  83. color: #2f444c;
  84. }
  85. .main_header__search {
  86. flex: 30%;
  87. }
  88. .main_header__search_form {
  89. width: 100%;
  90. height: 70%;
  91. display: flex;
  92. flex-direction: row;
  93. }
  94. .main_header__search_input {
  95. width: 75%;
  96. height: 100%;
  97. border: 2px solid #b6c7d6;
  98. font-size: 18px;
  99. font-family: monospace;
  100. color: #2f444c;
  101. }
  102. .main_header__search_button {
  103. width: 20%;
  104. margin-left: 2%;
  105. height: 84%;
  106. border: 2px solid #b6c7d6;
  107. }
  108. .main_header__search_button__img {
  109. background: url(/svg/magnifier.svg);
  110. background-repeat: no-repeat;
  111. background-position: center;
  112. background-size: contain;
  113. width: 95%;
  114. height: 95%;
  115. border: none;
  116. }
  117. .main_header__search_button:hover {
  118. background: #b6c7d6;
  119. border: 2px solid #6493bc;
  120. }
  121. .main_middle {
  122. flex: 3%;
  123. display: flex;
  124. align-items: flex-end;
  125. flex-direction: row;
  126. font-size: 20px;
  127. font-weight: bold;
  128. }
  129. .main_middle__path {
  130. color: #6493bc;
  131. flex: 77.5%;
  132. }
  133. .main_middle__online {
  134. color: #b6c7d6;
  135. flex: 21.5%;
  136. text-align: end;
  137. }
  138. .main_middle__online_list {
  139. display: block;
  140. position: fixed;
  141. visibility: hidden;
  142. width: 14.25%;
  143. height: 80%;
  144. z-index: 2;
  145. color: white;
  146. overflow-y: auto;
  147. overflow-x: hidden;
  148. }
  149. .main_middle__online_point {
  150. display: flex;
  151. width: 98%;
  152. padding: 1%;
  153. background: #6493bc;
  154. cursor: default;
  155. }
  156. #menu__toggle:checked ~ .main_middle__online_list {
  157. visibility: visible;
  158. }
  159. #menu__toggle {
  160. display: none;
  161. }
  162. .main_payload {
  163. flex: 91%;
  164. border: 2px solid #b6c7d6;
  165. display: flex;
  166. flex-direction: column;
  167. overflow: auto;
  168. scrollbar-width: auto;
  169. scrollbar-color: #6493bc #b6c7d6;
  170. }
  171. .main_payload__block {
  172. display: flex;
  173. width: 95%;
  174. height: 4%;
  175. margin: 0.5% 0 0 2.5%;
  176. text-decoration: none;
  177. }
  178. .main_payload__block:hover {
  179. background: #b6c7d6;
  180. }
  181. .main_payload__block_folder {
  182. flex: 5%;
  183. background: url(/svg/folder.svg);
  184. background-repeat: no-repeat;
  185. background-position: center;
  186. background-size: contain;
  187. }
  188. .main_payload__block_message {
  189. flex: 5%;
  190. background: url(/svg/message.svg);
  191. background-repeat: no-repeat;
  192. background-position: center;
  193. background-size: contain;
  194. }
  195. .main_payload__block_text {
  196. flex: 93%;
  197. font-size: 20px;
  198. display: flex;
  199. align-items: center;
  200. color: #2f444c;
  201. }
  202. .main_payload__chat {
  203. display: flex;
  204. flex-direction: row;
  205. width: 95%;
  206. margin: 1% 0 0 2.5%;
  207. font-size: 18px;
  208. color: #821010;
  209. }
  210. .main_payload__chat_username {
  211. flex: 10%;
  212. margin-right: 1%;
  213. font-weight: bold;
  214. }
  215. .main_payload__chat_mail {
  216. flex: 89%;
  217. color: #2f444c;
  218. word-wrap: break-word;
  219. }
  220. .main_payload__error {
  221. width: 95%;
  222. font-size: 20px;
  223. margin: 2% 2% 0 2%;
  224. }
  225. @media screen and (max-width: 950px) {
  226. .wrapper {
  227. padding: 1% 2%;
  228. }
  229. .main_middle__path {
  230. flex: 67.5%;
  231. }
  232. .main_middle__online {
  233. flex: 31.5%;
  234. }
  235. .main_middle__online_list {
  236. width: 23%;
  237. }
  238. .main_header__search_input {
  239. font-size: 14px;
  240. }
  241. }
  242. @media screen and (max-width: 800px) {
  243. .left_menu__footer {
  244. font-size: 14px;
  245. }
  246. }
  247. @media screen and (max-height: 950px) {
  248. .main_payload__block_text {
  249. font-size: 18px;
  250. }
  251. }
  252. @media screen and (max-height: 750px) {
  253. .main_payload__block_text {
  254. font-size: 16px;
  255. }
  256. }
  257. @media screen and (max-height: 600px) {
  258. .main_payload__block_text {
  259. font-size: 14px;
  260. }
  261. }