wishthis/node_modules/fomantic-ui/dist/components/progress.css

753 lines
18 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
2023-08-17 09:47:40 +00:00
* # Fomantic-UI 2.9.2 - Progress
* https://github.com/fomantic/Fomantic-UI/
2022-01-13 13:00:31 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-01-13 13:00:31 +00:00
*
*/
/*******************************
Progress
*******************************/
.ui.progress {
position: relative;
display: flex;
max-width: 100%;
border: none;
margin: 1em 0 2.5em;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
background: rgba(0, 0, 0, 0.1);
padding: 0;
border-radius: 0.28571429rem;
}
.ui.progress:first-child {
margin: 0 0 2.5em;
}
.ui.progress:last-child {
margin: 0 0 1.5em;
}
/*******************************
Content
*******************************/
/* Activity Bar */
.ui.progress .bar {
display: block;
line-height: 1;
position: relative;
width: 0;
min-width: 2em;
2023-08-17 09:47:40 +00:00
background: #888;
2022-01-13 13:00:31 +00:00
border-radius: 0.28571429rem;
transition: width 0.1s ease, background-color 0.1s ease;
overflow: hidden;
}
.ui.ui.ui.progress:not([data-percent]):not(.indeterminate) .bar,
.ui.ui.ui.progress[data-percent="0"]:not(.indeterminate) .bar {
background: transparent;
}
.ui.progress[data-percent="0"] .bar .progress {
color: rgba(0, 0, 0, 0.87);
}
.ui.inverted.progress[data-percent="0"] .bar .progress {
color: rgba(255, 255, 255, 0.9);
}
/* Percent Complete */
.ui.progress .bar > .progress {
white-space: nowrap;
position: absolute;
width: auto;
font-size: 0.92857143em;
top: 50%;
right: 0.5em;
left: auto;
bottom: auto;
color: rgba(255, 255, 255, 0.7);
text-shadow: none;
margin-top: -0.5em;
font-weight: bold;
text-align: left;
}
.ui.right.aligned.progress {
2023-08-17 09:47:40 +00:00
justify-content: flex-end;
2022-01-13 13:00:31 +00:00
}
.ui.right.aligned.progress .bar > .progress {
left: 0.5em;
right: auto;
}
/* Label */
.ui.progress > .label {
position: absolute;
width: 100%;
font-size: 1em;
top: 100%;
right: auto;
left: 0;
bottom: auto;
color: rgba(0, 0, 0, 0.87);
font-weight: bold;
text-shadow: none;
margin-top: 0.2em;
text-align: center;
transition: color 0.4s ease;
}
/*******************************
Types
*******************************/
/* Indicating */
.ui.indicating.progress[data-percent^="1"] .bar,
.ui.indicating.progress[data-percent^="2"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #d95c5c;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent^="3"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #efbc72;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent^="4"] .bar,
.ui.indicating.progress[data-percent^="5"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #e6bb48;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent^="6"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #ddc928;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent^="7"] .bar,
.ui.indicating.progress[data-percent^="8"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #b4d95c;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent^="9"] .bar,
.ui.indicating.progress[data-percent^="100"] .bar {
2023-08-17 09:47:40 +00:00
background-color: #66da81;
2022-01-13 13:00:31 +00:00
}
/* Indicating Label */
.ui.indicating.progress[data-percent^="1"] .label,
.ui.indicating.progress[data-percent^="2"] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.indicating.progress[data-percent^="3"] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.indicating.progress[data-percent^="4"] .label,
.ui.indicating.progress[data-percent^="5"] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.indicating.progress[data-percent^="6"] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.indicating.progress[data-percent^="7"] .label,
.ui.indicating.progress[data-percent^="8"] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.indicating.progress[data-percent^="9"] .label,
.ui.indicating.progress[data-percent^="100"] .label {
color: rgba(0, 0, 0, 0.87);
}
/* Inverted Indicating Label */
.ui.inverted.indicating.progress[data-percent^="1"] .label,
.ui.inverted.indicating.progress[data-percent^="2"] .label {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.indicating.progress[data-percent^="3"] .label {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.indicating.progress[data-percent^="4"] .label,
.ui.inverted.indicating.progress[data-percent^="5"] .label {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.indicating.progress[data-percent^="6"] .label {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.indicating.progress[data-percent^="7"] .label,
.ui.inverted.indicating.progress[data-percent^="8"] .label {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.indicating.progress[data-percent^="9"] .label,
.ui.inverted.indicating.progress[data-percent^="100"] .label {
color: rgba(255, 255, 255, 0.9);
}
/* Single Digits */
.ui.indicating.progress[data-percent="1"] .bar,
.ui.indicating.progress[data-percent^="1."] .bar,
.ui.indicating.progress[data-percent="2"] .bar,
.ui.indicating.progress[data-percent^="2."] .bar,
.ui.indicating.progress[data-percent="3"] .bar,
.ui.indicating.progress[data-percent^="3."] .bar,
.ui.indicating.progress[data-percent="4"] .bar,
.ui.indicating.progress[data-percent^="4."] .bar,
.ui.indicating.progress[data-percent="5"] .bar,
.ui.indicating.progress[data-percent^="5."] .bar,
.ui.indicating.progress[data-percent="6"] .bar,
.ui.indicating.progress[data-percent^="6."] .bar,
.ui.indicating.progress[data-percent="7"] .bar,
.ui.indicating.progress[data-percent^="7."] .bar,
.ui.indicating.progress[data-percent="8"] .bar,
.ui.indicating.progress[data-percent^="8."] .bar,
.ui.indicating.progress[data-percent="9"] .bar,
.ui.indicating.progress[data-percent^="9."] .bar {
2023-08-17 09:47:40 +00:00
background-color: #d95c5c;
2022-01-13 13:00:31 +00:00
}
.ui.indicating.progress[data-percent="0"] .label,
.ui.indicating.progress[data-percent^="0."] .label,
.ui.indicating.progress[data-percent="1"] .label,
.ui.indicating.progress[data-percent^="1."] .label,
.ui.indicating.progress[data-percent="2"] .label,
.ui.indicating.progress[data-percent^="2."] .label,
.ui.indicating.progress[data-percent="3"] .label,
.ui.indicating.progress[data-percent^="3."] .label,
.ui.indicating.progress[data-percent="4"] .label,
.ui.indicating.progress[data-percent^="4."] .label,
.ui.indicating.progress[data-percent="5"] .label,
.ui.indicating.progress[data-percent^="5."] .label,
.ui.indicating.progress[data-percent="6"] .label,
.ui.indicating.progress[data-percent^="6."] .label,
.ui.indicating.progress[data-percent="7"] .label,
.ui.indicating.progress[data-percent^="7."] .label,
.ui.indicating.progress[data-percent="8"] .label,
.ui.indicating.progress[data-percent^="8."] .label,
.ui.indicating.progress[data-percent="9"] .label,
.ui.indicating.progress[data-percent^="9."] .label {
color: rgba(0, 0, 0, 0.87);
}
.ui.inverted.indicating.progress[data-percent="0"] .label,
.ui.inverted.indicating.progress[data-percent^="0."] .label,
.ui.inverted.indicating.progress[data-percent="1"] .label,
.ui.inverted.indicating.progress[data-percent^="1."] .label,
.ui.inverted.indicating.progress[data-percent="2"] .label,
.ui.inverted.indicating.progress[data-percent^="2."] .label,
.ui.inverted.indicating.progress[data-percent="3"] .label,
.ui.inverted.indicating.progress[data-percent^="3."] .label,
.ui.inverted.indicating.progress[data-percent="4"] .label,
.ui.inverted.indicating.progress[data-percent^="4."] .label,
.ui.inverted.indicating.progress[data-percent="5"] .label,
.ui.inverted.indicating.progress[data-percent^="5."] .label,
.ui.inverted.indicating.progress[data-percent="6"] .label,
.ui.inverted.indicating.progress[data-percent^="6."] .label,
.ui.inverted.indicating.progress[data-percent="7"] .label,
.ui.inverted.indicating.progress[data-percent^="7."] .label,
.ui.inverted.indicating.progress[data-percent="8"] .label,
.ui.inverted.indicating.progress[data-percent^="8."] .label,
.ui.inverted.indicating.progress[data-percent="9"] .label,
.ui.inverted.indicating.progress[data-percent^="9."] .label {
color: rgba(255, 255, 255, 0.9);
}
/* Indicating Success */
.ui.ui.indicating.progress.success .label {
2023-08-17 09:47:40 +00:00
color: #1a531b;
2022-01-13 13:00:31 +00:00
}
/*******************************
States
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Success
--------------- */
2022-01-13 13:00:31 +00:00
.ui.ui.progress.success .bar {
2023-08-17 09:47:40 +00:00
background-color: #21ba45;
2022-01-13 13:00:31 +00:00
}
.ui.ui.progress.success .bar,
.ui.ui.progress.success .bar::after {
2023-08-17 09:47:40 +00:00
animation: none;
2022-01-13 13:00:31 +00:00
}
.ui.progress.success > .label {
2023-08-17 09:47:40 +00:00
color: #1a531b;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Warning
--------------- */
2022-01-13 13:00:31 +00:00
.ui.ui.progress.warning .bar {
2023-08-17 09:47:40 +00:00
background-color: #f2c037;
2022-01-13 13:00:31 +00:00
}
.ui.ui.progress.warning .bar,
.ui.ui.progress.warning .bar::after {
2023-08-17 09:47:40 +00:00
animation: none;
2022-01-13 13:00:31 +00:00
}
.ui.progress.warning > .label {
2023-08-17 09:47:40 +00:00
color: #794b02;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Error
--------------- */
2022-01-13 13:00:31 +00:00
.ui.ui.progress.error .bar {
2023-08-17 09:47:40 +00:00
background-color: #db2828;
2022-01-13 13:00:31 +00:00
}
.ui.ui.progress.error .bar,
.ui.ui.progress.error .bar::after {
2023-08-17 09:47:40 +00:00
animation: none;
2022-01-13 13:00:31 +00:00
}
.ui.progress.error > .label {
2023-08-17 09:47:40 +00:00
color: #912d2b;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Active
--------------- */
2022-01-13 13:00:31 +00:00
.ui.active.progress .bar {
position: relative;
min-width: 2em;
}
.ui.active.progress .bar::after {
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
opacity: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
2023-08-17 09:47:40 +00:00
background: #fff;
2022-01-13 13:00:31 +00:00
border-radius: 0.28571429rem;
2023-08-17 09:47:40 +00:00
animation: progress-active 2s ease infinite;
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
.ui.active.right.aligned.progress .bar::after {
2023-08-17 09:47:40 +00:00
transform-origin: right;
2022-01-13 13:00:31 +00:00
}
@keyframes progress-active {
0% {
opacity: 0.3;
2023-08-17 09:47:40 +00:00
transform: scale(0, 1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Disabled
--------------- */
2022-01-13 13:00:31 +00:00
.ui.disabled.progress {
opacity: 0.35;
}
.ui.ui.disabled.progress .bar,
.ui.ui.disabled.progress .bar::after {
2023-08-17 09:47:40 +00:00
animation: none;
2022-01-13 13:00:31 +00:00
}
/*******************************
Variations
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Inverted
--------------- */
2022-01-13 13:00:31 +00:00
.ui.inverted.progress {
background: rgba(255, 255, 255, 0.08);
border: none;
}
.ui.inverted.progress .bar {
2023-08-17 09:47:40 +00:00
background: #888;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.progress .bar > .progress {
2023-08-17 09:47:40 +00:00
color: #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.progress > .label {
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.progress.success > .label {
2023-08-17 09:47:40 +00:00
color: #21ba45;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.progress.warning > .label {
2023-08-17 09:47:40 +00:00
color: #f2c037;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.progress.error > .label {
2023-08-17 09:47:40 +00:00
color: #db2828;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Attached
--------------- */
2022-01-13 13:00:31 +00:00
/* bottom attached */
.ui.progress.attached {
background: transparent;
position: relative;
border: none;
margin: 0;
}
.ui.progress.attached,
.ui.progress.attached .bar {
height: 0.2rem;
padding: 0;
overflow: hidden;
border-radius: 0 0 0.28571429rem 0.28571429rem;
}
.ui.progress.attached .bar {
border-radius: 0;
}
/* top attached */
.ui.progress.top.attached,
.ui.progress.top.attached .bar {
top: 0;
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui.progress.top.attached .bar {
border-radius: 0;
}
/* Coupling */
.ui.segment > .ui.attached.progress,
.ui.card > .ui.attached.progress {
position: absolute;
top: auto;
left: 0;
bottom: 100%;
width: 100%;
}
.ui.segment > .ui.bottom.attached.progress,
.ui.card > .ui.bottom.attached.progress {
top: 100%;
bottom: auto;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Colors
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.ui.indeterminate.primary.progress .bar::before,
.ui.primary.progress .bar,
.ui.progress .primary.bar {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.primary.progress .bar::before,
.ui.primary.inverted.progress .bar,
.ui.inverted.progress .primary.bar {
2023-08-17 09:47:40 +00:00
background-color: #54c8ff;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.secondary.progress .bar::before,
.ui.secondary.progress .bar,
.ui.progress .secondary.bar {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.secondary.progress .bar::before,
.ui.secondary.inverted.progress .bar,
.ui.inverted.progress .secondary.bar {
background-color: #545454;
}
.ui.indeterminate.red.progress .bar::before,
.ui.red.progress .bar,
.ui.progress .red.bar {
2023-08-17 09:47:40 +00:00
background-color: #db2828;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.red.progress .bar::before,
.ui.red.inverted.progress .bar,
.ui.inverted.progress .red.bar {
2023-08-17 09:47:40 +00:00
background-color: #ff695e;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.orange.progress .bar::before,
.ui.orange.progress .bar,
.ui.progress .orange.bar {
2023-08-17 09:47:40 +00:00
background-color: #f2711c;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.orange.progress .bar::before,
.ui.orange.inverted.progress .bar,
.ui.inverted.progress .orange.bar {
2023-08-17 09:47:40 +00:00
background-color: #ff851b;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.yellow.progress .bar::before,
.ui.yellow.progress .bar,
.ui.progress .yellow.bar {
2023-08-17 09:47:40 +00:00
background-color: #fbbd08;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.yellow.progress .bar::before,
.ui.yellow.inverted.progress .bar,
.ui.inverted.progress .yellow.bar {
2023-08-17 09:47:40 +00:00
background-color: #ffe21f;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.olive.progress .bar::before,
.ui.olive.progress .bar,
.ui.progress .olive.bar {
2023-08-17 09:47:40 +00:00
background-color: #b5cc18;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.olive.progress .bar::before,
.ui.olive.inverted.progress .bar,
.ui.inverted.progress .olive.bar {
2023-08-17 09:47:40 +00:00
background-color: #d9e778;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.green.progress .bar::before,
.ui.green.progress .bar,
.ui.progress .green.bar {
2023-08-17 09:47:40 +00:00
background-color: #21ba45;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.green.progress .bar::before,
.ui.green.inverted.progress .bar,
.ui.inverted.progress .green.bar {
2023-08-17 09:47:40 +00:00
background-color: #2ecc40;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.teal.progress .bar::before,
.ui.teal.progress .bar,
.ui.progress .teal.bar {
2023-08-17 09:47:40 +00:00
background-color: #00b5ad;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.teal.progress .bar::before,
.ui.teal.inverted.progress .bar,
.ui.inverted.progress .teal.bar {
2023-08-17 09:47:40 +00:00
background-color: #6dffff;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.blue.progress .bar::before,
.ui.blue.progress .bar,
.ui.progress .blue.bar {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.blue.progress .bar::before,
.ui.blue.inverted.progress .bar,
.ui.inverted.progress .blue.bar {
2023-08-17 09:47:40 +00:00
background-color: #54c8ff;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.violet.progress .bar::before,
.ui.violet.progress .bar,
.ui.progress .violet.bar {
2023-08-17 09:47:40 +00:00
background-color: #6435c9;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.violet.progress .bar::before,
.ui.violet.inverted.progress .bar,
.ui.inverted.progress .violet.bar {
2023-08-17 09:47:40 +00:00
background-color: #a291fb;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.purple.progress .bar::before,
.ui.purple.progress .bar,
.ui.progress .purple.bar {
2023-08-17 09:47:40 +00:00
background-color: #a333c8;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.purple.progress .bar::before,
.ui.purple.inverted.progress .bar,
.ui.inverted.progress .purple.bar {
2023-08-17 09:47:40 +00:00
background-color: #dc73ff;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.pink.progress .bar::before,
.ui.pink.progress .bar,
.ui.progress .pink.bar {
2023-08-17 09:47:40 +00:00
background-color: #e03997;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.pink.progress .bar::before,
.ui.pink.inverted.progress .bar,
.ui.inverted.progress .pink.bar {
2023-08-17 09:47:40 +00:00
background-color: #ff8edf;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.brown.progress .bar::before,
.ui.brown.progress .bar,
.ui.progress .brown.bar {
2023-08-17 09:47:40 +00:00
background-color: #a5673f;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.brown.progress .bar::before,
.ui.brown.inverted.progress .bar,
.ui.inverted.progress .brown.bar {
2023-08-17 09:47:40 +00:00
background-color: #d67c1c;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.grey.progress .bar::before,
.ui.grey.progress .bar,
.ui.progress .grey.bar {
background-color: #767676;
}
.ui.inverted.indeterminate.grey.progress .bar::before,
.ui.grey.inverted.progress .bar,
.ui.inverted.progress .grey.bar {
2023-08-17 09:47:40 +00:00
background-color: #dcddde;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.black.progress .bar::before,
.ui.black.progress .bar,
.ui.progress .black.bar {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.indeterminate.black.progress .bar::before,
.ui.black.inverted.progress .bar,
.ui.inverted.progress .black.bar {
background-color: #545454;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Sizes
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.ui.progress {
font-size: 1rem;
}
.ui.progress .bar {
height: 1.75em;
}
.ui.mini.progress {
font-size: 0.78571429rem;
}
.ui.mini.progress .bar {
height: 0.3em;
}
.ui.tiny.progress {
font-size: 0.85714286rem;
}
.ui.tiny.progress .bar {
height: 0.5em;
}
.ui.small.progress {
font-size: 0.92857143rem;
}
.ui.small.progress .bar {
height: 1em;
}
.ui.large.progress {
font-size: 1.14285714rem;
}
.ui.large.progress .bar {
height: 2.5em;
}
.ui.big.progress {
font-size: 1.28571429rem;
}
.ui.big.progress .bar {
height: 3.5em;
}
.ui.huge.progress {
font-size: 1.42857143rem;
}
.ui.huge.progress .bar {
height: 4em;
}
.ui.massive.progress {
font-size: 1.71428571rem;
}
.ui.massive.progress .bar {
height: 5em;
}
2023-08-17 09:47:40 +00:00
/* ---------------
Indeterminate
---------------- */
2022-01-13 13:00:31 +00:00
.ui.indeterminate.progress .bar {
width: 100%;
}
.ui.indeterminate.progress .bar .progress,
.ui.progress .bar .centered.progress {
text-align: center;
position: relative;
right: 0;
}
.ui.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
position: absolute;
top: 0;
bottom: 0;
border-radius: 0.28571429rem;
2023-08-17 09:47:40 +00:00
animation: progress-pulsating 2s ease infinite;
transform-origin: center;
2022-01-13 13:00:31 +00:00
width: 100%;
}
.ui.slow.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
animation-duration: 4s;
2022-01-13 13:00:31 +00:00
}
.ui.fast.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
animation-duration: 1s;
2022-01-13 13:00:31 +00:00
}
.ui.swinging.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
transform-origin: left;
animation-name: progress-swinging;
2022-01-13 13:00:31 +00:00
}
.ui.sliding.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
transform-origin: left;
animation-name: progress-sliding;
2022-01-13 13:00:31 +00:00
}
.ui.filling.indeterminate.progress .bar::before {
2023-08-17 09:47:40 +00:00
animation-name: progress-filling;
2022-01-13 13:00:31 +00:00
}
.ui.indeterminate.progress:not(.sliding):not(.filling):not(.swinging) .bar::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.sliding.indeterminate.progress .bar,
.ui.swinging.indeterminate.progress .bar,
.ui.filling.indeterminate.progress .bar {
background: rgba(0, 0, 0, 0.1);
}
.ui.sliding.indeterminate.progress .bar .progress,
.ui.swinging.indeterminate.progress .bar .progress {
2023-08-17 09:47:40 +00:00
color: #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.sliding.indeterminate.progress .bar,
.ui.inverted.swinging.indeterminate.progress .bar,
.ui.inverted.filling.indeterminate.progress .bar {
background: rgba(255, 255, 255, 0.08);
}
.ui.inverted.sliding.indeterminate.progress .bar .progress,
.ui.inverted.swinging.indeterminate.progress .bar .progress {
color: rgba(255, 255, 255, 0.7);
}
@keyframes progress-swinging {
0%,
100% {
width: 10%;
left: -25%;
}
25%,
65% {
width: 70%;
}
50% {
width: 10%;
left: 100%;
}
}
@keyframes progress-sliding {
0% {
width: 10%;
left: -25%;
}
50% {
width: 70%;
}
100% {
width: 10%;
left: 100%;
}
}
@keyframes progress-filling {
0% {
2023-08-17 09:47:40 +00:00
transform: scale(0, 1);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes progress-pulsating {
0% {
2023-08-17 09:47:40 +00:00
transform: scale(0, 1);
2022-01-13 13:00:31 +00:00
opacity: 0.7;
}
100% {
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
/*******************************
Progress
*******************************/
/*******************************
Site Overrides
*******************************/