Commit 321cea72357b27dd53e9ce777b1902021614f055

Authored by Alexey Boroda
2 parents 5e764d84 7e9b752b

Merge remote-tracking branch 'origin/master'

frontend/views/layouts/main.php
@@ -86,6 +86,9 @@ @@ -86,6 +86,9 @@
86 <header> 86 <header>
87 <div class="container"> 87 <div class="container">
88 <a href="<?php echo Url::home(); ?>" class="main"></a> 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 </div> 92 </div>
90 </header> 93 </header>
91 <section class="menu"> 94 <section class="menu">
frontend/views/new-collections/index.php
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 </div> 35 </div>
36 <div class="textile_bottom tb2"> 36 <div class="textile_bottom tb2">
37 <div class="content"> 37 <div class="content">
38 - <div class="simple-spoiler just-closed" style="height: 50px"> 38 + <div class="simple-spoiler just-closed">
39 <div class="spoiler-inner"><?php echo Seo::widget(['row' => Seo::SEO_TEXT]); ?></div> 39 <div class="spoiler-inner"><?php echo Seo::widget(['row' => Seo::SEO_TEXT]); ?></div>
40 </div> 40 </div>
41 <div class="just-more"> 41 <div class="just-more">
frontend/views/site/index.php
@@ -27,7 +27,12 @@ @@ -27,7 +27,12 @@
27 ?> 27 ?>
28 28
29 <div class="cont"> 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 <div class="row"> 36 <div class="row">
32 <?php 37 <?php
33 echo SliderWidget::widget([ 38 echo SliderWidget::widget([
@@ -143,6 +148,7 @@ @@ -143,6 +148,7 @@
143 <div class="title">Мебель</div> 148 <div class="title">Мебель</div>
144 </a> 149 </a>
145 </div> 150 </div>
  151 + <div style="clear:both;"></div>
146 </section> 152 </section>
147 <section class="main-box5"> 153 <section class="main-box5">
148 <div class="simple-spoiler just-closed" style="height: 50px"> 154 <div class="simple-spoiler just-closed" style="height: 50px">
frontend/web/css/style.css
@@ -17,6 +17,7 @@ body{ @@ -17,6 +17,7 @@ body{
17 overflow: hidden; 17 overflow: hidden;
18 } 18 }
19 .container.cont{ 19 .container.cont{
  20 + width:100%;
20 max-width:100%; 21 max-width:100%;
21 } 22 }
22 a{ 23 a{
@@ -65,7 +66,10 @@ header{ @@ -65,7 +66,10 @@ header{
65 background-repeat: no-repeat; 66 background-repeat: no-repeat;
66 position:relative; 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 header a.main{ 73 header a.main{
70 width: 100%; 74 width: 100%;
71 height: 100%; 75 height: 100%;
@@ -318,7 +322,7 @@ footer .socbuts a:hover{ @@ -318,7 +322,7 @@ footer .socbuts a:hover{
318 } 322 }
319 .carousel{ 323 .carousel{
320 max-width: 960px; 324 max-width: 960px;
321 - margin: 0 auto; 325 + margin: 0 auto!important;
322 position: relative; 326 position: relative;
323 } 327 }
324 .link_big{ 328 .link_big{
@@ -372,7 +376,7 @@ footer .socbuts a:hover{ @@ -372,7 +376,7 @@ footer .socbuts a:hover{
372 padding: 4px 0px 3px 0px; 376 padding: 4px 0px 3px 0px;
373 } 377 }
374 .main-box4{ 378 .main-box4{
375 - min-height: 620px; 379 + min-height: 410px;
376 text-align: center; 380 text-align: center;
377 padding-top: 32px; 381 padding-top: 32px;
378 max-width: 1064px; 382 max-width: 1064px;
@@ -419,13 +423,11 @@ footer .socbuts a:hover{ @@ -419,13 +423,11 @@ footer .socbuts a:hover{
419 .main-box5{ 423 .main-box5{
420 font-size: 15px; 424 font-size: 15px;
421 line-height: 24px; 425 line-height: 24px;
422 - padding-top: 48px;  
423 - margin-top: -70px; 426 + margin-top: 35px;
424 margin-bottom: 50px; 427 margin-bottom: 50px;
425 max-width: 960px; 428 max-width: 960px;
426 margin-left: auto; 429 margin-left: auto;
427 margin-right: auto; 430 margin-right: auto;
428 -  
429 } 431 }
430 .main-box5 p{ 432 .main-box5 p{
431 padding: 0; 433 padding: 0;
@@ -539,6 +541,8 @@ footer .socbuts a:hover{ @@ -539,6 +541,8 @@ footer .socbuts a:hover{
539 color: #838383; 541 color: #838383;
540 font-family: 'Lato-Medium'; 542 font-family: 'Lato-Medium';
541 font-size: 14px; 543 font-size: 14px;
  544 + max-height: 145px;
  545 + overflow: hidden;
542 } 546 }
543 .post_cont .more{ 547 .post_cont .more{
544 position: absolute; 548 position: absolute;
@@ -645,6 +649,9 @@ footer .socbuts a:hover{ @@ -645,6 +649,9 @@ footer .socbuts a:hover{
645 color:#a9a9a9; 649 color:#a9a9a9;
646 padding: 20px 0; 650 padding: 20px 0;
647 margin-top:8px; 651 margin-top:8px;
  652 + max-width: 980px;
  653 + margin-left: auto;
  654 + margin-right: auto;
648 } 655 }
649 .nav_up a{ 656 .nav_up a{
650 color:#a9a9a9; 657 color:#a9a9a9;
@@ -726,6 +733,19 @@ footer .socbuts a:hover{ @@ -726,6 +733,19 @@ footer .socbuts a:hover{
726 position: absolute; 733 position: absolute;
727 right: 0; 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 .showroom img{width:100%;max-width:700px;margin:25px auto; margin-bottom: 50px;padding-top:1px;} 749 .showroom img{width:100%;max-width:700px;margin:25px auto; margin-bottom: 50px;padding-top:1px;}
730 .no_btm{margin-bottom: 0!important;padding-bottom: 0!important;} 750 .no_btm{margin-bottom: 0!important;padding-bottom: 0!important;}
731 .no_top{margin-top: 0!important;padding-top: 0!important;} 751 .no_top{margin-top: 0!important;padding-top: 0!important;}
@@ -756,7 +776,7 @@ footer .socbuts a:hover{ @@ -756,7 +776,7 @@ footer .socbuts a:hover{
756 } 776 }
757 .textile_bottom{ 777 .textile_bottom{
758 float: left; 778 float: left;
759 - margin: 80px auto; 779 + margin: 40px auto;
760 width: 100%; 780 width: 100%;
761 } 781 }
762 .textile_bottom.tb1{ 782 .textile_bottom.tb1{
@@ -934,7 +954,7 @@ footer .socbuts a:hover{ @@ -934,7 +954,7 @@ footer .socbuts a:hover{
934 .tile_1{ 954 .tile_1{
935 width: 100%; 955 width: 100%;
936 max-width: 227px; 956 max-width: 227px;
937 - height: 250px; 957 + height: 240px;
938 position: relative; 958 position: relative;
939 text-align: center; 959 text-align: center;
940 text-transform: uppercase; 960 text-transform: uppercase;
@@ -943,11 +963,11 @@ footer .socbuts a:hover{ @@ -943,11 +963,11 @@ footer .socbuts a:hover{
943 .tile_2{ 963 .tile_2{
944 width: 100%; 964 width: 100%;
945 max-width: 305px; 965 max-width: 305px;
946 - height: 315px;  
947 position: relative; 966 position: relative;
948 text-align: center; 967 text-align: center;
949 text-transform: uppercase; 968 text-transform: uppercase;
950 margin: 0 auto; 969 margin: 0 auto;
  970 + margin-bottom: 20px;
951 } 971 }
952 .tile_1 .picture, .tile_2 .picture{ 972 .tile_1 .picture, .tile_2 .picture{
953 width:100%; 973 width:100%;
@@ -965,7 +985,7 @@ footer .socbuts a:hover{ @@ -965,7 +985,7 @@ footer .socbuts a:hover{
965 .tile_1 .title_1, .tile_2 .title_1{ 985 .tile_1 .title_1, .tile_2 .title_1{
966 font-size: 15px; 986 font-size: 15px;
967 padding-bottom: 1px; 987 padding-bottom: 1px;
968 - padding-top: 14px; 988 + padding-top: 15px;
969 } 989 }
970 .tile_1 .title_2, .tile_2 .title_2{font-size: 10px;} 990 .tile_1 .title_2, .tile_2 .title_2{font-size: 10px;}
971 .tile_1 a, .tile_1 a:hover, .tile_2 a, .tile_2 a:hover, .tile3 a:hover, .tile4 a:hover{color:#414143!important;} 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,8 +1019,8 @@ footer .socbuts a:hover{
999 .tile3{ 1019 .tile3{
1000 text-align: center; 1020 text-align: center;
1001 overflow: hidden; 1021 overflow: hidden;
1002 - margin-bottom: 40px;  
1003 - margin-top: 30px; 1022 + margin-bottom: 15px;
  1023 + margin-top: 0px;
1004 padding: 0!important; 1024 padding: 0!important;
1005 } 1025 }
1006 .tile3 .picture{ 1026 .tile3 .picture{
@@ -1094,7 +1114,7 @@ footer .socbuts a:hover{ @@ -1094,7 +1114,7 @@ footer .socbuts a:hover{
1094 .button2 a.punkt, .button2 a.punkt:hover{ 1114 .button2 a.punkt, .button2 a.punkt:hover{
1095 background-color: white!important; 1115 background-color: white!important;
1096 color: #414143!important; 1116 color: #414143!important;
1097 - width: 89%!important; 1117 + width: 195px!important;
1098 display: flex; 1118 display: flex;
1099 margin: 0 auto; 1119 margin: 0 auto;
1100 justify-content: center; 1120 justify-content: center;
@@ -1315,10 +1335,10 @@ a.active{ @@ -1315,10 +1335,10 @@ a.active{
1315 background-repeat: no-repeat; 1335 background-repeat: no-repeat;
1316 } 1336 }
1317 .mat_pics{ 1337 .mat_pics{
1318 - margin: 43px auto 210px auto; 1338 + margin: 40px auto 210px auto;
1319 float: none; 1339 float: none;
1320 width: 100%; 1340 width: 100%;
1321 - max-width: 1020px; 1341 + max-width: 1022px;
1322 } 1342 }
1323 .mat_pic{ 1343 .mat_pic{
1324 margin-bottom: 25px; 1344 margin-bottom: 25px;
@@ -1336,6 +1356,7 @@ a.active{ @@ -1336,6 +1356,7 @@ a.active{
1336 } 1356 }
1337 .brand_logo{ 1357 .brand_logo{
1338 text-align: center; 1358 text-align: center;
  1359 + padding-bottom: 30px;
1339 } 1360 }
1340 .brand_logo img{ 1361 .brand_logo img{
1341 max-width: 960px; 1362 max-width: 960px;
@@ -1372,6 +1393,17 @@ a.active{ @@ -1372,6 +1393,17 @@ a.active{
1372 font-weight: 600; 1393 font-weight: 600;
1373 text-transform: uppercase; 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 .title4{ 1407 .title4{
1376 text-transform: uppercase; 1408 text-transform: uppercase;
1377 font-family: 'Lato-Light'; 1409 font-family: 'Lato-Light';
@@ -1634,7 +1666,7 @@ p.right{text-align: right;} @@ -1634,7 +1666,7 @@ p.right{text-align: right;}
1634 .shares-blog{ 1666 .shares-blog{
1635 list-style: none; 1667 list-style: none;
1636 text-align: center; 1668 text-align: center;
1637 - padding: 7px 0px; 1669 + padding: 30px 0px;
1638 } 1670 }
1639 .shares-blog li a { 1671 .shares-blog li a {
1640 width: 42px; 1672 width: 42px;
@@ -2084,7 +2116,7 @@ p.right{text-align: right;} @@ -2084,7 +2116,7 @@ p.right{text-align: right;}
2084 max-width: 865px; 2116 max-width: 865px;
2085 float: none; 2117 float: none;
2086 margin: 0 auto; 2118 margin: 0 auto;
2087 - padding-bottom: 140px; 2119 + padding-bottom: 70px;
2088 } 2120 }
2089 .title9 { 2121 .title9 {
2090 color: #847e7e; 2122 color: #847e7e;
@@ -2133,6 +2165,7 @@ p.right{text-align: right;} @@ -2133,6 +2165,7 @@ p.right{text-align: right;}
2133 left: 0; 2165 left: 0;
2134 position: absolute; 2166 position: absolute;
2135 width: 100%; 2167 width: 100%;
  2168 + top:0px;
2136 } 2169 }
2137 .comments-wr { 2170 .comments-wr {
2138 margin-top: 0px!important; 2171 margin-top: 0px!important;
@@ -2171,6 +2204,7 @@ p.right{text-align: right;} @@ -2171,6 +2204,7 @@ p.right{text-align: right;}
2171 font-size: 12px; 2204 font-size: 12px;
2172 } 2205 }
2173 .product .pic{ 2206 .product .pic{
  2207 + padding-left: 25px;
2174 max-width: 630px; 2208 max-width: 630px;
2175 max-height: 390px; 2209 max-height: 390px;
2176 overflow: hidden; 2210 overflow: hidden;
@@ -2193,6 +2227,30 @@ p.right{text-align: right;} @@ -2193,6 +2227,30 @@ p.right{text-align: right;}
2193 .hidemenu.show a{ 2227 .hidemenu.show a{
2194 background-image: url('../images/hidem2.png'); 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 @media (min-width: 1200px){ 2255 @media (min-width: 1200px){
2198 .dropd_menu{left:0px;} 2256 .dropd_menu{left:0px;}
@@ -2210,11 +2268,12 @@ p.right{text-align: right;} @@ -2210,11 +2268,12 @@ p.right{text-align: right;}
2210 } 2268 }
2211 } 2269 }
2212 @media (min-width: 992px) and (max-width: 1199px) { 2270 @media (min-width: 992px) and (max-width: 1199px) {
  2271 + .dropd_menu{left:0px;}
2213 .tile3 { 2272 .tile3 {
2214 text-align: center; 2273 text-align: center;
2215 overflow: hidden; 2274 overflow: hidden;
2216 - margin-bottom: 40px;  
2217 - margin-top: 30px; 2275 + margin-bottom: 0px;
  2276 + margin-top: 15px;
2218 padding: 0!important; 2277 padding: 0!important;
2219 margin-left: 5px; 2278 margin-left: 5px;
2220 margin-right: 5px; 2279 margin-right: 5px;
@@ -2265,6 +2324,46 @@ p.right{text-align: right;} @@ -2265,6 +2324,46 @@ p.right{text-align: right;}
2265 } 2324 }
2266 } 2325 }
2267 @media (max-width: 991px) { 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 .menu .container ul li:hover .dropd_menu{ 2367 .menu .container ul li:hover .dropd_menu{
2269 display:none; 2368 display:none;
2270 } 2369 }
@@ -2330,8 +2429,9 @@ p.right{text-align: right;} @@ -2330,8 +2429,9 @@ p.right{text-align: right;}
2330 .note .picture{margin: 0 auto 25px;} 2429 .note .picture{margin: 0 auto 25px;}
2331 .note{margin: 17px 0px 75px 0px;} 2430 .note{margin: 17px 0px 75px 0px;}
2332 .main-box5 { 2431 .main-box5 {
2333 - padding-top: 35px; 2432 + margin: 0 auto;
2334 max-width: 587px; 2433 max-width: 587px;
  2434 + padding: 20px 0 45px;
2335 } 2435 }
2336 .menu li{ 2436 .menu li{
2337 min-width:100%; 2437 min-width:100%;
@@ -2371,11 +2471,63 @@ p.right{text-align: right;} @@ -2371,11 +2471,63 @@ p.right{text-align: right;}
2371 } 2471 }
2372 } 2472 }
2373 @media (max-width: 729px) { 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 .dates_but {margin:0 auto;text-align: center;} 2497 .dates_but {margin:0 auto;text-align: center;}
2377 .post_1.contract img {width: initial;} 2498 .post_1.contract img {width: initial;}
2378 .brand_logo img, .tile3 .picture img, .tile4 .picture img{width:100%;} 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 @media (min-width: 705px){ 2532 @media (min-width: 705px){
2381 .tiles{ 2533 .tiles{
@@ -2398,4 +2550,25 @@ p.right{text-align: right;} @@ -2398,4 +2550,25 @@ p.right{text-align: right;}
2398 @media (max-width: 379px) { 2550 @media (max-width: 379px) {
2399 .main-box1 img{width:100%;} 2551 .main-box1 img{width:100%;}
2400 .blog_link img{width: 100%;} 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 \ No newline at end of file 2575 \ No newline at end of file