Skip to content

Commit

Permalink
updated borders
Browse files Browse the repository at this point in the history
  • Loading branch information
pan261 committed Oct 25, 2021
1 parent dc050ba commit d072700
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Autodesk_Setup_BIDC/setup-sheet.cps
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ function writeTools() {
)
);
if ((i + 1) < tools.getNumberOfTools()) {
write("<tr class=\"space\"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>");
// write("<tr class=\"space\"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>");
}
writeln("");
writeln("");
Expand Down Expand Up @@ -1305,7 +1305,7 @@ function onSectionEnd() {
var notes = getParameter("job-notes");
if (notes) {
c +=
"<tr class=\"notes\"><td valign=\"top\">" +
"<tr class=\"notes\"><td class=\"notesSection\" valign=\"top\">" +
d(localize("Notes")) + ": <pre>" + getParameter("job-notes") +
"</pre></td></tr>";
}
Expand Down Expand Up @@ -1756,15 +1756,15 @@ function onSectionEnd() {
var notes = getParameter("notes");
if (notes) {
write(
"<tr class=\"notes\"><td valign=\"top\" colspan=\"4\">" +
"<tr class=\"notes\"><td class=\"notesSection\" valign=\"top\" colspan=\"4\">" +
d(localize("Notes")) + ": <pre>" + getParameter("notes") +
"</pre></td></tr>"
);
}
}

if (!isLastSection()) {
write("<tr class=\"space\"><td colspan=\"5\">&nbsp;</td></tr>");
// write("<tr class=\"space\"><td colspan=\"5\">&nbsp;</td></tr>");
}
writeln("");
writeln("");
Expand Down Expand Up @@ -1875,7 +1875,7 @@ function writeTotals() {

write(
"<tr class=\"info\">" +
"<td valign=\"top\">" + c1 + "</td>" +
"<td class=\"total\" valign=\"top\">" + c1 + "</td>" +
"</tr>"
);
write("</table>");
Expand Down
23 changes: 20 additions & 3 deletions Autodesk_Setup_BIDC/setup-sheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ th {
background-color: #e0e0e0;
border-radius: 8px;
padding: 0.7rem;
border-bottom: 2px solid lightslategray;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}

tr.space td {
border-bottom: 1px solid Gray;
border: none;
height: 1px;
font-size: 1px;
}
Expand Down Expand Up @@ -104,23 +105,39 @@ tr {
.jobhead td {
font-size: 12pt;
vertical-align: top;
border: none;
}

td {
font-size: 1.125rem;
vertical-align: top;
padding: 2.5px;
border-left: 1px solid black;
border-right: 1.5px dashed slategray;
border-top: 3px solid slategray;
}

.toolimage {
vertical-align: middle;
border-right: none;
}

td.image {
text-align: right;
}

td.model {
border-right: none;
}

td.total {
border-right: none;
}

td.notesSection {
border-top: 1.5px dashed slategray;
border-right: none;
}

.notes {
white-space: normal;
}
Expand Down

0 comments on commit d072700

Please sign in to comment.