Something went wrong. Try again.
UIKit a SolidJS component library inspired by Google's Material 3 Expressive
Something went wrong. Try again.
3.2 kB · 127 lines
at detached2
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128.root { display: flex; flex-direction: row; gap: 0.5rem;
&[data-connected="true"] { &[data-size="xs"] { gap: 2px; height: 32px;
& > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; }
&:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } }
&[data-size="s"] { gap: 2px; height: 40px;
& > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; }
&:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } }
&[data-size="m"] { gap: 2px; height: 56px;
& > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; }
&:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } }
&[data-size="l"] { gap: 2px; height: 96px;
& > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-large) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-large) !important; }
&:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-large) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-large) !important; } } }
&[data-size="xl"] { gap: 2px; height: 136px;
& > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: 20px !important; border-bottom-right-radius: 20px !important; }
&:not(:first-child):not(:active) { border-top-left-radius: 20px !important; border-bottom-left-radius: 20px !important; } } } }
&:not([data-connected="true"]) { &[data-size="xs"] { gap: 18px; height: 32px; }
&[data-size="s"] { gap: 12px; height: 40px; }
&[data-size="m"] { gap: 8px; height: 56px; }
&[data-size="l"] { gap: 8px; height: 96px; }
&[data-size="xl"] { gap: 8px; height: 136px; } }
&[data-align="start"] { margin-right: auto; }
&[data-align="end"] { margin-left: auto; }}