Files
Iris/src/scss/components/_loader.scss

52 lines
770 B
SCSS
Raw Normal View History

2017-05-14 07:16:11 +12:00
.body-loader {
padding: 35vh 0;
2017-05-14 07:16:11 +12:00
.loader {
height: 120px;
width: 120px;
2017-05-14 07:16:11 +12:00
margin: 0 auto;
position: relative;
&:before,
&:after {
content: '';
display: block;
margin: 0 auto;
width: 100%;
height: 100%;
box-sizing: border-box;
border: {
radius: 100%;
style: solid;
width: 2px;
}
}
&:before {
position: absolute;
top: 0;
left: 0;
border: {
color: $light_grey;
}
}
&:after {
@include spin();
border-top-color: transparent;
border-left-color: transparent;
border-bottom-color: transparent;
border-right-color: $mid_grey;
2017-05-14 07:16:11 +12:00
}
}
&.lazy-loader {
padding: 20px 0 40px;
.loader {
height: 40px;
width: 40px;
}
2017-05-14 07:16:11 +12:00
}
}