Commit b4b4598466b68c0cc97c14c25421b90925a31e37
1 parent
a16864eb
Commit
Showing
4 changed files
with
21 additions
and
13 deletions
Show diff stats
common/models/Feedback.php
@@ -96,7 +96,7 @@ | @@ -96,7 +96,7 @@ | ||
96 | 'date_add' => Yii::t('app', 'Feedback date Add'), | 96 | 'date_add' => Yii::t('app', 'Feedback date Add'), |
97 | ]; | 97 | ]; |
98 | } | 98 | } |
99 | - | 99 | + |
100 | public function afterSave($insert, $changedAttributes) | 100 | public function afterSave($insert, $changedAttributes) |
101 | { | 101 | { |
102 | parent::afterSave($insert, $changedAttributes); | 102 | parent::afterSave($insert, $changedAttributes); |
frontend/views/layouts/main.php
@@ -37,8 +37,8 @@ | @@ -37,8 +37,8 @@ | ||
37 | <div class="section-box first-header"> | 37 | <div class="section-box first-header"> |
38 | <div class="box-wr"> | 38 | <div class="box-wr"> |
39 | <div class="box-all"> | 39 | <div class="box-all"> |
40 | - <a href="/"><img class="logo" src="/images/logo.png" width="100" height="68" alt=""/></a> | ||
41 | - <div class="header-proektant-slogan">Международная Федерация Проектантов<br/>Engineers International Federation</div> | 40 | + <a href="/" class="new_logo"><img class="logo" src="/images/logo.png" width="100" height="68" alt=""/></a> |
41 | + <div class="header-proektant-slogan"><?php /*Международная Федерация Проектантов<br/>Engineers International Federation*/ ?></div> | ||
42 | <ul class="header-contacts-menu"> | 42 | <ul class="header-contacts-menu"> |
43 | <li> | 43 | <li> |
44 | <span><img src="/images/icon_question_01.png" alt=""/></span><?= Html::a('Задать вопрос', '', [ 'class' => 'contactsLinkModalFirst' ]) ?> | 44 | <span><img src="/images/icon_question_01.png" alt=""/></span><?= Html::a('Задать вопрос', '', [ 'class' => 'contactsLinkModalFirst' ]) ?> |
frontend/web/css/style.css
@@ -94,7 +94,7 @@ input, textarea { | @@ -94,7 +94,7 @@ input, textarea { | ||
94 | 94 | ||
95 | .section-box-4 { | 95 | .section-box-4 { |
96 | height: 474px; | 96 | height: 474px; |
97 | - background: #0074C1 url("/images/sect-bg-4.jpg") 50% 100% no-repeat; | 97 | + background: #0074c1 url("/images/sect-bg-4.jpg") 50% 100% no-repeat; |
98 | } | 98 | } |
99 | 99 | ||
100 | .section-box-28 { | 100 | .section-box-28 { |
@@ -170,6 +170,18 @@ input, textarea { | @@ -170,6 +170,18 @@ input, textarea { | ||
170 | height: 114px; | 170 | height: 114px; |
171 | } | 171 | } |
172 | 172 | ||
173 | +.section-box.first-header .box-all a.new_logo { | ||
174 | + float: left; | ||
175 | + width: 393px; | ||
176 | + height: 51px; | ||
177 | + margin-top: 33px; | ||
178 | +} | ||
179 | + | ||
180 | +.section-box.first-header .box-all a.new_logo img { | ||
181 | + width: 100%; | ||
182 | + height: 100%; | ||
183 | +} | ||
184 | + | ||
173 | .section-box.menu-header-all { | 185 | .section-box.menu-header-all { |
174 | height: 41px; | 186 | height: 41px; |
175 | background: #0072bc; | 187 | background: #0072bc; |
@@ -186,15 +198,8 @@ input, textarea { | @@ -186,15 +198,8 @@ input, textarea { | ||
186 | background: #757575; | 198 | background: #757575; |
187 | } | 199 | } |
188 | 200 | ||
189 | -img.logo { | ||
190 | - position: absolute; | ||
191 | - top: 50%; | ||
192 | - margin-top: -34px; | ||
193 | - left: 10px; | ||
194 | -} | ||
195 | - | ||
196 | .header-proektant-slogan { | 201 | .header-proektant-slogan { |
197 | - width: 620px; | 202 | + width: 227px; |
198 | padding: 23px 0 0 120px; | 203 | padding: 23px 0 0 120px; |
199 | box-sizing: border-box; | 204 | box-sizing: border-box; |
200 | font-size: 22px; | 205 | font-size: 22px; |
@@ -885,7 +890,8 @@ li.project-home-active span { | @@ -885,7 +890,8 @@ li.project-home-active span { | ||
885 | } | 890 | } |
886 | 891 | ||
887 | .federation-home-blocks-wr-blocks { | 892 | .federation-home-blocks-wr-blocks { |
888 | - display: none; position: relative; | 893 | + display: none; |
894 | + position: relative; | ||
889 | } | 895 | } |
890 | 896 | ||
891 | .federation-home-blocks-wr-blocks:first-child { | 897 | .federation-home-blocks-wr-blocks:first-child { |
@@ -915,6 +921,7 @@ li.project-home-active span { | @@ -915,6 +921,7 @@ li.project-home-active span { | ||
915 | padding: 0 27px; | 921 | padding: 0 27px; |
916 | line-height: 20px; | 922 | line-height: 20px; |
917 | } | 923 | } |
924 | + | ||
918 | .federation-home-text-two { | 925 | .federation-home-text-two { |
919 | font-size: 15px; | 926 | font-size: 15px; |
920 | color: #fefefe; | 927 | color: #fefefe; |
@@ -926,6 +933,7 @@ li.project-home-active span { | @@ -926,6 +933,7 @@ li.project-home-active span { | ||
926 | /*max-height: 92px;*/ | 933 | /*max-height: 92px;*/ |
927 | max-height: 111px; | 934 | max-height: 111px; |
928 | } | 935 | } |
936 | + | ||
929 | .new_txt_fed_home { | 937 | .new_txt_fed_home { |
930 | font-size: 16px; | 938 | font-size: 16px; |
931 | text-align: center; | 939 | text-align: center; |
frontend/web/images/logo.png