| 1 |
:root { |
| 2 |
--e-global-color-primary: #FFD012; |
| 3 |
--e-global-color-secondary: #0B3665; |
| 4 |
} |
| 5 |
|
| 6 |
.eel-cnt-wrap { |
| 7 |
display: flex; |
| 8 |
flex-direction: column; |
| 9 |
align-items: center; |
| 10 |
text-align: center; |
| 11 |
} |
| 12 |
|
| 13 |
.eel-cnt-number-wrap { |
| 14 |
font-size: 70px; |
| 15 |
font-weight: 600; |
| 16 |
line-height: 1; |
| 17 |
color: var(--e-global-color-secondary); |
| 18 |
display: flex; |
| 19 |
place-items: center; |
| 20 |
} |
| 21 |
|
| 22 |
.eel-cnt-title { |
| 23 |
font-size: 16px; |
| 24 |
font-weight: 400; |
| 25 |
display: inline-block; |
| 26 |
margin: 0; |
| 27 |
} |
| 28 |
|
| 29 |
.eel-cnt-icon { |
| 30 |
place-items: center; |
| 31 |
display: grid; |
| 32 |
} |
| 33 |
|
| 34 |
.eel-cnt-icon svg { |
| 35 |
width: 60px !important; |
| 36 |
height: 60px !important; |
| 37 |
fill: var(--e-global-color-secondary); |
| 38 |
} |
| 39 |
|
| 40 |
.eel-cnt-icon i { |
| 41 |
font-size: 40px; |
| 42 |
} |
| 43 |
|
| 44 |
/* left */ |
| 45 |
.eel-cnt-icon-pos-left .eel-cnt-wrap { |
| 46 |
flex-direction: row; |
| 47 |
text-align: left; |
| 48 |
justify-content: flex-start; |
| 49 |
} |
| 50 |
|
| 51 |
.eel-cnt-icon-pos-left .eel-cnt-icon { |
| 52 |
margin-right: 12px; |
| 53 |
} |
| 54 |
|
| 55 |
/* right */ |
| 56 |
.eel-cnt-icon-pos-right .eel-cnt-wrap { |
| 57 |
flex-direction: row-reverse; |
| 58 |
text-align: right; |
| 59 |
justify-content: flex-end; |
| 60 |
} |
| 61 |
|
| 62 |
.eel-cnt-icon-pos-right .eel-cnt-icon { |
| 63 |
margin-left: 12px; |
| 64 |
} |
| 65 |
|
| 66 |
/* top */ |
| 67 |
.eel-cnt-icon-pos-top .eel-cnt-wrap { |
| 68 |
flex-direction: column; |
| 69 |
text-align: center; |
| 70 |
} |
| 71 |
|
| 72 |
.eel-cnt-icon-pos-top .eel-cnt-icon { |
| 73 |
margin-bottom: 12px; |
| 74 |
} |
| 75 |
|
| 76 |
/* bottom */ |
| 77 |
.eel-cnt-icon-pos-bottom .eel-cnt-wrap { |
| 78 |
flex-direction: column-reverse; |
| 79 |
text-align: center; |
| 80 |
} |
| 81 |
|
| 82 |
.eel-cnt-icon-pos-bottom .eel-cnt-icon { |
| 83 |
margin-top: 12px; |
| 84 |
} |
| 85 |
|
| 86 |
/* Title position (number vs title layout) */ |
| 87 |
.eel-cnt-content { |
| 88 |
display: flex; |
| 89 |
flex-direction: column; |
| 90 |
} |
| 91 |
|
| 92 |
.eel-cnt-title-pos-top .eel-cnt-content { |
| 93 |
flex-direction: column-reverse; |
| 94 |
} |
| 95 |
|
| 96 |
.eel-cnt-title-pos-left .eel-cnt-content { |
| 97 |
flex-direction: row-reverse; |
| 98 |
align-items: center; |
| 99 |
} |
| 100 |
|
| 101 |
.eel-cnt-title-pos-right .eel-cnt-content { |
| 102 |
flex-direction: row; |
| 103 |
align-items: center; |
| 104 |
} |
| 105 |
|
| 106 |
.eel-cnt-title-pos-left .eel-cnt-title, |
| 107 |
.eel-cnt-title-pos-right .eel-cnt-title { |
| 108 |
margin-top: 0; |
| 109 |
} |
| 110 |
|
| 111 |
/* Odometer */ |
| 112 |
.eel-cnt-odometer-wrap { |
| 113 |
display: inline-flex; |
| 114 |
align-items: flex-end; |
| 115 |
line-height: 1; |
| 116 |
} |
| 117 |
|
| 118 |
.eel-cnt-odometer-digit { |
| 119 |
display: inline-block; |
| 120 |
overflow: hidden; |
| 121 |
height: 1em; |
| 122 |
line-height: 1em; |
| 123 |
vertical-align: bottom; |
| 124 |
} |
| 125 |
|
| 126 |
.eel-cnt-odometer-roll { |
| 127 |
display: block; |
| 128 |
will-change: transform; |
| 129 |
} |
| 130 |
|
| 131 |
.eel-cnt-odometer-num { |
| 132 |
display: block; |
| 133 |
height: 1em; |
| 134 |
line-height: 1em; |
| 135 |
} |
| 136 |
|
| 137 |
.eel-cnt-odometer-sep { |
| 138 |
display: inline-block; |
| 139 |
line-height: 1em; |
| 140 |
} |