@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
77 lines (64 loc) • 1.88 kB
CSS
@layer mantine {.m_19e66008 {
display: flex;
}
.m_19e66008:where([data-orientation='horizontal']) {
flex-direction: row;
}
.m_19e66008:where([data-orientation='vertical']) {
flex-direction: column;
}
.m_19e5428e {
flex-grow: 0;
flex-shrink: 1;
overflow: auto;
}
.m_27f81bce {
flex: 0 0 var(--splitter-line-size, calc(0.125rem * var(--mantine-scale)));
display: flex;
align-items: center;
justify-content: center;
position: relative;
touch-action: none;
outline: none;
background-color: var(--splitter-handle-color, var(--mantine-color-body));
}
.m_27f81bce:where([data-orientation='horizontal']) {
cursor: col-resize;
}
.m_27f81bce:where([data-orientation='vertical']) {
cursor: row-resize;
}
.m_22feb770 {
position: absolute;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
border-radius: 1000px;
color: var(--mantine-color-dimmed);
transition: color 100ms ease;
}
:where([data-mantine-color-scheme='light']) .m_22feb770 {
background-color: var(--mantine-color-white);
border: calc(0.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-3);
}
:where([data-mantine-color-scheme='dark']) .m_22feb770 {
background-color: var(--mantine-color-dark-6);
border: calc(0.0625rem * var(--mantine-scale)) solid var(--mantine-color-dark-4);
}
.m_22feb770:where([data-orientation='horizontal']) {
width: calc(0.75rem * var(--mantine-scale));
height: calc(3.75rem * var(--mantine-scale));
}
.m_22feb770:where([data-orientation='vertical']) {
width: calc(3.75rem * var(--mantine-scale));
height: calc(0.75rem * var(--mantine-scale));
}
.m_22feb770 > svg {
width: 100%;
height: 100%;
}
.m_27f81bce:focus-visible .m_22feb770 {
box-shadow: 0 0 0 calc(0.125rem * var(--mantine-scale)) var(--mantine-primary-color-filled);
}
}