|
|
|
:root {
|
|
|
|
--def-grey: hsl(110 00% 82% / 1);
|
|
|
|
--plus-green: hsl(110 80% 82% / 1);
|
|
|
|
--minus-red: hsl(0 80% 82% / 1);
|
|
|
|
--gold-1: #d29b35;
|
|
|
|
--silver-2: #b7b7b7;
|
|
|
|
--bronze-3: #b76833;
|
|
|
|
}
|
|
|
|
html {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background: #161c21;
|
|
|
|
color: #d2d2d2;
|
|
|
|
font-family: Verdana, sans-serif;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
border: solid 2px #68a8cc;
|
|
|
|
border-radius: 12px;
|
|
|
|
padding: 16px 24px;
|
|
|
|
font: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: inherit;
|
|
|
|
text-align: unset;
|
|
|
|
transition: background-color 200ms ease-out;
|
|
|
|
}
|
|
|
|
button:hover {
|
|
|
|
background-color: #1f2931;
|
|
|
|
}
|
|
|
|
button[disabled] {
|
|
|
|
cursor: initial;
|
|
|
|
}
|
|
|
|
button[disabled]:hover {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
button svg {
|
|
|
|
transition: transform 400ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uem-logo-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
img.uem-logo {
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.update-leaderboard {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
button.open-general-graph {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
button.dropdown-open {
|
|
|
|
background-color: #1f2931;
|
|
|
|
}
|
|
|
|
button.dropdown-open svg {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
|
|
|
button.progress-button {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
--button-loading-bar-width: 0;
|
|
|
|
--button-loading-bar-opacity: 1;
|
|
|
|
}
|
|
|
|
button.progress-button::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
opacity: var(--button-loading-bar-opacity);
|
|
|
|
width: var(--button-loading-bar-width);
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
background-color: #294c87;
|
|
|
|
border-radius: 10px;
|
|
|
|
transition: width 400ms ease-out, opacity 400ms ease-out;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
button.button-updating svg {
|
|
|
|
animation: ease_rotating 2s infinite;
|
|
|
|
}
|
|
|
|
@keyframes ease_rotating {
|
|
|
|
to { transform: rotate(-360deg)}
|
|
|
|
}
|
|
|
|
|
|
|
|
.combined-charts-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.leaderboard-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
gap: 16px;
|
|
|
|
max-width: 600px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
.leaderboard-element {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 64px 1fr auto;
|
|
|
|
grid-template-rows: auto auto 1fr;
|
|
|
|
row-gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
border: solid 4px #6a818f;
|
|
|
|
border-radius: 20px;
|
|
|
|
padding: 16px 16px 16px 36px;
|
|
|
|
transition: background-color 200ms ease;
|
|
|
|
}
|
|
|
|
.leaderboard-element:hover {
|
|
|
|
background-color: #1f2931;
|
|
|
|
}
|
|
|
|
.leaderboard-element:has(canvas:hover) {
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: initial;
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-1 {
|
|
|
|
border: solid 4px var(--gold-1);
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-1 .placement {
|
|
|
|
color: var(--gold-1);
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-2 {
|
|
|
|
border: solid 4px #b7b7b7;
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-2 .placement {
|
|
|
|
color: var(--silver-2);
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-3 {
|
|
|
|
border: solid 4px #b76833;
|
|
|
|
}
|
|
|
|
.leaderboard-element.place-3 .placement {
|
|
|
|
color: var(--bronze-3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard-element .ranked-emblem {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
|
|
|
.leaderboard-element .ranked-emblem img {
|
|
|
|
width: 72px;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
}
|
|
|
|
.leaderboard-element img.ranked-mini-crest {
|
|
|
|
width: 24px;
|
|
|
|
aspect-ratio: 1/1
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard-element .placement {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 700;
|
|
|
|
margin-right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard-element .player-info {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr 0.9fr;
|
|
|
|
grid-template-columns: 72px auto;
|
|
|
|
grid-column: 2;
|
|
|
|
margin: 10px 0;
|
|
|
|
row-gap: 10px;
|
|
|
|
}
|
|
|
|
.leaderboard-element .ranked-emblem {
|
|
|
|
grid-column: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playername .riot-tag {
|
|
|
|
color: #707070;
|
|
|
|
}
|
|
|
|
.player-info>img {
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
grid-column: 1;
|
|
|
|
border-radius: 8px;
|
|
|
|
align-self: end;
|
|
|
|
}
|
|
|
|
.player-info .playername {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 2;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.player-info .lp-gained {
|
|
|
|
align-self: start;
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 2;
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
.player-info .lp-gained.plus-lp {
|
|
|
|
color: var(--plus-green);
|
|
|
|
}
|
|
|
|
.player-info .lp-gained.minus-lp {
|
|
|
|
color: var(--minus-red);
|
|
|
|
}
|
|
|
|
.player-info .lp-gained.no-lp {
|
|
|
|
color: var(--def-grey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard-element .elo-gained {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 4;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
.rank {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.rank .rank-desc {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.elo-gained .rank-LP {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard-element .graph-wrapper {
|
|
|
|
position: relative;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column: 1 / 4;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 250px;
|
|
|
|
width: 520px;
|
|
|
|
transition: height 400ms;
|
|
|
|
}
|
|
|
|
.leaderboard-element.closed .graph-wrapper {
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leaderboard>.graph-wrapper {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
height: 600px;
|
|
|
|
width: 90vw;
|
|
|
|
max-width: 800px;
|
|
|
|
transition: height 400ms;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.leaderboard>.graph-wrapper.closed {
|
|
|
|
height: 0;
|
|
|
|
}
|