mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
Every popup had 10px of empty space above its content that nothing in
popup.css asked for: peopleBody.css and translationBody.css each carried a
bare `.content-wrapper { margin-top: 10px }`, and `.content-wrapper` is not a
settings class - the only element in WeKan with that class is the scrolling
body of a popup. Removed, and the remaining gap is now 6px under the header
plus 12px of content padding = 18px, exactly the 18px beside the first row.
Change Visibility and Change Watch lay their rows out as three left-aligned
columns, so the icons, the names and the descriptions line up and the check
mark of the active row can no longer push its description out of line.
And the second header bar centers its items: symmetric block padding instead
of 7px above and none below, no top margin on the button groups, and a title
that centers on its own text - which is what made the board title sit high.
The sidebar hamburger has equal side margins, so it sits in the middle of the
space between its divider and the end of the bar.
Thanks to xet7 !
54 lines
1.5 KiB
CSS
54 lines
1.5 KiB
CSS
/* The pane's own Search button is gone: Translation renders through the shared
|
|
table page (docs/Design/Page/Table.md), where you type in the search field and
|
|
press Enter, like every other table page. Its themed-button rules went with it.
|
|
|
|
Scrollbar styles are handled by settingBody.css for all admin pages.
|
|
|
|
These three rules have no page in their selector - this stylesheet is bundled for
|
|
the whole app, so a bare `table` rule hits EVERY table in WeKan. The shared table
|
|
page is excluded: it brings its own cell padding and borders, and `color: #000`
|
|
would pin its text to black on a dark theme. */
|
|
table:not(.table-page-table) {
|
|
color: #000;
|
|
}
|
|
table:not(.table-page-table) td,
|
|
table:not(.table-page-table) th {
|
|
border: 1px solid #d2d0d0;
|
|
text-align: start;
|
|
padding: 8px;
|
|
}
|
|
table:not(.table-page-table) tr:nth-child(even) {
|
|
background-color: #ddd;
|
|
}
|
|
/* Same stray rule as in peopleBody.css: `.content-wrapper` belongs to the popup
|
|
template only, so an unscoped `margin-top: 10px` here pushed the content of every
|
|
popup in WeKan down by 10px. Removed. */
|
|
.buttonsContainer {
|
|
display: flex;
|
|
}
|
|
.buttonsContainer input {
|
|
margin: 0;
|
|
}
|
|
.buttonsContainer div {
|
|
margin: auto;
|
|
}
|
|
.more-settings-translation {
|
|
margin-inline-start: 10px;
|
|
}
|
|
#cancelBtn {
|
|
margin-inline-start: 5% !important;
|
|
background: #ffa500;
|
|
color: #fff;
|
|
}
|
|
#deleteAction {
|
|
margin-inline-start: 5% !important;
|
|
}
|
|
p.js-translation-language {
|
|
font-weight: bold;
|
|
color: #000;
|
|
}
|
|
p.js-translation-text {
|
|
font-weight: bold;
|
|
color: #000;
|
|
}
|