adaptation.css 13 KB

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