mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
141 lines
4.5 KiB
CSS
141 lines
4.5 KiB
CSS
/* Admin Panel → Problems: the few styles that are NOT part of the shared table
|
|
page. Everything the reports have in common - title, status row, search +
|
|
pagination controls, and the table itself - now lives in tablePage.css and is
|
|
defined once. See docs/Features/Table.md. */
|
|
|
|
/* The menu separator and the "Reports" group title are styled with the menu itself
|
|
(settingBody.css): the shared left menu renders `li.left-menu-separator` and
|
|
`li.left-menu-heading`, not the `.admin-reports-separator` this file used to
|
|
target - so the rule that lived here, twice, never applied to anything. */
|
|
|
|
/* Admin Panel → Problems → CPU usage: the live figure between the page title and
|
|
the search box. The table underneath is a history of past high-CPU periods, so
|
|
this line is the only place the page says what the CPU is doing right now. */
|
|
.admin-cpu-current {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--theme-accent, #01628c);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.admin-cpu-label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-cpu-percent {
|
|
font-size: 1.4em;
|
|
font-weight: 700;
|
|
color: var(--theme-accent, #01628c);
|
|
}
|
|
|
|
/* Sustained high CPU: warn without inventing a second colour system. */
|
|
.admin-cpu-current.admin-cpu-high {
|
|
border-color: #b04632;
|
|
}
|
|
|
|
.admin-cpu-current.admin-cpu-high .admin-cpu-percent {
|
|
color: #b04632;
|
|
}
|
|
|
|
/* Problems / Instrumentation: one bar per area (adminProblems.jade). The rows
|
|
share one grid, so names, bars and numbers line up; each row is a button that
|
|
filters the table below, reset from the global button look (forms.css pads
|
|
every button 35px a side and paints it the theme colour). */
|
|
.instrumentation-areas {
|
|
display: grid;
|
|
grid-template-columns: minmax(6em, max-content) minmax(60px, 1fr) repeat(3, max-content);
|
|
gap: 2px 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.instrumentation-area-head,
|
|
.instrumentation-area {
|
|
display: grid;
|
|
grid-column: 1 / -1;
|
|
grid-template-columns: subgrid;
|
|
align-items: center;
|
|
}
|
|
.instrumentation-area-head {
|
|
font-weight: 700;
|
|
font-size: 0.85em;
|
|
/* WCAG 1.4.3: a solid colour instead of opacity 0.7, which faded the
|
|
headings to 2.8:1 on the Admin Panel's #dedede; #4f5156 is 5.9:1 there. */
|
|
color: #4f5156;
|
|
}
|
|
.setting-content .content-body .main-body button.instrumentation-area,
|
|
button.instrumentation-area {
|
|
width: 100%;
|
|
min-height: 0;
|
|
height: auto;
|
|
margin: 0;
|
|
padding: 4px 6px;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
font-weight: normal;
|
|
text-align: start;
|
|
cursor: pointer;
|
|
}
|
|
button.instrumentation-area:hover,
|
|
button.instrumentation-area:focus-visible {
|
|
background: rgba(0, 0, 0, 0.06);
|
|
}
|
|
button.instrumentation-area.is-active {
|
|
border-color: var(--theme-accent, #01628c);
|
|
background: rgba(0, 0, 0, 0.06);
|
|
}
|
|
.instrumentation-area-name {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.instrumentation-area-bar {
|
|
height: 14px;
|
|
border-radius: 3px;
|
|
background: rgba(0, 0, 0, 0.08);
|
|
overflow: hidden;
|
|
}
|
|
.instrumentation-area-fill {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
height: 100%;
|
|
background: var(--theme-accent-fill, var(--theme-accent, #01628c));
|
|
}
|
|
.instrumentation-area-errors {
|
|
height: 100%;
|
|
background: #b04632;
|
|
}
|
|
.instrumentation-area-num {
|
|
text-align: end;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.instrumentation-area-num.has-errors {
|
|
/* #b04632 was 4.1:1 on #dedede; #9a3b29 keeps the red at 5.2:1. */
|
|
color: #9a3b29;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.file-status-audit { margin-bottom: 1rem; }
|
|
.file-status-audit-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
|
|
.file-status-audit-actions button { margin: 0; min-height: 34px; }
|
|
.file-status-audit pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
|
|
.rule-email-recovery-identifiers {
|
|
overflow-wrap: anywhere;
|
|
max-width: 32rem;
|
|
}
|
|
|
|
/* #6942: Problems / Summary as a status dashboard - each area's most frequent
|
|
kinds under it, and the sign-in refusals by reason with how to fix them. */
|
|
.admin-problem-top { margin: 0.25rem 0 0.75rem 2.2rem; padding: 0; list-style: none; font-size: 0.92em; }
|
|
.admin-problem-top li { margin: 0.15rem 0; overflow-wrap: anywhere; }
|
|
.admin-problem-kind { font-weight: 600; }
|
|
.admin-login-refusals { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
|
|
.admin-login-refusals td { padding: 0.35rem 0.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.3); vertical-align: top; overflow-wrap: anywhere; }
|