mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 12:39:50 -04:00
93 lines
2.3 KiB
CSS
93 lines
2.3 KiB
CSS
:root {
|
|
/* Base colors */
|
|
--background-color: #FFFFFF; /* Light background */
|
|
--text-color: #333333; /* Dark text for contrast */
|
|
--paper-background-color: #F0F0F0;
|
|
--accent-color: #6200EE; /* For buttons and interactive elements */
|
|
|
|
/* Graph colors */
|
|
--graph-color-1: #007BFF; /* Blue */
|
|
--graph-color-2: #28A745; /* Green */
|
|
--graph-color-3: #DC3545; /* Red */
|
|
--graph-color-4: #FFC107; /* Yellow */
|
|
--graph-color-5: #17A2B8; /* Cyan */
|
|
--graph-color-6: #6C757D; /* Gray */
|
|
|
|
/* Axis and grid lines */
|
|
--axis-color: #CCCCCC;
|
|
--grid-line-color: #EEEEEE;
|
|
|
|
/* Tooltip background */
|
|
--tooltip-background-color: #FFFFFF;
|
|
--tooltip-text-color: #000000;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
/* Solarized Dark Base Colors */
|
|
--background-color: #002b36; /* base03 */
|
|
--paper-background-color: #003c4a;
|
|
--text-color: #839496; /* base0 */
|
|
--accent-color: #268bd2; /* blue */
|
|
|
|
/* Graph colors - Solarized Accent Colors */
|
|
--graph-color-1: #b58900; /* yellow */
|
|
--graph-color-2: #cb4b16; /* orange */
|
|
--graph-color-3: #dc322f; /* red */
|
|
--graph-color-4: #d33682; /* magenta */
|
|
--graph-color-5: #6c71c4; /* violet */
|
|
--graph-color-6: #2aa198; /* cyan */
|
|
|
|
/* Axis and grid lines */
|
|
--axis-color: #586e75; /* base01 */
|
|
--grid-line-color: #073642; /* base02 */
|
|
|
|
/* Tooltip background */
|
|
--tooltip-background-color: #002b36; /* base03 */
|
|
--tooltip-text-color: #839496; /* base0 */
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
input, textarea, select, option, button {
|
|
background-color: var(--paper-background-color);
|
|
border: 1px solid var(--accent-color);
|
|
color: var(--text-color);
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
body * {
|
|
padding-left: .3em;
|
|
padding-right: .3em;
|
|
}
|
|
|
|
.column-flex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.row-flex {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.flex-item-grow {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.flex-item-shrink {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
graph-plot {
|
|
background-color: var(--paper-background-color);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|