style.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  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: 97%;
  28. margin-bottom: 5%;
  29. border: 2px solid #b6c7d6;
  30. }
  31. .left_menu__mainitem {
  32. width: 97%;
  33. padding-left: 2px;
  34. margin-bottom: 5%;
  35. opacity: .5;
  36. }
  37. .left_menu__mainitem:hover {
  38. opacity: .8;
  39. }
  40. .left_menu__item_title {
  41. padding: 2% 0 0 2%;
  42. margin-bottom: 3%;
  43. }
  44. .left_menu__item_title_name {
  45. font-size: 20px;
  46. font-weight: bold;
  47. color: #6493bc;
  48. text-decoration: none;
  49. }
  50. .left_menu__item_rooms {
  51. margin-bottom: 5%;
  52. }
  53. .left_menu__item_link {
  54. display: block;
  55. padding-left: 7%;
  56. text-decoration: none;
  57. color: #2f444c;
  58. font-size: 18px;
  59. margin-bottom: 1%;
  60. }
  61. .left_menu__item_link:hover {
  62. text-decoration: 1.5px underline;
  63. }
  64. .left_menu__item_link__selected {
  65. display: block;
  66. padding-left: 2%;
  67. text-decoration: none;
  68. color: #2f444c;
  69. font-size: 18px;
  70. background: #b6c7d6;
  71. margin: 0 5% 1% 5%;
  72. }
  73. .left_menu__footer {
  74. display: flex;
  75. flex: 3%;
  76. font-size: 14px;
  77. color: #6493bc;
  78. text-decoration: none;
  79. }
  80. .main {
  81. flex: 68%;
  82. display: flex;
  83. flex-direction: column;
  84. margin-left: 2%;
  85. }
  86. .main_header {
  87. flex: 5%;
  88. display: flex;
  89. flex-direction: row;
  90. }
  91. .main_header__title {
  92. color: #2f444c;
  93. font-size: 34px;
  94. display: flex;
  95. flex: 69%;
  96. font-weight: bold;
  97. flex-flow: row nowrap;
  98. align-items: center;
  99. }
  100. .main_header__title_airplaine {
  101. background-image: url(/svg/airplane.svg);
  102. background-repeat: no-repeat;
  103. background-position: center;
  104. width: 6%;
  105. height: 50%;
  106. border: none;
  107. opacity: .5;
  108. margin-left: 1.5%;
  109. }
  110. .main_header__title_airplaine:hover {
  111. opacity: 1;
  112. }
  113. .main_header__title_arrows {
  114. background-image: url(/svg/arrows.svg);
  115. background-repeat: no-repeat;
  116. background-position: center;
  117. width: 6%;
  118. height: 50%;
  119. border: none;
  120. opacity: .5;
  121. margin-left: 1%;
  122. }
  123. .main_header__title_arrows:hover {
  124. opacity: 1;
  125. }
  126. .main_header__title_notify {
  127. background-image: url(/svg/notification.svg);
  128. background-repeat: no-repeat;
  129. background-position: center;
  130. width: 6%;
  131. height: 50%;
  132. border: none;
  133. opacity: .3;
  134. cursor: pointer;
  135. margin-left: 1%;
  136. }
  137. .main_header__search {
  138. flex: 30%;
  139. }
  140. .main_header__search_form {
  141. width: 100%;
  142. height: 70%;
  143. display: flex;
  144. flex-direction: column;
  145. }
  146. .main_header__search_block {
  147. flex: 90%;
  148. width: 100%;
  149. display: flex;
  150. flex-direction: row;
  151. }
  152. .main_header__search_input {
  153. width: 80%;
  154. height: 100%;
  155. border: 2px solid #b6c7d6;
  156. font-size: 18px;
  157. font-family: monospace;
  158. color: #2f444c;
  159. }
  160. .main_header__search_button {
  161. width: 20%;
  162. margin-left: 2%;
  163. height: 87%;
  164. border: 2px solid #b6c7d6;
  165. }
  166. .main_header__search_button__img {
  167. background: url(/svg/magnifier.svg);
  168. background-repeat: no-repeat;
  169. background-position: center;
  170. background-size: contain;
  171. width: 95%;
  172. height: 95%;
  173. border: none;
  174. }
  175. .main_header__search_button:hover {
  176. background: #b6c7d6;
  177. border: 2px solid #6493bc;
  178. }
  179. .main_header__search_checkbox {
  180. color: #6493bc;
  181. display: flex;
  182. flex-flow: row nowrap;
  183. align-items: center;
  184. justify-content: flex-start;
  185. }
  186. .main_middle {
  187. flex: 3%;
  188. display: flex;
  189. align-items: flex-end;
  190. flex-direction: row;
  191. font-size: 20px;
  192. font-weight: bold;
  193. }
  194. .main_middle__path {
  195. display: flex;
  196. color: #6493bc;
  197. flex: 77.5%;
  198. }
  199. .main_middle__path_aright {
  200. background-image: url(/svg/a-right.svg);
  201. background-repeat: no-repeat;
  202. background-position: center;
  203. width: 3%;
  204. opacity: .5;
  205. margin: 0 1% 0 1%;
  206. }
  207. .main_middle__path_aright:hover {
  208. opacity: 1;
  209. }
  210. .main_middle__path_aright_f {
  211. background-image: url(/svg/a-right.svg);
  212. background-repeat: no-repeat;
  213. background-position: center;
  214. width: 3%;
  215. opacity: .3;
  216. margin: 0 1% 0 1%;
  217. }
  218. .main_middle__path_aleft {
  219. background-image: url(/svg/a-left.svg);
  220. background-repeat: no-repeat;
  221. background-position: center;
  222. width: 3%;
  223. opacity: .5;
  224. margin-left: 1%;
  225. }
  226. .main_middle__path_aleft:hover {
  227. opacity: 1;
  228. }
  229. .main_middle__path_aleft_f {
  230. background-image: url(/svg/a-left.svg);
  231. background-repeat: no-repeat;
  232. background-position: center;
  233. width: 3%;
  234. opacity: .3;
  235. margin-left: 1%;
  236. }
  237. .main_middle__online {
  238. color: #b6c7d6;
  239. flex: 21.5%;
  240. text-align: end;
  241. }
  242. .main_middle__online_list {
  243. display: block;
  244. position: fixed;
  245. visibility: hidden;
  246. width: 14.25%;
  247. height: 80%;
  248. z-index: 2;
  249. color: white;
  250. overflow-y: auto;
  251. overflow-x: hidden;
  252. }
  253. .main_middle__online_point {
  254. display: flex;
  255. width: 98%;
  256. padding: 1%;
  257. background: #6493bc;
  258. cursor: default;
  259. }
  260. #menu__toggle:checked ~ .main_middle__online_list {
  261. visibility: visible;
  262. }
  263. #menu__toggle {
  264. display: none;
  265. }
  266. .main_payload {
  267. flex: 91%;
  268. border: 2px solid #b6c7d6;
  269. display: flex;
  270. flex-direction: column;
  271. overflow: auto;
  272. scrollbar-width: auto;
  273. scrollbar-color: #6493bc #b6c7d6;
  274. }
  275. .main_payload__block {
  276. display: flex;
  277. width: 95%;
  278. height: 4%;
  279. margin: 0.5% 0 0 2.5%;
  280. text-decoration: none;
  281. }
  282. .main_payload__block:hover {
  283. background: #b6c7d6;
  284. }
  285. .main_payload__block_folder {
  286. flex: 5%;
  287. background-image: url(/svg/folder.svg);
  288. background-repeat: no-repeat;
  289. background-position: center;
  290. background-size: contain;
  291. }
  292. .main_payload__block_message {
  293. flex: 5%;
  294. background-image: url(/svg/message.svg);
  295. background-repeat: no-repeat;
  296. background-position: center;
  297. background-size: contain;
  298. }
  299. .main_payload__block_text {
  300. flex: 93%;
  301. font-size: 20px;
  302. display: flex;
  303. align-items: center;
  304. color: #2f444c;
  305. }
  306. .main_payload__chat {
  307. display: flex;
  308. flex-direction: row;
  309. width: 95%;
  310. margin: 1% 0 0 2.5%;
  311. font-size: 18px;
  312. }
  313. .main_payload__chat_username {
  314. text-decoration: none;
  315. flex: 10%;
  316. margin-right: 1%;
  317. font-weight: bold;
  318. }
  319. .main_payload__chat_username:hover {
  320. background-color: #d4d4d4;
  321. }
  322. .main_payload__chat_mail {
  323. flex: 89%;
  324. color: #2f444c;
  325. word-wrap: break-word;
  326. }
  327. .main_payload__error {
  328. width: 95%;
  329. font-size: 20px;
  330. text-align: center;
  331. margin: 2% 2% 0 2%;
  332. }
  333. .main_payload__about {
  334. width: 95%;
  335. font-size: 20px;
  336. margin: 2% 2% 0 2%;
  337. }
  338. @media screen and (max-width: 950px) {
  339. .wrapper {
  340. padding: 1% 2%;
  341. }
  342. .main_middle__path {
  343. flex: 67.5%;
  344. }
  345. .main_middle__online {
  346. flex: 31.5%;
  347. }
  348. .main_middle__online_list {
  349. width: 23%;
  350. }
  351. .main_header__search_input {
  352. font-size: 14px;
  353. }
  354. .left_menu__footer {
  355. font-size: 12px;
  356. }
  357. .main_middle__path_aright {
  358. width: 5%;
  359. }
  360. .main_middle__path_aleft {
  361. width: 5%;
  362. }
  363. .main_middle__path_aright_f {
  364. width: 5%;
  365. }
  366. .main_middle__path_aleft_f {
  367. width: 5%;
  368. }
  369. }
  370. @media screen and (max-width: 1200px) {
  371. .main_header__title_airplaine {
  372. width: 8%;
  373. }
  374. }
  375. @media screen and (max-height: 950px) {
  376. .main_payload__block_text {
  377. font-size: 18px;
  378. }
  379. }
  380. @media screen and (max-height: 750px) {
  381. .main_payload__block_text {
  382. font-size: 16px;
  383. }
  384. }
  385. @media screen and (max-height: 600px) {
  386. .main_payload__block_text {
  387. font-size: 14px;
  388. }
  389. }