You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
636 lines
16 KiB
CSS
636 lines
16 KiB
CSS
/* Ticket-only user surfaces. The account design system remains responsible
|
|
for shared tokens, cards, buttons and generic form controls. */
|
|
|
|
body.vu-body :where(.vu-support-actions) {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero-main, .vu-support-summary) {
|
|
min-width: 0;
|
|
padding: 26px;
|
|
color: var(--vu-text);
|
|
background: var(--vu-panel);
|
|
border: 1px solid var(--vu-border);
|
|
border-radius: 13px;
|
|
box-shadow: var(--vu-shadow);
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero) {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.75fr) minmax(270px, .8fr);
|
|
gap: 20px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary {
|
|
display: grid;
|
|
grid-template-rows: repeat(3, minmax(0, 1fr));
|
|
align-content: stretch;
|
|
gap: 0;
|
|
padding: 16px 22px;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 72px;
|
|
padding: 14px 0 14px 14px;
|
|
border-bottom: 1px solid var(--vu-border);
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div::before {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
width: 4px;
|
|
height: 28px;
|
|
border-radius: 999px;
|
|
background: var(--vu-brand);
|
|
content: "";
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div:nth-child(2)::before { background: #36b998; }
|
|
body.vu-body .vu-support-summary > div:nth-child(3)::before { background: #aab7c2; }
|
|
body.vu-body .vu-support-summary > div:last-child { border-bottom: 0; }
|
|
body.vu-body .vu-support-summary > .is-open strong { color: var(--vu-brand-strong); }
|
|
body.vu-body .vu-support-summary > .is-closed strong { color: var(--vu-muted); }
|
|
|
|
body.vu-body .vu-support-summary > div > span {
|
|
color: var(--vu-muted);
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div > strong {
|
|
min-width: 2ch;
|
|
color: var(--vu-text);
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1;
|
|
text-align: right;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero-main) {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: clamp(28px, 3vw, 40px);
|
|
background: var(--vu-panel);
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero-main)::after {
|
|
position: absolute;
|
|
right: -50px;
|
|
bottom: -85px;
|
|
width: 190px;
|
|
height: 190px;
|
|
content: "";
|
|
border: 1px solid rgba(21, 157, 169, .14);
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 34px rgba(21, 157, 169, .045);
|
|
pointer-events: none;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero-main) > * { position: relative; z-index: 1; }
|
|
|
|
body.vu-body :where(.vu-support-hero-main) h2 {
|
|
margin: 17px 0 10px;
|
|
font-size: clamp(24px, 3vw, 32px);
|
|
line-height: 1.24;
|
|
letter-spacing: -.7px;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-hero-main) p {
|
|
max-width: 720px;
|
|
margin: 0;
|
|
color: var(--vu-text-soft);
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-detail-layout, .vu-support-editor-layout) {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.7fr) minmax(270px, .72fr);
|
|
align-items: start;
|
|
gap: 20px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-thread) { min-width: 0; }
|
|
body.vu-body .vu-support-reply { margin-top: 14px; }
|
|
body.vu-body .vu-support-form { display: grid; gap: 18px; }
|
|
|
|
body.vu-body .vu-support-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
color: var(--vu-text-soft);
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
body.vu-body .vu-support-textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
|
|
|
|
body.vu-body :where(.vu-support-status) {
|
|
width: fit-content;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 10px;
|
|
color: var(--vu-success);
|
|
background: var(--vu-success-soft);
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
body.vu-body .vu-support-status.is-closed { color: var(--vu-muted); background: var(--vu-panel-soft); }
|
|
|
|
body.vu-body :where(.vu-support-message) {
|
|
display: none;
|
|
padding: 12px 14px;
|
|
color: var(--vu-success);
|
|
background: var(--vu-success-soft);
|
|
border: 1px solid rgba(32, 135, 100, .12);
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-message).is-visible { display: block; }
|
|
|
|
body.vu-body :where(.vu-support-message).error {
|
|
color: var(--vu-danger);
|
|
background: var(--vu-danger-soft);
|
|
border-color: rgba(196, 62, 75, .12);
|
|
}
|
|
|
|
body.vu-body .vu-support-list { display: grid; gap: 11px; }
|
|
|
|
body.vu-body .vu-support-ticket {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 18px;
|
|
background: var(--vu-panel-soft);
|
|
border: 1px solid var(--vu-border);
|
|
border-radius: 11px;
|
|
}
|
|
|
|
body.vu-body .vu-support-ticket-main { min-width: 0; }
|
|
|
|
body.vu-body .vu-support-ticket-main h3 {
|
|
margin: 5px 0 6px;
|
|
color: var(--vu-text);
|
|
font-size: 15px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
body.vu-body .vu-support-ticket-main p,
|
|
body.vu-body .vu-support-id { margin: 0; color: var(--vu-muted); font-size: 11px; }
|
|
|
|
body.vu-body .vu-support-ticket-side {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
body.vu-body .vu-support-message-item {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-top: 14px;
|
|
padding: 20px;
|
|
background: var(--vu-panel);
|
|
border: 1px solid var(--vu-border);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.vu-body .vu-support-message-item.is-admin {
|
|
background: var(--vu-panel-tint);
|
|
border-color: rgba(15, 158, 170, .2);
|
|
}
|
|
|
|
body.vu-body .vu-support-message-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
flex: 0 0 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--vu-brand);
|
|
background: var(--vu-brand-soft);
|
|
border-radius: 10px;
|
|
font-size: 21px;
|
|
}
|
|
|
|
body.vu-body .vu-support-message-body { min-width: 0; flex: 1; }
|
|
|
|
body.vu-body .vu-support-message-head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: var(--vu-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
body.vu-body .vu-support-message-body p {
|
|
margin: 12px 0 0;
|
|
line-height: 1.8;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
body.vu-body .vu-support-info { display: grid; gap: 0; margin-bottom: 20px; }
|
|
|
|
body.vu-body .vu-support-aside {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.vu-body .vu-support-facts-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
list-style: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.vu-body .vu-support-facts-summary::-webkit-details-marker { display: none; }
|
|
body.vu-body .vu-support-facts-summary h2 { margin-bottom: 0; }
|
|
|
|
body.vu-body .vu-support-facts-toggle {
|
|
width: 34px;
|
|
height: 34px;
|
|
flex: 0 0 34px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
color: var(--vu-brand-strong);
|
|
background: var(--vu-brand-soft);
|
|
border-radius: 9px;
|
|
transition: transform .18s ease;
|
|
}
|
|
|
|
body.vu-body .vu-support-aside[open] .vu-support-facts-toggle { transform: rotate(180deg); }
|
|
body.vu-body .vu-support-facts-body { padding-top: 14px; }
|
|
|
|
body.vu-body .vu-support-info > div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 13px 0;
|
|
border-bottom: 1px solid var(--vu-border);
|
|
}
|
|
|
|
body.vu-body .vu-support-info span { color: var(--vu-muted); font-size: 12px; }
|
|
body.vu-body .vu-support-info strong { min-width: 0; text-align: right; }
|
|
|
|
body.vu-body .vu-support-instance-fact strong {
|
|
display: grid;
|
|
justify-items: end;
|
|
gap: 3px;
|
|
}
|
|
|
|
body.vu-body .vu-support-instance-fact a {
|
|
color: var(--vu-brand-strong);
|
|
overflow-wrap: anywhere;
|
|
text-decoration: none;
|
|
}
|
|
|
|
body.vu-body .vu-support-instance-fact small {
|
|
color: var(--vu-muted);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
}
|
|
body.vu-body .vu-support-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
|
|
body.vu-body .vu-support-ticket-kicker {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
body.vu-body .vu-support-ticket-kicker .vu-support-id { flex: 0 0 auto; }
|
|
|
|
body.vu-body .vu-ticket-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 20px;
|
|
padding: 2px 7px;
|
|
color: var(--vu-brand-strong);
|
|
background: var(--vu-brand-soft);
|
|
border-radius: 999px;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
body.vu-body .vu-ticket-tag.is-high { color: #9b681d; background: #fff5df; }
|
|
body.vu-body .vu-support-ticket-main > p { display: flex; align-items: center; gap: 5px; }
|
|
body.vu-body .vu-support-ticket-main > p i { font-size: 14px; }
|
|
body.vu-body .vu-support-upload-field { display: grid; gap: 10px; }
|
|
|
|
body.vu-body .vu-support-upload-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: var(--vu-text-soft);
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
body.vu-body .vu-support-upload-head small,
|
|
body.vu-body .vu-support-upload-limit { color: var(--vu-muted); font-size: 11px; font-weight: 600; }
|
|
|
|
body.vu-body .vu-support-dropzone {
|
|
min-height: 112px;
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 4px;
|
|
padding: 16px;
|
|
color: var(--vu-text-soft);
|
|
background: var(--vu-panel-soft);
|
|
border: 1px dashed var(--vu-border-strong);
|
|
border-radius: 11px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.vu-body .vu-support-dropzone:hover,
|
|
body.vu-body .vu-support-dropzone.is-dragover {
|
|
color: var(--vu-brand-strong);
|
|
background: var(--vu-brand-soft);
|
|
border-color: var(--vu-brand);
|
|
}
|
|
|
|
body.vu-body .vu-support-upload-field:has(input[type="file"]:focus-visible) .vu-support-dropzone {
|
|
outline: 3px solid rgba(21, 157, 169, .28);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
body.vu-body .vu-support-dropzone i { color: var(--vu-brand); font-size: 24px; }
|
|
body.vu-body .vu-support-dropzone span { font-size: 13px; }
|
|
body.vu-body .vu-support-dropzone strong { color: var(--vu-brand-strong); }
|
|
body.vu-body .vu-support-dropzone small { color: var(--vu-muted); font-size: 11px; }
|
|
|
|
body.vu-body .vu-support-upload-field > input[type="file"] {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
clip-path: inset(50%);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-list[hidden] { display: none; }
|
|
|
|
body.vu-body .vu-support-file {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
background: var(--vu-panel-soft);
|
|
border: 1px solid var(--vu-border);
|
|
border-radius: 9px;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-preview {
|
|
width: 38px;
|
|
height: 38px;
|
|
flex: 0 0 38px;
|
|
display: grid;
|
|
place-items: center;
|
|
overflow: hidden;
|
|
color: var(--vu-brand);
|
|
background: var(--vu-brand-soft);
|
|
border-radius: 7px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-preview img { width: 100%; height: 100%; object-fit: cover; }
|
|
body.vu-body .vu-support-file-copy { min-width: 0; flex: 1; }
|
|
|
|
body.vu-body .vu-support-file-copy strong,
|
|
body.vu-body .vu-support-file-copy small {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-copy strong { color: var(--vu-text-soft); font-size: 11px; }
|
|
body.vu-body .vu-support-file-copy small { margin-top: 2px; color: var(--vu-muted); font-size: 10px; }
|
|
|
|
body.vu-body .vu-support-file-remove {
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
color: var(--vu-muted);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.vu-body .vu-support-file-remove:hover { color: var(--vu-danger); background: var(--vu-danger-soft); }
|
|
body.vu-body .vu-support-attachments { display: grid; gap: 7px; margin-top: 14px; }
|
|
|
|
body.vu-body .vu-support-attachment {
|
|
min-width: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
padding: 7px 9px;
|
|
color: var(--vu-brand-strong);
|
|
background: var(--vu-brand-soft);
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
body.vu-body .vu-support-attachment:hover { background: #d5eff1; }
|
|
|
|
body.vu-body .vu-support-attachment-thumb {
|
|
width: 34px;
|
|
height: 28px;
|
|
flex: 0 0 34px;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
background: var(--vu-panel);
|
|
}
|
|
|
|
body.vu-body .vu-support-attachment span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
body.vu-body .vu-support-attachment small {
|
|
flex: 0 0 auto;
|
|
color: var(--vu-muted);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-tips) { display: grid; gap: 11px; }
|
|
|
|
body.vu-body :where(.vu-support-tips) > div {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 11px;
|
|
padding: 13px;
|
|
color: var(--vu-text-soft);
|
|
background: var(--vu-panel-soft);
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
body.vu-body :where(.vu-support-tips) i {
|
|
flex: none;
|
|
color: var(--vu-brand);
|
|
font-size: 18px;
|
|
}
|
|
|
|
body.vu-body :where(
|
|
.vu-support-facts-summary,
|
|
.vu-support-dropzone,
|
|
.vu-support-file-remove,
|
|
.vu-support-attachment,
|
|
.vu-support-instance-fact a
|
|
):focus-visible {
|
|
outline: 3px solid rgba(21, 157, 169, .28);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
body.vu-body :where(.vu-support-hero, .vu-support-detail-layout, .vu-support-editor-layout) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
grid-template-rows: none;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div {
|
|
grid-template-columns: 1fr;
|
|
justify-items: center;
|
|
min-height: 76px;
|
|
padding: 12px 10px;
|
|
border-right: 1px solid var(--vu-border);
|
|
border-bottom: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div::before {
|
|
top: 12px;
|
|
right: 0;
|
|
bottom: 12px;
|
|
left: auto;
|
|
width: 3px;
|
|
height: auto;
|
|
transform: none;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div:last-child { border-right: 0; }
|
|
|
|
body.vu-body .vu-support-thread {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body.vu-body .vu-support-messages { order: 1; }
|
|
body.vu-body .vu-support-thread > .vu-table-footer { order: 2; }
|
|
body.vu-body .vu-support-reply { order: 3; margin-top: 14px; }
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
body.vu-body :where(.vu-support-hero-main, .vu-support-summary) {
|
|
padding: 21px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.vu-body .vu-support-ticket { align-items: flex-start; flex-direction: column; }
|
|
body.vu-body .vu-support-ticket-side { width: 100%; justify-content: space-between; }
|
|
|
|
body.vu-body .vu-support-summary {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: repeat(3, minmax(0, auto));
|
|
padding: 14px 18px;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
justify-items: stretch;
|
|
min-height: 62px;
|
|
padding: 11px 0 11px 12px;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--vu-border);
|
|
text-align: left;
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div::before {
|
|
top: 50%;
|
|
right: auto;
|
|
bottom: auto;
|
|
left: 0;
|
|
width: 3px;
|
|
height: 24px;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
body.vu-body .vu-support-summary > div:last-child { border-bottom: 0; }
|
|
body.vu-body .vu-support-message-item { padding: 17px; }
|
|
body.vu-body .vu-support-form-grid { grid-template-columns: 1fr; }
|
|
body.vu-body .vu-support-upload-head { align-items: flex-start; flex-direction: column; gap: 3px; }
|
|
body.vu-body .vu-support-upload-limit { font-size: 10px; }
|
|
}
|
|
|
|
@media (max-width: 390px) {
|
|
body.vu-body .vu-support-message-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
flex-basis: 32px;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
body.vu-body .vu-support-facts-toggle,
|
|
body.vu-body .vu-support-dropzone,
|
|
body.vu-body .vu-support-file-remove,
|
|
body.vu-body .vu-support-attachment {
|
|
transition: none !important;
|
|
animation: none !important;
|
|
}
|
|
}
|