From b709bfa8a0686ae50ca25f6f143398d6456b23ce Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Thu, 27 Jul 2017 10:45:52 +0300 Subject: [PATCH] кнопки1 --- frontend/views/layouts/main.php | 4 ++-- frontend/views/site/index.php | 26 +++++++++++++++++--------- frontend/web/css/style.css | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 87 insertions(+), 14 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 0dde227..4a7681b 100644 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -93,10 +93,10 @@ _________________________________________________________ -->
+ Замовити консультацію + Розрахувати вартість проекту +
@@ -240,7 +242,7 @@ $this->title = 'My Yii Application';
@@ -276,18 +278,21 @@ $this->title = 'My Yii Application';

Освітлення Харківського шосе

-
- 1 - 2 -
+
+ + +

Металоконструкція. Власне виробництво

- +
+ + +
@@ -295,7 +300,10 @@ $this->title = 'My Yii Application';

Сонячна електростанція для Укртрансгаз

- +
+ + +
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 1557197..b75a105 100644 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -33,7 +33,7 @@ .project-right{ border-bottom: 1px solid #cccccc; - padding-bottom: 25px; + padding-bottom: 15px; max-width: 320px; padding-left: 0; margin-left: auto; @@ -89,9 +89,12 @@ background-repeat: no-repeat; padding-left: 25px; letter-spacing:0; + border: none; + outline: none; } -.button1.icon_stat{background-image: url(../img/icon_stat.png);} -.button1 span{ +.btn.icon_stat{background-image: url(../img/icon_stat.png);} +.btn.icon_phone{background-image: url(../img/icon_phone.png);} +.button1 span, .button2 span{ display: block; font-weight: normal; font-size: 14px; @@ -102,4 +105,66 @@ background-color: #ffe764; box-shadow: inset 0px 0px 0px 2px black, 0px 0px 20px rgba(0,0,0,0.2)!important; transition: 0.3s; +} +a.sqre_btn { + padding: 0; + margin: 0; + outline: none; + font-weight: normal; + font-size: 14px; + line-height: normal; + letter-spacing: 0; + display: inline-block; + vertical-align: middle; + width: 40px; + height: 40px; + background-color: rgba(255, 0, 0, 0.23); + border-radius: 0; + text-align: center; + overflow: hidden; + margin-left: 5px; + margin-top: 5px; + background-position: center; + background-repeat: no-repeat; +} +.sqre_btn.blue_arrow{ + background-color: #0095d7; + background-image: url(../img/arrows_right_w.png); +} +.sqre_btn.yellow_calc{ + background-color: #ffd800; + background-image: url(../img/icon_calc2.png); +} +.btn.button2{ + background-color: #0095d7; + color: #fff; + background-image: url(../img/arrows_right_w.png); + margin: 0 auto; + text-transform: uppercase; + text-decoration: none; + cursor: pointer; + transition: 0.3s; + display: inline-block; + text-align: center; + font-weight: bold; + width: 250px; + padding: 12px 0; + font-size: 16px; + line-height: 18px; + background-position: calc(100% - 25px) center; + background-repeat: no-repeat; + padding-right: 25px; + letter-spacing: 0; + border: none; + outline: none; +} +.btn.right{float:right;} +.btn.button2:hover{ + background-color: #40c4ff; +} +.head_video_buttons{ + margin-top: 5px; + display: inline-block; + position: relative; + width: 100%; } \ No newline at end of file -- libgit2 0.21.4