Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
VotedTalks view is now fully dynamic (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenreimers authored Oct 1, 2023
1 parent b06a5ed commit e0bcf52
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
35 changes: 35 additions & 0 deletions cinema/src/main/resources/tweetwall.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down
14 changes: 10 additions & 4 deletions cinema/src/main/resources/tweetwallConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -69,7 +72,7 @@
{
"stepClassName": "org.tweetwallfx.controls.steps.NodeFadeOutStep",
"config": {
"nodeSelector": "#topRatedToday"
"nodeSelector": "#topRatedeNode"
}
},
{
Expand Down Expand Up @@ -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
}
Expand All @@ -126,7 +132,7 @@
{
"stepClassName": "org.tweetwallfx.controls.steps.NodeFadeOutStep",
"config": {
"nodeSelector": "#topRatedWeek"
"nodeSelector": "#topRatedeNode"
}
}
]
Expand Down

0 comments on commit e0bcf52

Please sign in to comment.