Commit a83d9a4795807de2826ff8cdb82a2bf8c268b679
1 parent
bd6eefa5
Веталь
Showing
2 changed files
with
16 additions
and
12 deletions
Show diff stats
frontend/views/basket/_popup.php
| @@ -13,7 +13,7 @@ use yii\helpers\Url; | @@ -13,7 +13,7 @@ use yii\helpers\Url; | ||
| 13 | Загрузка... | 13 | Загрузка... |
| 14 | 14 | ||
| 15 | </div> | 15 | </div> |
| 16 | - <div style="display:table;margin-top:25px;"> | 16 | + <div class="cont_shop_but-wr"> |
| 17 | <div class="cont_shop_but"><a href="#" class="cont_shop">Продолжить покупки</a></div> | 17 | <div class="cont_shop_but"><a href="#" class="cont_shop">Продолжить покупки</a></div> |
| 18 | <div style="display:table-cell;padding-left:240px;"> | 18 | <div style="display:table-cell;padding-left:240px;"> |
| 19 | 19 |
frontend/web/css/style.css
| @@ -987,18 +987,21 @@ a.active{font-weight:bold;text-decoration: underline;} | @@ -987,18 +987,21 @@ a.active{font-weight:bold;text-decoration: underline;} | ||
| 987 | list-style: none; | 987 | list-style: none; |
| 988 | } | 988 | } |
| 989 | .sort_block ul li a:after { | 989 | .sort_block ul li a:after { |
| 990 | - display: inline-block; | ||
| 991 | - /*font-family: 'Glyphicons Halflings';*/ | ||
| 992 | - font-style: normal; | ||
| 993 | - font-weight: normal; | ||
| 994 | - line-height: 1; | ||
| 995 | - -webkit-font-smoothing: antialiased; | 990 | + display: block; |
| 991 | + width: 10px; | ||
| 992 | + height: 10px; | ||
| 993 | + position: absolute; | ||
| 994 | + top: 50%; | ||
| 995 | + margin-top: -5px; | ||
| 996 | + right: -15px; | ||
| 997 | + content: ''; | ||
| 998 | + background: url("../img/arrow_sort_asc_desc") no-repeat; | ||
| 996 | } | 999 | } |
| 997 | .sort_block ul li a.asc:after { | 1000 | .sort_block ul li a.asc:after { |
| 998 | - content: "↓"; | 1001 | + background-position: 0 0; |
| 999 | } | 1002 | } |
| 1000 | .sort_block ul li a.desc:after { | 1003 | .sort_block ul li a.desc:after { |
| 1001 | - content: "↑"; | 1004 | + background-position: 0 0; |
| 1002 | } | 1005 | } |
| 1003 | /*************/ | 1006 | /*************/ |
| 1004 | .home_banner_up {margin-top: 20px;} | 1007 | .home_banner_up {margin-top: 20px;} |
| @@ -1100,7 +1103,7 @@ ul.product-special li.top { | @@ -1100,7 +1103,7 @@ ul.product-special li.top { | ||
| 1100 | ul.product-special li.top:after { | 1103 | ul.product-special li.top:after { |
| 1101 | content: ''; | 1104 | content: ''; |
| 1102 | position: absolute; | 1105 | position: absolute; |
| 1103 | - left: 52px; | 1106 | + right: -19px; |
| 1104 | top: 3px; | 1107 | top: 3px; |
| 1105 | border: 11px solid transparent; | 1108 | border: 11px solid transparent; |
| 1106 | border-top: 5px solid #fbc665; | 1109 | border-top: 5px solid #fbc665; |
| @@ -1125,7 +1128,7 @@ ul.product-special li.promo { | @@ -1125,7 +1128,7 @@ ul.product-special li.promo { | ||
| 1125 | ul.product-special li.promo:after { | 1128 | ul.product-special li.promo:after { |
| 1126 | content: ''; | 1129 | content: ''; |
| 1127 | position: absolute; | 1130 | position: absolute; |
| 1128 | - left: 52px; | 1131 | + right: -19px; |
| 1129 | top: 3px; | 1132 | top: 3px; |
| 1130 | border: 11px solid transparent; | 1133 | border: 11px solid transparent; |
| 1131 | border-top: 5px solid #f75d50; | 1134 | border-top: 5px solid #f75d50; |
| @@ -1173,6 +1176,7 @@ ul.product-special li.promo:after { | @@ -1173,6 +1176,7 @@ ul.product-special li.promo:after { | ||
| 1173 | } | 1176 | } |
| 1174 | .sort_block ul li a { | 1177 | .sort_block ul li a { |
| 1175 | color: #8fa951; | 1178 | color: #8fa951; |
| 1179 | + position: relative; | ||
| 1176 | } | 1180 | } |
| 1177 | .sort_block ul li a:hover { | 1181 | .sort_block ul li a:hover { |
| 1178 | color: #333; | 1182 | color: #333; |
| @@ -1435,7 +1439,7 @@ input.custom-radio + label:hover { | @@ -1435,7 +1439,7 @@ input.custom-radio + label:hover { | ||
| 1435 | } | 1439 | } |
| 1436 | .input-blocks-wrapper .help-block { | 1440 | .input-blocks-wrapper .help-block { |
| 1437 | padding-left: 71px; | 1441 | padding-left: 71px; |
| 1438 | - padding-top: 5px; | 1442 | + padding-top: 4px; |
| 1439 | width: 100%; | 1443 | width: 100%; |
| 1440 | float: left; | 1444 | float: left; |
| 1441 | box-sizing: border-box; | 1445 | box-sizing: border-box; |