From d7c793468bb719d96af469a62aef9d5f16846506 Mon Sep 17 00:00:00 2001 From: pan261 Date: Thu, 7 Oct 2021 13:49:33 -0400 Subject: [PATCH] updated styling --- Autodesk_Setup_BIDC/setup-sheet.cps | 66 ++++++++++++++--------------- Autodesk_Setup_BIDC/setup-sheet.css | 13 +++--- 2 files changed, 41 insertions(+), 38 deletions(-) diff --git a/Autodesk_Setup_BIDC/setup-sheet.cps b/Autodesk_Setup_BIDC/setup-sheet.cps index b50c72f..e0dec92 100644 --- a/Autodesk_Setup_BIDC/setup-sheet.cps +++ b/Autodesk_Setup_BIDC/setup-sheet.cps @@ -350,11 +350,15 @@ function onOpen() { ); write(""); - write(""); - write(""); // header var c = ""; c += ""; + + // Import material io components + c += ""; + c += ""; + c += ""; + if (getProperty("embedStylesheet")) { c += ""; } else { @@ -415,37 +419,33 @@ function onOpen() { write("

" + localize("Setup Sheet") + "

"); } - list = - "\n" - - write(list); - - card = - "
" + - "" + - "" + - "
" - - write(card); + // list = + // "\n" + + // write(list); + + // card = + // "
" + + // "
" + + // "hello" + + // "
" + + // "world" + + // "
" + + // write(card); patternIds = {}; var numberOfSections = getNumberOfSections(); diff --git a/Autodesk_Setup_BIDC/setup-sheet.css b/Autodesk_Setup_BIDC/setup-sheet.css index a34cc5e..48628cf 100644 --- a/Autodesk_Setup_BIDC/setup-sheet.css +++ b/Autodesk_Setup_BIDC/setup-sheet.css @@ -34,23 +34,25 @@ table { border: none; border-spacing: 0; background-color: white; + box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%); + border-radius: 8px; } table.jobhead { width: fit-content; - border: medium solid Black; + border-radius: 8px; display: flex; } table.job, table.sheet { width: fit-content; - border: medium solid Black; + border-radius: 8px; display: flex; } th { background-color: #e0e0e0; - border-bottom: medium solid Black; + border-radius: 8px; padding: 0.7rem; } @@ -62,6 +64,7 @@ tr.space td { table.info { padding-top: 0.1cm; + box-shadow: none; } table.info td { @@ -73,8 +76,8 @@ table.info td { } .model img { - width: 12cm; - border: 2px solid Black; + width: 100%; + max-width: 60rem; } .preview img {