Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvdo committed Nov 28, 2023
1 parent 14e30c1 commit b2856da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
5 changes: 2 additions & 3 deletions src/components/yeti/LayerButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ export default {
$width: calc(70 / 14 * 1rem);
$height: calc(50 / 14 * 1rem);
.layer-button {
text-align: center;
}
.layer-image {
position: relative;
width: $width;
Expand Down Expand Up @@ -140,6 +137,8 @@ $height: calc(50 / 14 * 1rem);
width: 12px;
}
.layer-button {
text-align: center;
.is-checkradio[type='checkbox'] + label::before,
.is-checkradio[type='radio'] + label::before,
.is-checkradio[type='checkbox'] + label::after,
Expand Down
11 changes: 2 additions & 9 deletions src/views/portals/YetiView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ $yeti-height: calc(100vh - #{$navbar-height});
}
.is-checkradio[type='checkbox']:checked + label::after {
transform: rotate(45deg) scale(1);
border-color: white !important;
}
.is-checkradio[type='radio'] + label::after {
width: 0.5rem !important;
Expand All @@ -590,21 +591,13 @@ $yeti-height: calc(100vh - #{$navbar-height});
}
.is-checkradio[type='radio']:checked + label::after {
transform: scale(1);
background-color: white !important;
}
.is-checkradio[type='checkbox']:checked + label::before,
.is-checkradio[type='radio']:checked + label::before {
background: $primary;
}
.is-checkradio[type='checkbox']:checked + label::before,
.is-checkradio[type='radio']:checked + label::before {
border-color: $primary !important;
}
.is-checkradio[type='checkbox']:checked + label::after {
border-color: white !important;
}
.is-checkradio[type='radio']:checked + label::after {
background-color: white !important;
}
.is-checkradio:hover:not([disabled]) + label::before,
.is-checkradio:focus + label::before {
border-width: 2px;
Expand Down

0 comments on commit b2856da

Please sign in to comment.