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/loader.css

287 lines
5.3 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 - Loader
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
*
*/
/*******************************
Loader
*******************************/
/* Standard Size */
.ui.loader {
display: none;
position: absolute;
top: 50%;
left: 50%;
margin: 0px;
text-align: center;
z-index: 1000;
-webkit-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
/* Static Shape */
.ui.loader:before {
position: absolute;
content: '';
top: 0%;
left: 50%;
width: 100%;
height: 100%;
border-radius: 500rem;
border: 0.2em solid rgba(0, 0, 0, 0.1);
}
/* Active Shape */
.ui.loader:after {
position: absolute;
content: '';
top: 0%;
left: 50%;
width: 100%;
height: 100%;
-webkit-animation: loader 0.6s linear;
animation: loader 0.6s linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
border-radius: 500rem;
2016-06-10 00:34:34 +02:00
border-color: #767676 transparent transparent;
2015-03-29 19:33:23 +02:00
border-style: solid;
border-width: 0.2em;
box-shadow: 0px 0px 0px 1px transparent;
}
/* Active Animation */
@-webkit-keyframes loader {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loader {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* Sizes */
.ui.loader:before,
.ui.loader:after {
width: 2.2585em;
height: 2.2585em;
margin: 0em 0em 0em -1.12925em;
}
.ui.mini.loader:before,
.ui.mini.loader:after {
width: 1.2857em;
height: 1.2857em;
margin: 0em 0em 0em -0.64285em;
}
.ui.small.loader:before,
.ui.small.loader:after {
width: 1.7142em;
height: 1.7142em;
margin: 0em 0em 0em -0.8571em;
}
.ui.large.loader:before,
.ui.large.loader:after {
width: 4.5714em;
height: 4.5714em;
margin: 0em 0em 0em -2.2857em;
}
/*-------------------
Coupling
--------------------*/
/* Show inside active dimmer */
.ui.dimmer .loader {
display: block;
}
/* Black Dimmer */
.ui.dimmer .ui.loader {
2016-06-10 00:34:34 +02:00
color: rgba(255, 255, 255, 0.9);
2015-03-29 19:33:23 +02:00
}
.ui.dimmer .ui.loader:before {
border-color: rgba(255, 255, 255, 0.15);
}
.ui.dimmer .ui.loader:after {
border-color: #ffffff transparent transparent;
}
/* White Dimmer (Inverted) */
.ui.inverted.dimmer .ui.loader {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
.ui.inverted.dimmer .ui.loader:before {
border-color: rgba(0, 0, 0, 0.1);
}
.ui.inverted.dimmer .ui.loader:after {
2016-06-10 00:34:34 +02:00
border-color: #767676 transparent transparent;
2015-03-29 19:33:23 +02:00
}
/*******************************
Types
*******************************/
/*-------------------
Text
--------------------*/
.ui.text.loader {
width: auto !important;
height: auto !important;
text-align: center;
font-style: normal;
}
/*******************************
States
*******************************/
.ui.indeterminate.loader:after {
-webkit-animation-direction: reverse;
animation-direction: reverse;
-webkit-animation-duration: 1.2s;
animation-duration: 1.2s;
}
.ui.loader.active,
.ui.loader.visible {
display: block;
}
.ui.loader.disabled,
.ui.loader.hidden {
display: none;
}
/*******************************
Variations
*******************************/
/*-------------------
Sizes
--------------------*/
/* Loader */
.ui.inverted.dimmer .ui.mini.loader,
.ui.mini.loader {
width: 1.2857em;
height: 1.2857em;
2016-06-10 00:34:34 +02:00
font-size: 0.71428571em;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.dimmer .ui.small.loader,
.ui.small.loader {
width: 1.7142em;
height: 1.7142em;
2016-06-10 00:34:34 +02:00
font-size: 0.92857143em;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.dimmer .ui.loader,
.ui.loader {
width: 2.2585em;
height: 2.2585em;
font-size: 1em;
}
.ui.inverted.dimmer .ui.loader.large,
.ui.loader.large {
width: 4.5714em;
height: 4.5714em;
2016-06-10 00:34:34 +02:00
font-size: 1.14285714em;
2015-03-29 19:33:23 +02:00
}
/* Text Loader */
.ui.mini.text.loader {
min-width: 1.2857em;
2016-06-10 00:34:34 +02:00
padding-top: 1.99998571em;
2015-03-29 19:33:23 +02:00
}
.ui.small.text.loader {
min-width: 1.7142em;
2016-06-10 00:34:34 +02:00
padding-top: 2.42848571em;
2015-03-29 19:33:23 +02:00
}
.ui.text.loader {
min-width: 2.2585em;
2016-06-10 00:34:34 +02:00
padding-top: 2.97278571em;
2015-03-29 19:33:23 +02:00
}
.ui.large.text.loader {
min-width: 4.5714em;
2016-06-10 00:34:34 +02:00
padding-top: 5.28568571em;
2015-03-29 19:33:23 +02:00
}
/*-------------------
Inverted
--------------------*/
.ui.inverted.loader {
2016-06-10 00:34:34 +02:00
color: rgba(255, 255, 255, 0.9);
2015-03-29 19:33:23 +02:00
}
.ui.inverted.loader:before {
border-color: rgba(255, 255, 255, 0.15);
}
.ui.inverted.loader:after {
border-top-color: #ffffff;
}
/*-------------------
Inline
--------------------*/
.ui.inline.loader {
position: relative;
vertical-align: middle;
margin: 0em;
left: 0em;
top: 0em;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.ui.inline.loader.active,
.ui.inline.loader.visible {
display: inline-block;
}
/* Centered Inline */
.ui.centered.inline.loader.active,
.ui.centered.inline.loader.visible {
display: block;
2016-06-10 00:34:34 +02:00
margin-left: auto;
margin-right: auto;
2015-03-29 19:33:23 +02:00
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/