Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Referees 2018/table styling #36

Open
wants to merge 11 commits into
base: gh-pages
Choose a base branch
from
97 changes: 57 additions & 40 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ displaySystem.config({
//modules, order determines z stacking
modules: {
'background': {
// visible: false
visible: false,
color: 'black',
//optional chromakey background color
// color: "lime",
},
'camera': {
// visible: true,
visible: false,
// audio: true,
},
'gallery': {
visible: true,
visible: false,
transition: 'fade',
size: 'cover',
timeout: 4,
Expand All @@ -33,74 +33,91 @@ displaySystem.config({
],
},
'clock': {
visible: true,
visible: false,
// countdown: 20,
},
'time': {
visible: true,
visible: false,
// format: "MM:ss",
},
'twitter': {
// visible: true,
// speed: 500,
},
'lowThird': {
visible: true,
visible: false,
line1: '❤️ press \'C\'',
line2: 'to show the control window',
},
'list': {
// visible: true,
header: 'results round 1',
data: [
['🇳🇱 just try',1],
['🇳🇱 to copy',2],
['🇪🇬 and paste',3],
['🇪🇬 some cells',4],
['🇪🇬 from excel',5],
['🇺🇸 into the control',6],
['🇺🇸 window! You\'ll be',7],
['🇺🇸 amazed!',8],
['🇳🇱 It even has',8],
['🇳🇱 automatic',8],
['🇳🇱 paging',8],
['🇳🇱 just try', 1],
['🇳🇱 to copy', 2],
['🇪🇬 and paste', 3],
['🇪🇬 some cells', 4],
['🇪🇬 from excel', 5],
['🇺🇸 into the control', 6],
['🇺🇸 window! You\'ll be', 7],
['🇺🇸 amazed!', 8],
['🇳🇱 It even has', 8],
['🇳🇱 automatic', 8],
['🇳🇱 paging', 8],
],
timer: 5000,
lines: 8
lines: 12
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

12 lines don't fit with the lower third visible

},
'sprite': {
// visible: true,
visible: true,
texts: [{
data:'2017 Regional, Modiin'
}
],
sprites: [{
width: '100%',
top: '3.5vh',
fontSize: '8vh',
textAlign: 'center',
color: 'rgba(255,255,255,0.5)',
html: 'FIRST LEGO League'
side: 'top',
Copy link
Member

@rikkertkoppes rikkertkoppes Aug 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are too specific for one tournament, I'd like to keep the default configuration lightweight and ready-to-go

id: 'FIRST',
alias: 'firstLegoLeague',
imgClass: 'firstLogo',
},
{
side: 'top',
id: 'challenge',
alias: 'challengeTheme',
imgClass: 'challengeLogo'

}, {
side: 'top',
id: 'LEGOEd',
alias: 'legoEducation',
imgClass: 'legoLogo',
},
{
side: 'bottom',
id: 'sponsor1',
alias: 'sponsor1',
imgClass: 'sponsor1Img',
}, {
side: 'bottom',
id: 'sponsor2',
alias: 'sponsor2',
imgClass: 'sponsor2Img',

}]
},
'table': {
// visible: true,
header: ['team name', 'number', 'score 1', 'score 2'],
visible: true,
header: ['rank', 'NO.', 'name', 'best', '1', '2', '3'],
data: [
['yuby',1, 100, 167],
['ahgf',2, 120, 198],
['butny',3, 10, 387],
['batey',4, 140, 243],
['meroy',5, 101, 543],
['marnc',6, 123, 198],
['arben',7, 189, 123],
['opic',8, 203, 431],
['poner',9, 403, 142],
['notar',10, 257, 289],
['serminc',11, 143, 365],
['--', '--', ' ', '--', '--', '--', '--'],

],
timer: 10000,
lines: 8
},
'css': {
href: [
'themes/rednblue-plus/rednblue-plus.css',
'themes/fll/flltable.css',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

// 'themes/rednblue-plus/rednblue-plus-mod-rtl.css',
// 'themes/rednblue-plus/rednblue-plus-mod-opaque.css'
],
Expand All @@ -115,7 +132,7 @@ displaySystem.config({
zoom: 1,
aspect: 'native',
rotation: 0,
overscan: [0,0,0,0]
overscan: [0, 0, 0, 0]
},
'keybindings': {
'q': 'time.show()',
Expand Down
13 changes: 10 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ html, body {
margin: 0;
padding: 0;
}



/* hides screen during initialization, overridden in themes */

body {
visibility: hidden;
}


/* hides elements that are supposed to be hidden at least until theme is loaded and overrides the behavior */

.hidden {
visibility: hidden;
}
Expand All @@ -22,7 +28,9 @@ body {
bottom: 0;
}


/* control window */

@media screen {
body.controls {
font-family: verdana, helvetica, sans-serif;
Expand All @@ -41,8 +49,7 @@ body {
display: inline-block;
white-space: nowrap;
}
body.controls input,
body.controls textarea {
body.controls input, body.controls textarea {
width: 75px;
border: 1px solid silver;
border-right: none;
Expand All @@ -56,4 +63,4 @@ body {
body.controls button {
margin-right: 4px;
}
}
}
Loading