+
+
+
+
+
@@ -37,12 +45,11 @@ export default {
box-shadow: 0px 0px 0px 6px $blue-100;
border: 1px solid transparent;
}
- input[type='checkbox'] {
- position: absolute !important;
- height: 1px;
- width: 1px;
- overflow: hidden;
- clip: rect(1px, 1px, 1px, 1px);
+ input[type='checkbox'],
+ input[type="radio"] {
+ opacity: 0;
+ position: fixed;
+ width: 0;
+ label {
display: block;
position: relative;
@@ -92,5 +99,23 @@ export default {
background: #ddd;
}
}
+ input[type="radio"] {
+ + label::before {
+ content: "";
+ display: none;
+ }
+ + label::after {
+ content: "";
+ display: none;
+ }
+ + label {
+ img {
+ height: 46px;
+ width: auto;
+ order: 1;
+ margin-bottom: 1rem;
+ }
+ }
+ }
}