mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
215 lines
3 KiB
CSS
215 lines
3 KiB
CSS
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background: #F1F5F8;
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.debug {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: none;
|
|
z-index: 9999999999;
|
|
}
|
|
|
|
.debug:hover {
|
|
background: #EF5753;
|
|
}
|
|
|
|
.search {
|
|
background: #4DC0B5;
|
|
}
|
|
|
|
.search .container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
|
|
padding: 32px 0;
|
|
}
|
|
|
|
#refresh {
|
|
display: none;
|
|
}
|
|
|
|
.player {
|
|
text-align: center;
|
|
margin: 16px auto 0;
|
|
border: 1px solid #ebebeb;
|
|
padding: 16px;
|
|
background: #fff;
|
|
}
|
|
|
|
.player__pp {
|
|
width: 75px;
|
|
height: 75px;
|
|
background: #ebebeb;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.player__rank-img {
|
|
width: 75px;
|
|
height: 75px;
|
|
background: #ebebeb;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
/* --- MATCHES --- */
|
|
.list-matches {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.match {
|
|
background: #fff;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #DAE1E7;
|
|
}
|
|
|
|
.match .content-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 16px;
|
|
}
|
|
|
|
.match.win .content-container {
|
|
border-left: 10px solid #51D88A;
|
|
}
|
|
|
|
.match.lose .content-container {
|
|
border-left: 10px solid #EF5753;
|
|
}
|
|
|
|
/* First col */
|
|
.match .first {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
flex: 1 0 0;
|
|
}
|
|
|
|
.champion-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: block;
|
|
margin: 0 2px 0 0;
|
|
}
|
|
|
|
.match .level {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.match .summonerSpells {
|
|
margin: 0 8px 0 0;
|
|
}
|
|
|
|
.spell-icon {
|
|
width: 23px;
|
|
height: 23px;
|
|
display: block;
|
|
}
|
|
|
|
.match .spell-icon:first-child {
|
|
margin: 0 0 2px 0;
|
|
}
|
|
|
|
/* Second col */
|
|
.match .second {
|
|
flex: 1 0 0;
|
|
text-align: left;
|
|
}
|
|
|
|
/* Third col */
|
|
.match .third {
|
|
flex: 1 0 0;
|
|
display: flex;
|
|
}
|
|
|
|
.third .item {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin: 0 2px 0 0;
|
|
}
|
|
|
|
/* Fourth col */
|
|
.match .fourth {
|
|
flex: 1 0 0;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
/* #######LOADER####### */
|
|
.loader--overlay {
|
|
position: absolute;
|
|
z-index: 9997;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
|
display: none;
|
|
}
|
|
|
|
.loader-container {
|
|
position: absolute;
|
|
z-index: 9998;
|
|
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
.LoaderBalls {
|
|
width: 90px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
position: absolute;
|
|
z-index: 9999;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
|
|
.LoaderBalls__item {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background: #00f1ca;
|
|
}
|
|
|
|
.LoaderBalls__item:nth-child(1) {
|
|
animation: bouncing 0.4s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95);
|
|
}
|
|
|
|
.LoaderBalls__item:nth-child(2) {
|
|
animation: bouncing 0.4s 0.1s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards;
|
|
}
|
|
|
|
.LoaderBalls__item:nth-child(3) {
|
|
animation: bouncing 0.4s 0.2s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards;
|
|
}
|
|
|
|
@keyframes bouncing {
|
|
0% {
|
|
transform: translate3d(0, 10px, 0) scale(1.2, 0.85);
|
|
}
|
|
|
|
100% {
|
|
transform: translate3d(0, -20px, 0) scale(0.9, 1.1);
|
|
}
|
|
}
|