diff --git a/assets/modern/notebook.rcss b/assets/modern/notebook.rcss index 0b52bb8..0159af4 100644 --- a/assets/modern/notebook.rcss +++ b/assets/modern/notebook.rcss @@ -269,3 +269,52 @@ body.midnight .hw-item,body.matchday .hw-item {background-color:#ffffff14;} body .hw-match-mid {display:flex;flex-direction:column;align-items:center;width:30%;} .hw-versus {display:flex;align-items:center;justify-content:center;line-height:60dp;margin:0 0 18dp 0;} .hw-match-mid .hw-versus {display:block;line-height:120dp;font-size:52dp;font-weight:normal;} + +/* --- Third pass: no dark fields on the light paper (the cards keep the tone of the design), + and larger type inside the cards. --- */ +.hw {background-color:#ebddc5;border:0dp;border-bottom:4dp #2e2b2524;} +.hw.link:hover {background-color:#efe3cd;} +.hw.hero,.hw.hero.link:hover {border:0dp;border-bottom:4dp #2e2b2524;background-color:#ebddc5;decorator:none;color:#201e1d;} +.hw.hero.link:hover {background-color:#efe3cd;} +.hw.hero .hw-kicker {color:#8c491a;} +.hw.hero .hw-foot,.hw.hero .hw-big span,.hw.hero .hw-empty {color:#474238;} +.hw.hero .hw-match-side strong {color:#201e1d;font-size:46dp;line-height:52dp;} +.hw-disc {border:6dp #f9f4ed;background-color:#f9f4ed;} +.hw-dash {padding:0;border-radius:0dp;background-color:transparent;} +.hw-dash .hw-lamp {height:86dp;} +.hw-dash.row .hw-lamp {height:76dp;} +.hw-dash .hw-lamp-text strong {color:#201e1d;} +.hw-dash .hw-lamp-text small {color:#474238;} +.hw-lamp-dot {border:5dp #f9f4ed;decorator:radial-gradient(circle at 35% 30%,#ccdbb2 0%,#8fa073 55%,#56633f 100%);} +.hw-lamp.alert .hw-lamp-dot {border-color:#f9f4ed;decorator:radial-gradient(circle at 35% 30%,#d67f48 0%,#8c491a 55%,#402310 100%);} +.hw-lamp.unknown .hw-lamp-dot {border-color:#a19786;decorator:radial-gradient(circle at 35% 30%,#eee7db 0%,#c0b6a5 55%,#82796a 100%);} +.hw.sage,.hw.sage.link:hover {background-color:#ebddc5;} +.hw-cal-band {background-color:#d67f48;} +.hw-cal-hole {background-color:#f9f4ed;} +.hw-item {background-color:#f9f4ed;} +.hw.photo,.hw.photo.link:hover {border:0dp;border-bottom:5dp #2e2b2524;} +/* type */ +.hw-kicker {height:38dp;line-height:38dp;font-size:28dp;} +.hw-tag {font-size:29dp;line-height:42dp;} +.hw-line {height:66dp;line-height:64dp;font-size:33dp;} +.hw-foot {height:42dp;line-height:42dp;font-size:29dp;} +.hw-big span {font-size:31dp;line-height:40dp;} +.hw-item {height:76dp;} +.hw-item strong {height:44dp;line-height:44dp;font-size:31dp;} +.hw-item small {font-size:27dp;} +.hw-lamp-text strong {height:42dp;line-height:42dp;font-size:33dp;} +.hw-lamp-text small {height:34dp;line-height:34dp;font-size:27dp;} +.hw-chip {font-size:36dp;} +.hw-chip-col small {height:48dp;line-height:48dp;font-size:31dp;} +.hw-cal-month {font-size:31dp;} +.hw-cal-week {font-size:42dp;line-height:50dp;} +.hw-meter span {font-size:32dp;} +.hw-meter strong {font-size:44dp;} +.hw-meter-track,.hw-meter-track div {height:26dp;border-radius:13dp;} +.hw-ticket-stub {font-size:28dp;} +.hw-ticket-price {font-size:42dp;} +.hw-photo-caption {font-size:32dp;} +.hw-chart-label span {font-size:28dp;} +.hw-chart-label.now span {font-size:46dp;} +.hw-empty {font-size:32dp;line-height:42dp;} +.hw-duel small {font-size:30dp;} diff --git a/src/modern/ui/notebook_home.inc b/src/modern/ui/notebook_home.inc index c9134e4..5e9a9e0 100644 --- a/src/modern/ui/notebook_home.inc +++ b/src/modern/ui/notebook_home.inc @@ -196,9 +196,9 @@ std::string App::notebook_card(const std::string &type, int cols, int rows, cons const bool home = venue == "Heimspiel"; const auto &other = fixture.at(home ? "away" : "home"); const std::string placed = opponent.is_object() ? "Platz " + opponent.value("rank", std::string("—")) + " · Stärke " + opponent.value("strength", std::string("—")) : std::string(); - if (flat) return kicker(competition) + "