256 lines
25 KiB
CSS
256 lines
25 KiB
CSS
/* DeskHub Desktop – "Helpdesk Pro": dunkelblaue Navigation, heller Arbeitsbereich, dichte Tabellen. Hell + Dunkel + System. */
|
||
:root {
|
||
--bg: #eef1f5; --panel: #ffffff; --panel2: #f4f6f9; --line: #d9dfe6; --line-soft: #e6eaef;
|
||
--text: #1c2733; --muted: #667384; --accent: #1f8fe0; --accent2: #1678c2; --accent-soft: rgba(31,143,224,.10); --on-accent: #ffffff; --input: #ffffff;
|
||
--ok: #2fa05a; --warn: #d98200; --bad: #d63b3b; --note: #fff6dc; --cust: #eef6fd; --row-sel: #fff8c5;
|
||
--chrome: #28405a; --chrome2: #33506f; --chrome-text: #e9eff6; --chrome-muted: #a9b9cb; --chrome-hover: rgba(255,255,255,.08); --chrome-active: rgba(255,255,255,.16); --chrome-line: rgba(255,255,255,.12);
|
||
--side: var(--chrome2);
|
||
--shadow: 0 14px 36px rgba(28,39,51,.18); --shadow-sm: 0 1px 2px rgba(28,39,51,.08);
|
||
--radius: 8px; --radius-sm: 6px;
|
||
--font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||
color-scheme: light;
|
||
}
|
||
:root[data-theme="dark"] {
|
||
--bg: #0d141d; --panel: #16212d; --panel2: #1b2836; --line: #2a3b4e; --line-soft: #213040;
|
||
--text: #e7edf4; --muted: #8c9bad; --accent: #3ea6f0; --accent2: #2f93dd; --accent-soft: rgba(62,166,240,.16); --on-accent: #06192b; --input: #0f1822;
|
||
--ok: #4cc47c; --warn: #f0a63a; --bad: #f06b6b; --note: #2a2514; --cust: #152433; --row-sel: #2b2d12;
|
||
--chrome: #0a1119; --chrome2: #101b27; --chrome-text: #e4ebf3; --chrome-muted: #7f90a4; --chrome-hover: rgba(255,255,255,.06); --chrome-active: rgba(62,166,240,.18); --chrome-line: rgba(255,255,255,.08);
|
||
--shadow: 0 14px 36px rgba(0,0,0,.6); --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
|
||
color-scheme: dark;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
:root:not([data-theme]) {
|
||
--bg: #0d141d; --panel: #16212d; --panel2: #1b2836; --line: #2a3b4e; --line-soft: #213040;
|
||
--text: #e7edf4; --muted: #8c9bad; --accent: #3ea6f0; --accent2: #2f93dd; --accent-soft: rgba(62,166,240,.16); --on-accent: #06192b; --input: #0f1822;
|
||
--ok: #4cc47c; --warn: #f0a63a; --bad: #f06b6b; --note: #2a2514; --cust: #152433; --row-sel: #2b2d12;
|
||
--chrome: #0a1119; --chrome2: #101b27; --chrome-text: #e4ebf3; --chrome-muted: #7f90a4; --chrome-hover: rgba(255,255,255,.06); --chrome-active: rgba(62,166,240,.18); --chrome-line: rgba(255,255,255,.08);
|
||
--shadow: 0 14px 36px rgba(0,0,0,.6); --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
|
||
color-scheme: dark;
|
||
}
|
||
}
|
||
* { box-sizing: border-box; }
|
||
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
|
||
#titlebar { position: fixed; top: 0; left: 0; right: 0; height: 54px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 0 140px 0 14px; background: var(--chrome); color: var(--chrome-muted); font-size: 12px; font-weight: 600; letter-spacing: .03em; -webkit-app-region: drag; user-select: none; }
|
||
.logo.sm { width: 18px; height: 18px; border-radius: 5px; font-size: 11px; box-shadow: none; }
|
||
#app { height: calc(100% - 54px); margin-top: 54px; }
|
||
body.in-app #titlebar { display: none; } body.in-app #app { height: 100%; margin-top: 0; }
|
||
.topbar { -webkit-app-region: drag; } .topbar button, .topbar input { -webkit-app-region: no-drag; }
|
||
.hidden { display: none !important; }
|
||
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; } ::-webkit-scrollbar-thumb:hover { background: var(--muted); background-clip: content-box; } ::-webkit-scrollbar-track { background: transparent; }
|
||
button, input, select, textarea { font: inherit; color: inherit; }
|
||
input, select, textarea { background: var(--input); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 11px; width: 100%; transition: border-color .15s, box-shadow .15s; }
|
||
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
|
||
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||
input[type=checkbox] { width: 16px; height: 16px; padding: 0; accent-color: var(--accent); }
|
||
input.narrow { width: 80px; }
|
||
textarea { resize: vertical; min-height: 110px; }
|
||
textarea.tall { min-height: 260px; } textarea.editor { min-height: 140px; } textarea.noteedit { background: var(--note); }
|
||
label { display: block; margin: 12px 0 5px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
|
||
label.check { display: flex; gap: 9px; align-items: center; color: var(--text); font-size: 14px; font-weight: 400; margin: 6px 0; cursor: pointer; }
|
||
kbd { background: var(--panel2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font: 11px var(--font); color: var(--muted); }
|
||
h4 { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
|
||
|
||
/* Buttons */
|
||
.btn { background: var(--accent); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 8px 16px; cursor: pointer; color: var(--on-accent); font-weight: 600; white-space: nowrap; transition: background .15s, transform .05s, box-shadow .15s; box-shadow: var(--shadow-sm); }
|
||
.btn:hover { background: var(--accent2); }
|
||
.btn:active { transform: translateY(1px); }
|
||
.btn:focus-visible, .nav:focus-visible, .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; font-weight: 500; }
|
||
.btn.ghost:hover { background: var(--panel2); border-color: var(--muted); }
|
||
.btn.danger { background: var(--bad); color: #fff; } .btn.danger:hover { filter: brightness(.92); }
|
||
.btn.ok { background: var(--ok); color: #052e16; }
|
||
.btn.sm { padding: 3px 10px; font-size: 12px; }
|
||
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
|
||
.muted { color: var(--muted); } .over { color: var(--bad); } .nowrap { white-space: nowrap; } .pad { padding: 12px; }
|
||
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
|
||
.row.top { margin-top: 12px; } .row.pager { margin-top: 12px; justify-content: center; }
|
||
.grow { flex: 1; } .row > select, .row > input:not([type=checkbox]) { width: auto; min-width: 140px; }
|
||
|
||
/* Login */
|
||
.login { height: 100%; display: grid; place-items: center; background: radial-gradient(900px 500px at 15% 0%, var(--accent-soft), transparent 60%), radial-gradient(700px 400px at 100% 100%, var(--accent-soft), transparent 55%), var(--bg); }
|
||
.login .card { width: 410px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
|
||
.login h1 { margin: 14px 0 4px; font-size: 24px; letter-spacing: -.01em; }
|
||
.err { color: var(--bad); margin-top: 10px; min-height: 18px; }
|
||
|
||
/* Layout */
|
||
.shell { display: grid; grid-template-columns: 232px 1fr; grid-template-rows: 54px 1fr; height: 100%; }
|
||
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 154px 0 18px; background: var(--chrome); color: var(--chrome-text); border-bottom: 1px solid var(--chrome-line); }
|
||
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; min-width: 196px; }
|
||
/* Das Zeichen („D“ weiß, „H“ orange) kommt aus assets/logo.png; der Buchstabe im Markup bleibt als Ersatz unsichtbar */
|
||
.logo { width: 30px; height: 30px; border-radius: 8px; background: url(assets/logo.png) center / cover no-repeat; color: transparent; display: grid; place-items: center; font-size: 0; font-weight: 700; overflow: hidden; }
|
||
.topbar .btn.ok { background: #2fa05a; color: #fff; border-color: transparent; }
|
||
.topbar .btn.ok:hover { background: #278a4d; }
|
||
.searchbtn { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 360px; max-width: 38vw; background: #fff; color: #6b7785; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 7px 11px; cursor: pointer; font-weight: 400; }
|
||
:root[data-theme="dark"] .searchbtn { background: #0f1822; color: #8c9bad; border-color: var(--chrome-line); }
|
||
.searchbtn:hover { box-shadow: 0 0 0 3px var(--accent-soft); }
|
||
.searchbtn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
||
.searchbtn .nl { display: flex; align-items: center; gap: 8px; }
|
||
.searchbtn kbd { background: #eef1f5; border-color: #d9dfe6; color: #667384; }
|
||
:root[data-theme="dark"] .searchbtn kbd { background: #1b2836; border-color: #2a3b4e; color: #8c9bad; }
|
||
.topbar .spacer { flex: 1; }
|
||
.topbar .who { display: flex; align-items: center; gap: 10px; }
|
||
.topbar .avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
|
||
.topbar .who .name { font-weight: 600; font-size: 13px; line-height: 1.1; } .topbar .who .role { font-size: 11px; color: var(--chrome-muted); }
|
||
.topbar .btn.ghost { color: var(--chrome-text); border-color: var(--chrome-line); } .topbar .btn.ghost:hover { background: var(--chrome-hover); border-color: var(--chrome-muted); }
|
||
.side { background: var(--chrome2); display: flex; flex-direction: column; padding: 12px 10px; gap: 2px; overflow: auto; }
|
||
.nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); cursor: pointer; color: var(--chrome-muted); border: 0; background: none; text-align: left; width: 100%; font-weight: 500; transition: background .12s, color .12s; position: relative; }
|
||
.nav .nl { display: flex; align-items: center; gap: 12px; }
|
||
.nav svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
||
.nav:hover { background: var(--chrome-hover); color: var(--chrome-text); }
|
||
.nav.active { background: var(--chrome-active); color: #fff; font-weight: 600; }
|
||
.nav.active::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: #5bbcff; }
|
||
.badge { background: var(--bad); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11px; font-weight: 700; min-width: 20px; text-align: center; }
|
||
.spacer { flex: 1; }
|
||
.main { overflow: auto; padding: 20px 28px 40px; background: var(--bg); }
|
||
h2 { margin: 0 0 18px; font-size: 24px; font-weight: 700; letter-spacing: -.015em; } h3 { margin: 22px 0 10px; font-size: 15px; font-weight: 650; }
|
||
|
||
/* Cards / tables */
|
||
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 10px; }
|
||
.stat { background: var(--panel); border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .12s, box-shadow .12s, border-color .12s; }
|
||
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
|
||
.stat.active { border-color: var(--accent); }
|
||
.stat.link { cursor: pointer; } .stat.link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
|
||
.stat .n { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
|
||
.stat.bad::before { background: var(--bad); } .stat.bad .n { color: var(--bad); }
|
||
.stat.warn::before { background: var(--warn); } .stat.ok::before { background: var(--ok); }
|
||
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
|
||
.panel.flush { padding: 0; overflow: hidden; }
|
||
.split2 { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }
|
||
.bar { margin-bottom: 12px; } .track { height: 8px; background: var(--panel2); border-radius: 4px; overflow: hidden; margin-top: 5px; } .fill { height: 100%; background: var(--accent); border-radius: 4px; }
|
||
table { width: 100%; border-collapse: collapse; }
|
||
th { text-align: left; color: var(--text); font-weight: 650; font-size: 12.5px; padding: 9px 12px; background: var(--panel); border-bottom: 2px solid var(--line); white-space: nowrap; }
|
||
td { padding: 8px 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
|
||
table.tickets tr.overdue td:first-child { box-shadow: inset 3px 0 var(--bad); }
|
||
.chk { width: 36px; }
|
||
tr.click { cursor: pointer; transition: background .08s; } tr.click:hover td { background: var(--accent-soft); } tr.click.sel td { background: var(--row-sel); }
|
||
.pill { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .01em; }
|
||
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
|
||
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
|
||
.toolbar input.search { max-width: 400px; } .toolbar select { max-width: 200px; }
|
||
.bulk { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--accent); color: var(--on-accent); padding: 9px 14px; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
|
||
.bulk select { width: auto; color: var(--text); }
|
||
.checks { max-height: 230px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 12px; background: var(--input); }
|
||
.tabs { display: flex; gap: 4px; margin-bottom: 14px; padding: 4px; background: var(--panel2); border: 1px solid var(--line-soft); border-radius: var(--radius); } .tabs.wrap { flex-wrap: wrap; }
|
||
.tab { flex: 1; padding: 7px 14px; border-radius: var(--radius-sm); cursor: pointer; border: 0; background: transparent; color: var(--muted); font-weight: 500; text-align: center; transition: all .12s; }
|
||
.tab:hover { background: var(--panel); color: var(--text); } .tab.active { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: var(--shadow-sm); }
|
||
|
||
/* Ticket */
|
||
.split { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }
|
||
.thread { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 17px; margin-bottom: 12px; border-left: 4px solid var(--line); box-shadow: var(--shadow-sm); }
|
||
.thread.staff { border-left-color: var(--accent); } .thread.cust { background: var(--cust); border-left-color: var(--ok); }
|
||
.thread.note { border-left-color: var(--warn); background: var(--note); }
|
||
.thread .head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
|
||
.thread .body { white-space: pre-wrap; word-break: break-word; line-height: 1.55; }
|
||
.thread .att, .thread .comment { margin-top: 9px; font-size: 12px; } .thread .tools { margin-top: 9px; }
|
||
.comment { border-top: 1px dashed var(--line); padding-top: 7px; }
|
||
.mini { padding: 6px 6px; cursor: pointer; border-radius: 6px; font-size: 12px; } .mini:hover { background: var(--panel2); }
|
||
.warnbox { background: var(--note); border: 1px solid var(--warn); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; }
|
||
.setting { margin-bottom: 10px; } .hint { margin: -2px 0 8px 26px; font-size: 12px; }
|
||
|
||
/* Chat */
|
||
.chatwrap { display: grid; grid-template-columns: 260px 1fr; gap: 16px; height: calc(100vh - 130px); }
|
||
.chatlist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
|
||
.chatlist .item { padding: 11px 14px; cursor: pointer; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
|
||
.chatlist .item.active, .chatlist .item:hover { background: var(--accent-soft); }
|
||
.chatbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; padding-top: 8px; }
|
||
.msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
|
||
.msg { max-width: 70%; padding: 8px 13px; border-radius: 14px 14px 14px 4px; background: var(--panel2); white-space: pre-wrap; word-break: break-word; }
|
||
.msg.mine { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-radius: 14px 14px 4px 14px; }
|
||
.msg small { display: block; opacity: .65; font-size: 10px; }
|
||
.chatinput { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); }
|
||
|
||
/* Modal, Palette, Toast */
|
||
.modal-bg { position: fixed; inset: 0; background: rgba(8,9,20,.55); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 10; animation: fade .15s ease; }
|
||
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; width: 600px; max-width: 94vw; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); animation: pop .18s ease; }
|
||
.modal h2 { font-size: 20px; margin-bottom: 8px; }
|
||
.modal .row.rule { flex-wrap: nowrap; } .modal .row.rule > * { min-width: 0; }
|
||
.palette-bg { align-items: start; padding-top: 12vh; }
|
||
.palette { width: 640px; max-width: 94vw; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; animation: pop .15s ease; }
|
||
.palette-input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 18px; font-size: 16px; background: transparent; }
|
||
.palette-input:focus { box-shadow: none; }
|
||
.palette-list { max-height: 360px; overflow: auto; padding: 6px; }
|
||
.palette-item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; cursor: pointer; border-radius: var(--radius-sm); }
|
||
.palette-item.active, .palette-item:hover { background: var(--accent); color: var(--on-accent); } .palette-item.active .muted, .palette-item:hover .muted { color: inherit; opacity: .75; }
|
||
.toast { position: fixed; right: 22px; bottom: 22px; background: var(--panel2); border: 1px solid var(--line); border-left: 4px solid var(--ok); padding: 11px 18px; border-radius: var(--radius-sm); z-index: 30; box-shadow: var(--shadow); animation: pop .18s ease; }
|
||
.toast.error { border-left-color: var(--bad); }
|
||
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
|
||
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; cursor: pointer; font-weight: 600; box-shadow: var(--shadow-sm); transition: transform .12s, border-color .12s, box-shadow .12s; }
|
||
.tile .tt { font-weight: 600; }
|
||
.tile .td { font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
|
||
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||
.tilegroup { margin-bottom: 26px; }
|
||
.grouplabel { margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||
.navsep { height: 1px; background: var(--chrome-hover); margin: 8px 6px; }
|
||
.tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--accent); }
|
||
.bulk .btn.ghost { color: inherit; border-color: rgba(255,255,255,.55); } .bulk .btn.ghost:hover { background: rgba(255,255,255,.18); }
|
||
.sect { margin: 16px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
|
||
.pagehead { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; } .pagehead h2 { margin: 0 0 2px; } .sub { color: var(--muted); font-size: 13px; }
|
||
|
||
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
|
||
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
|
||
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
|
||
@media (max-width: 980px) { .split, .split2 { grid-template-columns: 1fr; } .shell { grid-template-columns: 210px 1fr; } .main { padding: 20px; } }
|
||
|
||
/* Banner (Verbindung / Systemstörungen) */
|
||
.mainwrap { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
|
||
.mainwrap .main { flex: 1; min-height: 0; }
|
||
#banners:empty { display: none; }
|
||
.banner { display: flex; align-items: center; gap: 12px; padding: 9px 20px; font-weight: 500; border-bottom: 1px solid var(--line); }
|
||
.banner.error { background: var(--bad); color: #fff; border-color: transparent; }
|
||
.banner.warn { background: var(--note); color: var(--text); border-bottom-color: var(--warn); }
|
||
.banner .btn.ghost { color: inherit; border-color: rgba(255,255,255,.6); } .banner.warn .btn.ghost { border-color: var(--line); }
|
||
|
||
/* Gespeicherte Ansichten */
|
||
.viewsbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 12px; } .viewsbar:empty { display: none; }
|
||
.viewlabel { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
|
||
.viewchip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); overflow: hidden; }
|
||
.viewchip.active { border-color: var(--accent); background: var(--accent-soft); }
|
||
.viewbtn, .viewx { border: 0; background: none; cursor: pointer; color: var(--text); padding: 4px 12px; } .viewx { padding: 4px 8px 4px 2px; color: var(--muted); } .viewx:hover { color: var(--bad); }
|
||
.viewchip.active .viewbtn { color: var(--accent); font-weight: 600; }
|
||
|
||
.checks.wide { display: flex; flex-wrap: wrap; gap: 4px 18px; max-height: none; margin-top: 8px; } .checks.wide .check { margin: 2px 0; }
|
||
tr.totalrow td { font-weight: 700; background: var(--panel2); border-top: 2px solid var(--line); }
|
||
|
||
/* Ticket-Detailansicht */
|
||
.tkhead { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; }
|
||
.tkhead-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
|
||
.tkhead h2 { margin: 0 0 4px; font-size: 22px; }
|
||
.chip { background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 9px; font-weight: 600; font-size: 12px; color: var(--muted); }
|
||
.tkactions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
|
||
.sect.first { margin-top: 0; }
|
||
.props { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; align-items: center; }
|
||
.props dt { color: var(--muted); font-size: 12px; font-weight: 600; } .props dd { margin: 0; min-width: 0; }
|
||
.props select { width: 100%; }
|
||
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
|
||
.avatar.sm { width: 24px; height: 24px; font-size: 10px; }
|
||
.custcard { display: flex; align-items: center; gap: 12px; }
|
||
.thread .head .who { display: inline-flex; align-items: center; gap: 8px; }
|
||
.thread .kind { background: var(--panel2); border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 600; }
|
||
.thread.note .kind { background: rgba(217,130,0,.18); color: var(--warn); } .thread.cust .kind { background: rgba(47,160,90,.16); color: var(--ok); }
|
||
.composer { border-top: 3px solid var(--accent); }
|
||
.sigbox { margin: 8px 0 4px; }
|
||
.sigbox .row { align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
|
||
.sigbox select { max-width: 280px; }
|
||
.sigpreview { border: 1px dashed var(--line); border-radius: 8px; padding: 8px 10px; font-size: .85rem; line-height: 1.5; color: var(--muted); background: var(--panel2); overflow: auto; max-height: 260px; }
|
||
.sigpreview.text { white-space: pre-wrap; }
|
||
.sigpreview p { margin: 0 0 6px; } .sigpreview p:last-child { margin-bottom: 0; }
|
||
.sigpreview img { max-width: 100%; height: auto; vertical-align: middle; }
|
||
|
||
/* Bewertungen (Zufriedenheitsabfrage) und Störungsmeldungen */
|
||
.stars { color: #f5b301; letter-spacing: 1px; }
|
||
.stars.big { font-size: 1.6rem; font-weight: 700; margin-right: 10px; }
|
||
.csat-comment { margin: 4px 0; }
|
||
.incident { padding: 10px 0; border-top: 1px solid var(--line, rgba(128,128,128,.25)); }
|
||
.incident:first-of-type { border-top: 0; }
|
||
|
||
/* Sprachwechsler (Flaggen) */
|
||
.lang-switch { display: inline-flex; gap: 6px; align-items: center; margin-right: 12px; -webkit-app-region: no-drag; }
|
||
.lang-flag { border: 0; background: none; padding: 2px; border-radius: 5px; opacity: .6; cursor: pointer; line-height: 0; }
|
||
.lang-flag:hover { opacity: .9; }
|
||
.lang-flag.on { opacity: 1; outline: 2px solid var(--accent, #14b8a6); outline-offset: 1px; }
|
||
.lang-flag img { display: block; width: 24px; height: 16px; object-fit: cover; border-radius: 3px; }
|
||
.login-lang { text-align: right; margin: -4px 0 8px; }
|
||
|
||
/* Mac und Linux: normaler Fensterrahmen, keine eigene Titelleiste und kein Platz für die Windows-Fensterknöpfe */
|
||
html.native-frame #titlebar { display: none; } html.native-frame #app { height: 100%; margin-top: 0; } html.native-frame .topbar { padding-right: 18px; }
|