Dark Mode Patches across the board for Calendar TinyMCE additonal dark mode css fixed and fixing autofocus on modal close when modal is open without a form autofocus

This commit is contained in:
johnnyq
2026-08-16 15:57:37 -04:00
parent 0f69ef8e19
commit 92377b918a
8 changed files with 527 additions and 19 deletions

View File

@@ -806,8 +806,7 @@ if ($user_config_dashboard_technical_enable == 1) {
<script>
// Bootstrap-like defaults for Chart.js v4
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
Chart.defaults.color = '#292b2c';
var itflowChart = itflowChartDefaults();
// CASH FLOW
(function () {
@@ -882,11 +881,11 @@ if ($user_config_dashboard_technical_enable == 1) {
{
label: "Projected",
fill: false,
borderColor: "black",
pointBackgroundColor: "black",
pointBorderColor: "black",
borderColor: itflowChart.text,
pointBackgroundColor: itflowChart.text,
pointBorderColor: itflowChart.text,
pointHoverRadius: 5,
pointHoverBackgroundColor: "black",
pointHoverBackgroundColor: itflowChart.text,
pointBorderWidth: 2,
data: [
<?php
@@ -945,7 +944,7 @@ if ($user_config_dashboard_technical_enable == 1) {
min: 0,
max: <?php $max = max(1000, $largest_expense_month, $largest_income_month, $largest_invoice_month); echo roundUpToNearestMultiple($max); ?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
}
},
plugins: {
@@ -1006,7 +1005,7 @@ if ($user_config_dashboard_technical_enable == 1) {
min: 0,
max: <?php $max = max(1000, $largest_trip_miles_month); echo roundUpToNearestMultiple($max); ?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
},
},
plugins: {

View File

@@ -1,5 +1,5 @@
<div class="modal" id="addTicketModal">
<div class="modal" id="addTicketModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-dark">

View File

@@ -126,8 +126,7 @@ $largest_expense_month = 0;
<script>
// Bootstrap-like defaults for Chart.js v4
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
Chart.defaults.color = '#292b2c';
var itflowChart = itflowChartDefaults();
// EXPENSES LINE CHART
(function () {
@@ -183,7 +182,7 @@ $largest_expense_month = 0;
echo roundUpToNearestMultiple($max);
?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
}
},
plugins: {

View File

@@ -128,8 +128,7 @@ $largest_income_month = 0;
<script>
// Bootstrap-like defaults for Chart.js v4
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
Chart.defaults.color = '#292b2c';
var itflowChart = itflowChartDefaults();
// INCOME (Line)
(function () {
@@ -189,7 +188,7 @@ $largest_income_month = 0;
echo roundUpToNearestMultiple($max);
?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
}
},
plugins: {

View File

@@ -99,8 +99,7 @@ $largest_ticket_month = 0;
<script>
// Bootstrap-like defaults for Chart.js v4
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
Chart.defaults.color = '#292b2c';
var itflowChart = itflowChartDefaults();
(function () {
var ctx = document.getElementById("tickets");
@@ -151,7 +150,7 @@ $largest_ticket_month = 0;
echo function_exists('roundUpToNearestMultiple') ? roundUpToNearestMultiple($max) : $max;
?>,
ticks: { maxTicksLimit: 5, precision: 0 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
}
},
plugins: {