Commit 321cea72357b27dd53e9ce777b1902021614f055
Merge remote-tracking branch 'origin/master'
Showing
4 changed files
with
206 additions
and
24 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -86,6 +86,9 @@ |
86 | 86 | <header> |
87 | 87 | <div class="container"> |
88 | 88 | <a href="<?php echo Url::home(); ?>" class="main"></a> |
89 | + <div class="hidden-xs hidden-sm oldsite"> | |
90 | + <a href="http://baccara.com.ua/" target="_blank">Старая версия сайта</a> | |
91 | + </div> | |
89 | 92 | </div> |
90 | 93 | </header> |
91 | 94 | <section class="menu"> | ... | ... |
frontend/views/new-collections/index.php
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 | </div> |
36 | 36 | <div class="textile_bottom tb2"> |
37 | 37 | <div class="content"> |
38 | - <div class="simple-spoiler just-closed" style="height: 50px"> | |
38 | + <div class="simple-spoiler just-closed"> | |
39 | 39 | <div class="spoiler-inner"><?php echo Seo::widget(['row' => Seo::SEO_TEXT]); ?></div> |
40 | 40 | </div> |
41 | 41 | <div class="just-more"> | ... | ... |
frontend/views/site/index.php
... | ... | @@ -27,7 +27,12 @@ |
27 | 27 | ?> |
28 | 28 | |
29 | 29 | <div class="cont"> |
30 | - <section class="carousel"> | |
30 | + <section class="picmobile hidden-lg hidden-md"> | |
31 | + <div class="picture2"> | |
32 | + <img src="/storage/slider/Ris2.jpg"/> | |
33 | + </div> | |
34 | + </section> | |
35 | + <section class="carousel hidden-xs hidden-sm"> | |
31 | 36 | <div class="row"> |
32 | 37 | <?php |
33 | 38 | echo SliderWidget::widget([ |
... | ... | @@ -143,6 +148,7 @@ |
143 | 148 | <div class="title">Мебель</div> |
144 | 149 | </a> |
145 | 150 | </div> |
151 | + <div style="clear:both;"></div> | |
146 | 152 | </section> |
147 | 153 | <section class="main-box5"> |
148 | 154 | <div class="simple-spoiler just-closed" style="height: 50px"> | ... | ... |
frontend/web/css/style.css
... | ... | @@ -17,6 +17,7 @@ body{ |
17 | 17 | overflow: hidden; |
18 | 18 | } |
19 | 19 | .container.cont{ |
20 | + width:100%; | |
20 | 21 | max-width:100%; |
21 | 22 | } |
22 | 23 | a{ |
... | ... | @@ -65,7 +66,10 @@ header{ |
65 | 66 | background-repeat: no-repeat; |
66 | 67 | position:relative; |
67 | 68 | } |
68 | -header .container{position:relative;height:100%;} | |
69 | +header .container{ | |
70 | + position: relative; | |
71 | + height: 100%; | |
72 | + max-width: 960px;} | |
69 | 73 | header a.main{ |
70 | 74 | width: 100%; |
71 | 75 | height: 100%; |
... | ... | @@ -318,7 +322,7 @@ footer .socbuts a:hover{ |
318 | 322 | } |
319 | 323 | .carousel{ |
320 | 324 | max-width: 960px; |
321 | - margin: 0 auto; | |
325 | + margin: 0 auto!important; | |
322 | 326 | position: relative; |
323 | 327 | } |
324 | 328 | .link_big{ |
... | ... | @@ -372,7 +376,7 @@ footer .socbuts a:hover{ |
372 | 376 | padding: 4px 0px 3px 0px; |
373 | 377 | } |
374 | 378 | .main-box4{ |
375 | - min-height: 620px; | |
379 | + min-height: 410px; | |
376 | 380 | text-align: center; |
377 | 381 | padding-top: 32px; |
378 | 382 | max-width: 1064px; |
... | ... | @@ -419,13 +423,11 @@ footer .socbuts a:hover{ |
419 | 423 | .main-box5{ |
420 | 424 | font-size: 15px; |
421 | 425 | line-height: 24px; |
422 | - padding-top: 48px; | |
423 | - margin-top: -70px; | |
426 | + margin-top: 35px; | |
424 | 427 | margin-bottom: 50px; |
425 | 428 | max-width: 960px; |
426 | 429 | margin-left: auto; |
427 | 430 | margin-right: auto; |
428 | - | |
429 | 431 | } |
430 | 432 | .main-box5 p{ |
431 | 433 | padding: 0; |
... | ... | @@ -539,6 +541,8 @@ footer .socbuts a:hover{ |
539 | 541 | color: #838383; |
540 | 542 | font-family: 'Lato-Medium'; |
541 | 543 | font-size: 14px; |
544 | + max-height: 145px; | |
545 | + overflow: hidden; | |
542 | 546 | } |
543 | 547 | .post_cont .more{ |
544 | 548 | position: absolute; |
... | ... | @@ -645,6 +649,9 @@ footer .socbuts a:hover{ |
645 | 649 | color:#a9a9a9; |
646 | 650 | padding: 20px 0; |
647 | 651 | margin-top:8px; |
652 | + max-width: 980px; | |
653 | + margin-left: auto; | |
654 | + margin-right: auto; | |
648 | 655 | } |
649 | 656 | .nav_up a{ |
650 | 657 | color:#a9a9a9; |
... | ... | @@ -726,6 +733,19 @@ footer .socbuts a:hover{ |
726 | 733 | position: absolute; |
727 | 734 | right: 0; |
728 | 735 | } |
736 | +.oldsite a{ | |
737 | + color: #fff; | |
738 | + text-transform: uppercase; | |
739 | + border: 2px solid #fff; | |
740 | + width: 100%; | |
741 | + text-align: center; | |
742 | + padding-top: 7px; | |
743 | + padding-bottom: 6px; | |
744 | +} | |
745 | +.oldsite a:hover{ | |
746 | + border:2px solid black; | |
747 | + background-color:black; | |
748 | +} | |
729 | 749 | .showroom img{width:100%;max-width:700px;margin:25px auto; margin-bottom: 50px;padding-top:1px;} |
730 | 750 | .no_btm{margin-bottom: 0!important;padding-bottom: 0!important;} |
731 | 751 | .no_top{margin-top: 0!important;padding-top: 0!important;} |
... | ... | @@ -756,7 +776,7 @@ footer .socbuts a:hover{ |
756 | 776 | } |
757 | 777 | .textile_bottom{ |
758 | 778 | float: left; |
759 | - margin: 80px auto; | |
779 | + margin: 40px auto; | |
760 | 780 | width: 100%; |
761 | 781 | } |
762 | 782 | .textile_bottom.tb1{ |
... | ... | @@ -934,7 +954,7 @@ footer .socbuts a:hover{ |
934 | 954 | .tile_1{ |
935 | 955 | width: 100%; |
936 | 956 | max-width: 227px; |
937 | - height: 250px; | |
957 | + height: 240px; | |
938 | 958 | position: relative; |
939 | 959 | text-align: center; |
940 | 960 | text-transform: uppercase; |
... | ... | @@ -943,11 +963,11 @@ footer .socbuts a:hover{ |
943 | 963 | .tile_2{ |
944 | 964 | width: 100%; |
945 | 965 | max-width: 305px; |
946 | - height: 315px; | |
947 | 966 | position: relative; |
948 | 967 | text-align: center; |
949 | 968 | text-transform: uppercase; |
950 | 969 | margin: 0 auto; |
970 | + margin-bottom: 20px; | |
951 | 971 | } |
952 | 972 | .tile_1 .picture, .tile_2 .picture{ |
953 | 973 | width:100%; |
... | ... | @@ -965,7 +985,7 @@ footer .socbuts a:hover{ |
965 | 985 | .tile_1 .title_1, .tile_2 .title_1{ |
966 | 986 | font-size: 15px; |
967 | 987 | padding-bottom: 1px; |
968 | - padding-top: 14px; | |
988 | + padding-top: 15px; | |
969 | 989 | } |
970 | 990 | .tile_1 .title_2, .tile_2 .title_2{font-size: 10px;} |
971 | 991 | .tile_1 a, .tile_1 a:hover, .tile_2 a, .tile_2 a:hover, .tile3 a:hover, .tile4 a:hover{color:#414143!important;} |
... | ... | @@ -999,8 +1019,8 @@ footer .socbuts a:hover{ |
999 | 1019 | .tile3{ |
1000 | 1020 | text-align: center; |
1001 | 1021 | overflow: hidden; |
1002 | - margin-bottom: 40px; | |
1003 | - margin-top: 30px; | |
1022 | + margin-bottom: 15px; | |
1023 | + margin-top: 0px; | |
1004 | 1024 | padding: 0!important; |
1005 | 1025 | } |
1006 | 1026 | .tile3 .picture{ |
... | ... | @@ -1094,7 +1114,7 @@ footer .socbuts a:hover{ |
1094 | 1114 | .button2 a.punkt, .button2 a.punkt:hover{ |
1095 | 1115 | background-color: white!important; |
1096 | 1116 | color: #414143!important; |
1097 | - width: 89%!important; | |
1117 | + width: 195px!important; | |
1098 | 1118 | display: flex; |
1099 | 1119 | margin: 0 auto; |
1100 | 1120 | justify-content: center; |
... | ... | @@ -1315,10 +1335,10 @@ a.active{ |
1315 | 1335 | background-repeat: no-repeat; |
1316 | 1336 | } |
1317 | 1337 | .mat_pics{ |
1318 | - margin: 43px auto 210px auto; | |
1338 | + margin: 40px auto 210px auto; | |
1319 | 1339 | float: none; |
1320 | 1340 | width: 100%; |
1321 | - max-width: 1020px; | |
1341 | + max-width: 1022px; | |
1322 | 1342 | } |
1323 | 1343 | .mat_pic{ |
1324 | 1344 | margin-bottom: 25px; |
... | ... | @@ -1336,6 +1356,7 @@ a.active{ |
1336 | 1356 | } |
1337 | 1357 | .brand_logo{ |
1338 | 1358 | text-align: center; |
1359 | + padding-bottom: 30px; | |
1339 | 1360 | } |
1340 | 1361 | .brand_logo img{ |
1341 | 1362 | max-width: 960px; |
... | ... | @@ -1372,6 +1393,17 @@ a.active{ |
1372 | 1393 | font-weight: 600; |
1373 | 1394 | text-transform: uppercase; |
1374 | 1395 | } |
1396 | +.brand .about_brand { | |
1397 | + margin-top: 40px!important; | |
1398 | +} | |
1399 | +.spoiler-inner div{ | |
1400 | + font-family: 'Lato-Medium'!important; | |
1401 | + font-size: 14px!important; | |
1402 | +} | |
1403 | +.titles .line2{ | |
1404 | + max-width: 960px; | |
1405 | + margin: 0 auto; | |
1406 | +} | |
1375 | 1407 | .title4{ |
1376 | 1408 | text-transform: uppercase; |
1377 | 1409 | font-family: 'Lato-Light'; |
... | ... | @@ -1634,7 +1666,7 @@ p.right{text-align: right;} |
1634 | 1666 | .shares-blog{ |
1635 | 1667 | list-style: none; |
1636 | 1668 | text-align: center; |
1637 | - padding: 7px 0px; | |
1669 | + padding: 30px 0px; | |
1638 | 1670 | } |
1639 | 1671 | .shares-blog li a { |
1640 | 1672 | width: 42px; |
... | ... | @@ -2084,7 +2116,7 @@ p.right{text-align: right;} |
2084 | 2116 | max-width: 865px; |
2085 | 2117 | float: none; |
2086 | 2118 | margin: 0 auto; |
2087 | - padding-bottom: 140px; | |
2119 | + padding-bottom: 70px; | |
2088 | 2120 | } |
2089 | 2121 | .title9 { |
2090 | 2122 | color: #847e7e; |
... | ... | @@ -2133,6 +2165,7 @@ p.right{text-align: right;} |
2133 | 2165 | left: 0; |
2134 | 2166 | position: absolute; |
2135 | 2167 | width: 100%; |
2168 | + top:0px; | |
2136 | 2169 | } |
2137 | 2170 | .comments-wr { |
2138 | 2171 | margin-top: 0px!important; |
... | ... | @@ -2171,6 +2204,7 @@ p.right{text-align: right;} |
2171 | 2204 | font-size: 12px; |
2172 | 2205 | } |
2173 | 2206 | .product .pic{ |
2207 | + padding-left: 25px; | |
2174 | 2208 | max-width: 630px; |
2175 | 2209 | max-height: 390px; |
2176 | 2210 | overflow: hidden; |
... | ... | @@ -2193,6 +2227,30 @@ p.right{text-align: right;} |
2193 | 2227 | .hidemenu.show a{ |
2194 | 2228 | background-image: url('../images/hidem2.png'); |
2195 | 2229 | } |
2230 | +.picmobile{ | |
2231 | + width: 100%; | |
2232 | + padding-top: 10px; | |
2233 | + margin: 0 auto; | |
2234 | + margin-bottom: -15px; | |
2235 | + padding-left: 15px; | |
2236 | + padding-right: 15px; | |
2237 | +} | |
2238 | +.picmobile .picture2{ | |
2239 | + max-height: 175px; | |
2240 | + display: flex; | |
2241 | + align-items: center; | |
2242 | + justify-content: center; | |
2243 | + overflow: hidden; | |
2244 | + max-width: 308px; | |
2245 | + margin: 0 auto; | |
2246 | + position: relative; | |
2247 | +} | |
2248 | +.picmobile .picture2 img{ | |
2249 | + width: 100%; | |
2250 | + height: 100%; | |
2251 | + max-height: 175px; | |
2252 | + max-width: 308px; | |
2253 | +} | |
2196 | 2254 | /**/ |
2197 | 2255 | @media (min-width: 1200px){ |
2198 | 2256 | .dropd_menu{left:0px;} |
... | ... | @@ -2210,11 +2268,12 @@ p.right{text-align: right;} |
2210 | 2268 | } |
2211 | 2269 | } |
2212 | 2270 | @media (min-width: 992px) and (max-width: 1199px) { |
2271 | + .dropd_menu{left:0px;} | |
2213 | 2272 | .tile3 { |
2214 | 2273 | text-align: center; |
2215 | 2274 | overflow: hidden; |
2216 | - margin-bottom: 40px; | |
2217 | - margin-top: 30px; | |
2275 | + margin-bottom: 0px; | |
2276 | + margin-top: 15px; | |
2218 | 2277 | padding: 0!important; |
2219 | 2278 | margin-left: 5px; |
2220 | 2279 | margin-right: 5px; |
... | ... | @@ -2265,6 +2324,46 @@ p.right{text-align: right;} |
2265 | 2324 | } |
2266 | 2325 | } |
2267 | 2326 | @media (max-width: 991px) { |
2327 | + .actions_cont { | |
2328 | + display: flex; | |
2329 | + flex-wrap: wrap; | |
2330 | + justify-content: center; | |
2331 | + overflow: hidden; | |
2332 | + max-width: 1036px; | |
2333 | + margin: 0 auto; | |
2334 | + padding-right: 42px; | |
2335 | + padding: 0; | |
2336 | + } | |
2337 | + .main-box1{ | |
2338 | + padding-bottom: 10px; | |
2339 | + } | |
2340 | + .main-box2{ | |
2341 | + padding-bottom: 30px; | |
2342 | + padding-top: 15px; | |
2343 | + } | |
2344 | + .dates_but{ | |
2345 | + margin:0; | |
2346 | + text-align:center; | |
2347 | + margin: 25px 0px; | |
2348 | + } | |
2349 | + .blocks_2 .col-md-4.col-sm-6{ | |
2350 | + padding: 0; | |
2351 | + } | |
2352 | + .button2 a.punkt, .button2 a.punkt:hover{ | |
2353 | + width: 85%!important; | |
2354 | + line-height: 13px; | |
2355 | + font-size: 10px; | |
2356 | + } | |
2357 | + .button2 .spoiler{ | |
2358 | + width: 85%!important; | |
2359 | + } | |
2360 | + .button2 a.punkt:before, .button3 a.punkt:before{ | |
2361 | + background-size: 60%; | |
2362 | + right: 8px; | |
2363 | + } | |
2364 | + .textile_bottom{ | |
2365 | + margin: 30px auto; | |
2366 | + } | |
2268 | 2367 | .menu .container ul li:hover .dropd_menu{ |
2269 | 2368 | display:none; |
2270 | 2369 | } |
... | ... | @@ -2330,8 +2429,9 @@ p.right{text-align: right;} |
2330 | 2429 | .note .picture{margin: 0 auto 25px;} |
2331 | 2430 | .note{margin: 17px 0px 75px 0px;} |
2332 | 2431 | .main-box5 { |
2333 | - padding-top: 35px; | |
2432 | + margin: 0 auto; | |
2334 | 2433 | max-width: 587px; |
2434 | + padding: 20px 0 45px; | |
2335 | 2435 | } |
2336 | 2436 | .menu li{ |
2337 | 2437 | min-width:100%; |
... | ... | @@ -2371,11 +2471,63 @@ p.right{text-align: right;} |
2371 | 2471 | } |
2372 | 2472 | } |
2373 | 2473 | @media (max-width: 729px) { |
2374 | - .post_cont{justify-content: center;} | |
2375 | - .post_cont .text{width:100%;margin:20px} | |
2474 | + .blog_block a img{ | |
2475 | + max-height: 175px; | |
2476 | + width: 100%; | |
2477 | + max-width: 308px; | |
2478 | + } | |
2479 | + .main-box1 a img{ | |
2480 | + max-width:305px; | |
2481 | + } | |
2482 | + .post_cont{ | |
2483 | + justify-content: center; | |
2484 | + overflow: hidden; | |
2485 | + max-width: 308px; | |
2486 | + margin: 0 auto;} | |
2487 | + .post_cont .picture{ | |
2488 | + max-height: 175px; | |
2489 | + display: flex; | |
2490 | + align-items: center; | |
2491 | + overflow: hidden; | |
2492 | + } | |
2493 | + .post_cont .text{ | |
2494 | + width: 100%; | |
2495 | + max-width: 308px; | |
2496 | + margin: 20px auto 35px;} | |
2376 | 2497 | .dates_but {margin:0 auto;text-align: center;} |
2377 | 2498 | .post_1.contract img {width: initial;} |
2378 | 2499 | .brand_logo img, .tile3 .picture img, .tile4 .picture img{width:100%;} |
2500 | + .main-box3 ul{ | |
2501 | + padding: 0 15px; | |
2502 | + max-width: 330px; | |
2503 | + margin: 10px auto; | |
2504 | + } | |
2505 | + .main-box4 .picture{ | |
2506 | + width: 100%; | |
2507 | + padding-top: 48.21%; | |
2508 | + max-width: 305px; | |
2509 | + padding-top: 45%!important; | |
2510 | + max-height: 175px!important; | |
2511 | + } | |
2512 | + .main-box5 .simple-spoiler{ | |
2513 | + padding: 0 15px; | |
2514 | + } | |
2515 | + .main-box5 .just-more, .main-box5 .more{ | |
2516 | + padding-left: 15px; | |
2517 | + padding-right: 15px; | |
2518 | + max-width: 335px; | |
2519 | + margin: 0 auto; | |
2520 | + } | |
2521 | + .main-box5 .spoiler-inner{ | |
2522 | + max-width: 305px; | |
2523 | + margin: 0 auto; | |
2524 | + } | |
2525 | + .main-box2 .post .title{ | |
2526 | + max-width: 308px; | |
2527 | + margin: 0 auto; | |
2528 | + margin-bottom: 15px; | |
2529 | + } | |
2530 | + .main-box1 .title{margin-bottom: 0px;} | |
2379 | 2531 | } |
2380 | 2532 | @media (min-width: 705px){ |
2381 | 2533 | .tiles{ |
... | ... | @@ -2398,4 +2550,25 @@ p.right{text-align: right;} |
2398 | 2550 | @media (max-width: 379px) { |
2399 | 2551 | .main-box1 img{width:100%;} |
2400 | 2552 | .blog_link img{width: 100%;} |
2553 | + .shares-blog li a { | |
2554 | + width: 25px; | |
2555 | + height: 25px; | |
2556 | + background-size: cover; | |
2557 | + display: block; | |
2558 | + background-position: center; | |
2559 | + background-repeat: no-repeat; | |
2560 | + } | |
2561 | + .link_big a{font-size:13px;} | |
2562 | + .oldsite_down a{font-size:11px;} | |
2563 | + header{ | |
2564 | + background-size: 70%; | |
2565 | + } | |
2566 | + footer .fleft p{ | |
2567 | + background-size: 80%;} | |
2568 | + .tile_1 .title_1, .tile_2 .title_1{ | |
2569 | + font-size: 12px; | |
2570 | + } | |
2571 | + .tile_1 .title_2, .tile_2 .title_2{ | |
2572 | + font-size: 9px; | |
2573 | + } | |
2401 | 2574 | } |
2402 | 2575 | \ No newline at end of file | ... | ... |