|
@@ -153,63 +153,68 @@ input[type='checkbox'] {
|
|
|
}
|
|
|
|
|
|
input[type='radio'] {
|
|
|
- height: 12px;
|
|
|
- width: auto;
|
|
|
+ display: inline-block;
|
|
|
+ height: 1.75rem;
|
|
|
+ width: 1.75rem;
|
|
|
+ margin-right: 0.625rem;
|
|
|
position: relative;
|
|
|
- margin-right: 27px;
|
|
|
+ background: $color-white;
|
|
|
+ border-radius: 100%;
|
|
|
+ border: 1px solid $color-grey-4;
|
|
|
}
|
|
|
|
|
|
input[type='radio']:before {
|
|
|
- border-radius: 100%;
|
|
|
- font-family: $font-wagtail-icons;
|
|
|
- font-style: normal;
|
|
|
+ content: '';
|
|
|
text-align: center;
|
|
|
position: absolute;
|
|
|
- top: -5px;
|
|
|
- left: -2px;
|
|
|
+ top: 0.1875rem;
|
|
|
+ left: 0.1875rem;
|
|
|
cursor: pointer;
|
|
|
display: block;
|
|
|
- content: map.get($icons, 'radio-full');
|
|
|
- width: 1em;
|
|
|
- height: 1em;
|
|
|
- line-height: 1.1em;
|
|
|
+ width: 0.75rem;
|
|
|
+ height: 0.75rem;
|
|
|
padding: 4px;
|
|
|
- background-color: $color-white;
|
|
|
- color: $color-grey-4;
|
|
|
- border: 1px solid $color-grey-4;
|
|
|
+ background: $color-grey-4;
|
|
|
+ mask-image: url('#{$images-root}icons/radio-full.svg');
|
|
|
+ mask-repeat: no-repeat;
|
|
|
}
|
|
|
|
|
|
input[type='radio']:checked:before {
|
|
|
- content: map.get($icons, 'radio-full');
|
|
|
- color: $color-teal;
|
|
|
+ mask-repeat: no-repeat;
|
|
|
+ background: $color-teal;
|
|
|
}
|
|
|
|
|
|
input[type='checkbox'] {
|
|
|
- height: 12px;
|
|
|
- width: 22px;
|
|
|
+ height: 1.375rem;
|
|
|
+ width: 1.375rem;
|
|
|
position: relative;
|
|
|
margin-right: 5px;
|
|
|
+ background: $color-white;
|
|
|
+ border: 1px solid $color-grey-4;
|
|
|
+ vertical-align: bottom;
|
|
|
}
|
|
|
|
|
|
input[type='checkbox']:before {
|
|
|
- font-family: $font-wagtail-icons;
|
|
|
- font-style: normal;
|
|
|
- text-align: center;
|
|
|
+ content: '';
|
|
|
position: absolute;
|
|
|
- top: -5px;
|
|
|
+ top: 2px;
|
|
|
+ left: 2px;
|
|
|
cursor: pointer;
|
|
|
display: block;
|
|
|
- content: '';
|
|
|
line-height: 20px;
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- background-color: $color-white;
|
|
|
- border: 1px solid $color-grey-4;
|
|
|
- color: $color-teal;
|
|
|
+ width: 1rem;
|
|
|
+ height: 1rem;
|
|
|
+ background: transparent;
|
|
|
}
|
|
|
|
|
|
input[type='checkbox']:checked:before {
|
|
|
- content: map.get($icons, 'tick');
|
|
|
+ background: $color-teal;
|
|
|
+ mask-image: url('#{$images-root}icons/tick.svg');
|
|
|
+ mask-repeat: no-repeat;
|
|
|
+ width: 1rem;
|
|
|
+ height: 1rem;
|
|
|
+ top: 2px;
|
|
|
+ left: 2px;
|
|
|
}
|
|
|
|
|
|
input[type='checkbox'][disabled]:before {
|