From 2bbc312ad0600da06b7d18f57630ad19cd90efd2 Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 7 Apr 2020 20:43:35 +0200 Subject: Voteing feature --- client/components/cards/cardDetails.styl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'client/components/cards/cardDetails.styl') diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 80fa87c0..9bbbf075 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -330,3 +330,11 @@ card-details-color(background, color...) .card-details-indigo card-details-color(#4b0082, #ffffff) //White text for better visibility + +.voted + opacity: .7 +.vote-title + display: flex; + justify-content: space-between; +.vote-result + display: flex; -- cgit v1.2.3-1-g7c22 From 968ae122b0386876dcfe3b8414e5a5b94b4b28ae Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 8 Apr 2020 19:38:30 +0300 Subject: Fix typos. --- client/components/cards/cardDetails.styl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'client/components/cards/cardDetails.styl') diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 9bbbf075..6b3ca91c 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -100,11 +100,11 @@ avatar-radius = 50% .ps-scrollbar-y-rail pointer-event: all - position: absolute; + position: absolute .card-details-canvas width: 470px - padding-left: 20px; + padding-left: 20px .card-details-header margin: 0 -20px 5px @@ -241,7 +241,7 @@ input[type="submit"].attachment-add-link-submit .card-details-canvas width: 100% - padding-left: 0px; + padding-left: 0px .card-details-header .close-card-details @@ -334,7 +334,7 @@ card-details-color(background, color...) .voted opacity: .7 .vote-title - display: flex; - justify-content: space-between; + display: flex + justify-content: space-between .vote-result - display: flex; + display: flex -- cgit v1.2.3-1-g7c22 From 8f28a409c7dd90319f785e3fc4c1b26803f67f31 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 10 Apr 2020 01:46:36 +0200 Subject: Public vote --- client/components/cards/cardDetails.styl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/components/cards/cardDetails.styl') diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 6b3ca91c..199a12da 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -338,3 +338,5 @@ card-details-color(background, color...) justify-content: space-between .vote-result display: flex +.js-show-positive-votes + cursor: pointer -- cgit v1.2.3-1-g7c22 From d7e0350ecf8744de4e77f3a59b37dda220c52c4c Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Fri, 17 Apr 2020 19:47:26 +0200 Subject: Improve card layout on mobile devices --- client/components/cards/cardDetails.styl | 1 + 1 file changed, 1 insertion(+) (limited to 'client/components/cards/cardDetails.styl') diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 199a12da..3e2beadd 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -94,6 +94,7 @@ avatar-radius = 50% animation: flexGrowIn 0.1s box-shadow: 0 0 7px 0 darken(white, 30%) transition: flex-basis 0.1s + box-sizing: border-box .mCustomScrollBox padding-left: 0 -- cgit v1.2.3-1-g7c22