Optimize scss

This commit is contained in:
Dennis Eichhorn 2017-07-13 15:20:02 +02:00 committed by GitHub
parent fe573732ba
commit 2419097701

View File

@ -4,19 +4,19 @@
height: 20px; /* Can be anything */ height: 20px; /* Can be anything */
position: relative; position: relative;
background: none !important; background: none !important;
}
> span {
.meter > span { display: block;
display: block; height: 100%;
height: 100%; @include border-radius(3px);
@include border-radius(3px); background-color: rgb(43,194,83);
background-color: rgb(43,194,83); background-image: linear-gradient(
background-image: linear-gradient( to left top,
to left top, color-stop(0, rgb(43,194,83)),
color-stop(0, rgb(43,194,83)), color-stop(1, rgb(84,240,84)));
color-stop(1, rgb(84,240,84))); position: relative;
position: relative; overflow: hidden;
overflow: hidden; }
} }
.meter > span:after, .animate > span > span { .meter > span:after, .animate > span > span {
@ -94,15 +94,15 @@
margin: 0 0 30px 120px; margin: 0 0 30px 120px;
padding-left: 30px; padding-left: 30px;
border-left: 3px solid #eaeaea; border-left: 3px solid #eaeaea;
}
.timeline li { li {
margin: 0; margin: 0;
position: relative; position: relative;
} }
.timeline p { p {
margin: 0 0 15px; margin: 0 0 15px;
}
} }
.timeline-date { .timeline-date {
@ -188,17 +188,17 @@
height: 70px; height: 70px;
border-radius: 50%; border-radius: 50%;
background-color: tomato; background-color: tomato;
}
.overlay {
.progress-radial .overlay { position: absolute;
position: absolute; width: 60px;
width: 60px; height: 60px;
height: 60px; background-color: #fff;
background-color: #fff; border-radius: 50%;
border-radius: 50%; margin-left: 5px;
margin-left: 5px; margin-top: 5px;
margin-top: 5px; text-align: center;
text-align: center; line-height: 60px;
line-height: 60px; font-size: 9px;
font-size: 9px; }
} }