diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php
index a4b045f..2d5ec79 100644
--- a/common/messages/ru/app.php
+++ b/common/messages/ru/app.php
@@ -318,4 +318,5 @@ return [
'NewsFollow' => 'Следите за новостями',
'city_short' => 'г',
'copylink' => 'Создание сайтов',
+ 'get_consult' => 'Получить консультацию специалиста',
];
\ No newline at end of file
diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php
index 83c1df1..88fe389 100644
--- a/common/messages/ua/app.php
+++ b/common/messages/ua/app.php
@@ -320,4 +320,5 @@ return [
'NewsFollow' => 'Слідкуйте за новинами',
'city_short' => 'м',
'copylink' => 'Створення сайтів',
+ 'get_consult' => 'Отримати консультацію спеціаліста',
];
\ No newline at end of file
diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php
index 6b6f7ce..99585e4 100644
--- a/frontend/views/site/index.php
+++ b/frontend/views/site/index.php
@@ -288,7 +288,9 @@ JS;
'alias' => $object->lang->alias,
]
) ?>" class="sqre_btn blue_arrow" alt="=$object->lang->object_name?>">
-
+
+
diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css index 315fbac..c549ce2 100644 --- a/frontend/web/css/main.css +++ b/frontend/web/css/main.css @@ -119,7 +119,7 @@ a.sqre_btn { background-color: rgba(255, 0, 0, 0.23); border-radius: 0; text-align: center; - overflow: hidden; + position: relative; margin-left: 5px; margin-top: 5px; background-position: center; @@ -774,6 +774,40 @@ ul.list-wr span{color: #555;} border-radius: 10px; } .contacts_photo img{width:100%;} +.phone_hint{ + opacity: 0; + position: absolute; + white-space: normal; + min-width: 182px; + text-align: left; + font-weight: bold; + text-transform: none; + background-color: #fff; + border: 1px solid #0095d7; + padding: 3px 7px; + border-radius: 5px; + bottom: -50px; + left: -10px; + transition: 0.3s; + box-shadow: 0px 5px 12px -6px black; +} +.phone_hint:after { + content: ''; + display: block; + position: absolute; + width: 10px; + height: 10px; + background: #ffffff; + bottom: -6px; + left: 20px; + transform: rotate(45deg); + border-bottom: 1px solid #0095d7; + border-right: 1px solid #0095d7; +} +a.btn.sqre_btn.yellow_calc.modaled.init-button-сalculate:hover > .phone_hint { + bottom: 40px!important; + opacity: 0.9!important; +} @media(min-width:1201px){ .links-ses-for-wr .container .row p {margin: 7px 20px;} -- libgit2 0.21.4