| 1 |
.DUI-panel { |
| 2 |
background-color: white; |
| 3 |
margin-right: 10px; |
| 4 |
margin-bottom: 10px; |
| 5 |
border: 1px solid #d2d2d2; |
| 6 |
} |
| 7 |
@media only screen and (min-width: 1400px) { |
| 8 |
.DUI-panel--TOP10 { |
| 9 |
max-width:49%; |
| 10 |
width:49%; |
| 11 |
float:left; |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
@media only screen and (min-width: 1024px) { |
| 16 |
.show-desktop { display: block; } |
| 17 |
} |
| 18 |
@media only screen and (max-width: 1023px) { |
| 19 |
.show-desktop { display: none; } |
| 20 |
} |
| 21 |
|
| 22 |
.DUI-panel__headline { |
| 23 |
padding: 6px 10px 6px 10px; |
| 24 |
border-bottom: 1px solid #e0e0e0; |
| 25 |
font-weight: bold; |
| 26 |
} |
| 27 |
.DUI-panel__headline-actions { |
| 28 |
float: right; |
| 29 |
} |
| 30 |
.DUI-panel__content { |
| 31 |
padding: 6px; |
| 32 |
} |
| 33 |
.DUI-panel__content--title { |
| 34 |
padding: 20px; |
| 35 |
} |
| 36 |
|
| 37 |
.DUI-panel--error { |
| 38 |
border-color: #e0b4b4; |
| 39 |
background-color: red; |
| 40 |
color: white; |
| 41 |
} |
| 42 |
.DUI-panel--error a { |
| 43 |
color: white; |
| 44 |
} |
| 45 |
|
| 46 |
.DUI-table { |
| 47 |
_border: 1px solid #aaa; |
| 48 |
font-size: 1.0em; |
| 49 |
color: black; |
| 50 |
} |
| 51 |
.DUI-table td { overflow-wrap: anywhere; } |
| 52 |
.DUI-table thead th { border-bottom: 1px solid #eee; white-space: nowrap; } |
| 53 |
.DUI-table tbody tr:nth-child(odd) { background-color: white; } |
| 54 |
.DUI-table tbody tr:nth-child(even) { background-color: white; } |
| 55 |
.DUI-table tbody tr:hover { background-color: #eee; } |
| 56 |
.DUI-table__col--number { text-align: right; white-space: nowrap; } |
| 57 |
.DUI-table__col--grow { width: 100%; } |
| 58 |
|
| 59 |
/* Stacked Bar Chart */ |
| 60 |
|
| 61 |
.stackedbarchart { |
| 62 |
display: flex; |
| 63 |
text-align: center; |
| 64 |
} |
| 65 |
.stackedbarchart__bar { |
| 66 |
display: flex; |
| 67 |
align-items: center; |
| 68 |
justify-content: center; |
| 69 |
font-weight: bold; |
| 70 |
white-space: nowrap; |
| 71 |
word-break: keep-all; |
| 72 |
overflow: hidden; |
| 73 |
padding: 5px; |
| 74 |
} |
| 75 |
|
| 76 |
.stackedbarchart__legend { |
| 77 |
display:grid; |
| 78 |
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
| 79 |
gap: 5px; |
| 80 |
} |
| 81 |
.stackedbarchart__legendcolor { |
| 82 |
width: 20px; |
| 83 |
height: 10px; |
| 84 |
display: inline-block; |
| 85 |
margin-right: 5px; |
| 86 |
border: 1px solid black; |
| 87 |
} |
| 88 |
|
| 89 |
:root { |
| 90 |
--dui-legend-color-0: rgba(255, 180, 50, .75); |
| 91 |
--dui-legend-color-1: rgba(255, 220, 90, .75); |
| 92 |
--dui-legend-color-2: rgba(100, 210, 80, .75); |
| 93 |
--dui-legend-color-3: rgba(90, 165, 255, .75); |
| 94 |
--dui-legend-color-4: hsla(0, 0%, 71%, .75); |
| 95 |
--dui-legend-color-5: rgba(170, 90, 240, .75); |
| 96 |
--dui-legend-color-6: hsla(0, 0%, 43%, .75); |
| 97 |
--dui-legend-color-7: hsla(40, 26%, 55%, .75); |
| 98 |
--dui-legend-color-8: rgba(240, 50, 50, .75); |
| 99 |
--dui-legend-color-9: rgba(50, 200, 200, .75); |
| 100 |
} |
| 101 |
|
| 102 |
.stackedbarchart__color--0 { background-color: var(--dui-legend-color-0); } |
| 103 |
.stackedbarchart__color--1 { background-color: var(--dui-legend-color-1); } |
| 104 |
.stackedbarchart__color--2 { background-color: var(--dui-legend-color-2); } |
| 105 |
.stackedbarchart__color--3 { background-color: var(--dui-legend-color-3); } |
| 106 |
.stackedbarchart__color--4 { background-color: var(--dui-legend-color-4); } |
| 107 |
.stackedbarchart__color--5 { background-color: var(--dui-legend-color-5); } |
| 108 |
.stackedbarchart__color--6 { background-color: var(--dui-legend-color-6); } |
| 109 |
.stackedbarchart__color--7 { background-color: var(--dui-legend-color-7); } |
| 110 |
.stackedbarchart__color--8 { background-color: var(--dui-legend-color-8); } |
| 111 |
.stackedbarchart__color--9 { background-color: var(--dui-legend-color-9); } |
| 112 |
|
| 113 |
.color-cycle { |
| 114 |
animation: color-cycle-animation 5s infinite, bounce-animation 15s 10s infinite linear; |
| 115 |
transform-origin: center; |
| 116 |
} |
| 117 |
|
| 118 |
@keyframes color-cycle-animation { |
| 119 |
0% { color: red; } |
| 120 |
16.66% { color: orange; } |
| 121 |
33.33% { color: yellow; } |
| 122 |
50% { color: green; } |
| 123 |
66.66% { color: blue; } |
| 124 |
83.33% { color: purple; } |
| 125 |
100% { color: red; } |
| 126 |
} |
| 127 |
|
| 128 |
@keyframes bounce-animation { |
| 129 |
0% { transform: rotate(0deg) scale(1.0) } |
| 130 |
5% { transform: rotate(36deg) scale(1.25); } |
| 131 |
10% { transform: rotate(72deg) scale(1.5); } |
| 132 |
15% { transform: rotate(108deg) scale(1.25); } |
| 133 |
20% { transform: rotate(144deg) scale(1.0); } |
| 134 |
25% { transform: rotate(180deg) scale(1.25); } |
| 135 |
30% { transform: rotate(216deg) scale(1.5); } |
| 136 |
35% { transform: rotate(252deg) scale(1.25); } |
| 137 |
40% { transform: rotate(288deg) scale(1.0); } |
| 138 |
45% { transform: rotate(324deg) scale(1.0); } |
| 139 |
50% { transform: rotate(360deg) scale(1.0); } |
| 140 |
100% { transform: rotate(360deg) scale(1.0); } |
| 141 |
|
| 142 |
} |
| 143 |
|
| 144 |
@keyframes rotate-animation { |
| 145 |
0% { transform: rotate(0deg); } |
| 146 |
100% { transform: rotate(360deg); } |
| 147 |
} |
| 148 |
|
| 149 |
.vbarchart { |
| 150 |
display:flex; |
| 151 |
align-items: flex-end; |
| 152 |
height:50px; |
| 153 |
width:100%; |
| 154 |
} |
| 155 |
.vbarchart__bar { |
| 156 |
display: inline-block; |
| 157 |
min-width: 10px; |
| 158 |
max-width: 50px; |
| 159 |
flex-grow: 1; |
| 160 |
margin-right: 5px; |
| 161 |
} |
| 162 |
.vbarchart__legendcolor { |
| 163 |
width: 20px; |
| 164 |
height: 10px; |
| 165 |
display: inline-block; |
| 166 |
margin-right: 5px; |
| 167 |
border: 1px solid black; |
| 168 |
} |
| 169 |
.vbarchart__color--0 { background-color: var(--dui-legend-color-0); } |
| 170 |
.vbarchart__color--1 { background-color: var(--dui-legend-color-1); } |
| 171 |
.vbarchart__color--2 { background-color: var(--dui-legend-color-2); } |
| 172 |
.vbarchart__color--3 { background-color: var(--dui-legend-color-3); } |
| 173 |
.vbarchart__color--4 { background-color: var(--dui-legend-color-4); } |
| 174 |
.vbarchart__color--5 { background-color: var(--dui-legend-color-5); } |
| 175 |
.vbarchart__color--6 { background-color: var(--dui-legend-color-6); } |
| 176 |
.vbarchart__color--7 { background-color: var(--dui-legend-color-7); } |
| 177 |
.vbarchart__color--8 { background-color: var(--dui-legend-color-8); } |
| 178 |
.vbarchart__color--9 { background-color: var(--dui-legend-color-9); } |
| 179 |
|
| 180 |
.donut-chart { |
| 181 |
position: relative; |
| 182 |
width: 227px; |
| 183 |
height: 227px; |
| 184 |
border-radius: 50%; |
| 185 |
margin:10px; |
| 186 |
} |
| 187 |
|
| 188 |
.donut-chart__center { |
| 189 |
position: absolute; |
| 190 |
top: 50%; |
| 191 |
left: 50%; |
| 192 |
transform: translate(-50%, -50%); |
| 193 |
width: 120px; |
| 194 |
height: 120px; |
| 195 |
border-radius: 50%; |
| 196 |
background: white; |
| 197 |
display: flex; |
| 198 |
flex-direction: column; |
| 199 |
align-items: center; |
| 200 |
justify-content: center; |
| 201 |
} |
| 202 |
|
| 203 |
.donutchart__legendcolor { |
| 204 |
|
| 205 |
width: 20px; |
| 206 |
height: 10px; |
| 207 |
display: inline-block; |
| 208 |
margin-right: 5px; |
| 209 |
border: 1px solid black; |
| 210 |
} |
| 211 |
.donut-chart__label { |
| 212 |
font-size: 14px; |
| 213 |
color: #666; |
| 214 |
} |
| 215 |
|
| 216 |
.donut-chart__value { |
| 217 |
font-size: 16px; |
| 218 |
font-weight: bold; |
| 219 |
color: #333; |
| 220 |
} |
| 221 |
|
| 222 |
.donutchart__color--0 { background-color: var(--dui-legend-color-0); } |
| 223 |
.donutchart__color--1 { background-color: var(--dui-legend-color-1); } |
| 224 |
.donutchart__color--2 { background-color: var(--dui-legend-color-2); } |
| 225 |
.donutchart__color--3 { background-color: var(--dui-legend-color-3); } |
| 226 |
.donutchart__color--4 { background-color: var(--dui-legend-color-4); } |
| 227 |
.donutchart__color--5 { background-color: var(--dui-legend-color-5); } |
| 228 |
.donutchart__color--6 { background-color: var(--dui-legend-color-6); } |
| 229 |
.donutchart__color--7 { background-color: var(--dui-legend-color-7); } |
| 230 |
.donutchart__color--8 { background-color: var(--dui-legend-color-8); } |
| 231 |
.donutchart__color--9 { background-color: var(--dui-legend-color-9); } |
| 232 |
|