From 4552fcf2366ad726e3c3361947a1707c636a197b Mon Sep 17 00:00:00 2001 From: "Martin, Alexander Scott" Date: Mon, 3 Feb 2025 16:28:41 -0500 Subject: [PATCH] more various styling --- tdx-enhanced.js | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index a58dd2e..c7f6f1c 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -147,7 +147,7 @@ } if (countTxt) { - countSpan.innerText = countTxt + countSpan.innerText = countTxt } } } @@ -179,7 +179,7 @@ //update new calendar let iso = date.format(newFormat) - newCal.value = iso + newCal.value = iso calTxt.innerText = date.calendar() console.log("Cal update!",date) @@ -422,9 +422,9 @@ //console.log("Items:",items) - } + } - updateHeading(t.parentElement,numItems,totalItems) + updateHeading(t.parentElement,numItems,totalItems) } function createHighlightBubble(element,bgColor,txtColor) { @@ -1623,7 +1623,7 @@ a:focus, a:hover { .label-success { background-color: var(--col-0); - /*color: var(--txt-0);*/ + color: var(--txt-5); } .green, .green-hover:hover { @@ -1687,7 +1687,7 @@ a:focus, a:hover { .select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit { background-color: var(--col-2); - color: var(--txt-2); + color: var(--txt-5); } .select2-results .select2-highlighted { @@ -2001,7 +2001,7 @@ ul.nav-pills li.dropdown button.dropdown-toggle:hover { } .btn-danger { - + color: var(--txt-5) !important; } .btn-primary { @@ -2039,6 +2039,10 @@ ul.nav-pills li.dropdown button.dropdown-toggle:hover { background-color: var(--bg-1); } +.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] { + accent-color: var(--col-1); +} + /* Oddly grouped headers */ .h3, h3 { color: var(--txt-2); @@ -2109,6 +2113,10 @@ table>thead>tr.TDGridHeader>th, tr.TDGridHeader td, .table-header>div { color: var(--txt-2); } +table>tbody>tr.TDGridHeader>th, table>thead>tr.TDGridHeader>th, tr.TDGridHeader td { + color: var(--txt-3); +} + .TDFooterRow { background-color: var(--bg-1); } @@ -2229,6 +2237,11 @@ hr { border-color: var(--border-0); } +table>tbody>tr.TDGridHeader>th, table>thead>tr.TDGridHeader>th, tr.TDGridHeader td { + border-top: 1px solid var(--border-0); + border-bottom: 1px solid var(--border-0); +} + .border-top, tr.TDGridHeader { border-top: 1px solid var(--border-0); }