700 lines
14 KiB
CSS
700 lines
14 KiB
CSS
/* RelayDesk custom theme: Bootstrap 5 + branded overrides */
|
|
:root {
|
|
--rd-ink: #132321;
|
|
--rd-ink-soft: #334e49;
|
|
--rd-muted: #64748b;
|
|
--rd-primary: #0f766e;
|
|
--rd-primary-dark: #0b5f59;
|
|
--rd-primary-soft: #d9f7f2;
|
|
--rd-secondary: #f97316;
|
|
--rd-secondary-dark: #c64f05;
|
|
--rd-accent: #22c55e;
|
|
--rd-cream: #fff7ed;
|
|
--rd-bg: #f5fbf8;
|
|
--rd-surface: #ffffff;
|
|
--rd-border: #dce9e5;
|
|
--rd-shadow: 0 24px 70px rgba(15, 60, 55, 0.14);
|
|
--rd-radius: 26px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
color: var(--rd-ink);
|
|
background:
|
|
radial-gradient(circle at 8% 8%, rgba(34, 197, 94, 0.13), transparent 30rem),
|
|
radial-gradient(circle at 88% 4%, rgba(249, 115, 22, 0.12), transparent 26rem),
|
|
linear-gradient(180deg, #fbfffd 0%, var(--rd-bg) 48%, #ffffff 100%);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, .brand-copy {
|
|
font-family: "Manrope", "Inter", sans-serif;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
a {
|
|
color: var(--rd-primary-dark);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--rd-secondary-dark);
|
|
}
|
|
|
|
.skip-link {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: -4rem;
|
|
z-index: 2000;
|
|
background: var(--rd-ink);
|
|
color: #fff;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 999px;
|
|
transition: top 0.2s ease;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
top: 1rem;
|
|
}
|
|
|
|
.navbar-glass {
|
|
background: rgba(255, 255, 255, 0.82);
|
|
border-bottom: 1px solid rgba(220, 233, 229, 0.9);
|
|
backdrop-filter: blur(18px);
|
|
-webkit-backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.navbar .nav-link {
|
|
color: var(--rd-ink-soft);
|
|
font-weight: 700;
|
|
border-radius: 999px;
|
|
padding-inline: 0.9rem !important;
|
|
}
|
|
|
|
.navbar .nav-link:hover,
|
|
.navbar .nav-link:focus {
|
|
color: var(--rd-primary-dark);
|
|
background: rgba(15, 118, 110, 0.08);
|
|
}
|
|
|
|
.brand-mark {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
border-radius: 0.95rem;
|
|
color: #fff;
|
|
font-weight: 900;
|
|
background: linear-gradient(135deg, var(--rd-primary), var(--rd-accent));
|
|
box-shadow: 0 12px 26px rgba(15, 118, 110, 0.25);
|
|
}
|
|
|
|
.brand-copy {
|
|
font-weight: 900;
|
|
color: var(--rd-ink);
|
|
}
|
|
|
|
.btn {
|
|
border-radius: 999px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.01em;
|
|
padding: 0.78rem 1.2rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 0.95rem 1.35rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
--bs-btn-bg: var(--rd-primary);
|
|
--bs-btn-border-color: var(--rd-primary);
|
|
--bs-btn-hover-bg: var(--rd-primary-dark);
|
|
--bs-btn-hover-border-color: var(--rd-primary-dark);
|
|
--bs-btn-active-bg: var(--rd-primary-dark);
|
|
--bs-btn-active-border-color: var(--rd-primary-dark);
|
|
box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
|
|
}
|
|
|
|
.btn-secondary {
|
|
--bs-btn-bg: var(--rd-secondary);
|
|
--bs-btn-border-color: var(--rd-secondary);
|
|
--bs-btn-hover-bg: var(--rd-secondary-dark);
|
|
--bs-btn-hover-border-color: var(--rd-secondary-dark);
|
|
--bs-btn-active-bg: var(--rd-secondary-dark);
|
|
--bs-btn-active-border-color: var(--rd-secondary-dark);
|
|
box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
|
|
}
|
|
|
|
.btn-primary-soft {
|
|
color: var(--rd-primary-dark);
|
|
background: var(--rd-primary-soft);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.btn-primary-soft:hover,
|
|
.btn-primary-soft:focus {
|
|
color: #fff;
|
|
background: var(--rd-primary);
|
|
}
|
|
|
|
.btn-outline-dark {
|
|
--bs-btn-color: var(--rd-ink);
|
|
--bs-btn-border-color: rgba(19, 35, 33, 0.2);
|
|
--bs-btn-hover-bg: var(--rd-ink);
|
|
--bs-btn-hover-border-color: var(--rd-ink);
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
border: 1px solid var(--rd-border);
|
|
border-radius: 1rem;
|
|
padding: 0.82rem 1rem;
|
|
color: var(--rd-ink);
|
|
background-color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: var(--rd-primary);
|
|
box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.14);
|
|
}
|
|
|
|
textarea.form-control {
|
|
min-height: 8.5rem;
|
|
}
|
|
|
|
.form-label {
|
|
color: var(--rd-ink-soft);
|
|
font-size: 0.88rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.message-stack {
|
|
position: fixed;
|
|
z-index: 1080;
|
|
top: 5.5rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
max-width: 720px;
|
|
}
|
|
|
|
.alert-success {
|
|
--bs-alert-color: #0b5f40;
|
|
--bs-alert-bg: #dcfce7;
|
|
--bs-alert-border-color: #bbf7d0;
|
|
}
|
|
|
|
.hero-section {
|
|
padding-block: 3rem 4rem;
|
|
}
|
|
|
|
.py-lg-6 {
|
|
padding-top: 5.5rem !important;
|
|
padding-bottom: 5.5rem !important;
|
|
}
|
|
|
|
.hero-shape {
|
|
position: absolute;
|
|
border-radius: 999px;
|
|
filter: blur(3px);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.hero-shape-one {
|
|
width: 18rem;
|
|
height: 18rem;
|
|
right: 6%;
|
|
top: 6%;
|
|
background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(15, 118, 110, 0.08));
|
|
}
|
|
|
|
.hero-shape-two {
|
|
width: 12rem;
|
|
height: 12rem;
|
|
left: 4%;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(255, 247, 237, 0.8));
|
|
}
|
|
|
|
.eyebrow,
|
|
.section-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
color: var(--rd-primary-dark);
|
|
font-size: 0.78rem;
|
|
font-weight: 900;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.eyebrow::before,
|
|
.section-kicker::before {
|
|
content: "";
|
|
width: 0.65rem;
|
|
height: 0.65rem;
|
|
border-radius: 999px;
|
|
background: var(--rd-secondary);
|
|
}
|
|
|
|
.lead {
|
|
color: var(--rd-muted) !important;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.hero-search {
|
|
max-width: 720px;
|
|
padding: 0.45rem;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
border: 1px solid rgba(220, 233, 229, 0.95);
|
|
border-radius: 1.35rem;
|
|
box-shadow: 0 18px 54px rgba(15, 60, 55, 0.1);
|
|
}
|
|
|
|
.hero-search .form-control {
|
|
border-color: transparent;
|
|
background: #fff;
|
|
}
|
|
|
|
.glass-card,
|
|
.support-card,
|
|
.metric-card,
|
|
.mini-panel,
|
|
.confirmation-card {
|
|
background: rgba(255, 255, 255, 0.86);
|
|
border: 1px solid rgba(220, 233, 229, 0.95);
|
|
border-radius: var(--rd-radius);
|
|
box-shadow: var(--rd-shadow);
|
|
backdrop-filter: blur(18px);
|
|
-webkit-backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.quick-intake-card,
|
|
.support-card,
|
|
.mini-panel {
|
|
padding: clamp(1.25rem, 2.3vw, 2rem);
|
|
}
|
|
|
|
.spark-icon {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
min-width: 3rem;
|
|
height: 3rem;
|
|
border-radius: 1.1rem;
|
|
color: var(--rd-secondary-dark);
|
|
background: var(--rd-cream);
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.metric-card {
|
|
padding: 1.25rem;
|
|
min-height: 8.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.metric-card span {
|
|
color: var(--rd-muted);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.metric-card strong {
|
|
color: var(--rd-ink);
|
|
font-family: "Manrope", sans-serif;
|
|
font-size: clamp(2rem, 5vw, 3rem);
|
|
line-height: 1;
|
|
}
|
|
|
|
.workflow-steps {
|
|
display: grid;
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.workflow-steps div {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 0.15rem 0.9rem;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border-radius: 1.2rem;
|
|
background: #f7fbf9;
|
|
border: 1px solid var(--rd-border);
|
|
}
|
|
|
|
.workflow-steps span {
|
|
grid-row: span 2;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
border-radius: 0.85rem;
|
|
color: #fff;
|
|
font-weight: 900;
|
|
background: var(--rd-primary);
|
|
}
|
|
|
|
.workflow-steps small,
|
|
.ticket-row-meta,
|
|
.reply-meta span {
|
|
color: var(--rd-muted);
|
|
}
|
|
|
|
.ticket-list-mini {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ticket-mini-row,
|
|
.ticket-row {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.ticket-mini-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
border: 1px solid var(--rd-border);
|
|
border-radius: 1.25rem;
|
|
background: #fbfefd;
|
|
}
|
|
|
|
.ticket-mini-row:hover,
|
|
.ticket-row:hover {
|
|
color: inherit;
|
|
transform: translateY(-2px);
|
|
border-color: rgba(15, 118, 110, 0.35);
|
|
box-shadow: 0 18px 42px rgba(15, 60, 55, 0.12);
|
|
}
|
|
|
|
.ticket-mini-row small {
|
|
display: block;
|
|
color: var(--rd-muted);
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
.status-badge,
|
|
.priority-pill,
|
|
.reply-count {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: max-content;
|
|
border-radius: 999px;
|
|
padding: 0.38rem 0.72rem;
|
|
font-size: 0.78rem;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-new {
|
|
color: #0f5d56;
|
|
background: #ccfbf1;
|
|
}
|
|
|
|
.status-triage {
|
|
color: #9a3412;
|
|
background: #ffedd5;
|
|
}
|
|
|
|
.status-waiting {
|
|
color: #854d0e;
|
|
background: #fef3c7;
|
|
}
|
|
|
|
.status-resolved {
|
|
color: #166534;
|
|
background: #dcfce7;
|
|
}
|
|
|
|
.priority-low {
|
|
color: #166534;
|
|
background: #dcfce7;
|
|
}
|
|
|
|
.priority-normal {
|
|
color: #0f5d56;
|
|
background: #e0f2fe;
|
|
}
|
|
|
|
.priority-high {
|
|
color: #9a3412;
|
|
background: #ffedd5;
|
|
}
|
|
|
|
.priority-urgent {
|
|
color: #991b1b;
|
|
background: #fee2e2;
|
|
}
|
|
|
|
.page-hero {
|
|
background:
|
|
radial-gradient(circle at 82% 20%, rgba(34, 197, 94, 0.12), transparent 18rem),
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(245, 251, 248, 0.75));
|
|
border-bottom: 1px solid rgba(220, 233, 229, 0.9);
|
|
}
|
|
|
|
.ticket-table {
|
|
display: grid;
|
|
}
|
|
|
|
.ticket-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 1.5rem;
|
|
padding: 1.25rem 1.5rem;
|
|
border-bottom: 1px solid var(--rd-border);
|
|
}
|
|
|
|
.ticket-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.ticket-row-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
gap: 0.25rem;
|
|
min-width: 12rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 2.5rem;
|
|
}
|
|
|
|
.empty-shape {
|
|
width: 5.5rem;
|
|
height: 5.5rem;
|
|
margin: 0 auto 1.2rem;
|
|
border-radius: 1.65rem;
|
|
background: linear-gradient(135deg, var(--rd-primary-soft), var(--rd-cream));
|
|
box-shadow: inset -16px -16px 28px rgba(15, 118, 110, 0.08), 0 18px 42px rgba(15, 60, 55, 0.14);
|
|
transform: rotate(8deg);
|
|
}
|
|
|
|
.confirmation-card {
|
|
max-width: 820px;
|
|
padding: clamp(2rem, 5vw, 4rem);
|
|
text-align: center;
|
|
}
|
|
|
|
.success-orb {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 4.5rem;
|
|
height: 4.5rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
font-size: 2rem;
|
|
font-weight: 900;
|
|
background: linear-gradient(135deg, var(--rd-primary), var(--rd-accent));
|
|
box-shadow: 0 18px 38px rgba(15, 118, 110, 0.28);
|
|
}
|
|
|
|
.ticket-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ticket-summary-grid div {
|
|
padding: 1rem;
|
|
border: 1px solid var(--rd-border);
|
|
border-radius: 1.2rem;
|
|
background: #fbfefd;
|
|
}
|
|
|
|
.ticket-summary-grid span {
|
|
display: block;
|
|
color: var(--rd-muted);
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ticket-summary-grid strong {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.ticket-description {
|
|
color: var(--rd-ink-soft);
|
|
font-size: 1.04rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.timeline {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.timeline::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0.69rem;
|
|
top: 0.8rem;
|
|
bottom: 0.8rem;
|
|
width: 2px;
|
|
background: var(--rd-border);
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 1.45rem 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.timeline-dot {
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
margin-top: 1rem;
|
|
border: 3px solid #fff;
|
|
border-radius: 50%;
|
|
background: var(--rd-secondary);
|
|
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
|
|
z-index: 1;
|
|
}
|
|
|
|
.timeline-item.staff .timeline-dot {
|
|
background: var(--rd-primary);
|
|
box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
|
|
}
|
|
|
|
.reply-card {
|
|
padding: 1rem;
|
|
border: 1px solid var(--rd-border);
|
|
border-radius: 1.2rem;
|
|
background: #fbfefd;
|
|
}
|
|
|
|
.timeline-item.staff .reply-card {
|
|
background: #eefcf8;
|
|
}
|
|
|
|
.reply-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
align-items: center;
|
|
margin-bottom: 0.55rem;
|
|
}
|
|
|
|
.empty-thread {
|
|
margin-left: 2.45rem;
|
|
padding: 1rem;
|
|
color: var(--rd-muted);
|
|
background: #fbfefd;
|
|
border: 1px dashed var(--rd-border);
|
|
border-radius: 1.2rem;
|
|
}
|
|
|
|
.sticky-summary {
|
|
position: sticky;
|
|
top: 6.5rem;
|
|
}
|
|
|
|
.ticket-facts {
|
|
display: grid;
|
|
gap: 0.85rem;
|
|
margin: 1rem 0 0;
|
|
}
|
|
|
|
.ticket-facts div {
|
|
padding-bottom: 0.85rem;
|
|
border-bottom: 1px solid var(--rd-border);
|
|
}
|
|
|
|
.ticket-facts div:last-child {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.ticket-facts dt {
|
|
color: var(--rd-muted);
|
|
font-size: 0.78rem;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.ticket-facts dd {
|
|
margin: 0.2rem 0 0;
|
|
color: var(--rd-ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.site-footer {
|
|
color: var(--rd-muted);
|
|
background: rgba(255, 255, 255, 0.74);
|
|
border-top: 1px solid var(--rd-border);
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--rd-ink-soft);
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--rd-primary-dark);
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.ticket-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.ticket-row-meta {
|
|
align-items: flex-start;
|
|
min-width: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.sticky-summary {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.hero-section {
|
|
padding-block: 2rem;
|
|
}
|
|
|
|
.ticket-summary-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.message-stack {
|
|
top: 4.75rem;
|
|
width: calc(100% - 2rem);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.ticket-summary-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.ticket-mini-row {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
}
|