From 62e4c91e7f4634f7bd7c57a89aa61d518190232c Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Sat, 13 Jun 2020 15:15:15 +0200 Subject: [PATCH] feat: add link to live game details on overview --- client/src/assets/css/base.css | 4 ++++ client/src/components/Global/SVGContainer.vue | 1 + client/src/components/Match/LiveMatch.vue | 17 +++++++++++++++-- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/client/src/assets/css/base.css b/client/src/assets/css/base.css index 20bcde1..4a4a7f5 100644 --- a/client/src/assets/css/base.css +++ b/client/src/assets/css/base.css @@ -42,6 +42,10 @@ button:focus { background: linear-gradient(180deg, #2C5282 0%, rgba(44, 82, 130, 0) 100%); } +.bg-gradient-x { + background: linear-gradient(270deg, rgba(44,82,130,1) 0%, rgba(44,82,130,0) 100%); +} + .text-overflow { text-overflow: ellipsis; } diff --git a/client/src/components/Global/SVGContainer.vue b/client/src/components/Global/SVGContainer.vue index a5f19dc..3ee8aab 100644 --- a/client/src/components/Global/SVGContainer.vue +++ b/client/src/components/Global/SVGContainer.vue @@ -1,5 +1,6 @@ @@ -95,4 +104,8 @@ export default { text-shadow: 3px 2px 0px rgba(49, 130, 206, 0.8), -3px 2px 0px rgba(229, 62, 62, 0.8); } + +.live-game-link:hover svg { + @apply translate-x-1 +}