adaptation.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. /* общие стили */
  2. @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
  3. *{
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. font-family: 'Open Sans', sans-serif;
  8. }
  9. .container {
  10. margin-left: auto;
  11. margin-right: auto;
  12. width: 1440px;
  13. }
  14. /* шапка */
  15. header {
  16. z-index: 1;
  17. position: fixed;
  18. left: 0;
  19. top: 0;
  20. height: 60px;
  21. width: 100%;
  22. padding-top: 10px;
  23. background: #fff;
  24. box-shadow: 0px 4px 25px rgba(205, 205, 205, 0.25);
  25. }
  26. .header__container {
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. margin-left: 40px;
  31. margin-right: 40px;
  32. }
  33. header ul {
  34. /* margin-right: 50px; */
  35. list-style: none;
  36. display: flex;
  37. justify-content: space-between;
  38. }
  39. header ul li {
  40. margin-left: 27px;
  41. }
  42. header a {
  43. text-decoration: none;
  44. font-size: 14px;
  45. font-weight: 400;
  46. color: #000;
  47. }
  48. header ul .link_active {
  49. margin-left: 0;
  50. padding-top: 2px;
  51. display: flex;
  52. flex-direction: column;
  53. justify-content: space-between;
  54. }
  55. header ul .link_active img {
  56. position: relative;
  57. top: 14px;
  58. }
  59. header ul .link_active a{
  60. font-weight: 600;
  61. color: #11344C;
  62. }
  63. /* фильтры заказов */
  64. .filters-container {
  65. width: 1146px;
  66. margin-right: auto;
  67. margin-left: auto;
  68. margin-top: 95px;
  69. display: flex;
  70. justify-content: space-between;
  71. flex-wrap: wrap;
  72. }
  73. .filter p {
  74. font-size: 14px;
  75. }
  76. .filter input,
  77. .filter select {
  78. width: 247px;
  79. height: 36px;
  80. margin-top: 6px;
  81. padding-left: 10px;
  82. border: 1px solid #C4C4C4;
  83. border-radius: 3px;
  84. font-weight: 400;
  85. font-size: 14px;
  86. }
  87. .filter select {
  88. padding-left: 5px;
  89. }
  90. .filter #dateFrom,
  91. .filter #dateTo {
  92. width: 103px;
  93. }
  94. .filter input::placeholder {
  95. color: #C4C4C4;
  96. }
  97. select option{
  98. padding: 10px 10px;
  99. color:#0066FF;
  100. display: block;
  101. }
  102. /* таблица с заказами */
  103. .orders_table {
  104. width: 1360px;
  105. margin-top: 40px;
  106. margin-left: auto;
  107. margin-right: auto;
  108. }
  109. .orders_table-container {
  110. min-height: 69vh;
  111. }
  112. .orders_table ul {
  113. width: 100%;
  114. list-style: none;
  115. display: flex;
  116. justify-content: space-between;
  117. }
  118. .orders_table .heading {
  119. border-bottom: 1px solid #E5E5E5;
  120. }
  121. .orders_table .heading li {
  122. font-weight: 700;
  123. font-size: 14px;
  124. padding-bottom: 16px;
  125. }
  126. .orders_table .order {
  127. padding-top: 15px;
  128. padding-bottom: 15px;
  129. border-bottom: 1px solid #E5E5E5;
  130. padding: 15px 10px;
  131. }
  132. .orders_table .order li {
  133. font-weight: 400;
  134. font-size: 14px;
  135. }
  136. .orders_table .order:hover {
  137. border: 1px solid #000;
  138. border-radius: 4px;
  139. cursor: pointer;
  140. }
  141. .orders_table .heading_num,
  142. .orders_table .order_num {
  143. width: 65px;
  144. }
  145. .orders_table .heading_status,
  146. .orders_table .order_status {
  147. width: 100px;
  148. }
  149. .orders_table .order .order_status {
  150. font-weight: 600;
  151. font-size: 14px;
  152. color: #27AE60;
  153. }
  154. .orders_table .order_status .green_circle {
  155. display: inline-block;
  156. margin-right: 5px;
  157. height: 8px;
  158. width: 8px;
  159. border-radius: 5px;
  160. background: #27AE60;
  161. }
  162. .orders_table .heading_date,
  163. .orders_table .order_date {
  164. width: 120px;
  165. text-align: center;
  166. }
  167. .orders_table .order_date p {
  168. margin-bottom: 5px;
  169. margin-top: 5px;
  170. }
  171. .orders_table .heading_duration,
  172. .orders_table .order_duration {
  173. width: 120px;
  174. }
  175. .orders_table .heading_tariff,
  176. .orders_table .order_tariff {
  177. width: 95px;
  178. }
  179. .orders_table .order .order_tariff {
  180. font-weight: 600;
  181. font-size: 14px;
  182. color: #A0A0A0;
  183. }
  184. .orders_table .order_tariff .gray_circle {
  185. display: inline-block;
  186. margin-right: 5px;
  187. height: 8px;
  188. width: 8px;
  189. border-radius: 5px;
  190. background: #A0A0A0;
  191. }
  192. .orders_table .heading_cust,
  193. .orders_table .order_cust {
  194. width: 130px;
  195. }
  196. .orders_table .heading_exec,
  197. .orders_table .order_exec {
  198. width: 110px;
  199. }
  200. .orders_table .heading_car,
  201. .orders_table .order_car {
  202. width: 95px;
  203. }
  204. .orders_table .heading_total,
  205. .orders_table .order_total {
  206. width: 80px;
  207. text-align: end;
  208. }
  209. .orders_table .footing {
  210. display: none;
  211. padding-top: 40px;
  212. }
  213. .text-bold {
  214. font-weight: 700 !important;
  215. }
  216. .orders_table .rate {
  217. color: #27AE60;
  218. }
  219. .orders_table .footing a {
  220. font-size: 14px;
  221. color: #0066FF;
  222. text-decoration: none;
  223. }
  224. .orders_table .footing .wishes {
  225. font-weight: 400;
  226. color: #9D9D9D;
  227. }
  228. .empty-list {
  229. width: auto;
  230. height: 614px;
  231. text-align: center;
  232. vertical-align: 100%;
  233. vertical-align: middle;
  234. }
  235. .empty-list p {
  236. line-height: 614px;
  237. font-weight: 400;
  238. font-size: 14px;
  239. }
  240. /* переключение страниц */
  241. .pages {
  242. margin-left: auto;
  243. margin-right: auto;
  244. display: flex;
  245. justify-content: space-between;
  246. }
  247. .pages p {
  248. font-weight: 400;
  249. font-size: 14px;
  250. }
  251. .pages .total {
  252. margin-top: 15px;
  253. }
  254. .pages .back {
  255. margin-right: 40px;
  256. text-decoration: none;
  257. font-weight: 600;
  258. font-size: 14px;
  259. color: #0066FF;
  260. }
  261. .pages .back.disabled {
  262. color: #A6A6A6;
  263. }
  264. .pages .next {
  265. width: 103px;
  266. height: 35px;
  267. background: linear-gradient(226.01deg, #00A4FF -13.24%, #0076C7 119.18%);
  268. border: none;
  269. cursor: pointer;
  270. border-radius: 6px;
  271. font-weight: 700;
  272. font-size: 14px;
  273. color: #fff;
  274. }
  275. .pages .next.disabled {
  276. background: #A6A6A6;
  277. }
  278. /* подвал */
  279. footer {
  280. height: 60px;
  281. width: 100%;
  282. margin-top: 55px;
  283. padding-top: 15px;
  284. background: #11344C;
  285. }
  286. footer .container {
  287. display: flex;
  288. align-items: center;
  289. }
  290. footer ul {
  291. margin-left: auto;
  292. list-style: none;
  293. display: flex;
  294. justify-content: space-between;
  295. align-items: center;
  296. }
  297. footer ul li {
  298. margin-left: 20px;
  299. }
  300. footer a {
  301. text-decoration: none;
  302. font-size: 14px;
  303. font-weight: 400;
  304. color: #fff;
  305. }
  306. /* SELECT */
  307. .select {
  308. position: relative;
  309. display: block;
  310. min-width: 220px;
  311. width: 100%;
  312. min-width: 247px;
  313. max-height: 36px;
  314. margin-top: 6px;
  315. }
  316. .select_not_active {
  317. z-index: -1;
  318. }
  319. .select__head {
  320. width: 100%;
  321. max-width: 100%;
  322. border: 1px solid #C4C4C4;
  323. border-radius: 3px;
  324. padding: 8px 10px;
  325. font-size: 14px;
  326. line-height: 18px;
  327. cursor: pointer;
  328. }
  329. .select__head::after {
  330. width: 9px;
  331. height: 6px;
  332. background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMSAxTDQuNSA1TDggMSIgc3Ryb2tlPSIjQTZBNkE2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K") ;
  333. position: absolute;
  334. right: 10px;
  335. bottom: 50%;
  336. transform: translateY(50%);
  337. content: '';
  338. display: block;
  339. transition: .2s ease-in;
  340. }
  341. .select__head.open::after {
  342. width: 9px;
  343. height: 2px;
  344. background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIyIiB2aWV3Qm94PSIwIDAgOSAyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMSAxTDQuNSAxTDggMSIgc3Ryb2tlPSIjQTZBNkE2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K") ;
  345. }
  346. .select__list {
  347. display: none;
  348. position: absolute;
  349. top: 100%;
  350. left: 0;
  351. right: 0;
  352. background: #fff;
  353. border: 1px solid #C4C4C4;
  354. border-bottom-right-radius: 3px;
  355. border-bottom-left-radius: 3px;
  356. margin-top: 5px;
  357. max-height: 205px;
  358. overflow-x: hidden;
  359. overflow-y: auto;
  360. margin: 0;
  361. padding: 0;
  362. font-size: 14px;
  363. scrollbar-color: dark;
  364. scrollbar-width: thin;
  365. overscroll-behavior: contain;
  366. }
  367. .select__list::-webkit-scrollbar {
  368. width: 7px;
  369. background-color: #F8F9FA;
  370. padding: 5px;
  371. }
  372. .select__list::-webkit-scrollbar-thumb {
  373. border-radius: 10px;
  374. background-color: #D9D9D9;
  375. }
  376. .select__list .select__item {
  377. position: relative;
  378. padding: 10px 12px;
  379. cursor: pointer;
  380. list-style-type: none;
  381. }
  382. .select__list .select__item:hover {
  383. background-color: rgba(224, 229, 231, 0.5);
  384. }
  385. .select__list div {
  386. max-width: 106px;
  387. border-bottom: 1px solid #C4C4C4;
  388. margin-left: 12px;
  389. }
  390. .menu-burger__header {
  391. display: none;
  392. }
  393. .header_nav {
  394. display: flex;
  395. }
  396. .header_nav ul {
  397. height: 26px;
  398. }
  399. .logo_hidden, .user_image_hidden, .user {
  400. display: none;
  401. }
  402. .line_hidden {
  403. display: none;
  404. height: 1px;
  405. width: 106px;
  406. background: #C4C4C4;
  407. margin-bottom: 16px;
  408. }
  409. div.scrollmenu {
  410. overflow: auto;
  411. white-space: nowrap;
  412. }
  413. div.scrollmenu a {
  414. display: inline-block;
  415. color: white;
  416. text-align: center;
  417. padding: 14px;
  418. text-decoration: none;
  419. }
  420. /* адаптация */
  421. @media all and (max-width: 1460px){
  422. /* (((((((((((((((((( */
  423. .container {
  424. width: 1146px;
  425. }
  426. }
  427. @media all and (max-width: 1240px) {
  428. .header__container {
  429. position: relative;
  430. top: 6px;
  431. }
  432. .user_image {
  433. display: none;
  434. }
  435. .logo_hidden, .menu-burger__header {
  436. display: flex;
  437. }
  438. .link_active img {
  439. display: none;
  440. }
  441. .header__nav {
  442. font-size: 14px;
  443. }
  444. ul.menu {
  445. margin: 0;
  446. margin-left: 20px;
  447. }
  448. ul.menu li {
  449. margin: 0;
  450. margin-bottom: 16px;
  451. padding: 0;
  452. }
  453. header ul .link_active a{
  454. font-weight:lighter;
  455. color: #000;
  456. }
  457. .line_hidden {
  458. display: block;
  459. }
  460. .user {
  461. display: flex;
  462. justify-content: center;
  463. margin-left: 20px;
  464. margin-top: 19px;
  465. margin-bottom: 15px;
  466. }
  467. .user img {
  468. margin-right: 10px;
  469. }
  470. .header__nav {
  471. display: block;
  472. position: absolute;
  473. top: 45px;
  474. right: 0;
  475. background: #fff;
  476. width: 177px;
  477. transition: all 0.4s ease;
  478. right:-100%;
  479. border: 1px solid #C4C4C4;
  480. border-radius: 6px;
  481. }
  482. .header__menu {
  483. display: block;
  484. }
  485. .header__nav.open-menu{
  486. right:0;
  487. }
  488. .header__menu li {
  489. margin: 40px 0px 40px 33px;
  490. font-size: 14px;
  491. }
  492. .menu-burger__header {
  493. position: relative;
  494. width: 40px;
  495. height: 35px;
  496. display: block;
  497. margin-left: 10px;
  498. }
  499. .menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
  500. height: 3px;
  501. width: 100%;
  502. position: absolute;
  503. background: #11344C;
  504. margin: 0 auto;
  505. border-radius: 10px;
  506. }
  507. .menu-burger__header span{
  508. top: 16px;
  509. }
  510. .menu-burger__header:after, .menu-burger__header:before{
  511. content: '';
  512. }
  513. .menu-burger__header:after{
  514. bottom: 5px;
  515. }
  516. .menu-burger__header:before{
  517. top: 5px;
  518. }
  519. .menu-burger__header.open-menu span {
  520. opacity:0;
  521. transition: 0.5s;
  522. }
  523. .menu-burger__header.open-menu:before {
  524. transform: rotate(38deg);
  525. top: 16px;
  526. transition: 0.4s;
  527. }
  528. .menu-burger__header.open-menu:after {
  529. transform: rotate(-38deg);
  530. bottom: 16px;
  531. transition: 0.4s;
  532. }
  533. header {
  534. height: 60px;
  535. }
  536. .content-wrapper {
  537. margin-top: 48px;
  538. }
  539. .fixed-pade {
  540. overflow: hidden;
  541. }
  542. .link_active {
  543. display: none;
  544. }
  545. .container {
  546. /* margin-left: 40px; */
  547. margin-right: auto;
  548. max-width: 90%;
  549. }
  550. .filters-container {
  551. width: 535px;
  552. }
  553. .filters-container .filter {
  554. margin-bottom: 40px;
  555. }
  556. }
  557. @media all and (max-width: 744px) and (min-width: 565px) {
  558. /* .container {
  559. width: fit-content;
  560. } */
  561. .filters-container {
  562. width: 535px;
  563. }
  564. .filters-container .filter {
  565. margin-bottom: 40px;
  566. }
  567. footer .container{
  568. display: block;
  569. }
  570. footer ul {
  571. display: block;
  572. margin-top: 32px;
  573. margin-bottom: 16px;
  574. }
  575. footer ul li{
  576. display: flex;
  577. margin: 0;
  578. margin-bottom: 16px;
  579. }
  580. footer {
  581. height: 190px;
  582. }
  583. }
  584. @media all and (max-width: 565px) {
  585. .container {
  586. margin-left: auto;
  587. margin-right: auto;
  588. width: 575px;
  589. }
  590. .filters-container {
  591. width: 247px;
  592. margin-right: auto;
  593. margin-left: auto;
  594. margin-top: 95px;
  595. }
  596. .filters-container .filter {
  597. margin-bottom: 19px;
  598. }
  599. div.scrollmenu {
  600. overflow: auto;
  601. white-space: nowrap;
  602. }
  603. .pages {
  604. display: block;
  605. }
  606. .pages .buttons{
  607. display: flex;
  608. justify-content: flex-end;
  609. align-items: center;
  610. margin-top: 48px;
  611. }
  612. footer .container{
  613. display: block;
  614. }
  615. footer ul {
  616. display: block;
  617. margin-top: 32px;
  618. margin-bottom: 16px;
  619. }
  620. footer ul li{
  621. display: flex;
  622. margin: 0;
  623. margin-bottom: 16px;
  624. }
  625. footer {
  626. height: 190px;
  627. }
  628. }