Sha256: 9ac3808710ac53ffffa6aecaa3612a2a9223f9cb2b30c07bfb75ada0b2615f9a
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
.radio_collection--vertical, .radio_collection--horizontal { input[type=radio] { position: absolute; left: -9999em; } } .radio_collection--vertical { label { display: inline; cursor: pointer; line-height: 1.75; &:after { content: '\a'; white-space: pre; } } } .radio_collection--horizontal { label:not(.control-label) { display: inline-block; margin-right: 50px; cursor: pointer; } } .radio_collection-bullet { position: relative; bottom: 3px; display: inline-block; vertical-align: middle; height: 22px; width: 22px; margin-right: 5px; background: $c-white; border: 1px solid $c-border; border-radius: 50%; &:before { @include transform( translate(-50%, -50%) ); content: ''; display: none; position: absolute; top: 50%; left: 50%; height: 9px; width: 9px; background: $c-darkest-grey; border-radius: 50%; } input:checked + label &, input:checked + & { &:before { display: block; } } }
Version data entries
3 entries across 3 versions & 1 rubygems