mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 15:30:57 +00:00
143 lines
3.5 KiB
CSS
143 lines
3.5 KiB
CSS
@layer mantine {@keyframes m_81a374bd {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 40px 0;
|
|
}
|
|
}
|
|
|
|
@keyframes m_e0fb7a86 {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 0 40px;
|
|
}
|
|
}
|
|
|
|
.m_db6d6462 {
|
|
--progress-radius: var(--mantine-radius-default);
|
|
--progress-size: var(--progress-size-md);
|
|
|
|
--progress-size-xs: 3px;
|
|
--progress-size-sm: 5px;
|
|
--progress-size-md: 8px;
|
|
--progress-size-lg: 12px;
|
|
--progress-size-xl: 16px;
|
|
|
|
position: relative;
|
|
height: var(--progress-size);
|
|
border-radius: var(--progress-radius);
|
|
overflow: hidden;
|
|
display: flex;
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='light']) .m_db6d6462 {
|
|
background-color: var(--mantine-color-gray-2);
|
|
}
|
|
|
|
:where([data-mantine-color-scheme='dark']) .m_db6d6462 {
|
|
background-color: var(--mantine-color-dark-4);
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) {
|
|
height: auto;
|
|
width: var(--progress-size);
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.m_2242eb65 {
|
|
background-color: var(--progress-section-color);
|
|
height: 100%;
|
|
width: var(--progress-section-size);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
background-size: 20px 20px;
|
|
transition: width var(--progress-transition-duration, 100ms) ease;
|
|
}
|
|
|
|
.m_2242eb65:where([data-striped]) {
|
|
background-image: linear-gradient(
|
|
45deg,
|
|
rgba(255, 255, 255, 0.15) 25%,
|
|
transparent 25%,
|
|
transparent 50%,
|
|
rgba(255, 255, 255, 0.15) 50%,
|
|
rgba(255, 255, 255, 0.15) 75%,
|
|
transparent 75%,
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.m_2242eb65:where([data-animated]) {
|
|
animation: m_81a374bd 1s linear infinite;
|
|
}
|
|
|
|
.m_2242eb65:where(:last-of-type) {
|
|
border-radius: 0;
|
|
border-start-end-radius: var(--progress-radius);
|
|
border-end-end-radius: var(--progress-radius);
|
|
}
|
|
|
|
.m_2242eb65:where(:first-of-type) {
|
|
border-radius: 0;
|
|
border-start-start-radius: var(--progress-radius);
|
|
border-end-start-radius: var(--progress-radius);
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_2242eb65 {
|
|
width: 100%;
|
|
height: var(--progress-section-size);
|
|
transition: height var(--progress-transition-duration, 100ms) ease;
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_2242eb65:where([data-striped]) {
|
|
background-image: linear-gradient(
|
|
135deg,
|
|
rgba(255, 255, 255, 0.15) 25%,
|
|
transparent 25%,
|
|
transparent 50%,
|
|
rgba(255, 255, 255, 0.15) 50%,
|
|
rgba(255, 255, 255, 0.15) 75%,
|
|
transparent 75%,
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_2242eb65:where([data-animated]) {
|
|
animation: m_e0fb7a86 1s linear infinite;
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_2242eb65:where(:last-of-type) {
|
|
border-radius: 0;
|
|
border-start-start-radius: var(--progress-radius);
|
|
border-start-end-radius: var(--progress-radius);
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_2242eb65:where(:first-of-type) {
|
|
border-radius: 0;
|
|
border-end-start-radius: var(--progress-radius);
|
|
border-end-end-radius: var(--progress-radius);
|
|
}
|
|
|
|
.m_91e40b74 {
|
|
color: var(--progress-label-color, var(--mantine-color-white));
|
|
font-weight: bold;
|
|
user-select: none;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: min(calc(var(--progress-size) * 0.65), calc(1.125rem * var(--mantine-scale)));
|
|
line-height: 1;
|
|
padding-inline: 4px;
|
|
}
|
|
|
|
.m_db6d6462:where([data-orientation='vertical']) .m_91e40b74 {
|
|
writing-mode: vertical-rl;
|
|
}
|
|
} |