@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
307 lines (260 loc) • 6.15 kB
CSS
.drawerOverlay-FGEeTq {
transition: opacity var(--ac-transition-normal);
z-index: 50;
background: #0000008c;
position: fixed;
inset: 0;
@supports (-webkit-touch-callout: none) {
position: absolute;
}
}
.drawerOverlay-FGEeTq[data-ending-style], .drawerOverlay-FGEeTq[data-starting-style] {
opacity: 0;
}
.drawerViewport-TlEqEQ {
pointer-events: none;
z-index: 51;
justify-content: center;
align-items: flex-end;
display: flex;
position: fixed;
inset: 0;
}
.drawerContent-WQbO66 {
background: var(--ac-popover);
border: 1px solid var(--ac-border);
border-radius: var(--ac-radius-lg) var(--ac-radius-lg) 0 0;
color: var(--ac-popover-foreground);
pointer-events: auto;
max-height: 95vh;
transition: opacity var(--ac-transition-normal),transform var(--ac-transition-normal);
border-bottom: 0;
flex-direction: column;
width: min(100%, 48rem);
margin-top: 6rem;
padding: 1rem 1rem 1.5rem;
display: flex;
position: relative;
inset-inline: 0;
box-shadow: 0 -16px 40px -16px #00000059;
}
.drawerContent-WQbO66[data-ending-style], .drawerContent-WQbO66[data-starting-style] {
opacity: 0;
transform: translateY(1rem);
}
.drawerInnerContent-Y3I8oJ {
flex-direction: column;
flex: 1;
min-height: 0;
display: flex;
}
.drawerHandle-sRMRMM {
background: var(--ac-border);
border-radius: 9999px;
width: 4rem;
height: .25rem;
margin: 0 auto 1rem;
}
.drawerHeader-O5p056 {
text-align: center;
gap: .375rem;
padding: 0 0 1rem;
display: grid;
}
.drawerTitle-dSviUE {
font-size: var(--ac-text-lg);
letter-spacing: -.02em;
font-weight: 600;
line-height: 1.2;
}
.drawerFooter-qY7asZ, .mobileFooter-f20nGx {
flex-direction: column;
gap: .5rem;
margin-top: auto;
padding-top: 1rem;
display: flex;
}
.desktopFooter-ONeD9L {
padding: .5rem;
}
.dropdownPositioner-W0xcuV {
z-index: 50;
}
.desktopContent-RZKVPR, .dropdownContent-fE8EQa, .dropdownSubContent-OV24Od {
background: var(--ac-popover);
border: 1px solid var(--ac-border);
border-radius: var(--ac-radius-md);
color: var(--ac-popover-foreground);
min-width: 13.75rem;
transition: opacity var(--ac-transition-normal),transform var(--ac-transition-normal);
overflow: hidden auto;
box-shadow: 0 16px 40px -16px #00000059;
}
.desktopContent-RZKVPR[data-ending-style], .desktopContent-RZKVPR[data-starting-style], .dropdownContent-fE8EQa[data-ending-style], .dropdownContent-fE8EQa[data-starting-style], .dropdownSubContent-OV24Od[data-ending-style], .dropdownSubContent-OV24Od[data-starting-style] {
opacity: 0;
transform: scale(.96);
}
.desktopContent-RZKVPR, .dropdownContent-fE8EQa {
max-height: min(70vh,var(--available-height, 70vh));
padding: .25rem;
}
.dropdownSubContent-OV24Od {
max-height: min(60vh,var(--available-height, 60vh));
padding: .25rem;
}
.desktopItem-b0ExOL, .desktopSubTrigger-Up6mAV {
border-radius: var(--ac-radius-sm);
color: inherit;
cursor: default;
font-size: var(--ac-text-sm);
-webkit-user-select: none;
user-select: none;
outline: none;
align-items: center;
gap: .5rem;
width: 100%;
min-height: 2rem;
padding: .375rem .5rem;
display: flex;
position: relative;
}
.desktopItem-b0ExOL[data-highlighted], .desktopSubTrigger-Up6mAV[data-highlighted], .desktopSubTrigger-Up6mAV[data-popup-open] {
background: var(--ac-accent);
color: var(--ac-accent-foreground);
}
.desktopItem-b0ExOL[data-disabled], .desktopSubTrigger-Up6mAV[data-disabled] {
opacity: .5;
pointer-events: none;
}
.desktopLabel-tFggqC {
font-size: var(--ac-text-sm);
padding: .375rem .5rem;
font-weight: 600;
}
.desktopSeparator-plLeiH {
background: var(--ac-border);
height: 1px;
margin: .25rem -.25rem;
}
.mobileContent-YJOYyH {
max-height: 90vh;
}
.mobileHeaderRow-qNFUjI {
align-items: center;
gap: .5rem;
display: flex;
}
.backButton-Z7hq2B {
color: inherit;
background: none;
border: 0;
border-radius: 9999px;
justify-content: center;
align-items: center;
width: 2rem;
height: 2rem;
padding: .25rem;
display: inline-flex;
}
.backButton-Z7hq2B:hover {
background: color-mix(in oklch,var(--ac-muted),transparent 50%);
}
.backButton-Z7hq2B:focus-visible, .mobileItem-oAK1bl:focus-visible {
outline: 2px solid var(--ac-ring);
outline-offset: 2px;
}
.mobileMainViewport-n9VQaa, .mobileViewport-Gl4NCJ {
overflow-y: auto;
}
.mobileViewport-Gl4NCJ {
flex: 1;
max-height: 70vh;
position: relative;
}
.mobileMainViewport-n9VQaa {
max-height: 70vh;
}
.mobileMotionPanel-OvrSdM {
width: 100%;
min-height: 100%;
padding-bottom: 1.5rem;
}
.screenReaderOnlyHeader-R6L8Ih {
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
position: absolute;
overflow: hidden;
}
.mobileItem-oAK1bl {
color: inherit;
cursor: pointer;
text-align: left;
background: none;
border: 0;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 1rem;
display: flex;
}
.mobileStandaloneItem-RZQ_8s {
background: var(--ac-muted);
border-radius: var(--ac-radius-md);
margin: .375rem .5rem;
}
.mobileGroupedItem-aRfEd_ {
background: none;
}
.mobileLabelWrapper-nJJ5Li {
padding: 0;
}
.mobileLabel-pUqmzL {
color: var(--ac-muted-foreground);
font-size: var(--ac-text-sm);
padding: .5rem 1rem;
font-weight: 500;
}
.mobileGroup-TRwLzU {
background: var(--ac-muted);
border-radius: var(--ac-radius-xl);
margin: .75rem .5rem;
overflow: hidden;
}
.mobileGroupSeparator-DBNAEM {
background: var(--ac-border);
height: 1px;
}
.itemChildren-KW73hd, .itemRow-EvnMNv {
align-items: center;
gap: .5rem;
display: flex;
}
.itemRow-EvnMNv {
justify-content: space-between;
width: 100%;
}
.chevron-W6muV5, .itemIcon-faT4mo {
flex-shrink: 0;
}
.chevron-W6muV5 {
width: 1rem;
height: 1rem;
}
.inset-MwMTbk {
padding-left: 2rem;
}
.mobileItem-oAK1bl[data-disabled="true"] {
opacity: .5;
pointer-events: none;
}
@media (width >= 640px) {
.drawerHeader-O5p056 {
text-align: left;
}
}
/*# sourceMappingURL=dropdrawer_module.css.map */