From dc050bac810ea92edf651bfd0c4ddfb433fd16e9 Mon Sep 17 00:00:00 2001 From: pan261 Date: Mon, 25 Oct 2021 14:56:33 -0400 Subject: [PATCH] fixed firefox styling, added table borders --- Autodesk_Setup_BIDC/setup-sheet.cps | 10 +++++----- Autodesk_Setup_BIDC/setup-sheet.css | 7 +++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Autodesk_Setup_BIDC/setup-sheet.cps b/Autodesk_Setup_BIDC/setup-sheet.cps index a585ed1..e9b5b2d 100644 --- a/Autodesk_Setup_BIDC/setup-sheet.cps +++ b/Autodesk_Setup_BIDC/setup-sheet.cps @@ -355,9 +355,9 @@ function onOpen() { c += ""; // Import material io components - c += ""; - c += ""; - c += ""; + // c += ""; + // c += ""; + // c += ""; if (getProperty("embedStylesheet")) { c += ""; @@ -1264,8 +1264,8 @@ function onSectionEnd() { if (isFirstSection()) { var c = ""; - c += makeRow(makeColumn(d(localize("User: ") + ": ") + v(getGlobalParameter("username")))); - c += makeRow(makeColumn(d(localize("Date: ") + ": ") + v(getGlobalParameter("generated-at")))); + c += makeRow(makeColumn(d(localize("User") + ": ") + v(getGlobalParameter("username")))); + c += makeRow(makeColumn(d(localize("Date") + ": ") + v(getGlobalParameter("generated-at")))); if (programComment) { c += makeRow(makeColumn(d(localize("Program Comment") + ": ") + v(programComment))); diff --git a/Autodesk_Setup_BIDC/setup-sheet.css b/Autodesk_Setup_BIDC/setup-sheet.css index 0a21c27..e0ef9a4 100644 --- a/Autodesk_Setup_BIDC/setup-sheet.css +++ b/Autodesk_Setup_BIDC/setup-sheet.css @@ -41,19 +41,19 @@ table { table.jobhead { width: fit-content; border-radius: 8px; - display: flex; + padding: 2.5px; } table.job, table.sheet { width: fit-content; border-radius: 8px; - display: flex; } th { background-color: #e0e0e0; border-radius: 8px; padding: 0.7rem; + border-bottom: 2px solid lightslategray; } tr.space td { @@ -69,6 +69,7 @@ table.info { table.info td { padding-left: 0.1cm; + border: none; } .job td { @@ -108,6 +109,8 @@ tr { td { font-size: 1.125rem; vertical-align: top; + padding: 2.5px; + border-left: 1px solid black; } .toolimage {