| 1 |
.ablocks-block--counter--bar .ablocks-block-container { |
| 2 |
width: 100%; |
| 3 |
} |
| 4 |
|
| 5 |
|
| 6 |
.ablocks-counter__icon { |
| 7 |
display: inline-flex; |
| 8 |
} |
| 9 |
|
| 10 |
.ablocks-counter__content { |
| 11 |
font-size: 40px; |
| 12 |
z-index: 1; |
| 13 |
|
| 14 |
} |
| 15 |
|
| 16 |
.ablocks-counter__text { |
| 17 |
font-size: 16px; |
| 18 |
} |
| 19 |
|
| 20 |
/* number counter */ |
| 21 |
.ablocks-block--counter--circle, |
| 22 |
.ablocks-block--counter--bar { |
| 23 |
display: flex; |
| 24 |
flex-direction: column; |
| 25 |
align-items: center; |
| 26 |
} |
| 27 |
|
| 28 |
|
| 29 |
/* circle counter design */ |
| 30 |
.ablocks-block--counter--circle |
| 31 |
.ablocks-circle-counter__outer { |
| 32 |
position: relative; |
| 33 |
|
| 34 |
} |
| 35 |
|
| 36 |
.ablocks-block--counter--circle |
| 37 |
.ablocks-circle-counter__inner{ |
| 38 |
width: 100% !important; |
| 39 |
height: 100%; |
| 40 |
border-radius: 50%; |
| 41 |
display: flex; |
| 42 |
justify-content: center; |
| 43 |
align-items: center; |
| 44 |
flex-direction: column; |
| 45 |
z-index: 1; |
| 46 |
position: absolute; |
| 47 |
top: 0; |
| 48 |
left: 0; |
| 49 |
right: 0; |
| 50 |
|
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
.ablocks-block--counter--circle |
| 55 |
.ablocks-circle-counter__svg { |
| 56 |
border-radius: 50%; |
| 57 |
} |
| 58 |
|
| 59 |
.ablocks-block--counter--circle |
| 60 |
.ablocks-circle-counter__progress { |
| 61 |
stroke: black; |
| 62 |
fill: none; |
| 63 |
} |
| 64 |
.ablocks-block--counter--circle |
| 65 |
.ablocks-circle-counter__background { |
| 66 |
stroke: #d6d6d6; |
| 67 |
fill: none; |
| 68 |
} |
| 69 |
|
| 70 |
/* circle counter design */ |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
/* bar counter design */ |
| 76 |
|
| 77 |
.ablocks-block--counter--bar { |
| 78 |
width: 100%; |
| 79 |
box-sizing: border-box; |
| 80 |
overflow: hidden; |
| 81 |
} |
| 82 |
|
| 83 |
.ablocks-block--counter--bar .ablocks-bar-counter__background { |
| 84 |
height: 100%; |
| 85 |
width: 100%; |
| 86 |
background-color: #dadada; |
| 87 |
} |
| 88 |
.ablocks-block--counter--bar .ablocks-bar-counter__progress { |
| 89 |
height: 100%; |
| 90 |
background-color: black; |
| 91 |
color: white; |
| 92 |
display: flex; |
| 93 |
align-items: center; |
| 94 |
width: auto; |
| 95 |
} |
| 96 |
.ablocks-block--counter--bar .ablocks-counter__content{ |
| 97 |
font-size: 16px; |
| 98 |
color: white; |
| 99 |
padding: 0 5px; |
| 100 |
display: flex; |
| 101 |
align-items: center; |
| 102 |
} |