main.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. font-family: Arial, sans-serif;
  5. background-color: #222;
  6. color: #eee;
  7. }
  8. .meteo__nav {
  9. display: flex;
  10. background-color: #333;
  11. }
  12. .meteo__nav-btn {
  13. flex: 1;
  14. padding: 15px;
  15. border: none;
  16. color: #eee;
  17. cursor: pointer;
  18. outline: none;
  19. background: linear-gradient(#232422, #161715);
  20. font-size: 16px;
  21. transition: background 0.2s ease;
  22. border-bottom: 2px solid #28A3E9;
  23. }
  24. .meteo__nav-btn:hover {
  25. background: #555;
  26. }
  27. .meteo__nav-btn--active {
  28. background: linear-gradient(#279FE3, #1C5A7C);
  29. border-bottom: none;
  30. }
  31. .meteo__tab {
  32. padding: 20px;
  33. background-color: #171816;
  34. }
  35. .meteo__tab--hidden {
  36. display: none;
  37. }
  38. .meteo__content {
  39. display: flex;
  40. flex-wrap: wrap;
  41. gap: 2px;
  42. }
  43. @media (max-width: 1306px) {
  44. .meteo__content {
  45. flex-direction: column;
  46. }
  47. }
  48. .mode-selector {
  49. display: flex;
  50. margin-bottom: 20px;
  51. }
  52. .mode-selector__btn {
  53. padding: 10px 20px;
  54. border: none;
  55. background: #444;
  56. color: #eee;
  57. cursor: pointer;
  58. outline: none;
  59. font-size: 14px;
  60. margin-right: 10px;
  61. transition: background 0.2s ease;
  62. }
  63. .mode-selector__btn:hover {
  64. background: #555;
  65. }
  66. .mode-selector__btn--active {
  67. background: #555;
  68. }
  69. .input-form__group {
  70. display: flex;
  71. }
  72. .input-form__label {
  73. display: flex;
  74. align-items: center;
  75. width: 40%;
  76. padding: 20px 37px 20px 14px;
  77. font-size: 18px;
  78. color: #ECEBBE;
  79. background: #232420;
  80. white-space: wrap;
  81. }
  82. .input-form__field {
  83. width: 60%;
  84. padding: 18px;
  85. font-size: 26px;
  86. background: #2F312B;
  87. color: #eee;
  88. border: none;
  89. outline: none;
  90. }
  91. .input-form__field:focus {
  92. border-color: #777;
  93. }
  94. .meteo-btn {
  95. padding: 20px;
  96. border: none;
  97. border-radius: 5px;
  98. color: #ECEBBE;
  99. cursor: pointer;
  100. font-size: 20px;
  101. margin-top: 10px;
  102. transition: 0.2s ease;
  103. }
  104. .meteo-btn--primary {
  105. background: linear-gradient(#279FE3, #1C5A7C);
  106. }
  107. .meteo-btn--red {
  108. background: linear-gradient(#FE452C, #BA2101);
  109. }
  110. .meteo-btn:hover:not(:disabled) {
  111. opacity: 0.8;
  112. }
  113. .meteo-btn:disabled {
  114. background: #444;
  115. cursor: not-allowed;
  116. }
  117. .result-panel {
  118. flex: 1;
  119. padding: 10px;
  120. }
  121. .result-panel:last-child {
  122. border: 2px solid #28A3E9;
  123. border-radius: 5px;
  124. }
  125. .result-panel__header {
  126. background: linear-gradient(#242523, #171816);
  127. border-bottom: 2px solid #28A3E9;
  128. display: flex;
  129. justify-content: center;
  130. align-items: center;
  131. height: 65px;
  132. }
  133. .result-panel__title {
  134. color: #ECEBBE;
  135. font-size: 16px;
  136. }
  137. .result-panel__subtitle {
  138. color: #fff;
  139. font-size: 24px;
  140. }
  141. .result-panel__dates {
  142. display: flex;
  143. gap: 2px;
  144. height: 30px;
  145. margin-bottom: 40px;
  146. }
  147. .result-panel__date {
  148. background-color: #2F312B;
  149. flex: 1;
  150. font-size: 24px;
  151. text-align: center;
  152. height: 65px;
  153. padding: 16px;
  154. box-sizing: border-box;
  155. }
  156. .result-panel__dt-list {
  157. display: flex;
  158. width: 100%;
  159. }
  160. .result-panel__dt:first-child {
  161. margin-left: 27%;
  162. }
  163. .result-panel__dt:nth-child(2) {
  164. margin-left: 26%;
  165. }
  166. .result-panel__dt:last-child {
  167. margin-left: 28%;
  168. }
  169. .meteo-table {
  170. background: #333;
  171. border: 1px solid #555;
  172. max-height: 532px;
  173. overflow-y: auto;
  174. }
  175. .meteo-table__content {
  176. width: 100%;
  177. border-collapse: collapse;
  178. }
  179. .meteo-table__cell {
  180. border: 1px solid #171816;
  181. background-color: #2F312B;
  182. padding: 5px;
  183. width: 20%;
  184. height: 55px;
  185. text-align: center;
  186. }
  187. .meteo-table__cell:first-child {
  188. width: 10%;
  189. }
  190. .log {
  191. margin-top: 20px;
  192. max-height: 725px;
  193. overflow: auto;
  194. }
  195. .log__table {
  196. width: 100%;
  197. border-collapse: collapse;
  198. }
  199. .log__cell {
  200. border: 1px solid #555;
  201. padding: 8px;
  202. text-align: center;
  203. height: 55px;
  204. }
  205. .log__cell--header {
  206. background: #444;
  207. }/*# sourceMappingURL=main.css.map */