mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
- #6459: card More menu rendered empty (no Delete): the vendored jade compiler's htmljs patch made isConstructedObject(Array) false, so 'label {{_ ...}}:' lines got their content array mis-assigned as tag attributes and Blaze threw 'foreign objects in attributes' killing the whole cardMorePopup. Also fixed the list More link input (nonexistent rootUrl helper -> absoluteUrl). - #6455: saving a card description never removed a pre-existing unsaved- edits record, and the draft/description comparison mismatched on Markdown hard-breaks and empty descriptions, re-creating a phantom draft on every save. Save now clears the draft; both sides normalized the same way. - #5547: comment drafts: the draft-saving escape handler had been disarmed since 2019 (flag with no setter), so a comment being written was lost when the card closed. Drafts are now saved continuously (debounced), flushed on teardown, cleared on submit; text no longer visually vanishes on outside clicks. - #5282: attachment delete: guard against the doc being already evicted from Minimongo ('Removed nonexistent document'), like the existing comment/checklist guards. - #6472: rules move card to top/bottom: fall back to the card's current list when listName does not resolve (was a swallowed TypeError = rule silently did nothing); wizard stored listTitle which the engine never reads (listName); empty destination wrote sort +-Infinity; rules JSON/CSV import now uses the rules.createRule method instead of client inserts rejected into minimongo limbo, and defaults missing trigger matching fields to '*'; empty boardId no longer overrides the real board; the server-side orphaned-cards fallback in List.cards()/cardsUnfiltered() now actually resolves its async swimlane lookup. - #6465: desktop density back to WeKan 6.09: base font 14px and headings 22/18/16px (vw clamps resolved to 18/24px on desktop), All Boards wrapper padding 10px/15px, card details docks to the right edge instead of floating on top of its own card (still draggable), 20px canvas padding instead of ~48px white borders, removed the force-all-card-text- to-title-size rule, admin org/team table Select/Unselect-all header links are compact icons and header cells may wrap, zoom pill no longer cut off, one-click board settings cog in the board header. - #6458 #6466: snap: mongodb-control now checks mongod's exit status and does an AVX pre-flight (MongoDB 5+ needs AVX; without it mongod SIGILLs) instead of pinging a dead port forever behind a 502: it switches to a completed FerretDB migration, or (re)runs the migration (AVX-free) with a 3-attempt guard. Migration importers no longer fail the whole run on >=10 per-item errors ('Avatars Errors' etc.), and a failed 3.x-source migration keeps the copied FerretDB data + checkpoint and resumes next start instead of deleting it and 'falling back' to a mongod 7 that cannot open 3.x data files. - #6467 #6468: with FerretDB, calm Meteor's no-oplog polling storm (METEOR_POLLING_THROTTLE_MS=2000, METEOR_POLLING_INTERVAL_MS=30000 defaults in the snap and bundle launcher; overridable). The FerretDB fork gets filter pushdown, a sane pool size and less locking in its own repo. - Updated ChangeLog. Thanks to xet7.
1141 lines
23 KiB
CSS
1141 lines
23 KiB
CSS
* {
|
|
-webkit-box-sizing: unset;
|
|
box-sizing: unset;
|
|
}
|
|
/* Fixed missing 'import nib' stylesheet reset and extra li bullet points
|
|
* https://github.com/wekan/wekan/issues/4512#issuecomment-1129347536
|
|
*/
|
|
a, abbr, acronym, address, applet, big, blockquote, body, caption, cite,
|
|
code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5,
|
|
h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre,
|
|
q, s, samp, small, span, strike, strong, sub, sup,
|
|
table, tbody, td, tfoot, th, thread, tr, tt, ul, var {
|
|
margin: 0;
|
|
padding: 0;
|
|
outline: 0;
|
|
font-weight: inherit;
|
|
font-style: inherit;
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
vertical-align: baseline;
|
|
}
|
|
.note-popover .popover-content .note-color-palette div .note-color-btn,
|
|
.panel-heading.note-toolbar .note-color-palette div .note-color-btn {
|
|
background: none;
|
|
}
|
|
a:focus {
|
|
outline: unset;
|
|
outline-offset: unset;
|
|
}
|
|
a:hover,
|
|
a:focus {
|
|
color: unset;
|
|
text-decoration: unset;
|
|
}
|
|
/* Accessibility (WCAG 2.4.7 Focus Visible): the resets above strip focus
|
|
* outlines from every element, which leaves keyboard users with no indication
|
|
* of where focus is. Restore a clearly visible focus indicator for keyboard
|
|
* navigation. :focus-visible only paints the outline for keyboard focus, so
|
|
* mouse clicks stay visually unchanged. */
|
|
a:focus-visible,
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible,
|
|
summary:focus-visible,
|
|
[tabindex]:focus-visible,
|
|
[role="button"]:focus-visible,
|
|
[contenteditable="true"]:focus-visible {
|
|
outline: 2px solid #1565c0;
|
|
outline-offset: 2px;
|
|
/* Add a light halo so the outline is visible on both light and dark colored
|
|
* board headers. */
|
|
box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.35);
|
|
border-radius: 2px;
|
|
}
|
|
/* Browsers that do not support :focus-visible fall back to :focus so keyboard
|
|
* users are never left without an indicator. */
|
|
.no-focus-visible-support a:focus,
|
|
.no-focus-visible-support button:focus,
|
|
.no-focus-visible-support [tabindex]:focus {
|
|
outline: 2px solid #1565c0;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Screen-reader-only helper: visually hidden but available to assistive tech. */
|
|
.sr-only {
|
|
position: absolute !important;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* Visually-hidden but still *activatable* controls (#459 accessible reordering).
|
|
* The plain `.sr-only` pattern clips its content to a 1x1 box with
|
|
* `clip: rect(0,0,0,0)` + `overflow:hidden`, which removes the element from the
|
|
* hit-test stack: a real pointer click (or Playwright's coordinate-based click)
|
|
* at the control's own position resolves to whatever sits *behind* it, so the
|
|
* click handler never fires. For interactive controls we instead keep a real,
|
|
* hit-testable box that is merely transparent and out of flow. Keyboard/AT users
|
|
* still reach it via Tab / the accessibility tree; sighted users don't see it. */
|
|
.minicard-move-buttons.sr-only,
|
|
.list-move-buttons.sr-only {
|
|
position: static !important;
|
|
width: auto;
|
|
height: auto;
|
|
margin: 0;
|
|
overflow: visible;
|
|
clip: auto;
|
|
clip-path: none;
|
|
white-space: normal;
|
|
/* Keep the group flush so the (transparent) controls don't visibly nudge the
|
|
* surrounding layout. */
|
|
display: inline-flex;
|
|
vertical-align: top;
|
|
line-height: 0;
|
|
}
|
|
.minicard-move-buttons.sr-only a,
|
|
.list-move-buttons.sr-only a {
|
|
display: inline-block;
|
|
width: 14px;
|
|
height: 14px;
|
|
overflow: hidden;
|
|
text-indent: -9999px;
|
|
white-space: nowrap;
|
|
opacity: 0;
|
|
position: relative;
|
|
z-index: 30;
|
|
}
|
|
|
|
/* Skip-to-content link (WCAG 2.4.1 Bypass Blocks): hidden until focused, then
|
|
* pinned to the top-left so keyboard users can jump past the header chrome. */
|
|
.skip-link {
|
|
position: absolute;
|
|
left: -9999px;
|
|
top: 0;
|
|
z-index: 10000;
|
|
padding: 10px 16px;
|
|
background: #1565c0;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
border-radius: 0 0 4px 0;
|
|
text-decoration: none;
|
|
}
|
|
.skip-link:focus,
|
|
.skip-link:focus-visible {
|
|
left: 0;
|
|
outline: 2px solid #fff;
|
|
outline-offset: -4px;
|
|
}
|
|
/* The skip-link target must not show a persistent outline when focused
|
|
* programmatically. */
|
|
#content:focus {
|
|
outline: none;
|
|
}
|
|
.badge {
|
|
display: unset;
|
|
min-width: unset;
|
|
padding: unset;
|
|
font-size: unset;
|
|
font-weight: unset;
|
|
line-height: unset;
|
|
color: unset;
|
|
text-align: unset;
|
|
white-space: unset;
|
|
vertical-align: unset;
|
|
background-color: unset;
|
|
border-radius: unset;
|
|
}
|
|
html,
|
|
body,
|
|
input,
|
|
select,
|
|
textarea,
|
|
button {
|
|
/* #6465: back to the WeKan 6.09 desktop density. The clamp() introduced in
|
|
v7.98 (20e9cf114) and raised in v8.02 (67b078b80) resolved to 18px on any
|
|
window wider than 720px — +28.5% on EVERY font, input and button versus
|
|
6.09's 14px — which is the "everything is way too big" regression. Mobile
|
|
readability is handled by the mobile media queries, not by inflating the
|
|
desktop base font. */
|
|
font: 14px Roboto, Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
line-height: 18px;
|
|
color: #4d4d4d;
|
|
/* Improve text rendering */
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
/* Better text selection */
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
}
|
|
html {
|
|
font-size: 100%;
|
|
max-height: 100%;
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
text-size-adjust: 100%;
|
|
|
|
}
|
|
body {
|
|
background: #dedede;
|
|
margin: 0;
|
|
position: relative;
|
|
z-index: 0;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* iOS Safari fixes */
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Mobile mode specific fixes for iOS Safari */
|
|
body.mobile-mode {
|
|
overflow-x: hidden;
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100vh;
|
|
/* Prevent iOS Safari bounce scroll */
|
|
overscroll-behavior: none;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Ensure content area is scrollable in mobile mode */
|
|
body.mobile-mode #content {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
height: calc(100vh - 48px);
|
|
}
|
|
#content {
|
|
position: relative;
|
|
flex: 1;
|
|
overflow-x: hidden;
|
|
}
|
|
#content .sk-spinner {
|
|
margin-top: 30vh;
|
|
}
|
|
#content > .wrapper {
|
|
/* #6465: 6.09 values; 2vh/2vw padding was ~21x38px on FullHD — the huge
|
|
empty header band on the All Boards page. */
|
|
margin-top: 10px;
|
|
padding: 15px;
|
|
}
|
|
#modal {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
inset-inline-start: 0;
|
|
inset-inline-end: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
z-index: 100;
|
|
overflow-y: auto;
|
|
}
|
|
#modal .modal-content {
|
|
width: min(500px, 90vw);
|
|
min-height: 20vh;
|
|
margin: 5vh auto;
|
|
padding: 2vh 2vw;
|
|
border-radius: 0.5vw;
|
|
background: #dedede;
|
|
z-index: 110;
|
|
}
|
|
#modal .modal-content h2 {
|
|
margin-bottom: 3vh;
|
|
}
|
|
#modal .modal-content .modal-close-btn {
|
|
display: block;
|
|
float: inline-end;
|
|
font-size: clamp(18px, 4vw, 24px);
|
|
}
|
|
#modal .modal-content-wide {
|
|
width: min(800px, 95vw);
|
|
min-height: 0px;
|
|
margin: 5vh auto;
|
|
padding: 2vh 2vw;
|
|
border-radius: 0.5vw;
|
|
background: #dedede;
|
|
z-index: 110;
|
|
}
|
|
#modal .modal-content-wide h2 {
|
|
margin-bottom: 3vh;
|
|
}
|
|
#modal .modal-content-wide .modal-close-btn {
|
|
display: block;
|
|
float: inline-end;
|
|
font-size: clamp(18px, 4vw, 24px);
|
|
}
|
|
/* #6465: heading sizes back to the 6.09 values (22/18/16px) — the vw clamps
|
|
resolved to 24/20/18px on desktop and compounded the density regression. */
|
|
h1 {
|
|
font-size: 22px;
|
|
line-height: 1.2em;
|
|
margin: 0 0 1vh;
|
|
}
|
|
h2 {
|
|
font-size: 18px;
|
|
line-height: 1.2em;
|
|
margin: 0 0 0.8vh;
|
|
}
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: 16px;
|
|
line-height: 1.25em;
|
|
margin: 0 0 0.6vh;
|
|
}
|
|
.quiet,
|
|
.quiet a {
|
|
color: #8c8c8c;
|
|
}
|
|
.error,
|
|
.error a {
|
|
color: #eb3800;
|
|
}
|
|
.no-items-message {
|
|
color: #666;
|
|
margin: 4vh 0;
|
|
text-align: center;
|
|
}
|
|
.warning {
|
|
background: #f0ecdb;
|
|
border-radius: 0.4vw;
|
|
color: #aa8f09;
|
|
padding: 1vh 1.2vw;
|
|
}
|
|
.warning a {
|
|
color: #aa8f09;
|
|
}
|
|
.small {
|
|
font-size: 0.8em;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
a.is-disabled,
|
|
a.is-disabled:hover {
|
|
cursor: default;
|
|
text-decoration: none;
|
|
}
|
|
span a {
|
|
text-decoration: underline;
|
|
}
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
p {
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
|
|
|
|
}
|
|
p a {
|
|
text-decoration: underline;
|
|
word-wrap: break-word;
|
|
}
|
|
table,
|
|
p {
|
|
margin-bottom: 1vh;
|
|
}
|
|
pre {
|
|
margin: 2vh 0;
|
|
white-space: pre;
|
|
max-height: 60vh;
|
|
}
|
|
pre,
|
|
code,
|
|
tt {
|
|
font-family: lucida console, monospace;
|
|
line-height: 1.3em;
|
|
}
|
|
blockquote {
|
|
margin: 1vh 0 1vh 1vw;
|
|
border-inline-start: 1px solid #ccc;
|
|
color: #666;
|
|
padding: 0 0 0 1vw;
|
|
}
|
|
hr {
|
|
height: 1px;
|
|
border: 0;
|
|
border: none;
|
|
width: 100%;
|
|
background: #dbdbdb;
|
|
color: #dbdbdb;
|
|
margin: 2vh 0;
|
|
padding: 0;
|
|
}
|
|
table,
|
|
td,
|
|
th {
|
|
vertical-align: top;
|
|
border-top: 1px solid #ccc;
|
|
border-inline-start: 1px solid #ccc;
|
|
}
|
|
td,
|
|
th {
|
|
padding: 0.8vh 0.8vw;
|
|
border-inline-end: 1px solid #ccc;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
th {
|
|
font-weight: 700;
|
|
}
|
|
thead {
|
|
background: #fff;
|
|
background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%);
|
|
}
|
|
tbody {
|
|
background-color: #fff;
|
|
}
|
|
dl,
|
|
dt {
|
|
margin-bottom: 1vh;
|
|
}
|
|
dd {
|
|
margin: 0 0 2vh 3vw;
|
|
}
|
|
kbd {
|
|
padding: 0.2vh 0.5vw;
|
|
margin: 0.5vh;
|
|
font-weight: bold;
|
|
background: #fafafa;
|
|
border-radius: 0.4vw;
|
|
border: 1px solid #e6e6e6;
|
|
color: unset;
|
|
box-shadow: 0px 0.3vh 0.5vh rgba(0,0,0,0.15);
|
|
}
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
.hide {
|
|
display: none;
|
|
}
|
|
.show {
|
|
display: block;
|
|
}
|
|
.bold {
|
|
font-weight: 700;
|
|
}
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
.left {
|
|
float: inline-start;
|
|
}
|
|
.right {
|
|
float: inline-end;
|
|
}
|
|
.first {
|
|
margin-inline-start: 0;
|
|
padding-inline-start: 0;
|
|
}
|
|
.last {
|
|
margin-inline-end: 0;
|
|
padding-inline-end: 0;
|
|
}
|
|
.top {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
.bottom {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.wrapper {
|
|
width: calc(100% - 2vw);
|
|
margin: 0 auto;
|
|
}
|
|
.relative {
|
|
position: relative;
|
|
}
|
|
.block {
|
|
display: block;
|
|
}
|
|
.inline {
|
|
display: inline;
|
|
}
|
|
.inline-block {
|
|
display: inline-block;
|
|
}
|
|
.pointer {
|
|
cursor: pointer;
|
|
}
|
|
.ellip {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.underline {
|
|
text-decoration: underline;
|
|
}
|
|
.lowercase {
|
|
text-transform: lowercase;
|
|
}
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
.wrapword {
|
|
word-wrap: break-word;
|
|
}
|
|
.grab {
|
|
cursor: grab;
|
|
}
|
|
.grabbing {
|
|
cursor: grabbing;
|
|
}
|
|
.textcomplete-dropdown {
|
|
z-index: 2000 !important;
|
|
}
|
|
.fa.fa-times-thin:before {
|
|
content: '\00d7';
|
|
}
|
|
.fa.fa-globe.colorful,
|
|
.fa.fa-bell.colorful {
|
|
color: #4caf50;
|
|
}
|
|
.fa.fa-lock.colorful,
|
|
.fa.fa-bell-slash.colorful {
|
|
color: #f44336;
|
|
}
|
|
.fa.fa-eye.colorful {
|
|
color: #4336f4;
|
|
}
|
|
.pop-over .pop-over-list li a:not(.disabled):hover .fa,
|
|
.pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful {
|
|
color: #fff;
|
|
}
|
|
.pop-over .pop-over-list li a:not(.disabled):hover .fa:hover,
|
|
.pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful:hover {
|
|
color: #fff;
|
|
}
|
|
a.fa,
|
|
a i.fa {
|
|
color: #a6a6a6;
|
|
}
|
|
a:not(.disabled):hover.fa,
|
|
a:not(.disabled).is-active.fa,
|
|
a:not(.disabled):hover i.fa,
|
|
a:not(.disabled).is-active i.fa {
|
|
color: #666;
|
|
}
|
|
.ui-draggable-dragging {
|
|
z-index: 200;
|
|
}
|
|
.atMention {
|
|
background: #dbdbdb;
|
|
border-radius: 3px;
|
|
padding: 1px 4px;
|
|
margin: -1px 0;
|
|
display: inline-block;
|
|
}
|
|
.atMention.me {
|
|
background: #cfdfe8;
|
|
}
|
|
.big-message {
|
|
display: block;
|
|
margin: 10vh auto;
|
|
text-align: center;
|
|
max-width: min(600px, 90vw);
|
|
}
|
|
.big-message h1 {
|
|
font-size: clamp(20px, 5vw, 28px);
|
|
margin-bottom: 3vh;
|
|
}
|
|
.big-message p {
|
|
font-size: clamp(16px, 3.5vw, 20px);
|
|
line-height: 1.3;
|
|
}
|
|
.gutter {
|
|
margin-inline-start: 5vw;
|
|
}
|
|
.viewer {
|
|
min-height: 2.5vh;
|
|
display: block;
|
|
word-wrap: break-word;
|
|
}
|
|
.viewer table {
|
|
word-wrap: normal;
|
|
word-break: normal;
|
|
}
|
|
.viewer ol {
|
|
list-style-type: decimal;
|
|
padding-inline-start: 3vw;
|
|
padding-bottom: 1.5vh;
|
|
}
|
|
.viewer ul {
|
|
list-style-type: initial;
|
|
padding-inline-start: 3vw;
|
|
padding-bottom: 1.5vh;
|
|
}
|
|
.viewer em {
|
|
font-style: italic;
|
|
}
|
|
.viewer pre,
|
|
.viewer code {
|
|
padding: 10px 12px 7px;
|
|
background: #dedede;
|
|
overflow-y: auto;
|
|
}
|
|
.viewer a {
|
|
text-decoration: underline;
|
|
}
|
|
.viewer a:hover {
|
|
color: #333;
|
|
}
|
|
.basicTabs-container .tabs-list {
|
|
text-align: start;
|
|
width: 100%;
|
|
}
|
|
.basicTabs-container .tabs-list .tab-item {
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
display: inline-block;
|
|
padding: 13px 15px;
|
|
margin: 0;
|
|
list-style: none;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.basicTabs-container .tabs-list .tab-item.active {
|
|
border-radius: 5px 5px 0 0;
|
|
border: 1px solid #ddd;
|
|
border-bottom: none;
|
|
margin-bottom: -1px !important;
|
|
padding: 12px 14px 14px 14px !important;
|
|
background-color: #fff;
|
|
color: #333;
|
|
}
|
|
.basicTabs-container .tabs-content-container {
|
|
padding: 0;
|
|
padding-top: 15px;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
.basicTabs-container .tabs-content {
|
|
display: none;
|
|
}
|
|
.basicTabs-container .tabs-content.active {
|
|
display: block;
|
|
}
|
|
.no-scrollbars {
|
|
scrollbar-width: none;
|
|
}
|
|
.no-scrollbars::-webkit-scrollbar {
|
|
display: none !important;
|
|
}
|
|
/* ========================================
|
|
MOBILE & TABLET RESPONSIVE IMPROVEMENTS
|
|
======================================== */
|
|
|
|
/* Mobile devices (up to 800px) and all iPhone models */
|
|
@media screen and (max-width: 800px),
|
|
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape),
|
|
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
|
|
#content {
|
|
margin: 1px 0px 0px 0px;
|
|
height: calc(100% - 0px);
|
|
/* Improve touch scrolling */
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
#content > .wrapper {
|
|
margin-top: 0px;
|
|
padding: 8px;
|
|
}
|
|
.wrapper {
|
|
height: calc(100% - 31px);
|
|
margin: 0px;
|
|
padding: 8px;
|
|
}
|
|
.panel-default {
|
|
width: 95vw;
|
|
max-width: 95vw;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Improve touch targets */
|
|
button, .btn, .js-toggle, .js-color-choice, .js-reaction, .close {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
padding: 12px 16px;
|
|
font-size: 16px; /* Prevent zoom on iOS */
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* Form elements */
|
|
input, select, textarea {
|
|
font-size: 16px; /* Prevent zoom on iOS */
|
|
padding: 12px;
|
|
min-height: 44px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* Cards and lists */
|
|
.minicard {
|
|
min-height: 48px;
|
|
padding: 12px;
|
|
margin-bottom: 8px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.list {
|
|
margin: 0 8px;
|
|
min-width: 280px;
|
|
}
|
|
|
|
/* Board canvas */
|
|
.board-canvas {
|
|
padding: 0 8px 8px 0;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Header mobile layout */
|
|
#header {
|
|
padding: 8px;
|
|
/* Keep top bar on a single row on small screens */
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
#header-quick-access {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
/* On narrow screens (e.g. iPhone 12 mini, 375px) the icon buttons cannot
|
|
shrink below their min-width, so a single nowrap row overflows and the
|
|
base rule's overflow:hidden clips the right-side items (mobile/desktop
|
|
toggle, notifications, member/user menu). Allow wrapping to a second row
|
|
and let the bar grow so nothing is ever hidden. */
|
|
flex-wrap: wrap;
|
|
overflow: visible;
|
|
height: auto;
|
|
min-height: 28px;
|
|
}
|
|
|
|
/* Hide elements that should move to the hamburger menu on mobile */
|
|
#header-quick-access .header-quick-access-list,
|
|
#header-quick-access #header-help {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Show the home link with its full "All Boards" text on mobile. The label is
|
|
a bare text node (not a span), so the old max-width:28px + overflow:hidden
|
|
clip revealed only "A"; removing it shows the whole label. The bar wraps,
|
|
so the extra width is fine. */
|
|
#header-quick-access .home-icon a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: none;
|
|
overflow: visible;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Ensure proper spacing for mobile header elements */
|
|
#header-quick-access .zoom-controls {
|
|
margin-inline-start: auto;
|
|
margin-inline-end: 8px;
|
|
}
|
|
|
|
.mobile-mode-toggle {
|
|
margin-inline-end: 8px;
|
|
}
|
|
|
|
#header-user-bar {
|
|
margin-inline-start: auto;
|
|
}
|
|
|
|
/* Ensure header elements don't wrap on very small screens */
|
|
#header-quick-access {
|
|
min-width: 0; /* Allow flexbox to shrink */
|
|
}
|
|
|
|
/* Make sure logo doesn't take too much space on mobile */
|
|
#header-quick-access img {
|
|
max-height: 24px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
/* Ensure zoom controls are compact on mobile */
|
|
.zoom-controls .zoom-level {
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Modal mobile optimization */
|
|
#modal .modal-content,
|
|
#modal .modal-content-wide {
|
|
width: 95vw;
|
|
max-width: 95vw;
|
|
margin: 2vh auto;
|
|
padding: 16px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Table mobile optimization */
|
|
table {
|
|
font-size: 14px;
|
|
width: 100%;
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Admin panel mobile optimization.
|
|
Keep the side-by-side (row) layout from settingBody.css even on narrow
|
|
screens — do NOT switch to a stacked column layout, which left the menu
|
|
only 32vw wide with empty space beside it and pushed the content off
|
|
screen. The side menu keeps a fixed basis and the main body fills the
|
|
rest, so both stay visible. */
|
|
.setting-content .content-body {
|
|
gap: 8px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.setting-content .content-body .main-body {
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
}
|
|
|
|
/* Tablet devices (768px - 1024px) */
|
|
@media screen and (min-width: 768px) and (max-width: 1024px) {
|
|
#content > .wrapper {
|
|
padding: 12px;
|
|
}
|
|
|
|
.wrapper {
|
|
padding: 12px;
|
|
}
|
|
|
|
.panel-default {
|
|
width: 90vw;
|
|
max-width: 90vw;
|
|
}
|
|
|
|
/* Touch-friendly but more compact */
|
|
button, .btn, .js-toggle, .js-color-choice, .js-reaction, .close {
|
|
min-height: 48px;
|
|
min-width: 48px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.minicard {
|
|
min-height: 40px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.list {
|
|
margin: 0 12px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.board-canvas {
|
|
padding: 0 12px 12px 0;
|
|
}
|
|
|
|
#header {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
#modal .modal-content {
|
|
width: 80vw;
|
|
max-width: 600px;
|
|
}
|
|
|
|
#modal .modal-content-wide {
|
|
width: 90vw;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.setting-content .content-body {
|
|
gap: 20px;
|
|
}
|
|
|
|
.setting-content .content-body .side-menu {
|
|
width: 250px;
|
|
}
|
|
|
|
/* Responsive handling for quick-access description on tablets */
|
|
#header-quick-access ul.header-quick-access-list li.current.empty {
|
|
max-width: 300px;
|
|
}
|
|
}
|
|
|
|
/* Large displays and digital signage (1920px+) */
|
|
@media screen and (min-width: 1920px) {
|
|
body {
|
|
font-size: 18px;
|
|
}
|
|
|
|
button, .btn, .js-toggle, .js-color-choice, .js-reaction, .close {
|
|
min-height: 56px;
|
|
min-width: 56px;
|
|
padding: 16px 20px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.minicard {
|
|
min-height: 56px;
|
|
padding: 16px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.list {
|
|
margin: 0 8px;
|
|
min-width: 360px;
|
|
}
|
|
|
|
.board-canvas {
|
|
padding: 0;
|
|
}
|
|
|
|
#header {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
#content > .wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
#modal .modal-content {
|
|
width: 600px;
|
|
}
|
|
|
|
#modal .modal-content-wide {
|
|
width: 1000px;
|
|
}
|
|
|
|
.setting-content .content-body {
|
|
gap: 32px;
|
|
}
|
|
|
|
.setting-content .content-body .side-menu {
|
|
width: 320px;
|
|
}
|
|
}
|
|
.inline-input {
|
|
height: 37px;
|
|
margin: 8px 10px 0 0;
|
|
width: 100px;
|
|
}
|
|
.select-authentication {
|
|
width: 100%;
|
|
}
|
|
.textBelowCustomLoginLogo,
|
|
.auth-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.auth-layout .auth-dialog {
|
|
margin: 0 !important;
|
|
}
|
|
.loadingText {
|
|
text-align: center;
|
|
}
|
|
.lds-roller {
|
|
display: block;
|
|
margin: auto;
|
|
position: relative;
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
.lds-roller div {
|
|
animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
transform-origin: 32px 32px;
|
|
}
|
|
.lds-roller div:after {
|
|
content: " ";
|
|
display: block;
|
|
position: absolute;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: #dedede;
|
|
margin: -3px 0 0 -3px;
|
|
}
|
|
.lds-roller div:nth-child(1) {
|
|
animation-delay: -0.036s;
|
|
}
|
|
.lds-roller div:nth-child(1):after {
|
|
top: 50px;
|
|
inset-inline-start: 50px;
|
|
}
|
|
.lds-roller div:nth-child(2) {
|
|
animation-delay: -0.072s;
|
|
}
|
|
.lds-roller div:nth-child(2):after {
|
|
top: 54px;
|
|
inset-inline-start: 45px;
|
|
}
|
|
.lds-roller div:nth-child(3) {
|
|
animation-delay: -0.108s;
|
|
}
|
|
.lds-roller div:nth-child(3):after {
|
|
top: 57px;
|
|
inset-inline-start: 39px;
|
|
}
|
|
.lds-roller div:nth-child(4) {
|
|
animation-delay: -0.144s;
|
|
}
|
|
.lds-roller div:nth-child(4):after {
|
|
top: 58px;
|
|
inset-inline-start: 32px;
|
|
}
|
|
.lds-roller div:nth-child(5) {
|
|
animation-delay: -0.18s;
|
|
}
|
|
.lds-roller div:nth-child(5):after {
|
|
top: 57px;
|
|
inset-inline-start: 25px;
|
|
}
|
|
.lds-roller div:nth-child(6) {
|
|
animation-delay: -0.216s;
|
|
}
|
|
.lds-roller div:nth-child(6):after {
|
|
top: 54px;
|
|
inset-inline-start: 19px;
|
|
}
|
|
.lds-roller div:nth-child(7) {
|
|
animation-delay: -0.252s;
|
|
}
|
|
.lds-roller div:nth-child(7):after {
|
|
top: 50px;
|
|
inset-inline-start: 14px;
|
|
}
|
|
.lds-roller div:nth-child(8) {
|
|
animation-delay: -0.288s;
|
|
}
|
|
.lds-roller div:nth-child(8):after {
|
|
top: 45px;
|
|
inset-inline-start: 10px;
|
|
}
|
|
.at-link {
|
|
color: #17683a;
|
|
text-decoration: underline;
|
|
text-decoration-color: #17683a;
|
|
}
|
|
.at-pwd-form, .at-sep, .at-oauth {
|
|
display: none;
|
|
}
|
|
@-moz-keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@-webkit-keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@-o-keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@-moz-keyframes flexGrowIn {
|
|
from {
|
|
height: 100%;
|
|
}
|
|
}
|
|
@-webkit-keyframes flexGrowIn {
|
|
from {
|
|
height: 100%;
|
|
}
|
|
}
|
|
@-o-keyframes flexGrowIn {
|
|
from {
|
|
height: 100%;
|
|
}
|
|
}
|
|
@keyframes flexGrowIn {
|
|
from {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
/* iOS Safari Mobile Mode Fixes */
|
|
@media screen and (max-width: 800px) {
|
|
/* Prevent scrolling issues on iOS Safari when card popup is open */
|
|
body.mobile-mode {
|
|
overflow: hidden;
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Fix z-index stacking for mobile Safari */
|
|
body.mobile-mode .board-wrapper {
|
|
z-index: 1;
|
|
}
|
|
|
|
body.mobile-mode .board-wrapper .board-canvas .board-overlay {
|
|
z-index: 17 !important;
|
|
}
|
|
|
|
body.mobile-mode .card-details {
|
|
z-index: 100 !important;
|
|
}
|
|
|
|
body.mobile-mode .pop-over {
|
|
z-index: 999;
|
|
}
|
|
|
|
/* Ensure smooth scrolling on iOS */
|
|
body.mobile-mode .card-details,
|
|
body.mobile-mode .pop-over .content-wrapper {
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
}
|
|
@-moz-keyframes lds-roller {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@-webkit-keyframes lds-roller {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@-o-keyframes lds-roller {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes lds-roller {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|