mirror of
https://github.com/rickbarrette/redmine_dark_mode.git
synced 2026-11-17 20:50:36 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e04cd336f8 | ||
|
|
b241f75cc9 | ||
|
|
3df55bc97f | ||
|
|
2f58a1c7f7 | ||
|
|
9a2f1fe3b8 | ||
|
|
786bb499b2 |
No files matched your search
@@ -8,6 +8,13 @@ html.dark-mode {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Light pages stay light even when the device is dark. The head's <meta name="color-scheme" content="light dark">
|
||||
otherwise lets the browser draw its own controls (checkboxes, radio buttons, scrollbars) in the device's dark
|
||||
style on a page the user set to Light. */
|
||||
html:not(.dark-mode) {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
/* Dark palette: Gitea's dark theme colours (theme-gitea-dark.css) on Open Color's scales, where 0-2 are
|
||||
backgrounds, 3-4 borders and 5-9 text. */
|
||||
html.dark-mode,
|
||||
@@ -196,6 +203,9 @@ html.dark-mode .tooltip:hover {
|
||||
/* Sticky issue title shown when scrolling down an issue (white in core) */
|
||||
html.dark-mode div#sticky-issue-header { background-color: var(--oc-white); color: var(--oc-gray-9); }
|
||||
|
||||
/* The box behind the tab scroll arrows, shown when tabs don't fit, e.g. Administration > Settings (white in core) */
|
||||
html.dark-mode div.tabs-buttons { background: var(--oc-white); }
|
||||
|
||||
/* Text formatting toolbar: its icons are dark drawings, so the buttons are inverted (interface icons only,
|
||||
never pictures); the background and border are set so they come out as the dark ones after inverting */
|
||||
html.dark-mode .jstElements button {
|
||||
@@ -325,6 +335,8 @@ html.dark-mode .qbo-field :is(label, .qbo-label),
|
||||
html.dark-mode :is(.qbo-address, .qbo-estimate-amount-value, .qbo-estimate-totals th, .qbo-estimate-lines td.qbo-line-subtotal-label) { color: #c0c2c7; }
|
||||
html.dark-mode .qbo-field :is(input[type=text], input[type=date], textarea) { background: #191a1c; color: #d2d4d8; }
|
||||
html.dark-mode .qbo-field :is(input[readonly], input[disabled]) { background: #2c2e32; color: #c0c2c7; }
|
||||
/* Locked estimates/invoices: their disabled boxes keep readable text */
|
||||
html.dark-mode .qbo-estimate-sheet[disabled] :is(input, textarea, select) { color: #c0c2c7; -webkit-text-fill-color: #c0c2c7; }
|
||||
html.dark-mode .qbo-estimate-lines th { border-bottom-color: #3f4248; }
|
||||
html.dark-mode .qbo-estimate-lines td { border-bottom-color: #35373c; }
|
||||
html.dark-mode .qbo-estimate-lines :is(input[type=text], textarea) { color: #d2d4d8; }
|
||||
|
||||
@@ -12,7 +12,7 @@ Redmine::Plugin.register :redmine_dark_mode do
|
||||
name 'Redmine Dark Mode plugin'
|
||||
author 'Rick Barrette'
|
||||
description 'A dark mode for Redmine: follows the device by default, with a per-user choice and a toggle in the top menu'
|
||||
version '2026.11.3'
|
||||
version '2026.11.6'
|
||||
url 'https://github.com/rickbarrette/redmine_dark_mode'
|
||||
author_url 'https://barrettefabrication.com'
|
||||
requires_redmine version_or_higher: '7.0.0'
|
||||
|
||||
Reference in new issue
Block a user