adaptation.css 13 KB

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