123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- /*!
- * # Semantic UI 2.4.2 - Progress Bar
- * http://github.com/semantic-org/semantic-ui/
- *
- *
- * Released under the MIT license
- * http://opensource.org/licenses/MIT
- *
- */
- /*******************************
- Progress
- *******************************/
- .ui.progress {
- position: relative;
- display: block;
- max-width: 100%;
- border: none;
- margin: 1em 0em 2.5em;
- -webkit-box-shadow: none;
- box-shadow: none;
- background: rgba(0, 0, 0, 0.1);
- padding: 0em;
- border-radius: 0.28571429rem;
- }
- .ui.progress:first-child {
- margin: 0em 0em 2.5em;
- }
- .ui.progress:last-child {
- margin: 0em 0em 1.5em;
- }
- /*******************************
- 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
- *******************************/
- /* Indicating */
- .ui.indicating.progress[data-percent^="1"] .bar,
- .ui.indicating.progress[data-percent^="2"] .bar {
- background-color: #D95C5C;
- }
- .ui.indicating.progress[data-percent^="3"] .bar {
- background-color: #EFBC72;
- }
- .ui.indicating.progress[data-percent^="4"] .bar,
- .ui.indicating.progress[data-percent^="5"] .bar {
- background-color: #E6BB48;
- }
- .ui.indicating.progress[data-percent^="6"] .bar {
- background-color: #DDC928;
- }
- .ui.indicating.progress[data-percent^="7"] .bar,
- .ui.indicating.progress[data-percent^="8"] .bar {
- background-color: #B4D95C;
- }
- .ui.indicating.progress[data-percent^="9"] .bar,
- .ui.indicating.progress[data-percent^="100"] .bar {
- background-color: #66DA81;
- }
- /* 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);
- }
- /* Single Digits */
- .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 {
- 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 {
- color: rgba(0, 0, 0, 0.87);
- }
- /* Indicating Success */
- .ui.indicating.progress.success .label {
- color: #1A531B;
- }
- /*******************************
- States
- *******************************/
- /*--------------
- Success
- ---------------*/
- .ui.progress.success .bar {
- background-color: #21BA45 !important;
- }
- .ui.progress.success .bar,
- .ui.progress.success .bar::after {
- -webkit-animation: none !important;
- animation: none !important;
- }
- .ui.progress.success > .label {
- color: #1A531B;
- }
- /*--------------
- 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 {
- color: #794B02;
- }
- /*--------------
- Error
- ---------------*/
- .ui.progress.error .bar {
- background-color: #DB2828 !important;
- }
- .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;
- border-radius: 0.28571429rem;
- -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 {
- background: rgba(255, 255, 255, 0.08);
- border: none;
- }
- .ui.inverted.progress .bar {
- background: #888888;
- }
- .ui.inverted.progress .bar > .progress {
- color: #F9FAFB;
- }
- .ui.inverted.progress > .label {
- color: #FFFFFF;
- }
- .ui.inverted.progress.success > .label {
- color: #21BA45;
- }
- .ui.inverted.progress.warning > .label {
- color: #F2C037;
- }
- .ui.inverted.progress.error > .label {
- color: #DB2828;
- }
- /*--------------
- 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;
- border-radius: 0em 0em 0.28571429rem 0.28571429rem;
- }
- .ui.progress.attached .bar {
- border-radius: 0em;
- }
- /* top attached */
- .ui.progress.top.attached,
- .ui.progress.top.attached .bar {
- top: 0px;
- border-radius: 0.28571429rem 0.28571429rem 0em 0em;
- }
- .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
- ---------------*/
- /* Red */
- .ui.red.progress .bar {
- background-color: #DB2828;
- }
- .ui.red.inverted.progress .bar {
- background-color: #FF695E;
- }
- /* Orange */
- .ui.orange.progress .bar {
- background-color: #F2711C;
- }
- .ui.orange.inverted.progress .bar {
- background-color: #FF851B;
- }
- /* Yellow */
- .ui.yellow.progress .bar {
- background-color: #FBBD08;
- }
- .ui.yellow.inverted.progress .bar {
- background-color: #FFE21F;
- }
- /* Olive */
- .ui.olive.progress .bar {
- background-color: #B5CC18;
- }
- .ui.olive.inverted.progress .bar {
- background-color: #D9E778;
- }
- /* Green */
- .ui.green.progress .bar {
- background-color: #21BA45;
- }
- .ui.green.inverted.progress .bar {
- background-color: #2ECC40;
- }
- /* Teal */
- .ui.teal.progress .bar {
- background-color: #00B5AD;
- }
- .ui.teal.inverted.progress .bar {
- background-color: #6DFFFF;
- }
- /* Blue */
- .ui.blue.progress .bar {
- background-color: #2185D0;
- }
- .ui.blue.inverted.progress .bar {
- background-color: #54C8FF;
- }
- /* Violet */
- .ui.violet.progress .bar {
- background-color: #6435C9;
- }
- .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;
- }
- .ui.pink.inverted.progress .bar {
- background-color: #FF8EDF;
- }
- /* Brown */
- .ui.brown.progress .bar {
- background-color: #A5673F;
- }
- .ui.brown.inverted.progress .bar {
- background-color: #D67C1C;
- }
- /* Grey */
- .ui.grey.progress .bar {
- background-color: #767676;
- }
- .ui.grey.inverted.progress .bar {
- background-color: #DCDDDE;
- }
- /* Black */
- .ui.black.progress .bar {
- background-color: #1B1C1D;
- }
- .ui.black.inverted.progress .bar {
- background-color: #545454;
- }
- /*--------------
- 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
- *******************************/
|