Skip to content

Commit 1922f31

Browse files
committed
Add pagination, cover page style, section numbers
1 parent f748ab4 commit 1922f31

File tree

1 file changed

+170
-1
lines changed

1 file changed

+170
-1
lines changed

Import/com/aras/innovator/tdf/tp_XmlSchema/Standard.xml

Lines changed: 170 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,78 @@
285285
}
286286
}
287287

288+
@page:first {
289+
background-image: url('');
290+
background-position: center center;
291+
background-repeat: no-repeat;
292+
background-attachment: fixed;
293+
background-size: auto;
294+
295+
@bottom {
296+
font-family: 'Lato', sans-serif;
297+
font-weight: regular;
298+
color: #FFFFFF;
299+
font-size: 10pt;
300+
background-color: #40798C;
301+
width: 100%;
302+
}
303+
@bottom-left-corner {
304+
content: " ";
305+
background-color: #40798C;
306+
}
307+
@bottom-right-corner {
308+
content: " ";
309+
background-color: #40798C;
310+
}
311+
@top {
312+
font-family: 'Lato', sans-serif;
313+
font-weight: regular;
314+
color: #FFFFFF;
315+
font-size: 10pt;
316+
background-color: #40798C;
317+
width: 100%;
318+
/*content: "Aras Corporation Demo Series";*/
319+
}
320+
@top-left-corner {
321+
content: " ";
322+
background-color: #40798C;
323+
}
324+
@top-right-corner {
325+
content: " ";
326+
background-color: #40798C;
327+
}
328+
@bottom-right {
329+
content: normal;
330+
}
331+
@bottom-center {
332+
content: "Published Using Aras Tech Docs";
333+
}
334+
}
335+
288336
body {
289337
text-align: left;
290338
font-family: 'Lato', sans-serif;
291339
font-weight: regular;
292340
color: #1c1c1c;
293341
font-size: 10pt;
294342
}
343+
/**** Override Baseline Doc Styles ***************/
344+
345+
.ArasList .ArasListItemElement.bulletListItem::before,
346+
.ArasList .ArasListItemElement.numericListItem::before,
347+
.ArasList .ArasListItemElement.alphaListItem::before {
348+
font-size: 10pt;
349+
top: 0px;
350+
}
351+
/**** Custom AutoNumber Styles ***************/
295352

296-
.Standard-Doc .Title {
353+
body {
354+
counter-reset: sectionNum;
355+
/*counter-reset: subtitleNum;*/
356+
background-color: transparent;
357+
}
358+
359+
.Standard-Doc > .Title {
297360
font-family: 'Raleway', sans-serif;
298361
font-weight: 900;
299362
font-size: 32pt;
@@ -302,6 +365,16 @@ body {
302365
margin-bottom: 0px;
303366
}
304367

368+
.Section {
369+
page-break-before: always;
370+
counter-reset: subsectionNum;
371+
counter-increment: sectionNum;
372+
}
373+
374+
.Section > .Title::before {
375+
content: counter(sectionNum, upper-alpha) ". ";
376+
}
377+
305378
.Standard-Doc .Subtitle {
306379
font-family: 'Raleway', sans-serif;
307380
font-weight: 600;
@@ -332,6 +405,13 @@ body {
332405
color: #40798C;
333406
}
334407

408+
.Section .ItemInfo {
409+
counter-increment: subsectionNum;
410+
}
411+
412+
.Section .ItemInfo > .Title::before {
413+
content: counter(subsectionNum) ". ";
414+
}
335415
.ItemInfo table {
336416
table-layout: fixed;
337417
width: 90%;
@@ -451,9 +531,61 @@ body {
451531
font-weight: regular;
452532
color: #1c1c1c;
453533
font-size: 10pt;
534+
content: counter(page);
454535
}
455536
}
456537

538+
@page:first {
539+
background-image: url('');
540+
background-position: center center;
541+
background-repeat: no-repeat;
542+
background-attachment: fixed;
543+
background-size: auto;
544+
545+
@bottom {
546+
font-family: 'Lato', sans-serif;
547+
font-weight: regular;
548+
color: #FFFFFF;
549+
font-size: 10pt;
550+
background-color: #40798C;
551+
width: 100%;
552+
}
553+
@bottom-left-corner {
554+
content: " ";
555+
background-color: #40798C;
556+
}
557+
@bottom-right-corner {
558+
content: " ";
559+
background-color: #40798C;
560+
}
561+
@top {
562+
font-family: 'Lato', sans-serif;
563+
font-weight: regular;
564+
color: #FFFFFF;
565+
font-size: 10pt;
566+
background-color: #40798C;
567+
width: 100%;
568+
/*content: "Aras Corporation Demo Series";*/
569+
}
570+
@top-left-corner {
571+
content: " ";
572+
background-color: #40798C;
573+
}
574+
@top-center {
575+
content: " ";
576+
background-color: #40798C;
577+
}
578+
@top-right-corner {
579+
content: " ";
580+
background-color: #40798C;
581+
}
582+
@bottom-right {
583+
content: normal;
584+
}
585+
@bottom-center {
586+
content: "Published Using Aras Tech Docs";
587+
}
588+
}
457589
body {
458590
text-align: left;
459591
font-family: 'Lato', sans-serif;
@@ -462,6 +594,21 @@ body {
462594
font-size: 10pt;
463595
}
464596

597+
/**** Override Baseline Doc Styles ***************/
598+
599+
.ArasList .ArasListItemElement.bulletListItem::before,
600+
.ArasList .ArasListItemElement.numericListItem::before,
601+
.ArasList .ArasListItemElement.alphaListItem::before {
602+
font-size: 10pt;
603+
top: 0px;
604+
}
605+
/**** Custom AutoNumber Styles ***************/
606+
607+
body {
608+
counter-reset: sectionNum;
609+
background-color: transparent;
610+
}
611+
465612
.Standard-Doc .Title,
466613
.Standard-Doc > .Title {
467614
font-family: 'Raleway', sans-serif;
@@ -472,6 +619,20 @@ body {
472619
margin-bottom: 0px;
473620
}
474621

622+
.Standard-Doc > .Title {
623+
margin-top: 300px;
624+
}
625+
626+
.Section {
627+
page-break-before: always;
628+
counter-reset: subsectionNum;
629+
counter-increment: sectionNum;
630+
}
631+
632+
.Section > .Title::before {
633+
content: counter(sectionNum, upper-alpha) ". ";
634+
}
635+
475636
.Standard-Doc .Subtitle {
476637
font-family: 'Raleway', sans-serif;
477638
font-weight: 600;
@@ -520,6 +681,14 @@ body {
520681
color: #40798C;
521682
}
522683

684+
.Section .ItemInfo {
685+
counter-increment: subsectionNum;
686+
}
687+
688+
.Section .ItemInfo > .Title::before {
689+
content: counter(subsectionNum) ". ";
690+
}
691+
523692
.Standard-Doc table {
524693
width:100%;
525694
}

0 commit comments

Comments
 (0)