Commit 9838b24ca213084d43a0eb6edf353a009e584974
Merge remote-tracking branch 'origin/master'
Showing
4 changed files
with
16 additions
and
5 deletions
Show diff stats
backend/web/assets/.gitignore deleted
frontend/views/category/view.php
@@ -127,6 +127,10 @@ _________________________________________________________ --> | @@ -127,6 +127,10 @@ _________________________________________________________ --> | ||
127 | $brands = $filterHelper->getBrands($model); | 127 | $brands = $filterHelper->getBrands($model); |
128 | if (!empty($brands)) { | 128 | if (!empty($brands)) { |
129 | ?> | 129 | ?> |
130 | + <a class="btn btn-xs btn-danger reset-filters" href="#"> | ||
131 | + <i class="fa fa-times-circle"></i> | ||
132 | + <span class="hidden-sm">Сбросить все фильтры</span> | ||
133 | + </a> | ||
130 | <div class="panel-heading"> | 134 | <div class="panel-heading"> |
131 | <h3 class="panel-title"><?php echo \Yii::t('app', 'Бренды'); ?></h3> | 135 | <h3 class="panel-title"><?php echo \Yii::t('app', 'Бренды'); ?></h3> |
132 | </div> | 136 | </div> |
frontend/views/site/index.php
@@ -393,7 +393,7 @@ _________________________________________________________ --> | @@ -393,7 +393,7 @@ _________________________________________________________ --> | ||
393 | */ | 393 | */ |
394 | ?> | 394 | ?> |
395 | 395 | ||
396 | -<section class="bar background-gray no-mb"> | 396 | +<section class="bar background-white no-mb"> |
397 | <div class="container"> | 397 | <div class="container"> |
398 | <div class="col-md-12"> | 398 | <div class="col-md-12"> |
399 | <?php echo $seo->text; ?> | 399 | <?php echo $seo->text; ?> |
frontend/web/css/style.css
@@ -4053,13 +4053,13 @@ hr { | @@ -4053,13 +4053,13 @@ hr { | ||
4053 | } | 4053 | } |
4054 | 4054 | ||
4055 | .dropdown-menu .dropdown-submenu { | 4055 | .dropdown-menu .dropdown-submenu { |
4056 | - position: static; | 4056 | + position: relative; |
4057 | } | 4057 | } |
4058 | 4058 | ||
4059 | .dropdown-menu .dropdown-submenu > .dropdown-menu { | 4059 | .dropdown-menu .dropdown-submenu > .dropdown-menu { |
4060 | top: 0; | 4060 | top: 0; |
4061 | left: 100%; | 4061 | left: 100%; |
4062 | - min-height: 200px; | 4062 | + /*min-height: 200px;*/ |
4063 | margin-left: -4px; | 4063 | margin-left: -4px; |
4064 | border-radius: 0 3px 3px 3px; | 4064 | border-radius: 0 3px 3px 3px; |
4065 | } | 4065 | } |
@@ -4529,4 +4529,13 @@ a.list-group-item.active > .badge, | @@ -4529,4 +4529,13 @@ a.list-group-item.active > .badge, | ||
4529 | .inline-block.lang-link { | 4529 | .inline-block.lang-link { |
4530 | font-size: 18px; | 4530 | font-size: 18px; |
4531 | padding-right: 20px; | 4531 | padding-right: 20px; |
4532 | +} | ||
4533 | +.reset-filters{ | ||
4534 | + padding: 5px 10px; | ||
4535 | + font-size: 12px; | ||
4536 | + line-height: 1.5; | ||
4537 | + border-radius: 50px; | ||
4538 | + padding-right: 20px; | ||
4539 | + outline: none; | ||
4540 | + margin-bottom: 20px; | ||
4532 | } | 4541 | } |
4533 | \ No newline at end of file | 4542 | \ No newline at end of file |