mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
.viewer pre and code have their own light background (#dedede) in layouts.css but inherited the theme's text colour. In the dark theme's opened card that is #bbb, 1.42:1, and axe-core's color-contrast rule failed the dark theme in the full Firefox run (46-axe-theme-contrast, ".viewer > pre #bbbbbb/#dedede 1.42"). The block now names its text colour, #222, 11.8:1 on its background - the background codeHighlight.css's token colours are chosen for. tests/viewerCodeContrast.test.cjs requires an explicit text colour of at least 4.5:1 on the block's own background, and fails on the old rule. Thanks to xet7 !
1483 lines
37 KiB
CSS
1483 lines
37 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;
|
|
}
|
|
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;
|
|
}
|
|
/* #6755: a member who turned off "Show focus outline" (Member Settings / Change
|
|
* Settings) sees no ring: the outline and its halo, for keyboard focus and for the
|
|
* fallback below. Field borders and the colour a button takes on focus are not the
|
|
* ring and stay. The ring is an accessibility feature, so it is on unless hidden. */
|
|
body.has-hide-focus-outline :focus-visible,
|
|
body.has-hide-focus-outline a:focus,
|
|
body.has-hide-focus-outline button:focus,
|
|
body.has-hide-focus-outline [tabindex]:focus {
|
|
outline: none !important;
|
|
outline-offset: 0 !important;
|
|
}
|
|
body.has-hide-focus-outline :is(a, button, input, select, textarea, summary, [tabindex], [role="button"], [contenteditable="true"]):focus-visible {
|
|
box-shadow: none !important;
|
|
}
|
|
/* 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;
|
|
}
|
|
|
|
/* #6521: these controls are focusable but `opacity: 0`, and they sit at the
|
|
START of the card/list content. Tabbing therefore went: card (visible focus)
|
|
-> invisible -> invisible -> next card, so the focus ring kept vanishing and
|
|
reappearing at a position that looked like it had gone BACKWARDS. Reveal them
|
|
while focused - the same pattern the skip-to-content link below already uses -
|
|
so every tab stop is somewhere the eye can follow. They stay invisible to the
|
|
mouse, and :focus-visible keeps a mouse click from popping them open. */
|
|
.minicard-move-buttons.sr-only a:focus,
|
|
.list-move-buttons.sr-only a:focus,
|
|
.minicard-move-buttons.sr-only a:focus-visible,
|
|
.list-move-buttons.sr-only a:focus-visible {
|
|
opacity: 1;
|
|
width: auto;
|
|
height: auto;
|
|
min-width: 1.6em;
|
|
padding: 0 0.3em;
|
|
overflow: visible;
|
|
text-indent: 0;
|
|
line-height: 1.6;
|
|
border-radius: 3px;
|
|
background: var(--theme-accent, #01628c);
|
|
color: #fff;
|
|
outline: 2px solid var(--theme-accent, #01628c);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
/* 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;
|
|
inset-inline-start: -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 {
|
|
inset-inline-start: 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. */
|
|
/* Family and SIZE separately, not the `font` shorthand. The shorthand's size
|
|
is what Member Settings / Font / Size has to be able to move, and it moves
|
|
it the same way every other size in the app moves: through the scale
|
|
variable (client/components/main/uiFont.css). As a shorthand it also reset
|
|
`line-height` to normal and the line below set it again, so splitting it
|
|
changes nothing else. */
|
|
font-family: Roboto, Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
font-size: calc(14px * var(--wekan-ui-font-scale, 1));
|
|
line-height: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
/* Improve text rendering */
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
/* Better text selection */
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
}
|
|
/* Base text color must not override the themed foreground of buttons when
|
|
this typography sheet loads after forms.css. Keep this reset low-specificity. */
|
|
:where(html, body, input, select, textarea, button) {
|
|
color: #4d4d4d;
|
|
}
|
|
|
|
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;
|
|
/* #6488: `100vh` is the viewport with the browser's toolbars hidden, so a
|
|
`position: fixed` body sized that way reaches under them and the last part of
|
|
any page is unreachable. `100dvh` is the viewport as it is right now; the line
|
|
above stays as the fallback where `dvh` is not supported. */
|
|
height: 100dvh;
|
|
/* 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;
|
|
/* #6488, and the reason that issue kept coming back after being closed three
|
|
times: THE LAST PIECE OF VIEWPORT ARITHMETIC. This said
|
|
`height: calc(100dvh - 48px)`, and 48px is a guess at how tall the header is.
|
|
The header is not 48px and is not any one number - Utils publishes
|
|
--wekan-header-height from a ResizeObserver for exactly this reason, because
|
|
the quick-access bar WRAPS to a second and third row depending on the
|
|
language and the window width, and its own comment says "every fixed number
|
|
for it has been wrong for some of those".
|
|
On a phone, where the bar does wrap, #content was therefore taller than the
|
|
room under the header by however much the header exceeded 48px, so its
|
|
bottom sat BELOW the bottom of the screen. body.mobile-mode is
|
|
`position: fixed` and the phone rules make it `overflow: hidden`, so that
|
|
strip is unreachable: everything below it inherits the error through the
|
|
`height: 100%` chain (boardsList.css), and the last rows of the board list
|
|
end up where no gesture can reach them. That is "in mobile board menu you
|
|
cant scroll boards" - the list scrolls, it just ends off screen.
|
|
Nothing has to be computed here. body is a flex COLUMN of exactly one
|
|
viewport and this is its `flex: 1` item (below), so the space left under the
|
|
header - whatever the header turns out to be this paint - IS this box. The
|
|
arithmetic was overriding a correct answer with a wrong one.
|
|
`min-height: 0` so it can be SHORTER than its content: a flex item will not
|
|
shrink below its content otherwise, and an inner scroller whose ancestor
|
|
refuses to shrink never scrolls. */
|
|
min-height: 0;
|
|
overscroll-behavior: contain;
|
|
}
|
|
#content {
|
|
position: relative;
|
|
flex: 1;
|
|
overflow-x: hidden;
|
|
}
|
|
#content .sk-spinner {
|
|
margin-top: 270px;
|
|
}
|
|
#content > .wrapper {
|
|
/* #6465: 6.09 values; 18px/28px 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: 180px;
|
|
margin: 45px auto;
|
|
padding: 18px 28px;
|
|
border-radius: 7px;
|
|
background: #dedede;
|
|
z-index: 110;
|
|
}
|
|
#modal .modal-content h2 {
|
|
margin-bottom: 27px;
|
|
}
|
|
#modal .modal-content .modal-close-btn {
|
|
display: block;
|
|
float: inline-end;
|
|
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
}
|
|
#modal .modal-content-wide {
|
|
width: min(800px, 95vw);
|
|
min-height: 0px;
|
|
margin: 45px auto;
|
|
padding: 18px 28px;
|
|
border-radius: 7px;
|
|
background: #dedede;
|
|
z-index: 110;
|
|
}
|
|
#modal .modal-content-wide h2 {
|
|
margin-bottom: 27px;
|
|
}
|
|
#modal .modal-content-wide .modal-close-btn {
|
|
display: block;
|
|
float: inline-end;
|
|
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
}
|
|
/* Archived boards modal: full-width panel that extends to the bottom of the browser
|
|
window (so archived boards show full width with maximum vertical space). It is the
|
|
only modal that contains .archived-lists. */
|
|
#modal .modal-content:has(.archived-lists) {
|
|
width: 1344px;
|
|
max-width: 96vw;
|
|
/* The header bar(s) sit above the modal (higher z-index), so start the archive
|
|
panel BELOW them — otherwise its top (and the close X) is hidden under the top
|
|
header bar. ~96px clears both the quick-access bar and the board header bar; on
|
|
the All Boards page (one bar) this leaves a small top gap. Then extend to the
|
|
bottom of the browser window. */
|
|
margin: 96px auto 0;
|
|
min-height: calc(100vh - 106px);
|
|
box-sizing: border-box;
|
|
}
|
|
/* Each archived board is a full-width row. */
|
|
#modal .modal-content .archived-lists,
|
|
#modal .modal-content .archived-lists .archived-lists-item {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
/* #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: calc(22px * var(--wekan-ui-font-scale, 1));
|
|
line-height: 1.2em;
|
|
margin: 0 0 9px;
|
|
}
|
|
h2 {
|
|
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
line-height: 1.2em;
|
|
margin: 0 0 7px;
|
|
}
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: calc(16px * var(--wekan-ui-font-scale, 1));
|
|
line-height: 1.25em;
|
|
margin: 0 0 5px;
|
|
}
|
|
.quiet,
|
|
.quiet a {
|
|
color: var(--wekan-quiet-text, #595959);
|
|
}
|
|
.error,
|
|
.error a {
|
|
color: #eb3800;
|
|
}
|
|
.no-items-message {
|
|
color: var(--wekan-quiet-text, #595959);
|
|
margin: 36px 0;
|
|
text-align: center;
|
|
}
|
|
.warning {
|
|
background: #f0ecdb;
|
|
border-radius: 6px;
|
|
color: #aa8f09;
|
|
padding: 9px 17px;
|
|
}
|
|
.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: 9px;
|
|
}
|
|
pre {
|
|
margin: 18px 0;
|
|
white-space: pre;
|
|
max-height: 60vh;
|
|
}
|
|
pre,
|
|
code,
|
|
tt {
|
|
font-family: lucida console, monospace;
|
|
line-height: 1.3em;
|
|
}
|
|
blockquote {
|
|
margin: 9px 0 9px 14px;
|
|
border-inline-start: 1px solid #ccc;
|
|
color: #666;
|
|
padding: 0 0 0 14px;
|
|
}
|
|
hr {
|
|
height: 1px;
|
|
border: 0;
|
|
border: none;
|
|
width: 100%;
|
|
background: #dbdbdb;
|
|
color: #dbdbdb;
|
|
margin: 18px 0;
|
|
padding: 0;
|
|
}
|
|
table,
|
|
td,
|
|
th {
|
|
vertical-align: top;
|
|
border-top: 1px solid #ccc;
|
|
border-inline-start: 1px solid #ccc;
|
|
}
|
|
td,
|
|
th {
|
|
padding: 7px 11px;
|
|
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: 9px;
|
|
}
|
|
dd {
|
|
margin: 0 0 18px 42px;
|
|
}
|
|
kbd {
|
|
padding: 2px 7px;
|
|
margin: 5px;
|
|
font-weight: bold;
|
|
background: #fafafa;
|
|
border-radius: 6px;
|
|
border: 1px solid #e6e6e6;
|
|
color: unset;
|
|
box-shadow: 0px 3px 5px 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% - 28px);
|
|
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 {
|
|
/* The menu is attached to body, above both card windows (2001) and
|
|
card-detail popups (100000). #6704 */
|
|
z-index: 100001 !important;
|
|
background: #fff;
|
|
color: #333;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 4px 0;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.textcomplete-dropdown .textcomplete-item > span {
|
|
display: block;
|
|
padding: 4px 12px 4px 8px;
|
|
cursor: pointer;
|
|
}
|
|
.textcomplete-dropdown .textcomplete-item.active > span {
|
|
color: #fff;
|
|
}
|
|
.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;
|
|
}
|
|
/* #3249: visible to every signed-in user - between public and private. */
|
|
.fa.fa-users.colorful {
|
|
color: #e6a100;
|
|
}
|
|
.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: 90px auto;
|
|
text-align: center;
|
|
max-width: min(600px, 90vw);
|
|
}
|
|
.big-message h1 {
|
|
font-size: calc(20px * var(--wekan-ui-font-scale, 1));
|
|
margin-bottom: 27px;
|
|
}
|
|
.big-message p {
|
|
font-size: calc(16px * var(--wekan-ui-font-scale, 1));
|
|
line-height: 1.3;
|
|
}
|
|
.gutter {
|
|
margin-inline-start: 70px;
|
|
}
|
|
.viewer {
|
|
/* px, not vh: as a percentage of window HEIGHT this reserved an empty band
|
|
under every one-line text block, and the band grew as the window got taller
|
|
- see the two notes in minicard.css. */
|
|
min-height: 22px;
|
|
display: block;
|
|
word-wrap: break-word;
|
|
}
|
|
.viewer table {
|
|
word-wrap: normal;
|
|
word-break: normal;
|
|
}
|
|
.viewer ol {
|
|
list-style-type: decimal;
|
|
padding-inline-start: 42px;
|
|
padding-bottom: 14px;
|
|
}
|
|
.viewer ul {
|
|
list-style-type: initial;
|
|
padding-inline-start: 42px;
|
|
padding-bottom: 14px;
|
|
}
|
|
.viewer em {
|
|
font-style: italic;
|
|
}
|
|
/* wekan/wekan#2419: a GFM task-list item ("- [ ] Task") renders a disabled
|
|
native checkbox, which forms.css would otherwise hide like every bare
|
|
checkbox in the app. */
|
|
.viewer input[type="checkbox"]:not(:checked),
|
|
.viewer input[type="checkbox"]:checked {
|
|
/* #6820: no text-field padding, or a ticked box is drawn as a dot. */
|
|
min-height: 0;
|
|
padding: 0;
|
|
display: inline-block;
|
|
visibility: visible;
|
|
position: static;
|
|
inset-inline-start: auto;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 0;
|
|
margin-inline-end: 6px;
|
|
vertical-align: middle;
|
|
appearance: auto;
|
|
}
|
|
.viewer pre,
|
|
.viewer code {
|
|
padding: 10px 12px 7px;
|
|
background: #dedede;
|
|
/* Its own text colour with its own light background: a dark theme's light
|
|
text (#bbb in the dark theme's opened card) was inherited onto #dedede,
|
|
1.42:1 (46-axe-theme-contrast). #222 on #dedede is 11.8:1, and
|
|
codeHighlight.css's token colours are chosen for this background too. */
|
|
color: #222;
|
|
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: calc(13px * var(--wekan-ui-font-scale, 1));
|
|
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) {
|
|
/* Keep the header and page content as independent areas in BOTH UI modes.
|
|
body.mobile-mode already made #content scroll above, but a phone whose user
|
|
explicitly selected desktop mode did not match that selector. With the body
|
|
bounded to the viewport, the page was then clipped instead of reaching its
|
|
final controls or rows. This shared layout rule covers every route; pages
|
|
with an intentional alternate scroll owner override it more specifically. */
|
|
body {
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
}
|
|
|
|
#content {
|
|
margin: 1px 0px 0px 0px;
|
|
height: calc(100% - 0px);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
overscroll-behavior: contain;
|
|
}
|
|
#content > .wrapper {
|
|
margin-top: 0px;
|
|
padding: 8px;
|
|
}
|
|
.wrapper {
|
|
height: calc(100% - 31px);
|
|
margin: 0px;
|
|
padding: 8px;
|
|
}
|
|
.panel-default {
|
|
width: 1330px;
|
|
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: calc(16px * var(--wekan-ui-font-scale, 1)); /* Prevent zoom on iOS */
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* Form elements */
|
|
input, select, textarea {
|
|
font-size: calc(16px * var(--wekan-ui-font-scale, 1)); /* 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 {
|
|
/* No horizontal padding, at any width: the INSET of the first header bar is
|
|
the bar's own gutter (--wekan-header-gutter, header.css), and padding here
|
|
is added on top of it. It used to be 8px here, 16px on a tablet and 8px on
|
|
a large display, so the All Boards house started at a different X on every
|
|
screen size - and on none of them on the line the left menu's rows start
|
|
on. docs/Features/Header-Bar/Header.md */
|
|
padding: 8px 0;
|
|
/* 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;
|
|
/* Tight but still tappable spacing: on a 375px phone (iPhone 12 mini) the
|
|
gaps alone were 8px x 6 = 48px, an eighth of the whole bar. */
|
|
gap: 6px;
|
|
width: 100%;
|
|
/* The bar has side padding (--wekan-header-gutter), and with the global
|
|
box-sizing unset `width: 100%` was the CONTENT box: on a 393px iPhone the
|
|
bar was 417px wide and the hamburger at its end sat past the right edge,
|
|
hidden by the html overflow-x guard below rather than shown.
|
|
tests/playwright/specs/viewport-matrix.e2e.js measures it. */
|
|
box-sizing: border-box;
|
|
/* ONE row. This used to wrap to a second row because the items did not fit:
|
|
the home link kept its full "All Boards" label, the logo was allowed 120px,
|
|
and TWO items had `margin-inline-start: auto`, each eating all remaining
|
|
space on its line and pushing everything after it down. Rather than let the
|
|
bar grow to two rows (or clip the right-hand items, which is what nowrap
|
|
did before that), the items below are made to FIT: icon-only home link,
|
|
smaller logo cap, one auto margin, tighter padding. */
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
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;
|
|
}
|
|
|
|
/* Home link: icon only. The label ("All Boards" / "Kaikki taulut" - it is
|
|
longer in most languages than in English) is the single widest item in the
|
|
bar, and the home icon on its own is unambiguous. The label is a bare text
|
|
node rather than a span, so it cannot be targeted directly: font-size:0 on
|
|
the link collapses it and the icon's own font-size brings the icon back.
|
|
The text stays in the DOM, so screen readers still announce it. */
|
|
#header-quick-access .home-icon {
|
|
margin-inline-end: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
#header-quick-access .home-icon a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: none;
|
|
overflow: visible;
|
|
white-space: nowrap;
|
|
font-size: 0;
|
|
padding: 4px 6px;
|
|
}
|
|
#header-quick-access .home-icon a .fa-home {
|
|
font-size: calc(16px * var(--wekan-ui-font-scale, 1));
|
|
margin-inline-end: 0;
|
|
}
|
|
/* `.allBoards` is the same element as `.home-icon`, and it carries no inline
|
|
padding at any width now (header.css). This rule cut a 15px desktop padding
|
|
down to 6px on a phone, which is half of why the All Boards house started at
|
|
a different X on every screen size. docs/Features/Header-Bar/Header.md */
|
|
#header-quick-access .allBoards {
|
|
padding-block: 4px;
|
|
padding-inline: 0;
|
|
}
|
|
|
|
.mobile-mode-toggle {
|
|
margin-inline-end: 0;
|
|
}
|
|
|
|
/* No auto margin: the bar packs from the START and wraps forward at every
|
|
width, so nothing is pushed to the far end. This one survived the sweep
|
|
that removed the others because it lives in layouts.css rather than
|
|
header.css. docs/Features/Header-Bar/Header.md */
|
|
#header-user-bar {
|
|
margin-inline-start: 0;
|
|
}
|
|
|
|
/* Ensure header elements don't wrap on very small screens */
|
|
#header-quick-access {
|
|
min-width: 0; /* Allow flexbox to shrink */
|
|
}
|
|
|
|
/* Nothing on a phone may make the PAGE scroll sideways. The quick-access bar
|
|
is `overflow: visible` on purpose, so an item that does not fit spills - and
|
|
a spill is scrollable overflow: the page could be dragged left, taking the
|
|
board list with it, and the avatar lived out there past the right edge. The
|
|
bar's items are made to fit (header.css), and this is the guarantee that a
|
|
future item, a long translation or a custom logo cannot undo that. */
|
|
html {
|
|
overflow-x: hidden;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* The logo is decorative here and was allowed a third of a 375px bar. */
|
|
#header-quick-access img {
|
|
max-height: 20px;
|
|
max-width: 84px;
|
|
}
|
|
|
|
/* Modal mobile optimization */
|
|
#modal .modal-content,
|
|
#modal .modal-content-wide {
|
|
width: 1330px;
|
|
max-width: 95vw;
|
|
margin: 18px auto;
|
|
padding: 16px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Table mobile optimization */
|
|
table {
|
|
font-size: calc(14px * var(--wekan-ui-font-scale, 1));
|
|
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 448px 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: 1260px;
|
|
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;
|
|
}
|
|
|
|
/* Vertical only. The 16px it used to carry sideways pushed the whole first bar
|
|
- the All Boards house first of all - 16px further in than at any other
|
|
width. The inset is the bar's own gutter, once, at every width.
|
|
docs/Features/Header-Bar/Header.md */
|
|
#header {
|
|
padding: 12px 0;
|
|
}
|
|
|
|
#modal .modal-content {
|
|
width: 1120px;
|
|
max-width: 600px;
|
|
}
|
|
|
|
#modal .modal-content-wide {
|
|
width: 1260px;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.setting-content .content-body {
|
|
gap: 20px;
|
|
}
|
|
|
|
/* The DEFAULT width of the left menu on a tablet. The variable, not the
|
|
`width` of the menu: a width dragged by the reader arrives as an inline
|
|
property on <html>, and a rule naming `.side-menu` here would override it
|
|
at exactly this one screen size. docs/Features/All-Boards/Left-Menu.md */
|
|
:root {
|
|
--wekan-left-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: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
}
|
|
|
|
button, .btn, .js-toggle, .js-color-choice, .js-reaction, .close {
|
|
min-height: 56px;
|
|
min-width: 56px;
|
|
padding: 16px 20px;
|
|
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
}
|
|
|
|
.minicard {
|
|
min-height: 56px;
|
|
padding: 16px;
|
|
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
|
|
}
|
|
|
|
.list {
|
|
margin: 0 8px;
|
|
min-width: 360px;
|
|
}
|
|
|
|
.board-canvas {
|
|
padding: 0;
|
|
}
|
|
|
|
/* ...and on a large display the same: no side padding of its own.
|
|
docs/Features/Header-Bar/Header.md */
|
|
#header {
|
|
padding: 0;
|
|
}
|
|
|
|
#content > .wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
#modal .modal-content {
|
|
width: 600px;
|
|
}
|
|
|
|
#modal .modal-content-wide {
|
|
width: 1000px;
|
|
}
|
|
|
|
.setting-content .content-body {
|
|
gap: 32px;
|
|
}
|
|
|
|
/* ...and on a large display, for the same reason as the tablet default above.
|
|
docs/Features/All-Boards/Left-Menu.md */
|
|
:root {
|
|
--wekan-left-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;
|
|
}
|
|
/* The administrator's login page background colour (layouts.js sets the two
|
|
custom properties and the class while the sign-in layout is shown). The
|
|
foreground is white on a dark colour and black on a light one. */
|
|
body.has-login-background {
|
|
background: var(--login-background);
|
|
}
|
|
body.has-login-background .textBelowCustomLoginLogo,
|
|
body.has-login-background .textBelowCustomLoginLogo a {
|
|
color: var(--login-foreground);
|
|
}
|
|
body.has-login-background hr {
|
|
border-color: var(--login-foreground);
|
|
opacity: 0.4;
|
|
}
|
|
/* The text under the login logo: one column, real headings, space between
|
|
paragraphs. It has no card or background of its own, so the page colour shows
|
|
through. */
|
|
.textBelowCustomLoginLogo > * {
|
|
width: 100%;
|
|
max-width: 860px;
|
|
box-sizing: border-box;
|
|
padding: 0 16px;
|
|
}
|
|
.textBelowCustomLoginLogo h1,
|
|
.textBelowCustomLoginLogo h2,
|
|
.textBelowCustomLoginLogo h3,
|
|
.support-page-content h1,
|
|
.support-page-content h2,
|
|
.support-page-content h3 {
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
margin: 1em 0 0.5em;
|
|
}
|
|
.textBelowCustomLoginLogo h1,
|
|
.support-page-content h1 { font-size: 1.8em; }
|
|
.textBelowCustomLoginLogo h2,
|
|
.support-page-content h2 { font-size: 1.45em; }
|
|
.textBelowCustomLoginLogo h3,
|
|
.support-page-content h3 { font-size: 1.2em; }
|
|
.textBelowCustomLoginLogo p,
|
|
.textBelowCustomLoginLogo ul,
|
|
.textBelowCustomLoginLogo ol,
|
|
.support-page-content p,
|
|
.support-page-content ul,
|
|
.support-page-content ol {
|
|
margin: 0 0 1em;
|
|
}
|
|
/* The support page: a centred column instead of text flush against the window's
|
|
left edge. */
|
|
.support-page {
|
|
padding: 24px 16px;
|
|
}
|
|
.support-page-content {
|
|
box-sizing: border-box;
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
padding: 24px 28px;
|
|
background: #fff;
|
|
color: #1a1a1a;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.support-page {
|
|
padding: 8px;
|
|
}
|
|
.support-page-content {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
.auth-layout .auth-dialog {
|
|
margin: 0 !important;
|
|
}
|
|
/* A provider login cannot finish at this address (loginOriginMismatch.js). */
|
|
.auth-dialog .login-origin-mismatch {
|
|
color: #b71c1c;
|
|
background: #fdecea;
|
|
border: 1px solid #f5c2c0;
|
|
border-radius: 4px;
|
|
padding: 0.6em 0.8em;
|
|
margin: 0 0 1em;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.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;
|
|
height: 100dvh;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
}
|
|
|
|
/* Keyboard undo/redo still waiting for the server (historyRecoveryNotice). */
|
|
.history-recovery-notice {
|
|
position: fixed;
|
|
inset-inline-start: 16px;
|
|
bottom: calc(16px + env(safe-area-inset-bottom, 0px));
|
|
z-index: 1000;
|
|
max-width: min(420px, calc(100vw - 32px));
|
|
padding: 12px 16px;
|
|
border: 1px solid #e6a100;
|
|
border-radius: 4px;
|
|
background: #fff8e1;
|
|
color: #333;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.history-recovery-notice p {
|
|
margin: 0 0 8px;
|
|
}
|
|
.history-recovery-notice button {
|
|
margin-inline-end: 8px;
|
|
}
|
|
/* A Scrum History undo or redo stopped on a conflict (historyRecoveryNotice):
|
|
the same box, raised above the waiting-request notice when both show. */
|
|
.history-checkpoint-notice.history-checkpoint-notice-raised {
|
|
bottom: calc(176px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
.history-checkpoint-notice .warning {
|
|
color: #b00020;
|
|
}
|
|
|
|
/* #2460: the SQRL link's QR code, on the sign-in page and in Member Settings.
|
|
A QR code needs a light quiet zone around it to scan, in either theme. */
|
|
.sqrl-box {
|
|
margin: 0.75em 0;
|
|
text-align: center;
|
|
}
|
|
.sqrl-box .sqrl-qr {
|
|
display: inline-block;
|
|
width: 12em;
|
|
max-width: 100%;
|
|
padding: 0.5em;
|
|
background: #fff;
|
|
border-radius: 4px;
|
|
}
|
|
.sqrl-box .sqrl-qr svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|