Commit 22cd966debeb83e361d059b4ef05f68ba9416a12

Authored by Eugeny Galkovskiy
1 parent a097b6f9

check

frontend/views/category/view.php
... ... @@ -143,8 +143,14 @@ _________________________________________________________ -->
143 143 '/category/view',
144 144 'id' => $model->id,
145 145 'filter' => $filterHelper->buildLink($option),
  146 + ],
  147 + [
  148 + //'class' => 'sads',
146 149 ]
147   - )
  150 + ),
  151 + [
  152 + 'class' => 'radio-but',
  153 + ]
148 154 );
149 155 }
150 156 ?>
... ...
frontend/web/css/style.css
... ... @@ -4493,3 +4493,34 @@ a.list-group-item.active > .badge,
4493 4493 left: 15px;
4494 4494 right: 15px;
4495 4495 }
  4496 +
  4497 +.radio-but{
  4498 + padding: 5px 0 5px 38px;
  4499 + position: relative;
  4500 + margin: 5px 0;
  4501 +}
  4502 +.radio-but a:before{
  4503 + content:'';
  4504 + position:absolute;
  4505 + left:0;
  4506 + top:0;
  4507 + width: 28px;
  4508 + height:28px;
  4509 + background: rgb(215, 220, 222);
  4510 + border-radius: 5px;
  4511 +}
  4512 +.radio-but.checked a:before{
  4513 + background: rgb(26, 188, 156);
  4514 +}
  4515 +.radio-but.checked a:after{
  4516 + content: '';
  4517 + position: absolute;
  4518 + left: 0;
  4519 + top: 0;
  4520 + width: 28px;
  4521 + height: 28px;
  4522 + background-image: url(../img/check.png);
  4523 + background-size: 70%;
  4524 + background-position: center;
  4525 + background-repeat: no-repeat;
  4526 +}
4496 4527 \ No newline at end of file
... ...
frontend/web/img/check.png 0 → 100644

14.9 KB