Files
thandClaude Opus 4.7 8cbec8d601 v2.0.13 — edge-to-edge fullscreen overlays, rounded-cards badge variant
- Overlays: drop the 24/40/54px inset frame on tasks, calendar,
  gallery, search, detail, edit modal, bookmarks, email, gitea and
  oumta-dashboard so they fill the viewport like the support
  overlay does. Removed the shared border-radius + overflow:hidden
  rule on their inner containers (only settings + dialog still use
  it) so the card's top colour bar isn't clipped.
- Done badge: the corner-triangle variant gets chopped by rounded
  card borders. applyDesign now toggles body.rounded-cards whenever
  --ui-radius-card > 0, and the CSS swaps the triangle for a 18px
  circle pill with the check centred. Triangle stays for square
  cards.
- Support plugin: "Close ticket" button is a regular labelled
  button now (was a 30×30 icon ghost that clipped the text). Empty
  hero state ("select a ticket") matches the board's empty style —
  centred in the column with a pixel-font blink-cursor label.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 12:34:50 +02:00

258 lines
5.9 KiB
CSS

/* ── Bookmarks plugin ── */
/* Board card override: the MutationObserver replaces the card's
innerHTML with a coloured tile (card.color as bg) showing a
centered link icon + the title. No body preview, no tags, no
metadata — just a clean, recognisable tile. */
.board-card.bm-card {
border: none !important;
cursor: pointer;
overflow: hidden;
}
.bm-card-inner {
display: flex;
flex-direction: column;
height: 100%;
min-height: 100px;
}
.bm-card-center {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
padding: 20px 14px 8px;
}
.bm-card-icon {
font-size: 42px;
color: rgba(0,0,0,0.2);
}
.bm-card-title {
font-family: var(--t-font-pixel);
font-size: 11px;
color: rgba(0,0,0,0.55);
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.bm-card-meta {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
font-family: var(--t-font-pixel);
font-size: 9px;
color: rgba(255,255,255,0.55);
text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.bm-card-meta i { font-size: 10px; margin-right: 2px; }
/* Overlay shell */
.bookmarks-shell {
position: absolute;
inset: 0;
background: var(--t-surface);
display: flex;
flex-direction: column;
overflow: hidden;
}
.bookmarks-header {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
border-bottom: 1px solid var(--t-border);
background: var(--t-bg);
flex-shrink: 0;
}
.bm-btn {
background: none;
border: 1px solid var(--t-border);
color: var(--t-muted);
padding: 4px 8px;
cursor: pointer;
transition: border-color 0.12s, color 0.12s;
}
.bm-btn:hover { border-color: var(--t-accent); color: var(--t-accent); }
/* Column width slider — full width */
.bookmarks-slider-row {
padding: 6px 16px;
border-bottom: 1px solid var(--t-border);
background: var(--t-bg);
flex-shrink: 0;
}
.bookmarks-slider {
width: 100%;
height: 4px;
-webkit-appearance: none;
appearance: none;
background: var(--t-border);
border-radius: 2px;
outline: none;
cursor: pointer;
}
.bookmarks-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 14px; height: 14px; border-radius: 50%;
background: var(--t-accent); cursor: pointer; border: none;
}
.bookmarks-slider::-moz-range-thumb {
width: 14px; height: 14px; border-radius: 50%;
background: var(--t-accent); cursor: pointer; border: none;
}
/* Column container — horizontal scroll, wheel redirected by JS */
.bookmarks-columns {
flex: 1;
display: flex;
gap: 12px;
padding: 14px 16px;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
}
.bookmarks-columns::-webkit-scrollbar { display: none; }
/* Single column */
.bm-col {
flex: 0 0 var(--bm-col-w, 220px);
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.bm-col-header {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 6px;
border-bottom: 1px solid var(--t-border);
flex-shrink: 0;
}
.bm-col-header .bm-col-name {
font-family: var(--t-font-pixel);
font-size: 10px;
color: var(--t-bright);
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
transition: color 0.12s;
}
.bm-col-header .bm-col-name:hover { color: var(--t-accent); }
.bm-col-header .bm-col-add {
background: none;
border: none;
color: var(--t-dim);
cursor: pointer;
font-size: 12px;
padding: 2px;
transition: color 0.12s;
}
.bm-col-header .bm-col-add:hover { color: var(--t-accent); }
.bm-col-items {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 4px;
}
/* Bookmark item */
.bm-item {
display: flex;
align-items: center;
gap: 8px;
padding: 7px 10px;
background: var(--t-raised, var(--t-surface));
border: 1px solid var(--t-border);
border-radius: var(--ui-radius-card, 3px);
cursor: pointer;
user-select: none;
transition: border-color 0.12s, background 0.12s;
min-width: 0;
}
.bm-item:hover {
border-color: var(--t-accent);
background: color-mix(in srgb, var(--t-accent) 6%, var(--t-surface));
}
.bm-item .bm-favicon {
width: 16px;
height: 16px;
flex-shrink: 0;
border-radius: 2px;
object-fit: contain;
}
.bm-item .bm-favicon-placeholder {
width: 16px;
height: 16px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: var(--t-dim);
font-size: 12px;
}
.bm-item .bm-item-title {
flex: 1;
font-size: 11px;
color: var(--t-muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bm-item:hover .bm-item-title { color: var(--t-bright); }
.bm-item.dragging { opacity: 0.4; }
.bm-item.bm-drop-above {
box-shadow: 0 -2px 0 0 var(--t-accent);
}
.bm-item.bm-drop-below {
box-shadow: 0 2px 0 0 var(--t-accent);
}
/* Context menu */
.bm-ctx {
position: fixed;
z-index: 300;
background: var(--t-surface);
border: 1px solid var(--t-border);
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
border-radius: var(--ui-radius-modal, 4px);
min-width: 140px;
padding: 4px 0;
}
.bm-ctx button {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 6px 12px;
background: none;
border: none;
color: var(--t-muted);
font-size: 11px;
cursor: pointer;
text-align: left;
transition: background 0.08s, color 0.08s;
}
.bm-ctx button:hover { background: var(--t-raised); color: var(--t-bright); }
.bm-ctx button.danger:hover { color: var(--t-danger); }
/* Empty column state */
.bm-col-empty {
padding: 16px 8px;
text-align: center;
font-size: 10px;
color: var(--t-dim);
font-family: var(--t-font-pixel);
}