The whistle lies under the book, turned about its ball, as the design now has it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
1a1f43ddf7
commit
0089c2378c
3 files changed
+10
-6
No files matched your search
@@ -155,9 +155,6 @@ body.midnight .hw-item,body.matchday .hw-item {background-color:#ffffff14;} body
|
||||
.window.nb-sheet>* {pointer-events:auto;}
|
||||
.hw-step button,.hw-step button:hover {white-space:nowrap;flex-shrink:0;display:block;line-height:64dp;}
|
||||
.hw-kicker,.nb-heading small {text-transform:none;}
|
||||
.nb-whistle,.nb-whistle:hover,.nb-whistle:disabled {left:3250dp;top:1690dp;width:810dp;height:471dp;transform-origin:540dp 414dp;}
|
||||
.nb-whistle-art {width:810dp;height:471dp;}
|
||||
.nb-whistle,.nb-whistle:hover,.nb-whistle:disabled {left:3345dp;top:1735dp;}
|
||||
|
||||
/* --- The cards, second design: paper notes, a dark match card, a tear-off calendar, lamps on a
|
||||
dashboard, photographs in white frames. --- */
|
||||
@@ -318,3 +315,7 @@ body.midnight .hw-item,body.matchday .hw-item {background-color:#ffffff14;} body
|
||||
.hw-chart-label.now span {font-size:46dp;}
|
||||
.hw-empty {font-size:32dp;line-height:42dp;}
|
||||
.hw-duel small {font-size:30dp;}
|
||||
/* the whistle after the design: 300 x 230 units at (1466, 820), turned about its ball, under the book */
|
||||
.nb-whistle,.nb-whistle:hover,.nb-whistle:disabled {left:3298.5dp;top:1845dp;width:1012.5dp;height:589.5dp;transform-origin:355.5dp 184.5dp;transform:rotate(115deg) scale(0.64);}
|
||||
.nb-whistle:hover {transform:rotate(108deg) scale(0.7);filter:brightness(1.07);}
|
||||
.nb-whistle-art {width:1012.5dp;height:589.5dp;}
|
||||
@@ -28,7 +28,7 @@ body.matchday {--p-bg:#e4eed6;--p-surf:#cfe0b8;--p-text:#1d2a16;--p-div:#1d2a162
|
||||
.pg-col {display:flex;flex-direction:column;gap:27dp;min-width:0;min-height:0;}
|
||||
.pg-row {display:flex;align-items:center;gap:27dp;min-width:0;}
|
||||
.pg-grow {flex:1;min-width:0;min-height:0;}
|
||||
.pg-foot {display:flex;flex:none;align-items:center;gap:18dp;height:81dp;padding-right:130dp;}
|
||||
.pg-foot {display:flex;flex:none;align-items:center;gap:18dp;height:81dp;padding-right:0dp;}
|
||||
.pg-sp {display:block;flex:1;}
|
||||
.pg-status {display:block;max-width:1500dp;height:60dp;line-height:60dp;padding:0 27dp;border-radius:30dp;background-color:var(--p-n1);font-size:28dp;color:var(--p-n8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.pg-panel {display:block;background-color:var(--p-n1);border:2dp var(--p-div);border-radius:45dp;padding:32dp 36dp;}
|
||||
|
||||
@@ -243,9 +243,12 @@ std::string App::notebook_shell(const std::function<bool(const std::string &)> &
|
||||
"<path d=\"M8 41L140 34V84L8 77Z\" fill=\"url(#t)\"/><circle cx=\"158\" cy=\"82\" r=\"62\" fill=\"url(#b)\"/><circle cx=\"158\" cy=\"82\" r=\"62\" fill=\"url(#d)\"/>"
|
||||
"<rect x=\"90\" y=\"30\" width=\"32\" height=\"16\" rx=\"5\" fill=\"#2e2b25\"/><circle cx=\"158\" cy=\"82\" r=\"28\" fill=\"none\" stroke=\"#643312\" stroke-opacity=\".45\" stroke-width=\"3\"/>"
|
||||
"<ellipse cx=\"142\" cy=\"47\" rx=\"18\" ry=\"7\" fill=\"#f9f4ed\" fill-opacity=\".5\" transform=\"rotate(-28 142 47)\"/><circle cx=\"226\" cy=\"84\" r=\"18\" fill=\"none\" stroke=\"#82796a\" stroke-width=\"7\"/><circle cx=\"226\" cy=\"84\" r=\"18\" fill=\"none\" stroke=\"#c0b6a5\" stroke-width=\"4\"/>";
|
||||
out += btn(engine_mode_ ? std::string("engine-open") : std::string("open:kickoff"),
|
||||
"<span class=\"nb-whistle-art\">" + picture(renderer_.diagram("nb-whistle", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 450 262\">" + whistle + "</svg>", 1300), 810, 471) + "</span>", "nb-whistle",
|
||||
// it lies under the book, turned so that its ball and ring look out at the lower right corner
|
||||
const auto whistle_button = btn(engine_mode_ ? std::string("engine-open") : std::string("open:kickoff"),
|
||||
"<span class=\"nb-whistle-art\">" + picture(renderer_.diagram("nb-whistle", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 450 262\">" + whistle + "</svg>", 1300), 1012.5, 589.5) + "</span>", "nb-whistle",
|
||||
"id=\"object-app-kickoff\" data-id=\"kickoff\" aria-label=\"Anstoß\"" + std::string(enabled("kickoff") ? "" : " disabled=\"disabled\""));
|
||||
if (const auto under = out.find("<div class=\"nb-cover-shadow\">"); under != std::string::npos) out.insert(under, whistle_button);
|
||||
else out += whistle_button;
|
||||
return out + "</div>";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user