File size: 816 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | @import "@automattic/typography/styles/variables";
// stylelint-disable-next-line scss/load-no-partial-leading-underscore
@import "calypso/assets/stylesheets/shared/_extends-forms";
.form-radio {
@extend %form-field;
clear: none;
cursor: pointer;
height: 16px;
margin: 2px 0 0;
float: left;
outline: 0;
padding: 0;
text-align: center;
width: 16px;
min-width: 16px;
appearance: none;
border-radius: 50%;
margin-right: 4px;
line-height: 10px;
&:checked::before {
float: left;
content: "\2022";
margin: 3px;
width: 8px;
height: 8px;
text-indent: -9999px;
background: var(--color-primary);
border-radius: 50%;
animation: grow 0.2s ease-in-out;
}
&:disabled:checked::before {
background: var(--color-neutral-0);
}
}
.form-radio__label {
display: block;
margin-left: 24px;
}
|