UNPKG

@swrve/core

Version:

Core set of Swrve UI Components

39 lines (31 loc) 724 B
.hidden-input { @apply .absolute .w-px .h-px .-m-px .p-0 .border-0 .overflow-hidden; clip: rect(0, 0, 0, 0); } .hidden-input:disabled ~ * { @apply .opacity-40 .cursor-not-allowed; } .sw-control-label { @apply .cursor-pointer .py-2 .px-4 .flex .items-center .rounded .leading-large; transition: all 0.15s ease-in-out; } .sw-control-label:not(:hover) .hidden-input:not(:checked) + .sw-radio-button { @apply .text-porcelain; } .sw-radio-border { @apply .border .flex .items-center .justify-center .flex-shrink-0; height: 1.25rem; width: 1.25rem; border-radius: 50%; } .sw-radio-button { height: 0.625rem; width: 0.625rem; border-radius: 50%; } .order-0 { order: 0; } .order-1 { order: 1; }