From f3da85491e3289cab14c61885c150ed1c9218727 Mon Sep 17 00:00:00 2001 From: Sven Reimers Date: Sun, 1 Oct 2023 18:23:10 +0200 Subject: [PATCH] VotedTalks view is now fully dynamic --- cinema/src/main/resources/tweetwall.css | 35 +++++++++++++++++++ .../src/main/resources/tweetwallConfig.json | 14 +++++--- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/cinema/src/main/resources/tweetwall.css b/cinema/src/main/resources/tweetwall.css index f27f61b..5332b48 100644 --- a/cinema/src/main/resources/tweetwall.css +++ b/cinema/src/main/resources/tweetwall.css @@ -173,21 +173,48 @@ -fx-font-size: 10pt; } +.votedTalk .ratingAverageScore { + -fx-text-fill: blanchedalmond; + -fx-font-weight: bold; + -fx-font-size: 14pt; +} + +.votedTalk .ratingTotalVotes { + -fx-text-fill: blanchedalmond; + -fx-font-weight: normal; + -fx-font-size: 10pt; +} + .scheduleSession > .sessionBottomPane > .centerFlow .emojiFlow { -fx-fill: blanchedalmond; -fx-font-size: 15pt; -fx-font-weight: bold; } +.votedTalk .emojiFlow { + -fx-fill: blanchedalmond; + -fx-font-size: 15pt; + -fx-font-weight: bold; +} + .scheduleSession > .sessionTopPane > .speakerNames { -fx-alignment: "top-right" } +.votedTalk > .sessionTopPane > .speakerNames { + -fx-alignment: "top-right" +} + .scheduleSession > .sessionTopPane > .speakerNames > .speakerName { -fx-text-fill: blanchedalmond; -fx-font-size: 11pt; } +.votedTalk > .sessionTopPane > .speakerNames > .speakerName { + -fx-text-fill: blanchedalmond; + -fx-font-size: 11pt; +} + .scheduleSession > .sessionTopPane > .speakerNames > .companyName { -fx-text-fill: blanchedalmond; -fx-font-size: 8pt; @@ -212,6 +239,14 @@ -fx-font-weight: bold; } +.votedTalk > .title { + -fx-background-color: devoxx_gradient_opaque; + -fx-background-radius: 10; + -fx-text-fill: blanchedalmond; + -fx-font-size: 20pt; + -fx-font-weight: bold; +} + .scheduleSession .sessionBottomPane .centerFlow { -fx-spacing: 3pt; } diff --git a/cinema/src/main/resources/tweetwallConfig.json b/cinema/src/main/resources/tweetwallConfig.json index 8668e2c..3d503bd 100644 --- a/cinema/src/main/resources/tweetwallConfig.json +++ b/cinema/src/main/resources/tweetwallConfig.json @@ -54,7 +54,10 @@ "stepClassName": "org.tweetwallfx.conference.stepengine.steps.ShowTopRated", "config": { "layoutX": 35, - "layoutY": 140, + "layoutY": 215, + "width": 800, + "talkHeight": 125, + "talkVGap": 5, "topVotedType": "TODAY", "stepDuration": 500 } @@ -69,7 +72,7 @@ { "stepClassName": "org.tweetwallfx.controls.steps.NodeFadeOutStep", "config": { - "nodeSelector": "#topRatedToday" + "nodeSelector": "#topRatedeNode" } }, { @@ -111,7 +114,10 @@ "stepClassName": "org.tweetwallfx.conference.stepengine.steps.ShowTopRated", "config": { "layoutX": 35, - "layoutY": 140, + "layoutY": 215, + "width": 800, + "talkHeight": 125, + "talkVGap": 5, "topVotedType": "WEEK", "stepDuration": 500 } @@ -126,7 +132,7 @@ { "stepClassName": "org.tweetwallfx.controls.steps.NodeFadeOutStep", "config": { - "nodeSelector": "#topRatedWeek" + "nodeSelector": "#topRatedeNode" } } ]