eventsheet styling improvements

This commit is contained in:
2024-05-06 10:38:52 -05:00
parent d50f94acc8
commit bcade85182
5 changed files with 134 additions and 53 deletions

View File

@@ -0,0 +1,7 @@
<div class="section-divider">
<div class="dotted-line NW" style=""></div>
<div class="dotted-line NE" style=""></div>
<div class="dotted-line SW" style=""></div>
<div class="dotted-line SE" style=""></div>
</div>

View File

@@ -2,8 +2,8 @@
<body class="B5">
<div class="sheet eventsheet" id="page-1">
{{!-- NW --}}
<section id="defense-card" data-card-location="NW">
{{>page_section_divider}}
<section class="NW" id="defense-card">
<header>
<div class="event-title float-left">
{{event.formattedTitle}} {{dateFormat event.startDate "ddd, MMM D h:mm A" }}
@@ -32,8 +32,7 @@
</div>
</div>
</section>
{{!-- NE --}}
<section id="roster-and-history" data-card-location="NE">
<section class="NE" id="roster-and-history">
<div class="roster-and-history">
{{> roster_and_history
event=event
@@ -44,8 +43,7 @@
}}
</div>
</section>
{{!-- SW --}}
<section class="lineup-card" id="lineup-card-dugout" data-card-location="SW">
<section class="SW lineup-card dugout" id="lineup-card-dugout">
<header>
<div class="float-left event-title">{{event.formattedTitle}}</div>
<div class="float-right homeaway">{{event.gameType}}</div>
@@ -83,8 +81,7 @@
</table>
</div>
</section>
{{!-- SE --}}
<section class="lineup-card" id="lineup-card-exchange" data-card-location="SE">
<section class="SE lineup-card exchange" id="lineup-card-exchange">
<header>
<div class="float-left event-title">{{event.formattedTitle}}</div>
<div class="float-right homeaway">{{event.gameType}}</div>
@@ -124,19 +121,18 @@
</section>
</div>
<div class="sheet eventsheet" id="page-2">
{{!-- NW --}}
<section id="front-cover">
{{>page_section_divider}}
<section class="NW" id="front-cover">
<header>
<div class="homeaway">
<span>{{firstLetter event.gameType}}</span>
<div class="game-number">
{{event.label}}
</div>
<div class="title">
<span class="date-time">{{dateFormat event.startDate "ddd, MMM D h:mm A" }}</span>
<span class="location">{{event.locationName}}</span>
</div>
<div class="game-number">
<span class="label">Game #</span>
<span class="value">XX</span>
<div class="homeaway">
<span>{{firstLetter event.gameType}}</span>
</div>
</header>
<div style="display:block;max-height: 1em;background-color: lightgray;border-bottom: solid 2px black;">
@@ -184,8 +180,7 @@
{{/if}}
</div>
</section>
{{!-- NE --}}
<section id="defense-card" class="blank">
<section class="NE blank" id="defense-card">
<header>
<div class="event-title float-left">
&nbsp;
@@ -214,8 +209,7 @@
</div>
</div>
</section>
{{!-- SW --}}
<section class="lineup-card exchange blank" id="lineup-card-exchange-blank">
<section class="SW lineup-card exchange blank" id="lineup-card-exchange-blank">
<div class="starting-lineup-table">
<table>
<thead>
@@ -247,8 +241,7 @@
</table>
</div>
</section>
{{!-- SE --}}
<section class="lineup-card exchange blank" id="lineup-card-dugout-blank">
<section class="SE lineup-card dugout blank" id="lineup-card-dugout-blank">
<div class="starting-lineup-table">
<table>
<thead>