mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 15:30:57 +00:00
59 lines
1.5 KiB
CSS
59 lines
1.5 KiB
CSS
@layer mantine {.m_86a44da5 {
|
|
--cb-size-xs: 18px;
|
|
--cb-size-sm: 22px;
|
|
--cb-size-md: 28px;
|
|
--cb-size-lg: 34px;
|
|
--cb-size-xl: 44px;
|
|
|
|
--cb-size: var(--cb-size-md);
|
|
--cb-icon-size: 70%;
|
|
--cb-radius: var(--mantine-radius-default);
|
|
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
user-select: none;
|
|
|
|
width: var(--cb-size);
|
|
height: var(--cb-size);
|
|
min-width: var(--cb-size);
|
|
min-height: var(--cb-size);
|
|
border-radius: var(--cb-radius);
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='light']) .m_86a44da5 {
|
|
color: var(--mantine-color-gray-7);
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='dark']) .m_86a44da5 {
|
|
color: var(--mantine-color-dark-1);
|
|
}
|
|
|
|
.m_86a44da5[data-disabled],
|
|
.m_86a44da5:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
:where([data-mantine-color-scheme='light']) .m_220c80f2:where(:not([data-disabled], :disabled)):hover {
|
|
background-color: var(--mantine-color-gray-0);
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='dark']) .m_220c80f2:where(:not([data-disabled], :disabled)):hover {
|
|
background-color: var(--mantine-color-dark-6);
|
|
}
|
|
}
|
|
|
|
@media (hover: none) {
|
|
:where([data-mantine-color-scheme='light']) .m_220c80f2:where(:not([data-disabled], :disabled)):active {
|
|
background-color: var(--mantine-color-gray-0);
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='dark']) .m_220c80f2:where(:not([data-disabled], :disabled)):active {
|
|
background-color: var(--mantine-color-dark-6);
|
|
}
|
|
}
|
|
} |