diff --git a/package.json b/package.json index 470cf88..ab11c41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "csgowtf", - "version": "0.28.36", + "version": "0.29.0", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/components/HitgroupPuppet.vue b/src/components/HitgroupPuppet.vue index d9666f7..2497880 100644 --- a/src/components/HitgroupPuppet.vue +++ b/src/components/HitgroupPuppet.vue @@ -18,7 +18,9 @@ diff --git a/src/components/MatchesTable.vue b/src/components/MatchesTable.vue index 8e1f4eb..437445a 100644 --- a/src/components/MatchesTable.vue +++ b/src/components/MatchesTable.vue @@ -26,7 +26,7 @@ - - {{ match.score[0] }} - {{ match.score[1] }} + + {{ + match.score[0] + }} - {{ + match.score[1] + }} {{ match.stats.kills ? match.stats.kills : "0" }} @@ -131,6 +136,11 @@ import { export default { name: "MatchesTable", props: { + colorFront: { + type: Boolean, + required: false, + default: false + }, matches: { type: Array, required: false @@ -248,7 +258,6 @@ table { .td-score { font-size: 1.2rem; - width: 120px; } .td-date, .date { @@ -357,7 +366,6 @@ table { } } - &.ban { $last: rgb(93, 3, 3); background: linear-gradient(to right, @@ -381,6 +389,30 @@ table { } } + &.matches_ban { + $first: rgb(0, 0, 0); + $last: rgb(93, 3, 3); + background: linear-gradient(to right, + rgba($first, 0.2) 0%, + rgba($first, 0.1) 15%, + rgba(0, 0, 0, 0.4) 30%, + rgba(0, 0, 0, 0.4) 70%, + rgba($last, 0.6) 80%, + rgba($last, 0.6) 100% + ); + + &:hover { + background: linear-gradient(to right, + rgba($first, 0.3) 0%, + rgba($first, 0.2) 15%, + rgba(0, 0, 0, 0.5) 30%, + rgba(0, 0, 0, 0.5) 70%, + rgba($last, 0.7) 80%, + rgba($last, 0.7) 100% + ); + } + } + border-bottom: 1px solid rgba(73, 73, 73, 0.73); &:last-child { @@ -394,13 +426,12 @@ table { } @media screen and (max-width: 768px) { - .map { - padding-left: 2.2rem !important; + .map-icon { + margin-left: -1.32em !important; } .td-map { position: relative; - padding-left: 2.2rem !important; width: 35px !important; .parsed { @@ -425,12 +456,12 @@ table { } .td-score { - font-size: 1rem !important; - max-width: 90px; + font-size: .9rem !important; + //width: 110px !important; } .td-date { - font-size: 1rem !important; + font-size: .9rem !important; } .kills, .deaths, .assists, .kdiff, .duration, .hltv, .length, @@ -439,7 +470,7 @@ table { } } -@media screen and (max-width: 991px) { +@media screen and (max-width: 992px) { .avatar { width: 100px !important; height: 100px !important; @@ -452,9 +483,22 @@ table { } } -@media screen and (max-width: 1199px) { +@media screen and (max-width: 1200px) { .td-plus, .kdiff { display: none; } + .td-rank img { + width: 60px !important; + height: auto; + max-width: 60px; + } + .td-map img { + width: 50px !important; + height: auto; + } + .td-score { + font-size: 1.1rem !important; + width: 130px !important; + } } diff --git a/src/views/Explore.vue b/src/views/Explore.vue index 5b207e9..d94694c 100644 --- a/src/views/Explore.vue +++ b/src/views/Explore.vue @@ -5,7 +5,7 @@

Recent matches

- +