Skip to content

Commit

Permalink
more various styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mart2070 committed Feb 3, 2025
1 parent e2a496c commit 4552fcf
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions tdx-enhanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
}

if (countTxt) {
countSpan.innerText = countTxt
countSpan.innerText = countTxt
}
}
}
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -422,9 +422,9 @@


//console.log("Items:",items)
}
}

updateHeading(t.parentElement,numItems,totalItems)
updateHeading(t.parentElement,numItems,totalItems)
}

function createHighlightBubble(element,bgColor,txtColor) {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -2001,7 +2001,7 @@ ul.nav-pills li.dropdown button.dropdown-toggle:hover {
}
.btn-danger {
color: var(--txt-5) !important;
}
.btn-primary {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 4552fcf

Please sign in to comment.