Commit 67991b6207e9d7a224ac729ce5b25a323404a196
Merge remote-tracking branch 'origin/master'
# Conflicts: # frontend/views/category/view.php
Showing
3 changed files
with
33 additions
and
2 deletions
Show diff stats
frontend/views/category/view.php
... | ... | @@ -151,12 +151,12 @@ _________________________________________________________ --> |
151 | 151 | '/category/view', |
152 | 152 | 'id' => $model->id, |
153 | 153 | 'filter' => $filterHelper->buildLink($option), |
154 | - ] | |
154 | + ], | |
155 | 155 | ), |
156 | 156 | [ |
157 | 157 | 'class' => $filterHelper->has( |
158 | 158 | $option->lang->alias->value |
159 | - ) ? 'active' : '', | |
159 | + ) ? 'radio-but checked' : 'radio-but', | |
160 | 160 | ] |
161 | 161 | ); |
162 | 162 | } | ... | ... |
frontend/web/css/style.css
... | ... | @@ -4498,3 +4498,34 @@ a.list-group-item.active > .badge, |
4498 | 4498 | left: 15px; |
4499 | 4499 | right: 15px; |
4500 | 4500 | } |
4501 | + | |
4502 | +.radio-but{ | |
4503 | + padding: 5px 0 5px 38px; | |
4504 | + position: relative; | |
4505 | + margin: 5px 0; | |
4506 | +} | |
4507 | +.radio-but a:before{ | |
4508 | + content:''; | |
4509 | + position:absolute; | |
4510 | + left:0; | |
4511 | + top:0; | |
4512 | + width: 28px; | |
4513 | + height:28px; | |
4514 | + background: rgb(215, 220, 222); | |
4515 | + border-radius: 5px; | |
4516 | +} | |
4517 | +.radio-but.checked a:before{ | |
4518 | + background: rgb(26, 188, 156); | |
4519 | +} | |
4520 | +.radio-but.checked a:after{ | |
4521 | + content: ''; | |
4522 | + position: absolute; | |
4523 | + left: 0; | |
4524 | + top: 0; | |
4525 | + width: 28px; | |
4526 | + height: 28px; | |
4527 | + background-image: url(../img/check.png); | |
4528 | + background-size: 70%; | |
4529 | + background-position: center; | |
4530 | + background-repeat: no-repeat; | |
4531 | +} | |
4501 | 4532 | \ No newline at end of file | ... | ... |
14.9 KB