The first pages in the notebook's own format: tables, fixtures, strengths, scorers, fair play, indoor
A page of the notebook is 1244 x 720 design units under the sheet's heading; its building blocks (panels, tables, pills, pickers, meters, dialogs) are in pages.inc and pages.rcss with the notebook's inks for all three skins. The league reports are laid out in it; the other menus stay scaled sheets until they follow. The older dialogs take the same cream note with round corners and pill buttons. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
fc2974084c
commit
ac455eabfe
12 files changed
+479
-351
No files matched your search
@@ -144,7 +144,7 @@ std::string App::notebook_shell(const std::function<bool(const std::string &)> &
|
||||
// the skin's inks (the light skin carries the design's terracotta and sage)
|
||||
const std::string stitch = light ? "#f6a06b" : theme_ == "matchday" ? "#c9584f" : "#7fa3bd", rule = light ? "#e1eecc" : "#ffffff", margin = light ? "#ffc6a5" : theme_ == "matchday" ? "#c9584f" : "#7fa3bd",
|
||||
ring = light ? "#8c491a" : "#ffffff", ribbon_a = light ? "#b2622d" : stitch, ribbon_b = light ? "#d67f48" : stitch;
|
||||
std::string out = "<div class=\"nb-table\" style=\"height:" + scalar(stage) + "dp;\">" + picture(wood, 3840, stage, true) + "<div class=\"nb-table-light\" style=\"height:" + scalar(stage) + "dp;\"></div></div><div class=\"nb-book" + std::string(menu_.empty() ? "" : " legacy") + "\" id=\"notebook\" style=\"top:" + scalar(top) + "dp;\">";
|
||||
std::string out = "<div class=\"nb-table\" style=\"height:" + scalar(stage) + "dp;\">" + picture(wood, 3840, stage, true) + "<div class=\"nb-table-light\" style=\"height:" + scalar(stage) + "dp;\"></div></div><div class=\"nb-book" + std::string(menu_.empty() || page_native() ? "" : " legacy") + "\" id=\"notebook\" style=\"top:" + scalar(top) + "dp;\">";
|
||||
// the leather cover with its seam, the ribbon, the stack of sheets
|
||||
out += "<div class=\"nb-cover-shadow\"></div><div class=\"nb-cover\">" + picture(leather, 3281, 2070, true) + "<div class=\"nb-cover-tone\"></div><div class=\"nb-seam\">" +
|
||||
svg("nb-seam", 1440, 902, "<rect x=\"3\" y=\"3\" width=\"1434\" height=\"896\" rx=\"26\" fill=\"none\" stroke=\"" + stitch + "\" stroke-opacity=\".6\" stroke-width=\"2\" stroke-dasharray=\"9 7\"/>", 2400) + "</div></div>";
|
||||
@@ -223,7 +223,8 @@ std::string App::notebook_shell(const std::function<bool(const std::string &)> &
|
||||
svg("nb-corner", 62, 62, "<defs><linearGradient id=\"c\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0\" stop-color=\"" + std::string(light ? "#f9f4ed" : "#3a4654") + "\"/><stop offset=\".46\" stop-color=\"" +
|
||||
std::string(light ? "#eee7db" : "#313c49") + "\"/><stop offset=\".5\" stop-color=\"" + std::string(light ? "#a19786" : "#10151b") + "\"/><stop offset=\".62\" stop-color=\"" + std::string(light ? "#dcd3c4" : "#27313c") +
|
||||
"\"/><stop offset=\"1\" stop-color=\"" + std::string(light ? "#eee7db" : "#2c3743") + "\"/></linearGradient></defs><path d=\"M4 0H62V34A28 28 0 0 1 34 62H0V4A4 4 0 0 1 4 0Z\" fill=\"url(#c)\"/>", 200) + "</div></div>";
|
||||
out += "<div class=\"nb-heading\"><small>" + esc(notebook_upper(kicker)) + "</small><strong>" + esc(heading) + "</strong></div><div class=\"nb-head\">" + head + "</div>";
|
||||
page_title_ = heading; page_hint_.clear();
|
||||
out += "<div class=\"nb-heading\"><small>" + esc(notebook_upper(kicker)) + "\x02H\x02</small><strong>\x02T\x02</strong></div><div class=\"nb-head\">" + head + "</div>";
|
||||
// a paper clip at the top edge, a pencil in its loop at the right edge
|
||||
out += "<div class=\"nb-clip\">" + svg("nb-clip", 30, 72, "<g fill=\"none\" stroke-linecap=\"round\"><rect x=\"4\" y=\"4\" width=\"22\" height=\"64\" rx=\"11\" stroke=\"#a19786\" stroke-width=\"3\"/><rect x=\"9\" y=\"18\" width=\"12\" height=\"42\" rx=\"6\" stroke=\"#c0b6a5\" stroke-width=\"3\"/></g>", 240) + "</div>";
|
||||
out += "<div class=\"nb-pencil\">" + svg("nb-pencil", 16, 430,
|
||||
|
||||
Reference in new issue
Block a user