css
This commit is contained in:
@@ -30,7 +30,7 @@ table.table-success input,
|
|||||||
td.table-danger input:disabled,
|
td.table-danger input:disabled,
|
||||||
table input:not([disabled]) {
|
table input:not([disabled]) {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
color: inherit !important;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
table input:not([disabled]):hover {
|
table input:not([disabled]):hover {
|
||||||
@@ -136,8 +136,10 @@ table input:enabled {
|
|||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pencil {
|
table input:not([disabled]).pencil,
|
||||||
color: var(--bs-secondary-color) !important;
|
table input:not([disabled])::placeholder {
|
||||||
|
color: #6c757d;
|
||||||
|
font-size: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#colorPickerInput{
|
#colorPickerInput{
|
||||||
@@ -146,13 +148,10 @@ table input:enabled {
|
|||||||
padding: .375rem;
|
padding: .375rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#colorPickerLabel {
|
|
||||||
color: var(--bs-body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme:dark) {
|
@media (prefers-color-scheme:dark) {
|
||||||
.pencil {
|
table input:not([disabled]).pencil,
|
||||||
color: #5a5a5a !important;
|
table input:not([disabled])::placeholder {
|
||||||
|
color: #5a5a5a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ window.onload = function() {
|
|||||||
if (localStorage["tool"] == "sight") sightCheckbox.checked = true
|
if (localStorage["tool"] == "sight") sightCheckbox.checked = true
|
||||||
else if (localStorage["tool"] == "highlighter") highlighterCheckbox.checked = true
|
else if (localStorage["tool"] == "highlighter") highlighterCheckbox.checked = true
|
||||||
|
|
||||||
colorPickerInput.value = window.getComputedStyle(grid).getPropertyValue("--bs-body-color")
|
// colorPickerInput.value = window.getComputedStyle(grid).getPropertyValue("--bs-body-color")
|
||||||
|
|
||||||
boxes.forEach(box => {
|
boxes.forEach(box => {
|
||||||
box.neighbourhood = new Set(rows[box.rowId].concat(columns[box.columnId]).concat(regions[box.regionId]))
|
box.neighbourhood = new Set(rows[box.rowId].concat(columns[box.columnId]).concat(regions[box.regionId]))
|
||||||
@@ -320,7 +320,7 @@ let penColor
|
|||||||
|
|
||||||
function changeColor() {
|
function changeColor() {
|
||||||
penColor = colorPickerInput.value
|
penColor = colorPickerInput.value
|
||||||
colorPickerLabel.style.color = colorPickerInput.value
|
colorPickerLabel.style.setProperty("color", penColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
function restart() {
|
function restart() {
|
||||||
|
|||||||
Reference in New Issue
Block a user