Modern redesign: new dark theme, Inter/JetBrains Mono, sharp corners
Visual-only changes: restyle style.css, form.css and paging.css and swap the web font in base.html. No class names, IDs or markup logic changed.
This commit is contained in:
1 parent
f3341da613
commit
7bbcff231d
4 files changed
+418
-175
No files matched your search
+61
-26
@@ -1,3 +1,7 @@
|
||||
/* ==========================================================================
|
||||
OpenBench - forms (modern dark theme)
|
||||
========================================================================== */
|
||||
|
||||
#content .form .col-half {
|
||||
display: inline-block;
|
||||
width: 25%;
|
||||
@@ -24,7 +28,7 @@
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Styles for screen widths less than 600px */
|
||||
/* Styles for screen widths less than 1024px */
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
#content .form .col {
|
||||
@@ -34,73 +38,103 @@
|
||||
}
|
||||
|
||||
#content .form h3 {
|
||||
font-size: 14px;
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-font3);
|
||||
text-align: left;
|
||||
padding-left: 1.5rem;
|
||||
margin: 1.4rem 0 0.6rem;
|
||||
}
|
||||
|
||||
#content .form .row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 0.25rem;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#content .row label {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
width: 25%;
|
||||
min-width: 128px;
|
||||
margin-right: 1rem;
|
||||
text-align: right;
|
||||
color: var(--color-font2)
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
|
||||
#content .row input, #content .row select, #content .row textarea {
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
border: 1px solid var(--color3);
|
||||
border-radius: 4px;
|
||||
padding: 9px 6px 6px;
|
||||
background-color: var(--color2);
|
||||
color: var(--color-font2);
|
||||
font-family: "Courier Prime", serif;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: var(--radius);
|
||||
padding: 8px 10px;
|
||||
background-color: #0C1016;
|
||||
color: var(--color-font1);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13.5px;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
|
||||
}
|
||||
|
||||
#content .row input[type="file"]{
|
||||
padding: 2px 2px;
|
||||
#content .row input::placeholder, #content .row textarea::placeholder {
|
||||
color: #566074;
|
||||
}
|
||||
|
||||
#content .row input[type="file"] {
|
||||
padding: 4px 4px;
|
||||
}
|
||||
|
||||
#content .row input:hover, #content .row select:hover, #content .row textarea:hover {
|
||||
border-color: #3A4862;
|
||||
}
|
||||
|
||||
#content .row input:focus, #content .row select:focus, #content .row textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color3);
|
||||
box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.75);
|
||||
background-color: var(--color2);
|
||||
color: var(--color-font2);
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.22);
|
||||
background-color: #0E131B;
|
||||
color: var(--color-font1);
|
||||
}
|
||||
|
||||
#content .row select > option{
|
||||
font-family: "Helvetica", serif;
|
||||
#content .row input[type="checkbox"],
|
||||
#content .row input[type="radio"] {
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
#content .row select > option {
|
||||
font-family: var(--font-sans);
|
||||
background-color: #0C1016;
|
||||
color: var(--color-font1);
|
||||
}
|
||||
|
||||
#content .row input[type="file"]::file-selector-button {
|
||||
background-color: var(--color3);
|
||||
border: 1px solid var(--color2);
|
||||
border-radius: 4px;
|
||||
padding: 6px 6px 3px;
|
||||
color: var(--color-font2);
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: var(--radius);
|
||||
padding: 6px 12px;
|
||||
margin-right: 10px;
|
||||
color: var(--color-font1);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s, border-color 0.3s;
|
||||
font-family: "Courier Prime", serif;
|
||||
transition: background-color 0.15s, border-color 0.15s;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#content .row input[type="file"]::file-selector-button:hover {
|
||||
background-color: rgba(77, 144, 254, 0.8);
|
||||
border-color: var(--color2);
|
||||
background-color: var(--accent);
|
||||
border-color: var(--accent);
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#content .row input[readonly] {
|
||||
color: var(--color-font1);
|
||||
background-color: var(--color2);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
#content .form .flex {
|
||||
@@ -108,6 +142,7 @@
|
||||
flex-wrap: wrap;
|
||||
max-width: 100%;
|
||||
justify-content: flex-start;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
#content .form .flex button{
|
||||
|
||||
+35
-17
@@ -1,10 +1,14 @@
|
||||
/* ==========================================================================
|
||||
OpenBench - pagination (modern dark theme)
|
||||
========================================================================== */
|
||||
|
||||
.pagination {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#pagebrowse {
|
||||
#pagebrowser {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -15,42 +19,56 @@
|
||||
|
||||
.page, .ellipsis {
|
||||
display: inline-block;
|
||||
padding: 6px 1rem;
|
||||
margin: 0;
|
||||
border-left: 1px solid var(--color1);
|
||||
border-right: 1px solid var(--color1);
|
||||
background-color: var(--color2); /* Dark background color */
|
||||
box-sizing: border-box;
|
||||
padding: 0 0.85rem;
|
||||
margin: 0 0 0 -1px;
|
||||
border: 1px solid var(--line-strong);
|
||||
background-color: var(--color2);
|
||||
color: var(--color-font2);
|
||||
font-size: 13px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s; /* Add a smooth transition effect to background color */
|
||||
height: 24px; /* This is just an example, adjust according to your needs */
|
||||
line-height: 24px; /* Should be same as height */
|
||||
min-width: 1.6rem;
|
||||
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
||||
height: 30px;
|
||||
line-height: 28px;
|
||||
min-width: 2rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.page:hover {
|
||||
background-color: var(--color3); /* Darker background color on hover */
|
||||
background-color: var(--surface-hover);
|
||||
border-color: #3A4862;
|
||||
color: var(--color-font1);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.previous {
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
}
|
||||
|
||||
.current {
|
||||
background-color: var(--color3);
|
||||
background-color: var(--accent);
|
||||
border-color: var(--accent);
|
||||
color: #FFFFFF;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.current:hover {
|
||||
background-color: var(--accent);
|
||||
border-color: var(--accent);
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.next {
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
||||
.ellipsis, .fa-solid {
|
||||
/*margin: 0 4px;*/
|
||||
pointer-events: none; /* Disable click events on ellipsis */
|
||||
vertical-align: middle; /* Ensure icons are vertically centered */
|
||||
}
|
||||
+319
-131
@@ -1,25 +1,88 @@
|
||||
a:link, a:visited, a:hover, a:active {
|
||||
/* ==========================================================================
|
||||
OpenBench - modern dark theme
|
||||
Sharp corners (max 2px), one accent colour, tabular numerics.
|
||||
Variable names --color1..3 / --color-font1..3 are kept for compatibility.
|
||||
========================================================================== */
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
|
||||
/* Surfaces */
|
||||
--color1: #0B0E14; /* page background */
|
||||
--color2: #0F131A; /* panels / alternate rows */
|
||||
--color3: #161B26; /* raised surfaces */
|
||||
--surface-head: #121723; /* table headers */
|
||||
--surface-hover: #171E2B; /* row hover */
|
||||
|
||||
/* Lines */
|
||||
--line: #1C2230;
|
||||
--line-strong: #2A3447;
|
||||
|
||||
/* Text */
|
||||
--color-font1: #F1F4FA;
|
||||
--color-font2: #C5CCD9;
|
||||
--color-font3: #8FB4FF;
|
||||
--muted: #7F8BA1;
|
||||
|
||||
/* Accent */
|
||||
--accent: #4C8DFF;
|
||||
--accent-hover: #7AAEFF;
|
||||
--accent-soft: rgba(76, 141, 255, 0.14);
|
||||
--link: #7EB0FF;
|
||||
--link-hover: #B4D3FF;
|
||||
|
||||
/* Status */
|
||||
--ok: #34D399;
|
||||
--warn: #F5B941;
|
||||
--bad: #F87171;
|
||||
|
||||
/* Type */
|
||||
--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
||||
|
||||
--radius: 2px;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-color: var(--line-strong) transparent;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(76, 141, 255, 0.35);
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
a:link, a:visited, a:active {
|
||||
text-decoration: none;
|
||||
color: #88C0D0;
|
||||
color: var(--link);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: var(--link-hover);
|
||||
}
|
||||
|
||||
a:focus-visible,
|
||||
button:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
body {
|
||||
--color1: #2E3440;
|
||||
--color2: #3B4252;
|
||||
--color3: #434C5E;
|
||||
|
||||
--color-font1: #ECEFF4;
|
||||
--color-font2: #D8DEE9;
|
||||
--color-font3: #88C0D0;
|
||||
|
||||
background-color: var(--color1);
|
||||
color: var(--color-font2);
|
||||
|
||||
font-size: 16px;
|
||||
font-family: "Courier Prime", serif;
|
||||
display:flex;
|
||||
font-size: 14.5px;
|
||||
line-height: 1.5;
|
||||
font-family: var(--font-sans);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body, html, main{
|
||||
body, html, main {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
min-width: 100%;
|
||||
@@ -27,65 +90,106 @@ body, html, main{
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ---------- Sidebar ---------- */
|
||||
|
||||
#sidebar {
|
||||
padding: 60px 16px 16px 16px;
|
||||
flex-basis: calc(min(300px, max(200px, 10%)));
|
||||
box-sizing: border-box;
|
||||
padding: 24px 12px 24px 12px;
|
||||
flex: 0 0 clamp(210px, 14vw, 260px);
|
||||
|
||||
position: sticky;
|
||||
top: 0;
|
||||
align-self: flex-start;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
|
||||
background-color: var(--color2);
|
||||
border-right: 1px solid var(--line);
|
||||
}
|
||||
|
||||
#sidebar-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#content-parent{
|
||||
#content-parent {
|
||||
flex-grow: 1;
|
||||
justify-content: left;
|
||||
height: 100%;
|
||||
|
||||
box-sizing: border-box;
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
padding-left: 2.5rem;
|
||||
padding-right: 2.5rem;
|
||||
}
|
||||
|
||||
#content {
|
||||
max-width: calc(min(100%,1000px));
|
||||
max-width: calc(min(100%, 1100px));
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#content-header {
|
||||
padding: 0 0 0.9rem 0;
|
||||
margin-bottom: 1.5rem;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
#content-header h2 {
|
||||
margin: 1.4rem 0 0 0;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
#sidebar ul {
|
||||
list-style-type: none;
|
||||
padding: 0px 16px 0px 8px;
|
||||
line-height: 1.75;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
#sidebar li {
|
||||
padding: 4px 16px 2px;
|
||||
font-size: 1.0rem;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
padding: 5px 12px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius);
|
||||
transition: background-color 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
#sidebar li a {
|
||||
color: var(--color-font2);
|
||||
display: block;
|
||||
width: 100%;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
#sidebar li:hover {
|
||||
background-color: #4C566A;
|
||||
background-color: var(--surface-hover);
|
||||
box-shadow: inset 2px 0 0 var(--accent);
|
||||
}
|
||||
|
||||
#sidebar li:hover a {
|
||||
color: var(--color-font1);
|
||||
}
|
||||
|
||||
#sidebar .header {
|
||||
color: var(--color-font3);
|
||||
font-size: 1.1rem;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
padding-top: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#sidebar hr {
|
||||
border: 1px var(--color2) solid;
|
||||
border: 0;
|
||||
border-top: 1px solid var(--line);
|
||||
margin: 14px 0;
|
||||
}
|
||||
|
||||
/* ---------- Tables ---------- */
|
||||
|
||||
/* Table Striping, with overriding for the Table Header */
|
||||
|
||||
#content .stripes tr:nth-child(odd):not(.table-header) {
|
||||
@@ -97,20 +201,20 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content .stripes th {
|
||||
background-color: #242933;
|
||||
background-color: var(--surface-head);
|
||||
}
|
||||
|
||||
/* Tables that have hoverable table rows */
|
||||
|
||||
#content .hoverable tr:nth-child(odd):hover:not(.table-header) {
|
||||
background-color: #434C5E;
|
||||
background-color: var(--surface-hover);
|
||||
}
|
||||
|
||||
#content .hoverable tr:nth-child(even):hover:not(.table-header) {
|
||||
background-color: #434C5E;
|
||||
background-color: var(--surface-hover);
|
||||
}
|
||||
|
||||
#content .hoverable tr:hover{
|
||||
#content .hoverable tr:hover {
|
||||
background-color: var(--color1);
|
||||
}
|
||||
|
||||
@@ -131,34 +235,43 @@ body, html, main{
|
||||
/* Table Headers in General */
|
||||
|
||||
#content .table-header th:first-child {
|
||||
border-top-left-radius: 12px;
|
||||
border-top-left-radius: 0;
|
||||
border-left: 2px solid var(--accent);
|
||||
}
|
||||
|
||||
#content .table-header th:last-child {
|
||||
border-top-right-radius: 12px;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
#content .table-header th {
|
||||
color: var(--color-font3);
|
||||
font-weight: 400;
|
||||
background-color: #242933;
|
||||
color: var(--muted);
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
text-align: left;
|
||||
background-color: var(--surface-head);
|
||||
border-bottom: 1px solid var(--line-strong);
|
||||
}
|
||||
|
||||
#content .table-small-header th {
|
||||
color: var(--color-font3);
|
||||
font-size: small;
|
||||
background-color: #242933;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
background-color: var(--surface-head);
|
||||
}
|
||||
|
||||
/* Table Spacer for chaining Tables as a hack */
|
||||
|
||||
#content .table-spacer th, #content .table-spacer tr {
|
||||
background-color: var(--color1);
|
||||
height: 1rem;
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
#content .table-spacer-small th, #content .table-spacer-small tr {
|
||||
background-color: #242933;
|
||||
background-color: var(--surface-head);
|
||||
height: 0.4rem;
|
||||
padding: 0px;
|
||||
}
|
||||
@@ -166,17 +279,18 @@ body, html, main{
|
||||
/* Generic Table CSS for all Tables */
|
||||
|
||||
#content table {
|
||||
line-height: 96%;
|
||||
line-height: 1.4;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#content td {
|
||||
color: var(--color-font2);
|
||||
border-bottom: 1px #4C566A solid;
|
||||
border-bottom: 1px solid var(--line);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#content th, #content td {
|
||||
padding: 10px 12px 6px 12px;
|
||||
padding: 9px 14px;
|
||||
}
|
||||
|
||||
#content .anchor-container {
|
||||
@@ -186,129 +300,152 @@ body, html, main{
|
||||
|
||||
#content .anchor-container > .anchorbutton {
|
||||
flex: 1;
|
||||
margin-right: 4px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
#content .anchor-container > .anchorbutton:last-child {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
/* ---------- Buttons ---------- */
|
||||
|
||||
#content .anchorbutton {
|
||||
border-radius: 4px;
|
||||
padding: 8px 0px 6px;
|
||||
border-color: transparent;
|
||||
border-radius: var(--radius);
|
||||
padding: 9px 14px;
|
||||
border: 1px solid transparent;
|
||||
color: var(--color-font1);
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
transition: background-color 0.3s ease;
|
||||
font-family: "Courier Prime", serif;
|
||||
transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.01em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
#content .anchorbutton:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
#content .btn-blue {
|
||||
background-color: #6C63FF; /* modern indigo-blue */
|
||||
color: #ffffff;
|
||||
background-color: var(--accent);
|
||||
color: #FFFFFF;
|
||||
}
|
||||
#content .btn-blue:hover {
|
||||
background-color: #837BFF;
|
||||
background-color: var(--accent-hover);
|
||||
}
|
||||
|
||||
#content .btn-start {
|
||||
background-color: #34495E; /* unchanged navy-gray */
|
||||
color: #ffffff;
|
||||
background-color: var(--color3);
|
||||
border-color: var(--line-strong);
|
||||
color: var(--color-font1);
|
||||
}
|
||||
#content .btn-start:hover {
|
||||
background-color: #4A6278;
|
||||
background-color: #1E2635;
|
||||
border-color: #3A4862;
|
||||
}
|
||||
|
||||
#content .btn-preset {
|
||||
background-color: #00B894; /* teal green */
|
||||
color: #ffffff;
|
||||
background-color: #14B88A;
|
||||
color: #031410;
|
||||
}
|
||||
#content .btn-preset:hover {
|
||||
background-color: #17DDB2;
|
||||
background-color: #2DD4A3;
|
||||
}
|
||||
|
||||
#content .btn-yellow {
|
||||
background-color: #F5B041; /* golden amber */
|
||||
color: #1F1400; /* dark brown for contrast */
|
||||
background-color: #F2B53C;
|
||||
color: #1A1200;
|
||||
}
|
||||
#content .btn-yellow:hover {
|
||||
background-color: #FFC966;
|
||||
background-color: #FFCB62;
|
||||
}
|
||||
|
||||
#content .btn-red {
|
||||
background-color: #E74C3C; /* soft red */
|
||||
color: #ffffff;
|
||||
background-color: #E5484D;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
#content .btn-red:hover {
|
||||
background-color: #FF6B5E;
|
||||
background-color: #F2666B;
|
||||
}
|
||||
|
||||
#content .btn-disabled {
|
||||
background-color: #444;
|
||||
color: #999;
|
||||
background-color: var(--color2);
|
||||
border-color: var(--line);
|
||||
color: #566074;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
#content .copy-button {
|
||||
color: var(--color-font2);
|
||||
transition: color 0.2s ease-in-out;
|
||||
color: var(--muted);
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
#content .copy-button:hover {
|
||||
color: var(--color-font3);
|
||||
color: var(--accent-hover);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ---------- Stat blocks ---------- */
|
||||
|
||||
/* Short StatBlock to show SPRT and Test Results */
|
||||
|
||||
#content .statblock {
|
||||
font-size: 13px;
|
||||
color: black;
|
||||
line-height: 92%;
|
||||
background-color: #D8DEE9;
|
||||
font-family: "Courier New";
|
||||
border-radius: 4px;
|
||||
padding: 7px 10px 4px;
|
||||
font-size: 12.5px;
|
||||
color: var(--color-font2);
|
||||
line-height: 1.25;
|
||||
background-color: #1A2130;
|
||||
border-left: 2px solid #4A586F;
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 500;
|
||||
border-radius: var(--radius);
|
||||
padding: 6px 10px 5px;
|
||||
}
|
||||
|
||||
#content .statblock-green {
|
||||
background-color: #24C486; /* balanced mint green */
|
||||
color: #101F1A; /* dark readable text */
|
||||
background-color: rgba(52, 211, 153, 0.13);
|
||||
border-left-color: #34D399;
|
||||
color: #7BEBBC;
|
||||
}
|
||||
|
||||
#content .statblock-blue {
|
||||
background-color: #3FA9F5; /* modern soft blue */
|
||||
color: #0E1A26;
|
||||
background-color: rgba(76, 141, 255, 0.14);
|
||||
border-left-color: #4C8DFF;
|
||||
color: #8DB9FF;
|
||||
}
|
||||
|
||||
#content .statblock-yellow {
|
||||
background-color: #FFCB4A; /* golden yellow */
|
||||
color: #2B2300;
|
||||
background-color: rgba(245, 185, 65, 0.13);
|
||||
border-left-color: #F5B941;
|
||||
color: #FFD479;
|
||||
}
|
||||
|
||||
#content .statblock-red {
|
||||
background-color: #FF6B6B; /* soft crimson red */
|
||||
color: #2C0D0D;
|
||||
background-color: rgba(248, 113, 113, 0.14);
|
||||
border-left-color: #F87171;
|
||||
color: #FFA3A3;
|
||||
}
|
||||
|
||||
|
||||
#content .redlink {
|
||||
color: #BF616A;
|
||||
color: var(--bad);
|
||||
}
|
||||
|
||||
/* Long StatBlock which we can copy */
|
||||
|
||||
#content .long-statblock {
|
||||
background-color: var(--color3);
|
||||
background-color: var(--color2);
|
||||
color: var(--color-font2);
|
||||
border-radius: 4px;
|
||||
padding: 0.50rem 0.75rem;
|
||||
border: 1px solid var(--line);
|
||||
border-left: 2px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
padding: 0.6rem 0.9rem;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12.5px;
|
||||
}
|
||||
|
||||
/* ---------- LLR history widget ---------- */
|
||||
|
||||
#content .llr-history-panel {
|
||||
margin: 0.5rem 0 0.75rem;
|
||||
}
|
||||
@@ -334,7 +471,8 @@ body, html, main{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
color: #A7B1C2;
|
||||
color: var(--muted);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
text-align: right;
|
||||
padding: 0.35rem 0 1.6rem;
|
||||
@@ -357,21 +495,24 @@ body, html, main{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #4C566A;
|
||||
background: linear-gradient(135deg, #242933 0%, #2C3440 100%);
|
||||
color: #A7B1C2;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--line-strong);
|
||||
background: var(--color2);
|
||||
color: var(--muted);
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
#content .llr-history-placeholder-error {
|
||||
color: #E07A7A;
|
||||
color: var(--bad);
|
||||
}
|
||||
|
||||
#content .llr-history-label {
|
||||
color: var(--color-font3);
|
||||
font-size: 0.85rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
@@ -382,25 +523,25 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-bg {
|
||||
fill: #242933;
|
||||
stroke: #4C566A;
|
||||
fill: var(--color2);
|
||||
stroke: var(--line-strong);
|
||||
stroke-width: 1;
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-grid-line {
|
||||
stroke: rgba(236, 239, 244, 0.14);
|
||||
stroke: rgba(197, 204, 217, 0.09);
|
||||
stroke-width: 1;
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-boundary {
|
||||
stroke: #BF616A;
|
||||
stroke: var(--bad);
|
||||
stroke-width: 1;
|
||||
stroke-dasharray: 4 3;
|
||||
opacity: 0.85;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-zero {
|
||||
stroke: #81A1C1;
|
||||
stroke: #6E7FA6;
|
||||
stroke-width: 1;
|
||||
opacity: 0.7;
|
||||
}
|
||||
@@ -414,34 +555,35 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-path-positive {
|
||||
stroke: #7BCB8B;
|
||||
stroke: var(--ok);
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-path-negative {
|
||||
stroke: #E07A7A;
|
||||
stroke: var(--bad);
|
||||
}
|
||||
|
||||
#content .llr-history-xaxis {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: #A7B1C2;
|
||||
color: var(--muted);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
padding: 0 0.2rem;
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-point {
|
||||
fill: #ECEFF4;
|
||||
fill: var(--color-font1);
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-hover-line {
|
||||
stroke: #ECEFF4;
|
||||
stroke: var(--color-font1);
|
||||
stroke-width: 1;
|
||||
stroke-dasharray: 2 2;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-hover-point {
|
||||
fill: #ECEFF4;
|
||||
fill: var(--color-font1);
|
||||
stroke-width: 1.5;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -452,11 +594,11 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-hover-point-positive {
|
||||
stroke: #7BCB8B;
|
||||
stroke: var(--ok);
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-hover-point-negative {
|
||||
stroke: #E07A7A;
|
||||
stroke: var(--bad);
|
||||
}
|
||||
|
||||
#content .llr-history-graph .llr-hitbox {
|
||||
@@ -468,11 +610,12 @@ body, html, main{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0.18rem 0.4rem 0.12rem;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(36, 41, 51, 0.96);
|
||||
border: 1px solid #4C566A;
|
||||
padding: 0.2rem 0.5rem 0.18rem;
|
||||
border-radius: var(--radius);
|
||||
background-color: rgba(11, 14, 20, 0.96);
|
||||
border: 1px solid var(--line-strong);
|
||||
color: var(--color-font1);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.72rem;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
@@ -487,7 +630,7 @@ body, html, main{
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Test Views */
|
||||
/* ---------- Test Views ---------- */
|
||||
|
||||
#content #config {
|
||||
float: left;
|
||||
@@ -503,34 +646,62 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content .test-config {
|
||||
font-size: 1.0rem;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
#content .test-config .td-label {
|
||||
color: var(--color-font1);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ??? */
|
||||
/* Preformatted blocks */
|
||||
|
||||
td pre {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12.5px;
|
||||
}
|
||||
|
||||
/* ---------- Messages ---------- */
|
||||
|
||||
#content .error-message,
|
||||
#content .warning-message,
|
||||
#content .status-message {
|
||||
padding: 0.6rem 1rem;
|
||||
margin-bottom: 1rem;
|
||||
border-left: 3px solid currentColor;
|
||||
border-radius: var(--radius);
|
||||
background-color: var(--color2);
|
||||
}
|
||||
|
||||
#content .error-message pre,
|
||||
#content .warning-message pre,
|
||||
#content .status-message pre {
|
||||
margin: 0;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12.5px;
|
||||
}
|
||||
|
||||
#content .error-message {
|
||||
color: #BF616A;
|
||||
color: var(--bad);
|
||||
}
|
||||
|
||||
#content .warning-message {
|
||||
color: #EBCB8B;
|
||||
color: var(--warn);
|
||||
}
|
||||
|
||||
#content .status-message {
|
||||
color: #A3BE8C;
|
||||
color: var(--ok);
|
||||
}
|
||||
|
||||
#content .site-title {
|
||||
color: var(--color-font3);
|
||||
color: var(--color-font1);
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
#content .site-title:hover {
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
#content .default-network {
|
||||
@@ -539,7 +710,7 @@ td pre {
|
||||
}
|
||||
|
||||
#content .was-default-network {
|
||||
color: #EBCB8B;
|
||||
color: var(--warn);
|
||||
transform: scale(0.90);
|
||||
}
|
||||
|
||||
@@ -550,14 +721,17 @@ td pre {
|
||||
|
||||
#content .numeric {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#content .branch_name {
|
||||
font-style: italic;
|
||||
font-style: normal;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.92em;
|
||||
}
|
||||
|
||||
#content .active-highlight {
|
||||
border-left: 4px solid var(--color-font3);
|
||||
border-left: 3px solid var(--accent);
|
||||
}
|
||||
|
||||
/* Styles for screen widths less than 768px */
|
||||
@@ -567,8 +741,11 @@ td pre {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
height: auto;
|
||||
align-self: auto;
|
||||
width: 100%;
|
||||
background-color: var(--color1);
|
||||
background-color: var(--color2);
|
||||
border-right: 0;
|
||||
overflow-y: auto;
|
||||
transition: transform cubic-bezier(0.82, 0.08, 0.1, 0.93) 0.3s;
|
||||
transform: translateX(-100%);
|
||||
@@ -606,6 +783,11 @@ td pre {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: var(--color1);
|
||||
border-bottom: 1px solid var(--line);
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 0 8px 0 0;
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -663,3 +845,9 @@ td pre {
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
transition: none !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user