Sha256: e05e73a727ab223630fce2439b63d505b67df11ce3e76a6fee327c40eba1e690
Contents?: true
Size: 1.49 KB
Versions: 125
Compression:
Stored size: 1.49 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; left: $offscreen; &:checked, &:focus { & ~ .pb_radio_button { border: 6px solid $primary; } } } &.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
125 entries across 125 versions & 1 rubygems