diff options
Diffstat (limited to 'frontend/src/components/pages/maplist.css')
| -rw-r--r-- | frontend/src/components/pages/maplist.css | 399 |
1 files changed, 399 insertions, 0 deletions
diff --git a/frontend/src/components/pages/maplist.css b/frontend/src/components/pages/maplist.css new file mode 100644 index 0000000..a63c4ec --- /dev/null +++ b/frontend/src/components/pages/maplist.css | |||
| @@ -0,0 +1,399 @@ | |||
| 1 | .maplist-page { | ||
| 2 | position: relative; | ||
| 3 | left: 350px; | ||
| 4 | height: 100vh; | ||
| 5 | color: #cdcfdf; | ||
| 6 | width: calc(100% - 380px); | ||
| 7 | font-family: BarlowSemiCondensed-Regular; | ||
| 8 | overflow-y: scroll; | ||
| 9 | overflow-x: hidden; | ||
| 10 | padding-right: 30px; | ||
| 11 | } | ||
| 12 | |||
| 13 | a { | ||
| 14 | color: inherit; | ||
| 15 | width: fit-content; | ||
| 16 | } | ||
| 17 | |||
| 18 | .maplist-page-content { | ||
| 19 | position: absolute; | ||
| 20 | left: 0px; | ||
| 21 | width: calc(100% - 50px); | ||
| 22 | } | ||
| 23 | |||
| 24 | .maplist-page-header { | ||
| 25 | margin-top: 20px; | ||
| 26 | display: grid; | ||
| 27 | margin-bottom: 10px; | ||
| 28 | } | ||
| 29 | |||
| 30 | .nav-btn { | ||
| 31 | height: 40px; | ||
| 32 | background-color: #2b2e46; | ||
| 33 | color: inherit; | ||
| 34 | font-size: 18px; | ||
| 35 | font-family: inherit; | ||
| 36 | border: none; | ||
| 37 | border-radius: 20px; | ||
| 38 | transition: background-color .1s; | ||
| 39 | cursor: default; | ||
| 40 | width: fit-content; | ||
| 41 | } | ||
| 42 | |||
| 43 | .nav-btn>span { | ||
| 44 | padding: 0 8px 0 8px; | ||
| 45 | } | ||
| 46 | |||
| 47 | .nav-btn:hover { | ||
| 48 | background-color: #202232; | ||
| 49 | cursor: pointer; | ||
| 50 | } | ||
| 51 | |||
| 52 | .game { | ||
| 53 | width: 100%; | ||
| 54 | height: 192px; | ||
| 55 | background: #202232; | ||
| 56 | border-radius: 24px; | ||
| 57 | overflow: hidden; | ||
| 58 | } | ||
| 59 | |||
| 60 | .game-header { | ||
| 61 | width: 100%; | ||
| 62 | height: 144px; | ||
| 63 | display: flex; | ||
| 64 | justify-content: center; | ||
| 65 | align-items: center; | ||
| 66 | overflow: hidden; | ||
| 67 | } | ||
| 68 | |||
| 69 | .game-header-text { | ||
| 70 | display: flex; | ||
| 71 | justify-content: center; | ||
| 72 | align-items: center; | ||
| 73 | position: absolute; | ||
| 74 | } | ||
| 75 | |||
| 76 | .game-img { | ||
| 77 | width: 100%; | ||
| 78 | height: 100%; | ||
| 79 | background-size: cover; | ||
| 80 | filter: blur(4px); | ||
| 81 | } | ||
| 82 | |||
| 83 | .game-header-text>span { | ||
| 84 | font-size: 42px; | ||
| 85 | font-weight: 500; | ||
| 86 | margin: 5px; | ||
| 87 | } | ||
| 88 | |||
| 89 | .game-header-text span>b { | ||
| 90 | font-size: 96px; | ||
| 91 | font-weight: 600; | ||
| 92 | } | ||
| 93 | |||
| 94 | .game-nav { | ||
| 95 | display: flex; | ||
| 96 | height: 48px; | ||
| 97 | } | ||
| 98 | |||
| 99 | .game-nav-btn { | ||
| 100 | width: 100%; | ||
| 101 | height: 100%; | ||
| 102 | border: none; | ||
| 103 | border-radius: 0px; | ||
| 104 | color: inherit; | ||
| 105 | font-family: inherit; | ||
| 106 | font-size: 22px; | ||
| 107 | background: #2B2E46; | ||
| 108 | transition: background-color .1s; | ||
| 109 | margin: 0 1px; | ||
| 110 | display: flex; | ||
| 111 | justify-content: center; | ||
| 112 | align-items: center; | ||
| 113 | } | ||
| 114 | |||
| 115 | .game-nav-btn:hover, .selected { | ||
| 116 | background-color: #202232; | ||
| 117 | cursor: pointer; | ||
| 118 | } | ||
| 119 | |||
| 120 | .gameview-nav { | ||
| 121 | margin-top: 20px; | ||
| 122 | display: flex; | ||
| 123 | height: 56px; | ||
| 124 | border-radius: 24px; | ||
| 125 | overflow: hidden; | ||
| 126 | background-color: #202232; | ||
| 127 | } | ||
| 128 | |||
| 129 | .maplist { | ||
| 130 | width: 100%; | ||
| 131 | margin-top: 20px; | ||
| 132 | margin-bottom: 40px; | ||
| 133 | } | ||
| 134 | |||
| 135 | .chapter-name { | ||
| 136 | font-size: 30px; | ||
| 137 | } | ||
| 138 | |||
| 139 | .chapter-page-div { | ||
| 140 | display: flex; | ||
| 141 | justify-content: right; | ||
| 142 | transform: translateY(-30px); | ||
| 143 | } | ||
| 144 | |||
| 145 | .chapter-page-div button { | ||
| 146 | background-color: #00000000; | ||
| 147 | border: 0; | ||
| 148 | cursor: pointer; | ||
| 149 | height: 30px; | ||
| 150 | padding: 0; | ||
| 151 | width: 30px; | ||
| 152 | } | ||
| 153 | |||
| 154 | .chapter-page-div span { | ||
| 155 | color: #cdcfdf; | ||
| 156 | font-family: BarlowSemiCondensed-Regular; | ||
| 157 | font-size: 20px; | ||
| 158 | } | ||
| 159 | |||
| 160 | .maplist-maps { | ||
| 161 | display: grid; | ||
| 162 | grid-template-columns: 25% 25% 25% 25%; | ||
| 163 | margin-top: 10px; | ||
| 164 | transform: translateY(-30px); | ||
| 165 | } | ||
| 166 | |||
| 167 | .maplist-item { | ||
| 168 | background: #202232; | ||
| 169 | border-radius: 24px; | ||
| 170 | overflow: hidden; | ||
| 171 | margin: 10px 10px; | ||
| 172 | /* padding: 10px 15px; */ | ||
| 173 | cursor: pointer; | ||
| 174 | user-select: none; | ||
| 175 | } | ||
| 176 | |||
| 177 | .loader-map { | ||
| 178 | border-radius: 24px; | ||
| 179 | overflow: hidden; | ||
| 180 | margin: 10px 10px; | ||
| 181 | /* padding: 10px 15px; */ | ||
| 182 | user-select: none; | ||
| 183 | width: calc(100% - 20px); | ||
| 184 | height: calc(223px); | ||
| 185 | } | ||
| 186 | |||
| 187 | .maplist-img-div { | ||
| 188 | height: 150px; | ||
| 189 | overflow: hidden; | ||
| 190 | } | ||
| 191 | |||
| 192 | .maplist-img { | ||
| 193 | width: 100%; | ||
| 194 | height: 100%; | ||
| 195 | background-size: cover; | ||
| 196 | filter: blur(4px); | ||
| 197 | opacity: 0.7; | ||
| 198 | } | ||
| 199 | |||
| 200 | .maplist-portalcount-div { | ||
| 201 | display: flex; | ||
| 202 | justify-content: center; | ||
| 203 | align-items: center; | ||
| 204 | text-align: center; | ||
| 205 | height: 100%; | ||
| 206 | transform: translateY(-100%); | ||
| 207 | overflow: hidden; | ||
| 208 | } | ||
| 209 | |||
| 210 | .maplist-title { | ||
| 211 | font-size: 22px; | ||
| 212 | text-align: center; | ||
| 213 | width: 100%; | ||
| 214 | display: inherit; | ||
| 215 | padding: 5px 0px; | ||
| 216 | color: #CDCFDF; | ||
| 217 | } | ||
| 218 | |||
| 219 | .maplist-portals { | ||
| 220 | margin-left: 5px; | ||
| 221 | font-size: 32px; | ||
| 222 | } | ||
| 223 | |||
| 224 | .difficulty-div { | ||
| 225 | display: flex; | ||
| 226 | padding: 7px 10px; | ||
| 227 | } | ||
| 228 | |||
| 229 | .difficulty-label { | ||
| 230 | font-size: 18px; | ||
| 231 | } | ||
| 232 | |||
| 233 | .difficulty-bar { | ||
| 234 | width: 100%; | ||
| 235 | display: grid; | ||
| 236 | grid-template-columns: 20% 20% 20% 20% 20%; | ||
| 237 | align-items: center; | ||
| 238 | margin: 5px; | ||
| 239 | } | ||
| 240 | |||
| 241 | .difficulty-point { | ||
| 242 | background: #2B2E46; | ||
| 243 | height: 3px; | ||
| 244 | margin: 5px; | ||
| 245 | border-radius: 10px; | ||
| 246 | } | ||
| 247 | |||
| 248 | .stats { | ||
| 249 | margin-top: 30px; | ||
| 250 | } | ||
| 251 | |||
| 252 | .portalcount-over-time-div { | ||
| 253 | width: 100%; | ||
| 254 | height: 450px; | ||
| 255 | position: relative; | ||
| 256 | background-color: #202232; | ||
| 257 | border-radius: 20px; | ||
| 258 | } | ||
| 259 | |||
| 260 | .graph-title { | ||
| 261 | width: 100%; | ||
| 262 | display: inherit; | ||
| 263 | font-size: 24px; | ||
| 264 | margin-top: 5px; | ||
| 265 | text-align: center; | ||
| 266 | font-family: BarlowSemiCondensed-SemiBold; | ||
| 267 | padding-top: 7px; | ||
| 268 | } | ||
| 269 | |||
| 270 | .portalcount-graph { | ||
| 271 | height: calc(100% - 30px); | ||
| 272 | width: calc(100% - 80px); | ||
| 273 | } | ||
| 274 | |||
| 275 | .chart { | ||
| 276 | height: calc(100% - 80px); | ||
| 277 | width: 100%; | ||
| 278 | position: relative; | ||
| 279 | padding: 0px 0px; | ||
| 280 | scrollbar-width: thin; | ||
| 281 | } | ||
| 282 | |||
| 283 | .line-chart { | ||
| 284 | list-style: none; | ||
| 285 | margin: 0; | ||
| 286 | padding: 0; | ||
| 287 | height: 100%; | ||
| 288 | border-bottom: 2px solid #2B2E46; | ||
| 289 | } | ||
| 290 | |||
| 291 | .data-point { | ||
| 292 | background-color: #202232; | ||
| 293 | border: 4px solid #006FDE; | ||
| 294 | border-radius: 50%; | ||
| 295 | height: 6px; | ||
| 296 | position: absolute; | ||
| 297 | width: 6px; | ||
| 298 | bottom: calc(var(--y) - 4.5px); | ||
| 299 | left: calc(var(--x) - 6.5px); | ||
| 300 | transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1); | ||
| 301 | z-index: 1; | ||
| 302 | animation: point_intro 0.2s cubic-bezier(0.075, 0.82, 0.165, 1.8); | ||
| 303 | animation-fill-mode: backwards; | ||
| 304 | } | ||
| 305 | |||
| 306 | .data-point:hover, .data-point-active { | ||
| 307 | background-color: #006FDE; | ||
| 308 | box-shadow: 0px 0px 10px #006FDE; | ||
| 309 | } | ||
| 310 | |||
| 311 | .line-segment { | ||
| 312 | background-color: #006FDE; | ||
| 313 | bottom: var(--y); | ||
| 314 | height: 4px; | ||
| 315 | left: var(--x); | ||
| 316 | position: absolute; | ||
| 317 | transform: rotate(calc(var(--angle) * -1deg)); | ||
| 318 | width: calc(var(--hypotenuse) * 1px); | ||
| 319 | transform-origin: left bottom; | ||
| 320 | border-radius: 20px; | ||
| 321 | z-index: 1; | ||
| 322 | animation: line_intro 0.05s cubic-bezier(0, 1, 0.31, 0.96); | ||
| 323 | animation-fill-mode: backwards; | ||
| 324 | } | ||
| 325 | |||
| 326 | #dataPointInfo { | ||
| 327 | position: absolute; | ||
| 328 | width: 400px; | ||
| 329 | height: 85px; | ||
| 330 | background: #202232; | ||
| 331 | box-shadow: 0px 4px 16px 0px #00000080; | ||
| 332 | transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1); | ||
| 333 | z-index: 1000; | ||
| 334 | opacity: 0; | ||
| 335 | left: auto; | ||
| 336 | border-radius: 20px; | ||
| 337 | padding: 15px 7px; | ||
| 338 | } | ||
| 339 | |||
| 340 | .section-header { | ||
| 341 | display: flex; | ||
| 342 | text-align: center; | ||
| 343 | font-family: BarlowSemiCondensed-SemiBold; | ||
| 344 | font-size: 18px; | ||
| 345 | height: 40%; | ||
| 346 | justify-content: space-evenly; | ||
| 347 | align-items: center; | ||
| 348 | } | ||
| 349 | |||
| 350 | .section-header span, .section-data span { | ||
| 351 | flex: 1; | ||
| 352 | } | ||
| 353 | |||
| 354 | .divider { | ||
| 355 | width: 100%; | ||
| 356 | height: 2px; | ||
| 357 | background-color: #2B2E46; | ||
| 358 | display: flex; | ||
| 359 | margin: 5px 0px 8px 0px; | ||
| 360 | } | ||
| 361 | |||
| 362 | .section-data { | ||
| 363 | display: flex; | ||
| 364 | grid-template-columns: 25% 25% 25% 25%; | ||
| 365 | text-align: center; | ||
| 366 | background-color: #2B2E46; | ||
| 367 | height: 52%; | ||
| 368 | border-radius: 200px; | ||
| 369 | align-items: center; | ||
| 370 | justify-content: space-evenly; | ||
| 371 | flex-grow: 1; | ||
| 372 | font-family: BarlowSemiCondensed-Regular; | ||
| 373 | font-size: 18px; | ||
| 374 | padding: 0px 5px; | ||
| 375 | } | ||
| 376 | |||
| 377 | @keyframes line_intro { | ||
| 378 | 0% { | ||
| 379 | width: 0; | ||
| 380 | } | ||
| 381 | 100% { | ||
| 382 | width: calc(var(--hypotenuse) * 1px); | ||
| 383 | } | ||
| 384 | } | ||
| 385 | |||
| 386 | @keyframes point_intro { | ||
| 387 | 0% { | ||
| 388 | opacity: 0; | ||
| 389 | width: 0; | ||
| 390 | height: 0; | ||
| 391 | transform: translate(3px, -3px); | ||
| 392 | } | ||
| 393 | 100% { | ||
| 394 | width: 6px; | ||
| 395 | height: 6px; | ||
| 396 | transform: translate(0px, 0px); | ||
| 397 | opacity: 1; | ||
| 398 | } | ||
| 399 | } | ||