diff --git a/frontend/views/object/view.php b/frontend/views/object/view.php index f903414..814bb8b 100644 --- a/frontend/views/object/view.php +++ b/frontend/views/object/view.php @@ -20,7 +20,7 @@ 'label' => \Yii::t('app', 'menu-objects'), 'url' => Url::toRoute(['object/index']), ]; - $this->params['breadcrumbs'][] = $this->params['h1']; + $this->params['breadcrumbs'][] = "Страница объекта"; ?> diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css index c4dfa8a..f190d36 100644 --- a/frontend/web/css/main.css +++ b/frontend/web/css/main.css @@ -1,11 +1,6 @@ body{position:relative;} .no-mg{margin:0;} -#back-to-top{ - background: #467fbf; - border-radius: 0 50px 50px 0; - width: 50px; - padding-right: 6px; -} +#back-to-top{background: #467fbf;border-radius: 0 50px 50px 0;width: 50px;padding-right: 6px;} #back-to-top:hover {background: #20446d;} #back-to-top:active {background: #1b2e44;padding-top: 6px;} #heading-breadcrumbs{background-attachment: fixed;} @@ -90,27 +85,12 @@ body{position:relative;} text-align: center; vertical-align: bottom; } - .blue-fon, .background-kben{background-color: #00a1e9;background-image:url('/img/slide_two_fon.png');color:#fff;} -.blue-fon .icon, .background-kben .icon{ - position: relative; - width:120px; - height:120px; - border:none; -} -.blue-fon .icon img, .background-kben .icon img { - width: 100%; - margin: 0; - padding: 0; -} +.blue-fon .icon, .background-kben .icon{position: relative;width:120px;height:120px;border:none;} +.blue-fon .icon img, .background-kben .icon img {width: 100%;margin: 0;padding: 0;} .blue-fon .box-simple h3, .background-kben .box-simple h3 {color: #ffd800;margin-bottom: 5px;} .blue-fon .box-simple p, .background-kben .box-simple p {color: #fff;} -.why-us .line_why { - position: absolute; - top: 50px; - right: -83px; - opacity: 0.3; -} +.why-us .line_why {position: absolute;top: 50px;right: -83px;opacity: 0.3;} .blue-fon .heading h1, .blue-fon .heading h2, .blue-fon .heading h3, .blue-fon .heading h4, .blue-fon .heading h5, .background-kben .heading h1, .background-kben .heading h2, .background-kben .heading h3, .background-kben .heading h4, .background-kben .heading h5{color:#fff;border-color: #ffd800!important;} a.sqre_btn { @@ -153,24 +133,12 @@ section.blue-fon {padding-top: 25px;} height: 100%; } .objects-main-wr .image_link:hover{background-size: 105% 105%;} -.objects-main-wr .img-title table td.buts { - width: 95px; - max-width: 100%; - vertical-align: top; - text-align: left; -} +.objects-main-wr .img-title table td.buts {width: 95px;max-width: 100%;vertical-align: top;text-align: left;} .sqre_btn.blue_arrow {background-color: #0095d7;background-image: url(../img/arrows_right_w.png);} .text-left a.sqre_btn {margin-left: 0;margin-right: 5px;} .img-title table .text-left a.sqre_btn {margin-top: 0;} -.sqre_btn.yellow_calc { - background-color: #ffd800; - background-image: url(../img/icon_calc2.png); -} -.img-title table td.i-title { - padding-left: 10px; - text-align: left; - padding-right: 10px; -} +.sqre_btn.yellow_calc {background-color: #ffd800;background-image: url(../img/icon_calc2.png);} +.img-title table td.i-title {padding-left: 10px;text-align: left;padding-right: 10px;} .img-title table .pr_title2 {margin: 0;padding: 0;} .pr_title2 a { font-weight: bold; @@ -230,12 +198,7 @@ section.blue-fon {padding-top: 25px;} line-height: 19px; } .smi_right .blue_arrow {right: 10px;bottom:10px;position: absolute;} -.about .post a { - width: 100%; - height: 100%; - position: absolute; - color: #fff; -} +.about .post a {width: 100%;height: 100%;position: absolute;color: #fff;} .text.quote{ box-shadow: inset 3px 0px 0px #0095d7; padding-left: 20px; @@ -256,13 +219,9 @@ section.blue-fon {padding-top: 25px;} .icon_en#icon10 {background-image: url(../img/icons/icon10.png);} .btn.icon_stat {background-image: url(../img/icon_stat.png);} .bt-shadow{box-shadow: inset 0px -100px 200px -100px rgba(0, 0, 0, 0.5);} -#footer {background: #0080ca;padding: 15px 0;color: #ffffff;} +#footer {background: #0080ca;padding: 15px 0;padding-bottom: 23px;color: #ffffff;} .why-us{max-width: 100%;} -.home_mob_link{ - max-width: 100px; - display: inline-block; - padding: 10px 15px; -} +.home_mob_link{max-width: 100px;display: inline-block;padding: 10px 15px;} .static_logo_about_mob{ display: inline-block; font-family: Arial, sans-serif!important; @@ -380,28 +339,11 @@ section.bar.background-gray.steps-pre:before { position: absolute; object-fit:cover; } -.bottom-text{ - padding: 20px 15px; - font-size: 12px; - padding-bottom: 0; -} -.bottom-text-in{ - font-size: 12px; - position: absolute; - bottom: -72px; -} -#map { - height: 560px; - background-image: url(../img/map.jpg); -} -.main-slider .carousel-control{ - background:none!important; -} -#main-page .main-slider .box-simple{ - position: absolute; - width: 100%; - bottom: 0; -} +.bottom-text{padding: 20px 15px;font-size: 12px;padding-bottom: 0;} +.bottom-text-in{font-size: 12px;position: absolute;bottom: -72px;} +#map {height: 560px;background-image: url(../img/map.jpg);} +.main-slider .carousel-control{background:none!important;} +#main-page .main-slider .box-simple{position: absolute;width: 100%;bottom: 0;} #main-page .main-slider .box-simple .button1{ width: 235px; padding: 8px 0; @@ -438,14 +380,8 @@ section.bar.background-gray.steps-pre:before { margin-bottom: 20px;} .post-blog .lead{margin-top: 25px;} .post-blog .content{margin-bottom: 50px;} -.tag-cloud li.active a { - background-color: #467fbf; - color: #eeeeee!important; -} -.object-slider .carousel-inner{ - border-radius: 5px; - overflow: hidden; -} +.tag-cloud li.active a {background-color: #467fbf;color: #eeeeee!important;} +.object-slider .carousel-inner{border-radius: 5px;overflow: hidden;} .object-slider{padding-bottom: 50px;} .object-slider .carousel{ width:100%; @@ -474,24 +410,15 @@ section.bar.background-gray.steps-pre:before { opacity: 1; background-image: none; } -.object-slider a.left.carousel-control{ - top: 20px; - right: 75px; -} +.object-slider a.left.carousel-control{top: 20px;right: 75px;} .object-slider a.right.carousel-control{ top: 20px; right: 35px; padding-right: 0; padding-left: 2px; } -.object-slider a.carousel-control:hover { - opacity: 0.5; -} -.object-slider a.carousel-control:active { - opacity: 0.8; - line-height: 24px; - margin-top: 3px; -} +.object-slider a.carousel-control:hover {opacity: 0.5;} +.object-slider a.carousel-control:active {opacity: 0.8;line-height: 24px;margin-top: 3px;} .calculate-main-wr:after, #calculate-form:after{content:'';clear:both;display:block;position:relative;} #calculate-form{margin-top: -15px;} #calculate-form > .row { @@ -500,9 +427,7 @@ section.bar.background-gray.steps-pre:before { padding-top: 25px; } #calculate-form .submit-wr{margin-top:25px;} -#calculate-form .text-center img{ - margin: 0 auto; -} +#calculate-form .text-center img{margin: 0 auto;} .main-slider .carousel-indicators{display:none!important;} .object-slider .carousel-indicators li{ width: 12px; @@ -519,45 +444,24 @@ section.bar.background-gray.steps-pre:before { border-color: #467fbf; } /*отображать только 4 элемента в портфолио*/ -.object-view .portfolio > div:nth-child(1n+6) { - display: none; -} -.object-view .portfolio .image{ - padding-top:75%; -} -.modal-body > form > .row > .col-md-12 { - padding: 0px 30px; -} -.row.calculate-main-wr { - padding-left: 15px; - padding-right: 15px; -} -.big-title1{ - text-transform: uppercase; - font-size: 24px; -} +.object-view .portfolio > div:nth-child(1n+6) {display: none;} +.object-view .portfolio .image{padding-top:75%;} +.modal-body > form > .row > .col-md-12 {padding: 0px 30px;} +.row.calculate-main-wr {padding-left: 15px;padding-right: 15px;} +.big-title1{text-transform: uppercase;font-size: 24px;} /*heading breadcrumbs blue fon*/ #heading-breadcrumbs{background-color: #0080ca;background-image: url(/img/slide_two_fon.png);} #heading-breadcrumbs h1{color: #fdfdfd;} -#heading-breadcrumbs .breadcrumb > .active { - color: #d0d0d0; - font-weight: bold; -} -#heading-breadcrumbs .breadcrumb > li + li:before { - color: #ececec; -} +#heading-breadcrumbs .breadcrumb > .active {color: #d0d0d0;font-weight: bold;} +#heading-breadcrumbs .breadcrumb > li + li:before {color: #ececec;} #heading-breadcrumbs .breadcrumb li a {color: #efefef;} #heading-breadcrumbs .breadcrumb li a:hover {color: #ffffff;} #heading-breadcrumbs .breadcrumb li a:active {color: #c7c7c7;} -#heading-breadcrumbs > .container > .row{ - display: flex; - align-items: center; -} +#heading-breadcrumbs > .container > .row{display: flex;align-items: center;} .box-image .name, .box-image .text{opacity:0;} .box-image:hover .name, .box-image:hover .text{opacity:1;} .owl-carousel .owl-wrapper-outer {border-radius: 5px;} - .links-ses-for-wr{margin:0;} .links-ses-for-wr a{color: #00a1e9;text-decoration: underline;} .links-ses-for-wr .container{padding-top: 18px;padding-bottom: 20px;} @@ -567,7 +471,6 @@ section.bar.background-gray.steps-pre:before { .links-ses-for-wr .container .row .lsf-left p{background-image: url(/img/icon1_prv.png);} .links-ses-for-wr .container .row .lsf-right p{background-image: url(/img/icon2_prv.png);} .links-ses-for-wr .container .row p{display: inline-block;background-position: top left;background-repeat: no-repeat;padding: 13px 0 13px 58px;} - #mediaabout-wr .portfolio .box-image {padding-top: 56.1%;} #mediaabout-wr .portfolio .box-image .post{ position: absolute; @@ -626,11 +529,7 @@ section.bar.background-gray.steps-pre:before { .navbar ul.nav > li > a{letter-spacing: -0.5px!important;padding: 0px 8px 2px!important;} .navbar ul.nav > li > a:after{width: calc(100% - 16px)!important;left: 8px!important;} .about .smi_right .post{width:100%;} - .smi_right .post .title{ - font-size: 13px; - padding: 30% 21% 13px 11px; - line-height: 16px; - } + .smi_right .post .title{font-size: 13px;padding: 30% 21% 13px 11px;line-height: 16px;} .object-slider .carousel{height:500px;} .main-slider {min-height: 400px;} .main-slider .carousel-control{width:15%;} @@ -643,10 +542,7 @@ section.bar.background-gray.steps-pre:before { padding-right: 15px; padding-left: 15px; } - .links-ses-for-wr .container { - padding-top: 10px; - padding-bottom: 12px; - } + .links-ses-for-wr .container {padding-top: 10px;padding-bottom: 12px;} .links-ses-for-wr .container .row p{margin-bottom:0;} #footer .container > div {margin-bottom: 20px;} .background-kben.block-why, .head_video_buttons{margin-top: 30px;} @@ -679,9 +575,7 @@ section.bar.background-gray.steps-pre:before { min-height:0%; padding-top: 75%; } - .main-slider .carousel { - height: 100%;width: 100%; - position: absolute; + .main-slider .carousel {height: 100%;width: 100%;position: absolute; top: 0; } .object-slider .carousel{height:450px;} diff --git a/frontend/web/img/icon1_prv.png b/frontend/web/img/icon1_prv.png new file mode 100644 index 0000000..296b088 Binary files /dev/null and b/frontend/web/img/icon1_prv.png differ diff --git a/frontend/web/img/icon2_prv.png b/frontend/web/img/icon2_prv.png new file mode 100644 index 0000000..996ace2 Binary files /dev/null and b/frontend/web/img/icon2_prv.png differ -- libgit2 0.21.4