This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/web/semantic/dist/components/progress.css

518 lines
9.9 KiB
CSS
Raw Normal View History

2015-03-29 19:33:23 +02:00
/*!
2016-06-10 00:34:34 +02:00
* # Semantic UI 2.1.7 - Progress Bar
2015-03-29 19:33:23 +02:00
* http://github.com/semantic-org/semantic-ui/
*
*
2016-06-10 00:34:34 +02:00
* Copyright 2015 Contributors
2015-03-29 19:33:23 +02:00
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Progress
*******************************/
.ui.progress {
position: relative;
display: block;
max-width: 100%;
2016-06-10 00:34:34 +02:00
border: none;
2015-03-29 19:33:23 +02:00
margin: 1em 0em 2.5em;
box-shadow: none;
2016-06-10 00:34:34 +02:00
background: rgba(0, 0, 0, 0.1);
padding: 0em;
border-radius: 0.28571429rem;
2015-03-29 19:33:23 +02:00
}
.ui.progress:first-child {
margin: 0em 0em 2.5em;
}
.ui.progress:last-child {
margin: 0em 0em 1.5em;
}
2016-06-10 00:34:34 +02:00
/*******************************
Content
*******************************/
/* Activity Bar */
.ui.progress .bar {
display: block;
line-height: 1;
position: relative;
width: 0%;
min-width: 2em;
background: #888888;
border-radius: 0.28571429rem;
-webkit-transition: width 0.1s ease, background-color 0.1s ease;
transition: width 0.1s ease, background-color 0.1s ease;
}
/* 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;
}
/* 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;
-webkit-transition: color 0.4s ease;
transition: color 0.4s ease;
}
/*******************************
Types
*******************************/
2015-03-29 19:33:23 +02:00
/* Indicating */
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="1"] .bar,
.ui.indicating.progress[data-percent^="2"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #d95c5c;
}
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="3"] .bar {
background-color: #efbc72;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="4"] .bar,
.ui.indicating.progress[data-percent^="5"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #e6bb48;
}
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="6"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #ddc928;
}
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="7"] .bar,
.ui.indicating.progress[data-percent^="8"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #b4d95c;
}
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent^="9"] .bar,
.ui.indicating.progress[data-percent^="100"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #66da81;
}
/* Indicating Label */
.ui.indicating.progress[data-percent^="1"] .label,
.ui.indicating.progress[data-percent^="2"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.indicating.progress[data-percent^="3"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.indicating.progress[data-percent^="4"] .label,
.ui.indicating.progress[data-percent^="5"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.indicating.progress[data-percent^="6"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.indicating.progress[data-percent^="7"] .label,
.ui.indicating.progress[data-percent^="8"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.indicating.progress[data-percent^="9"] .label,
.ui.indicating.progress[data-percent^="100"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
/* Single Digits */
2016-06-10 00:34:34 +02:00
.ui.indicating.progress[data-percent="1"] .bar,
.ui.indicating.progress[data-percent="2"] .bar,
.ui.indicating.progress[data-percent="3"] .bar,
.ui.indicating.progress[data-percent="4"] .bar,
.ui.indicating.progress[data-percent="5"] .bar,
.ui.indicating.progress[data-percent="6"] .bar,
.ui.indicating.progress[data-percent="7"] .bar,
.ui.indicating.progress[data-percent="8"] .bar,
.ui.indicating.progress[data-percent="9"] .bar {
2015-03-29 19:33:23 +02:00
background-color: #d95c5c;
}
.ui.indicating.progress[data-percent="1"] .label,
.ui.indicating.progress[data-percent="2"] .label,
.ui.indicating.progress[data-percent="3"] .label,
.ui.indicating.progress[data-percent="4"] .label,
.ui.indicating.progress[data-percent="5"] .label,
.ui.indicating.progress[data-percent="6"] .label,
.ui.indicating.progress[data-percent="7"] .label,
.ui.indicating.progress[data-percent="8"] .label,
.ui.indicating.progress[data-percent="9"] .label {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
/* Indicating Success */
.ui.indicating.progress.success .label {
2016-06-10 00:34:34 +02:00
color: #1a531b;
2015-03-29 19:33:23 +02:00
}
/*******************************
States
*******************************/
/*--------------
Success
---------------*/
.ui.progress.success .bar {
2016-06-10 00:34:34 +02:00
background-color: #21ba45 !important;
2015-03-29 19:33:23 +02:00
}
.ui.progress.success .bar,
.ui.progress.success .bar::after {
-webkit-animation: none !important;
animation: none !important;
}
.ui.progress.success > .label {
2016-06-10 00:34:34 +02:00
color: #1a531b;
2015-03-29 19:33:23 +02:00
}
/*--------------
Warning
---------------*/
.ui.progress.warning .bar {
background-color: #f2c037 !important;
}
.ui.progress.warning .bar,
.ui.progress.warning .bar::after {
-webkit-animation: none !important;
animation: none !important;
}
.ui.progress.warning > .label {
2016-06-10 00:34:34 +02:00
color: #794b02;
2015-03-29 19:33:23 +02:00
}
/*--------------
Error
---------------*/
.ui.progress.error .bar {
2016-06-10 00:34:34 +02:00
background-color: #db2828 !important;
2015-03-29 19:33:23 +02:00
}
.ui.progress.error .bar,
.ui.progress.error .bar::after {
-webkit-animation: none !important;
animation: none !important;
}
.ui.progress.error > .label {
color: #912d2b;
}
/*--------------
Active
---------------*/
.ui.active.progress .bar {
position: relative;
min-width: 2em;
}
.ui.active.progress .bar::after {
content: '';
opacity: 0;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background: #ffffff;
2016-06-10 00:34:34 +02:00
border-radius: 0.28571429rem;
2015-03-29 19:33:23 +02:00
-webkit-animation: progress-active 2s ease infinite;
animation: progress-active 2s ease infinite;
}
@-webkit-keyframes progress-active {
0% {
opacity: 0.3;
width: 0;
}
100% {
opacity: 0;
width: 100%;
}
}
@keyframes progress-active {
0% {
opacity: 0.3;
width: 0;
}
100% {
opacity: 0;
width: 100%;
}
}
/*--------------
Disabled
---------------*/
.ui.disabled.progress {
opacity: 0.35;
}
.ui.disabled.progress .bar,
.ui.disabled.progress .bar::after {
-webkit-animation: none !important;
animation: none !important;
}
/*******************************
Variations
*******************************/
/*--------------
Inverted
---------------*/
.ui.inverted.progress {
2016-06-10 00:34:34 +02:00
background: rgba(255, 255, 255, 0.08);
2015-03-29 19:33:23 +02:00
border: none;
}
.ui.inverted.progress .bar {
background: #888888;
}
.ui.inverted.progress .bar > .progress {
2016-06-10 00:34:34 +02:00
color: #f9fafb;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.progress > .label {
color: #ffffff;
}
.ui.inverted.progress.success > .label {
2016-06-10 00:34:34 +02:00
color: #21ba45;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.progress.warning > .label {
color: #f2c037;
}
.ui.inverted.progress.error > .label {
2016-06-10 00:34:34 +02:00
color: #db2828;
2015-03-29 19:33:23 +02:00
}
/*--------------
Attached
---------------*/
/* bottom attached */
.ui.progress.attached {
background: transparent;
position: relative;
border: none;
margin: 0em;
}
.ui.progress.attached,
.ui.progress.attached .bar {
display: block;
height: 0.2rem;
padding: 0px;
overflow: hidden;
2016-06-10 00:34:34 +02:00
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
2015-03-29 19:33:23 +02:00
}
.ui.progress.attached .bar {
border-radius: 0em;
}
/* top attached */
.ui.progress.top.attached,
.ui.progress.top.attached .bar {
top: 0px;
2016-06-10 00:34:34 +02:00
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
2015-03-29 19:33:23 +02:00
}
.ui.progress.top.attached .bar {
border-radius: 0em;
}
/* 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;
}
/*--------------
Colors
---------------*/
2016-06-10 00:34:34 +02:00
/* Red */
.ui.red.progress .bar {
background-color: #db2828;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.red.inverted.progress .bar {
background-color: #ff695e;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/* Orange */
2015-03-29 19:33:23 +02:00
.ui.orange.progress .bar {
2016-06-10 00:34:34 +02:00
background-color: #f2711c;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.orange.inverted.progress .bar {
background-color: #ff851b;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/* Yellow */
.ui.yellow.progress .bar {
background-color: #fbbd08;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.yellow.inverted.progress .bar {
background-color: #ffe21f;
}
/* Olive */
.ui.olive.progress .bar {
background-color: #b5cc18;
}
.ui.olive.inverted.progress .bar {
background-color: #d9e778;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/* Green */
.ui.green.progress .bar {
background-color: #21ba45;
}
.ui.green.inverted.progress .bar {
background-color: #2ecc40;
}
/* Teal */
2015-03-29 19:33:23 +02:00
.ui.teal.progress .bar {
background-color: #00b5ad;
}
2016-06-10 00:34:34 +02:00
.ui.teal.inverted.progress .bar {
background-color: #6dffff;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/* Blue */
.ui.blue.progress .bar {
background-color: #2185d0;
2015-03-29 19:33:23 +02:00
}
.ui.blue.inverted.progress .bar {
background-color: #54c8ff;
}
2016-06-10 00:34:34 +02:00
/* Violet */
.ui.violet.progress .bar {
background-color: #6435c9;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.violet.inverted.progress .bar {
background-color: #a291fb;
}
/* Purple */
.ui.purple.progress .bar {
background-color: #a333c8;
}
.ui.purple.inverted.progress .bar {
background-color: #dc73ff;
}
/* Pink */
.ui.pink.progress .bar {
background-color: #e03997;
2015-03-29 19:33:23 +02:00
}
.ui.pink.inverted.progress .bar {
background-color: #ff8edf;
}
2016-06-10 00:34:34 +02:00
/* Brown */
.ui.brown.progress .bar {
background-color: #a5673f;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.brown.inverted.progress .bar {
background-color: #d67c1c;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/* Grey */
.ui.grey.progress .bar {
background-color: #767676;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.grey.inverted.progress .bar {
background-color: #dcddde;
}
/* Black */
.ui.black.progress .bar {
background-color: #1b1c1d;
}
.ui.black.inverted.progress .bar {
background-color: #545454;
2015-03-29 19:33:23 +02:00
}
/*--------------
Sizes
---------------*/
.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.progress {
font-size: 1rem;
}
.ui.progress .bar {
height: 1.75em;
}
.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;
}
/*******************************
Progress
*******************************/
/*******************************
Site Overrides
*******************************/