Sha256: bdae78c4379b3ee051cf100e4221829ed31bbfa45d08c7e792385bea13703d8a
Contents?: true
Size: 1.52 KB
Versions: 33
Compression:
Stored size: 1.52 KB
Contents
@import "../tokens/colors"; @import "../tokens/spacing"; @import "../tokens/positioning"; @import "../pb_body/body"; @import "../tokens/transition"; [class^=pb_radio_kit] { display: inline-flex; cursor: pointer; .pb_radio_button { width: 22px; min-width: 22px; height: 22px; box-sizing: border-box; border-radius: 1000px; border: 2px solid $border_light; margin-right: $space_xs; transition-property: border-color, border; transition-duration: $transition_short; transition-timing-function: $easeIn; } @media (hover:hover) { &:hover, &:focus { .pb_radio_button { border-color: $primary_action; } } } input { position: relative; width: 0; left: $offscreen; &:checked, &:focus { & ~ .pb_radio_button { border: 6px solid $primary; } } } &[class*=vertical] { flex-direction: column; align-items: center; .pb_radio_button { margin-right: 0px; margin-bottom: $space_xs; } } &.dark { .pb_radio_button { border-color: $border_dark; } input { &:checked, &:focus { & ~ .pb_radio_button { border: 6px solid $primary; } } } @media (hover:hover) { &:hover, &:focus { .pb_radio_button { border-color: $primary_action; } } } &.error { > .pb_radio_button { border-color: $error_dark; } } } &.error { > .pb_radio_button { border-color: $error; } } }
Version data entries
33 entries across 33 versions & 1 rubygems