From 09cab88e8f50341990e452cdd9b8479f9c0382b0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Jan 2023 19:11:27 +0500 Subject: [PATCH] from server --- modules/cms/lang/en/lang.php | 2 +- .../css/components/2-layout/header.scss | 10 ++-- .../assets/css/components/2-layout/modal.scss | 4 +- .../css/components/2-layout/responsive.scss | 7 +++ .../assets/css/components/3-page/home.scss | 20 ++++---- .../assets/css/components/3-page/service.scss | 12 +++++ themes/tps/assets/css/main.css | 49 +++++++++++++------ .../content/servicePageContent2Dropdown.htm | 2 +- .../content/servicePageContent3Dropdown.htm | 2 +- .../content/servicePageContent4Dropdown.htm | 2 +- .../content/servicePageContent5Dropdown.htm | 2 +- themes/tps/layouts/master.htm | 4 +- themes/tps/pages/home.htm | 1 + themes/tps/pages/portfolio.htm | 7 ++- 14 files changed, 84 insertions(+), 40 deletions(-) diff --git a/modules/cms/lang/en/lang.php b/modules/cms/lang/en/lang.php index 215bff8..a77b67f 100644 --- a/modules/cms/lang/en/lang.php +++ b/modules/cms/lang/en/lang.php @@ -170,7 +170,7 @@ return [ 'url' => 'URL', 'filename' => 'File Name', 'layout' => 'Layout', - 'description' => 'Description', + 'description' => 'Keywords', 'preview' => 'Preview', 'meta' => 'Meta', 'meta_title' => 'Meta Title', diff --git a/themes/tps/assets/css/components/2-layout/header.scss b/themes/tps/assets/css/components/2-layout/header.scss index d0ac990..d338318 100644 --- a/themes/tps/assets/css/components/2-layout/header.scss +++ b/themes/tps/assets/css/components/2-layout/header.scss @@ -131,7 +131,7 @@ @include transition; max-height: 0; overflow: hidden; - background: #fff; + background: rgba(0, 0, 0, .7); position: absolute; top: calc(100% + 20px); @@ -152,7 +152,7 @@ font-weight: 500; font-size: 16px; line-height: 20px; - color: #000; + color: #fff; @include transition; padding: 20px 0; @@ -214,8 +214,8 @@ top: calc(100% + 50px); left: 50%; @include transformX; - background: #fff; - color: #000; + background: rgba(0, 0, 0, .7); + color: #fff; width: 120px; opacity: 0; @@ -229,7 +229,7 @@ } &-link { - color: #000 !important; + color: #fff !important; display: block; text-align: center; text-transform: uppercase; diff --git a/themes/tps/assets/css/components/2-layout/modal.scss b/themes/tps/assets/css/components/2-layout/modal.scss index d784407..3e7fe27 100644 --- a/themes/tps/assets/css/components/2-layout/modal.scss +++ b/themes/tps/assets/css/components/2-layout/modal.scss @@ -25,9 +25,10 @@ top: 60%; left: 50%; @include transform; - max-width: 600px; + max-width: 900px; width: calc(100% - 120px); max-height: calc(100% - 150px); + height: calc(100% - 150px); padding: 70px 50px; background: rgba(0, 0, 0, .5); backdrop-filter: 5px; @@ -59,6 +60,7 @@ &_video { width: 100%; + height: 100%; video { @include ImgCon; diff --git a/themes/tps/assets/css/components/2-layout/responsive.scss b/themes/tps/assets/css/components/2-layout/responsive.scss index 20a35dc..8ffe9fd 100644 --- a/themes/tps/assets/css/components/2-layout/responsive.scss +++ b/themes/tps/assets/css/components/2-layout/responsive.scss @@ -833,6 +833,13 @@ } } } + + // Modal ========================= + .modal { + &_inner { + height: unset; + } + } } // 400 =========================== diff --git a/themes/tps/assets/css/components/3-page/home.scss b/themes/tps/assets/css/components/3-page/home.scss index 83cc94a..a6688c9 100644 --- a/themes/tps/assets/css/components/3-page/home.scss +++ b/themes/tps/assets/css/components/3-page/home.scss @@ -53,9 +53,9 @@ } &-title { - font-weight: 700; - font-size: 38px; - line-height: 46px; + font-weight: 600; + font-size: 34px; + line-height: 1.4; color: #FFFFFF; position: relative; transition: all 1s linear; @@ -293,8 +293,8 @@ &-title { font-style: normal; - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; color: #000000; margin-bottom: 30px; @@ -308,7 +308,7 @@ &-txt { font-weight: 400; font-size: 18px; - line-height: 30px; + line-height: 1.4; color: #000000; margin-bottom: 30px; @@ -678,8 +678,8 @@ padding: 100px 0; &_title { - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; margin-bottom: 50px; @@ -843,8 +843,8 @@ background: #F5F5F5; &_title { - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; margin-bottom: 50px; diff --git a/themes/tps/assets/css/components/3-page/service.scss b/themes/tps/assets/css/components/3-page/service.scss index 9b6bdef..0dee9ff 100644 --- a/themes/tps/assets/css/components/3-page/service.scss +++ b/themes/tps/assets/css/components/3-page/service.scss @@ -23,6 +23,18 @@ strong { font-weight: 600; + position: relative; + padding-left: 15px; + + &::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 5px; + height: 100%; + background: $main-color; + } } } } diff --git a/themes/tps/assets/css/main.css b/themes/tps/assets/css/main.css index 622eb11..41d692e 100644 --- a/themes/tps/assets/css/main.css +++ b/themes/tps/assets/css/main.css @@ -270,7 +270,7 @@ li { -moz-transition: all 0.2s ease-in-out 0s; max-height: 0; overflow: hidden; - background: #fff; + background: rgba(0, 0, 0, 0.7); position: absolute; top: calc(100% + 20px); left: 50%; @@ -293,7 +293,7 @@ li { font-weight: 500; font-size: 16px; line-height: 20px; - color: #000; + color: #fff; -webkit-transition: all 0.2s ease-in-out 0s; transition: all 0.2s ease-in-out 0s; -moz-transition: all 0.2s ease-in-out 0s; @@ -361,8 +361,8 @@ li { -o-transform: translateX(-50%); -ms-transform: translateX(-50%); -webkit-transform: translateX(-50%); - background: #fff; - color: #000; + background: rgba(0, 0, 0, 0.7); + color: #fff; width: 120px; opacity: 0; pointer-events: none; @@ -375,7 +375,7 @@ li { top: calc(100% + 20px); } .header .lang_drop-link { - color: #000 !important; + color: #fff !important; display: block; text-align: center; text-transform: uppercase; @@ -831,9 +831,10 @@ svg.active .svg-elem-21 { -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); - max-width: 600px; + max-width: 900px; width: calc(100% - 120px); max-height: calc(100% - 150px); + height: calc(100% - 150px); padding: 70px 50px; background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: 5px; @@ -867,6 +868,7 @@ svg.active .svg-elem-21 { } .modal_video { width: 100%; + height: 100%; } .modal_video video { width: 100%; @@ -959,9 +961,9 @@ svg.active .svg-elem-21 { width: 100%; } .hero_item-title { - font-weight: 700; - font-size: 38px; - line-height: 46px; + font-weight: 600; + font-size: 34px; + line-height: 1.4; color: #FFFFFF; position: relative; -webkit-transition: all 1s linear; @@ -1199,8 +1201,8 @@ svg.active .svg-elem-21 { } .about_info-title { font-style: normal; - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; color: #000000; margin-bottom: 30px; @@ -1212,7 +1214,7 @@ svg.active .svg-elem-21 { .about_info-txt { font-weight: 400; font-size: 18px; - line-height: 30px; + line-height: 1.4; color: #000000; margin-bottom: 30px; } @@ -1575,8 +1577,8 @@ svg.active .svg-elem-21 { padding: 100px 0; } .contact_title { - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; margin-bottom: 50px; overflow: hidden; @@ -1757,8 +1759,8 @@ svg.active .svg-elem-21 { background: #F5F5F5; } .client_title { - font-weight: 700; - font-size: 38px; + font-weight: 600; + font-size: 34px; line-height: 46px; margin-bottom: 50px; overflow: hidden; @@ -2066,6 +2068,17 @@ svg.active .svg-elem-21 { } .service.page .service_info p strong { font-weight: 600; + position: relative; + padding-left: 15px; +} +.service.page .service_info p strong::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 5px; + height: 100%; + background: #2B72B6; } .service.page .service_block { overflow-x: auto; @@ -3214,6 +3227,10 @@ svg.active .svg-elem-21 { .about.page .about_box-item { width: calc(100% - 82px); } + + .modal_inner { + height: unset; + } } @media (max-width: 400px) { .auto_container { diff --git a/themes/tps/content/servicePageContent2Dropdown.htm b/themes/tps/content/servicePageContent2Dropdown.htm index b395417..24fc2b2 100755 --- a/themes/tps/content/servicePageContent2Dropdown.htm +++ b/themes/tps/content/servicePageContent2Dropdown.htm @@ -4,7 +4,7 @@

Наша компания предлагает размещение рекламы во всех крупных ТРЦ столицы и велаятов, а также в Международном аэропорту «Ашхабад».

-

Как мы работаем? 

+

Как мы работаем?