krz/nba-scores

A CLI/TUI app for NBA scores.

clone: git clone https://gitbay.org/krz/nba-scores.git

main: nba/tui/styles.tcss · raw

 1Screen {
 2    background: $background;
 3}
 4
 5TabbedContent {
 6    height: 1fr;
 7}
 8
 9TabPane {
10    overflow: auto auto;
11    padding: 1 2;
12}
13
14/* Scores tab */
15#scores-content {
16    width: auto;
17}
18
19/* Standings, Playoff, Bracket, and Box Score tabs */
20#standings-container,
21#playoff-container,
22#boxscore-container {
23    height: 1fr;
24    width: 100%;
25}
26
27#east-content,
28#west-content,
29#playoff-east-content,
30#playoff-west-content,
31#bracket-content {
32    width: 1fr;
33    overflow: auto auto;
34    padding-right: 2;
35}
36
37/* Leaders tab */
38#leaders-content {
39    width: auto;
40    overflow: auto auto;
41}
42
43/* Box Score tab */
44#home-content,
45#away-content {
46    width: 1fr;
47    overflow: auto auto;
48    padding-right: 2;
49}
50
51/* Countdown / status bar */
52#countdown {
53    dock: bottom;
54    height: 1;
55    background: $panel;
56    color: $text-muted;
57    content-align: right middle;
58    padding-right: 2;
59}