File: /home/confeduphaar/www/wp-content/plugins/essential-blocks/src/blocks/progress-bar/src/style.scss
@-webkit-keyframes animateStripe {
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
-webkit-transform: translate(35px, 0);
transform: translate(35px, 0);
}
}
@keyframes animateStripe {
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
-webkit-transform: translate(35px, 0);
transform: translate(35px, 0);
}
}
@-webkit-keyframes animateStripeRTL {
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
-webkit-transform: translate(-35px, 0);
transform: translate(-35px, 0);
}
}
@keyframes animateStripeRTL {
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
-webkit-transform: translate(-35px, 0);
transform: translate(-35px, 0);
}
}
@-webkit-keyframes animateRainbow {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes animateRainbow {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.eb-progressbar {
position: relative;
}
.eb-progressbar-wrapper * {
box-sizing: border-box;
}
.eb-progressbar-title {
font-weight: 400;
}
.eb-progressbar-line {
position: relative;
display: block;
width: 100%;
height: 12px;
background-color: #eaeaea;
.eb-progressbar-count-wrap {
position: absolute;
right: 0;
bottom: calc(100% + 5px);
font-weight: 400;
line-height: 1;
}
}
.eb-progressbar-line-fill {
display: inline-block;
position: absolute;
top: 50%;
left: 0;
width: 0;
height: 12px;
background-color: #000;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
// -webkit-transition: width 1500ms linear;
// -o-transition: width 1500ms linear;
// transition: width 1500ms linear;
overflow: hidden;
}
.eb-progressbar-circle {
position: relative;
width: 200px;
height: 200px;
.eb-progressbar-title {
font-size: 16px;
font-weight: 400;
}
.eb-progressbar-count-wrap {
font-size: 28px;
font-weight: 700;
}
}
.eb-progressbar-circle-shadow {
width: 220px;
height: 220px;
padding: 10px;
border-radius: 50%;
}
.eb-progressbar-circle-pie {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-clip-path: inset(0 0 0 50%);
clip-path: inset(0 0 0 50%);
}
.eb-progressbar-circle-inner {
height: 100%;
width: 100%;
border-width: 12px;
border-style: solid;
border-color: #eee;
border-radius: 50%;
}
.eb-progressbar-circle-half {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
border-width: 12px;
border-style: solid;
border-color: #000;
border-radius: 50%;
-webkit-clip-path: inset(0 50% 0 0);
clip-path: inset(0 50% 0 0);
}
.eb-progressbar-circle-half-left {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.eb-progressbar-circle-half-right {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
visibility: hidden;
}
.eb-progressbar-circle-inner-content {
position: absolute;
top: 50%;
width: 100%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
}
.eb-progressbar-half-circle {
position: relative;
width: 200px;
height: 100px;
overflow: hidden;
.eb-progressbar-circle-pie {
-webkit-clip-path: inset(0 0 50% 0);
clip-path: inset(0 0 50% 0);
}
.eb-progressbar-circle-half {
-webkit-clip-path: inset(50% 0 0 0);
clip-path: inset(50% 0 0 0);
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.eb-progressbar-circle-inner-content {
top: initial;
bottom: 0;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
.eb-progressbar-title {
font-size: 16px;
font-weight: 400;
}
.eb-progressbar-count-wrap {
font-size: 28px;
font-weight: 700;
}
}
.eb-progressbar-half-circle-after {
position: relative;
font-size: 12px;
font-weight: 400;
clear: both;
}
.eb-progressbar-postfix-label {
float: right;
}
.eb-progressbar-line-stripe {
.eb-progressbar-line-fill {
&:after {
content: "";
position: absolute;
top: 0;
left: -35px;
width: calc(100% + 70px);
height: 100%;
background-image: -o-linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0.15) 75%,
transparent 75%,
transparent);
background-image: linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0.15) 75%,
transparent 75%,
transparent);
background-size: 35px 35px;
}
}
}
.eb-progressbar-line-animate {
.eb-progressbar-line-fill {
&:after {
-webkit-animation: animateStripe 2s linear infinite;
animation: animateStripe 2s linear infinite;
}
}
}
.eb-progressbar-line-animate-rtl {
.eb-progressbar-line-fill {
&:after {
-webkit-animation: animateStripeRTL 2s linear infinite;
animation: animateStripeRTL 2s linear infinite;
}
}
}
.eb-progressbar-circle-wrap {
>div {
margin: 0 auto;
}
}
.eb-progressbar-line-container.left {
margin: 0 auto 0 0;
}
.eb-progressbar-circle-container.left {
>div {
margin: 0 auto 0 0;
}
}
.eb-progressbar-box-container.left {
>div {
margin: 0 auto 0 0;
}
}
.eb-progressbar-line-container.center {
margin: 0 auto;
}
.eb-progressbar-circle-container.center {
>div {
margin: 0 auto;
}
}
.eb-progressbar-box-container.center {
>div {
margin: 0 auto;
}
}
.eb-progressbar-line-container.right {
margin: 0 0 0 auto;
}
.eb-progressbar-circle-container.right {
>div {
margin: 0 0 0 auto;
}
}
.eb-progressbar-box-container.right {
>div {
margin: 0 0 0 auto;
}
}
.rtl {
.eb-progressbar-line-container {
text-align: right;
.eb-progressbar-count-wrap {
left: 0;
right: auto;
}
.eb-progressbar-line-fill {
left: auto;
right: 0;
}
}
.eb-progressbar.eb-progressbar-circle {
.eb-progressbar-circle-pie {
-webkit-clip-path: inset(0 50% 0 0);
clip-path: inset(0 50% 0 0);
}
.eb-progressbar-circle-half {
-webkit-clip-path: inset(0 0 0 50%);
clip-path: inset(0 0 0 50%);
}
}
.eb-progressbar-circle-container {
.eb-progressbar-half-circle-after {
.eb-progressbar-prefix-label {
float: left;
}
}
}
}
.eb-progressbar-line-rainbow {
.eb-progressbar-line-fill {
background: -webkit-gradient(linear,
right top,
left top,
from(#9400d3),
color-stop(#4b0082),
color-stop(#0000ff),
color-stop(#00ff00),
color-stop(#ffff00),
color-stop(#ff7f00),
to(#ff0000));
background: -o-linear-gradient(right,
#9400d3,
#4b0082,
#0000ff,
#00ff00,
#ffff00,
#ff7f00,
#ff0000);
background: linear-gradient(270deg,
#9400d3,
#4b0082,
#0000ff,
#00ff00,
#ffff00,
#ff7f00,
#ff0000);
background-size: 500% 500%;
-webkit-animation: animateRainbow 5s ease infinite;
animation: animateRainbow 5s ease infinite;
}
}
.eb-progressbar-circle-fill {
.eb-progressbar-circle-half {
background-color: #000;
}
}
.eb-progressbar-half-circle-fill {
.eb-progressbar-circle-half {
background-color: #000;
}
}
.eb-progressbar-box {
width: 100%;
height: 200px;
border: 1px solid #eee;
margin: 0 auto;
.eb-progressbar-box-inner-content {
display: block;
width: 100%;
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
z-index: 9;
}
.eb-progressbar-count-wrap {
font-size: 28px;
font-weight: 700;
}
.eb-progressbar-title {
font-size: 16px;
font-weight: 400;
}
}
.eb-progressbar-box-fill {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 0;
background-color: #000;
}