web/website/integrations/osticket/dune-support-workspace.css

126 lines
18 KiB
CSS

/* Shared client/staff presentation; native controls and table semantics remain intact. */
body.dune-support-workspace{--desk-gold:#c4a65b;--desk-line:#60764e;--desk-ink:#eee4cc;--desk-muted:#b8cbb9;font-family:Manrope,system-ui,sans-serif!important}
body.dune-support-workspace #container{width:min(1440px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;margin:24px auto!important;border:1px solid var(--desk-line)!important;border-radius:14px!important;box-shadow:0 14px 35px #0003!important}
.dune-support-workspace-hero{display:flex;align-items:center;gap:24px;padding:26px;margin:0 0 26px;border:1px solid var(--desk-gold);border-radius:12px;background:linear-gradient(110deg,#1d4339f5,#0b2823e8),url('https://www.dunerealms.com/assets/ornament.webp') center/cover;box-shadow:inset 0 0 0 5px #d1ad4c0b}
.dune-support-workspace-hero>img{object-fit:contain;flex:none;filter:drop-shadow(0 5px 6px #0006);border-radius:10px}
.dune-support-workspace-hero h1{font:700 clamp(24px,3vw,36px)/1.2 Manrope,system-ui,sans-serif!important;margin:6px 0 10px!important;color:#f4dfad!important}
.dune-support-workspace-hero p{margin:6px 0;color:#c6d5c4;max-width:70ch}.dune-workspace-eyebrow{font-size:10px;letter-spacing:.16em;color:#d9bb70!important}
body.dune-support-workspace :is(#nav,#sub_nav){display:flex;flex-wrap:wrap;gap:6px;height:auto!important;min-height:44px;padding:10px!important;box-sizing:border-box;border:1px solid #60764e!important;border-radius:9px;margin:10px 16px!important;list-style:none}
body.dune-support-workspace :is(#nav,#sub_nav)>li{float:none!important;height:auto!important;margin:0!important}
body.dune-support-workspace :is(#nav,#sub_nav)>li>a{display:inline-block;box-sizing:border-box;padding:9px 13px!important;height:auto!important;border-radius:7px;border:1px solid transparent;line-height:1.5!important}
body.dune-support-workspace :is(#nav,#sub_nav)>li>a:is(.active,:hover){border-color:#af9652!important;background:#304a33!important;color:#ffe3a8!important}
body.dune-support-workspace :is(table.list,table.ticket-list){width:100%!important;border-collapse:separate!important;border-spacing:0;border:1px solid #4c6a50;border-radius:9px;overflow-wrap:anywhere;font-size:14px}
body.dune-support-workspace :is(table.list,table.ticket-list) :is(td,th){padding:13px 12px!important;border-bottom:1px solid #3d5c48!important;vertical-align:top}
body.dune-support-workspace :is(table.list,table.ticket-list) th{background:#284432!important;color:#edcf85!important;font-size:12px;letter-spacing:.025em;text-align:start}
body.dune-support-workspace :is(table.list,table.ticket-list) tbody tr:nth-child(even) td{background-color:#18372a!important}
body.dune-support-workspace :is(table.list,table.ticket-list) tbody tr:hover td{background-color:#254632!important}
body.dune-support-workspace :is(.thread-entry,.thread-event,.tab_content,fieldset){border-radius:9px!important;border-color:#59714f!important}
body.dune-support-workspace .thread-entry{box-shadow:0 4px 12px #0002;margin-bottom:20px!important}
body.dune-support-workspace :is(input[type=text],input[type=email],input[type=password],input[type=search],select,textarea){border-radius:7px!important;border-color:#78845b!important;font:inherit;max-width:100%;box-sizing:border-box}
body.dune-support-workspace :is(input,select,textarea,button,a):focus-visible{outline:2px solid #f1d58d!important;outline-offset:3px}
body.dune-support-workspace :is(.error,.error_bar,#msg_error){border-left:4px solid #dc9b80!important}
body.dune-support-workspace :is(.notice,.notice_bar,#msg_notice){border-left:4px solid #8fb879!important}
@media(max-width:760px){body.dune-support-workspace #container{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin:12px auto!important}body.dune-support-workspace #content{padding:14px!important}.dune-support-workspace-hero{gap:14px;padding:18px;align-items:flex-start}.dune-support-workspace-hero>img{width:64px;height:64px}.dune-support-workspace-hero h1{font-size:24px!important}.dune-support-workspace-hero p{font-size:13px}body.dune-support-workspace :is(#nav,#sub_nav){margin:8px!important;padding:7px!important}body.dune-support-workspace :is(#nav,#sub_nav)>li>a{padding:8px!important}body.dune-support-workspace table.list :is(td,th){padding:9px 7px!important}}
/* Native queue plug-in sets fixed desktop widths inline. Keep them inside the desk. */
body.dune-support-workspace #customQ_nav{width:auto!important;max-width:100%;box-sizing:border-box}
body.dune-support-workspace #sub_nav{width:auto!important;position:relative!important}
body.dune-support-workspace #content .content{width:auto!important;min-width:0!important;max-width:100%;box-sizing:border-box}
body.dune-support-workspace #tickets{max-width:100%;overflow-x:auto}
body.dune-support-workspace table.ticket_info{width:100%!important;min-width:0!important;border:1px solid #526c4b;border-radius:9px;background:#163529!important;margin-bottom:18px}
body.dune-support-workspace table.ticket_info table{width:100%!important;min-width:0!important}
@media(max-width:760px){body.dune-support-workspace table.ticket_info>tbody>tr>td{display:block;width:100%!important;box-sizing:border-box;padding:12px!important}body.dune-support-workspace table.ticket_info :is(th,td){overflow-wrap:anywhere}body.dune-support-workspace #content :is(.thread-body,.thread-entry,.redactor-box,.redactor-editor){max-width:100%!important;min-width:0!important;box-sizing:border-box}body.dune-support-workspace #content .pull-right{max-width:100%;box-sizing:border-box}}
@media print{.dune-support-workspace-hero{display:none}body.dune-support-workspace #container{width:100%!important;border:0!important;box-shadow:none!important}}
@media(max-width:760px){body.dune-support-workspace #content .truncate{max-width:100%!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere}body.dune-support-workspace #content :is(.select2,.select2-container,.select2-selection__rendered){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}body.dune-support-workspace #content .tabs{display:flex;flex-wrap:wrap;height:auto!important}body.dune-support-workspace #content .tabs li{float:none!important}body.dune-support-workspace #content .tabs a{padding:8px!important}}
@media(max-width:760px){body.dune-support-workspace table.ticket_info :is(td,th,a,span){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word}}
@media(max-width:760px){body.dune-support-workspace #content :is(td,th,a,td span){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word}}
/* Integrated bureau shell: the same proportions and visual hierarchy as Dev. */
body.dune-support-workspace #container{width:min(1120px,calc(100% - 40px))!important;max-width:1120px!important;margin:28px auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.dune-support-workspace #content{box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
body.dune-support-client :is(#header,#nav){display:none!important}
.dune-support-desk-heading{margin-bottom:26px}
.dune-support-workspace-hero{margin:0!important;border-radius:14px 14px 0 0;border-bottom:0;min-height:150px;box-sizing:border-box}
.dune-support-workspace-hero>div{min-width:0}
.dune-support-workspace-hero h1{font-size:clamp(26px,3vw,38px)!important}
.dune-support-role{display:inline-block;border:1px solid #6f855866;border-radius:20px;padding:3px 11px;font-size:11px;color:#c9d3bd;background:#10281e80;margin-top:7px}
.dune-support-back{margin-left:auto;font-size:12px;white-space:nowrap;color:#e7c575!important;text-decoration:none}
.dune-support-submenu{display:flex;flex-wrap:wrap;gap:7px;padding:12px;background:#0d281f;border:1px solid #a58d4f;border-top-color:#6e7049;border-radius:0 0 12px 12px}
.dune-support-submenu a{display:flex;align-items:center;gap:8px;min-height:43px;padding:5px 12px;border:1px solid #506c54;border-radius:7px;text-decoration:none!important;color:#c6d6c6!important;font-size:13px;background:#18392c;box-sizing:border-box}
.dune-support-submenu a[aria-current=page]{border-color:#d2b363;background:linear-gradient(130deg,#455337,#273e2b);color:#ffe3a8!important;box-shadow:inset 0 -2px #c6a853}
.dune-support-submenu a:hover{border-color:#c7a75b;color:#ffe5af!important}
.dune-support-submenu img{object-fit:contain;flex:none;filter:drop-shadow(0 2px 2px #0004)}
body.dune-support.dune-support-workspace #dune-support-home.dune-support-home{padding:0!important}
body.dune-support-workspace #content{font-family:Manrope,system-ui,sans-serif!important}
body.dune-support-client #content>h1{display:none}
body.dune-support-workspace .dune-service-terms{padding:26px;border:1px solid #74814e;border-radius:12px;background:linear-gradient(130deg,#203f32,#102b21);line-height:1.7}
body.dune-support-workspace .dune-support-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.dune-support-workspace .dune-support-card{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:26px;border-radius:12px;border:1px solid #74814e;border-top:3px solid #bc9e4d;background:linear-gradient(145deg,#234332,#102c22);box-shadow:inset 0 0 0 4px #c2a15108,0 8px 20px #0002;min-width:0}
body.dune-support-workspace .dune-support-card>img{width:100px;height:90px;object-fit:contain;object-position:left center;margin:0}
body.dune-support-workspace .dune-support-card>div{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}
body.dune-support-workspace .dune-support-card .eyebrow{margin:0 0 7px;color:#d9bb70}
body.dune-support-workspace .dune-support-card h2{font:700 24px/1.3 Manrope,system-ui,sans-serif!important;margin:3px 0 14px!important;color:#f1d58f!important}
body.dune-support-workspace .dune-support-card p{font-size:14px;line-height:1.7;color:#c1d0bc;max-width:65ch}
body.dune-support-workspace .dune-support-card a.button{margin-top:auto;background:#c6a551!important;color:#10261c!important;border-color:#d4b464!important;box-shadow:none;font:650 14px/1.4 Manrope,system-ui,sans-serif!important}
body.dune-support-workspace .dune-support-card .dune-secondary-request{margin:14px 0 0;font-size:12px;color:#e7c575}
body.dune-support-workspace .dune-support-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:26px}
body.dune-support-workspace .dune-support-card:last-child>img{width:140px;height:120px}
body.dune-support-workspace .dune-support-card:last-child a.button{margin-top:7px}
body.dune-support-workspace .dune-support-track{padding:18px 0;text-align:center;font-size:12px;color:#adc3ac}
body.dune-support-workspace #content>form,body.dune-support-client #ticketInfo{box-sizing:border-box;border:1px solid #74814e!important;border-radius:12px!important;background:linear-gradient(130deg,#203f32,#102b21)!important;padding:24px!important;margin:20px 0!important;box-shadow:inset 0 0 0 4px #c2a15108}
body.dune-support-workspace #content>form :is(th,td){line-height:1.7}
body.dune-support-workspace #content>form h2{color:#f1d58f!important;border-bottom:1px solid #526b4b;padding-bottom:14px}
body.dune-support-client #content :is(input[type=submit],button[type=submit],a.button){border-radius:7px!important;padding:11px 17px!important;font:650 14px/1.4 Manrope,system-ui,sans-serif!important}
body.dune-support-workspace #footer{max-width:1120px;margin:20px auto!important;background:none!important;border:0!important;color:#9cb39b;font-size:11px}
@media(max-width:760px){
body.dune-support-workspace #container{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin:16px auto!important}
body.dune-support-workspace #content{padding:0!important}
.dune-support-workspace-hero{flex-wrap:wrap;gap:14px;padding:20px;align-items:center}
.dune-support-workspace-hero>img{width:72px;height:72px}
.dune-support-workspace-hero>div{flex:1}
.dune-support-back{margin:0;width:100%;border-top:1px solid #64764c;padding-top:12px}
.dune-support-submenu{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px}
.dune-support-submenu a{padding:6px 9px;font-size:12px;min-width:0}
.dune-support-submenu a:last-child{grid-column:1/-1}
.dune-support-submenu img{width:28px;height:28px}
body.dune-support-workspace .dune-support-options{grid-template-columns:1fr}
body.dune-support-workspace .dune-support-card{padding:20px}
body.dune-support-workspace .dune-support-card:last-child{display:flex;gap:14px}
body.dune-support-workspace .dune-support-card:last-child>img{width:100px;height:90px}
body.dune-support-workspace #content>form{padding:18px!important}
}
/* Client register: retain the native table, sort links, search and pagination. */
body.dune-support-client #ticketTable{display:block;width:100%!important;border:0!important;background:transparent!important;margin:22px 0}
body.dune-support-client #ticketTable caption{display:block;box-sizing:border-box;width:100%;text-align:left;padding:16px 20px;margin:0 0 12px;border:1px solid #74814e;border-radius:9px;background:#1b382b!important;color:#edd49a!important;font-weight:650}
body.dune-support-client #ticketTable thead{display:block;margin-bottom:16px}
body.dune-support-client #ticketTable thead tr{display:flex;flex-wrap:wrap;gap:8px}
body.dune-support-client #ticketTable thead th{display:block;width:auto!important;padding:0!important;border:0!important;background:transparent!important}
body.dune-support-client #ticketTable thead a{display:inline-block;padding:7px 12px;border:1px solid #506c54;border-radius:20px;background:#18392c;color:#d7c58f!important;font-size:12px;text-decoration:none}
body.dune-support-client #ticketTable tbody{display:grid;gap:12px}
body.dune-support-client #ticketTable tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px 18px;align-items:center;padding:20px;border:1px solid #456649;border-left:3px solid #b59a51;border-radius:9px;background:linear-gradient(130deg,#1b3b2d,#102b21);box-shadow:0 5px 16px #0002}
body.dune-support-client #ticketTable tbody tr:hover{border-color:#a49453;background:#244431}
body.dune-support-client #ticketTable tbody td{display:block;width:auto!important;padding:0!important;border:0!important;background:transparent!important;min-width:0;color:#c0d0ba!important;font-size:12px}
body.dune-support-client #ticketTable tbody td:first-child{grid-column:1;grid-row:1}
body.dune-support-client #ticketTable tbody td:first-child a{color:#ddc082!important;text-decoration:none;font-size:12px}
body.dune-support-client #ticketTable tbody td:nth-child(2){grid-column:2;grid-row:1;white-space:nowrap}
body.dune-support-client #ticketTable tbody td:nth-child(3){grid-column:3;grid-row:1;border:1px solid #6f8052!important;border-radius:20px;padding:3px 11px!important;background:#294532!important;color:#e2d2a6!important;text-align:center}
body.dune-support-client #ticketTable tbody td:nth-child(4){grid-column:1/-1;grid-row:2;font-size:16px!important;font-weight:600;color:#f0dda9!important;line-height:1.6}
body.dune-support-client #ticketTable tbody td:nth-child(5){grid-column:1/-1;grid-row:3;color:#a9bda6!important}
body.dune-support-client #ticketTable tbody td:nth-child(5):before{content:'Department · ';color:#d2bc80}
body.dune-support-client #ticketTable :is(.truncate,.link){width:auto!important;max-width:none!important;max-height:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;color:inherit!important;line-height:inherit!important}
body.dune-support-client #ticketTable tbody td[colspan]{grid-column:1/-1!important;grid-row:auto!important}
@media(max-width:480px){body.dune-support-client #ticketTable tbody tr{padding:16px;gap:9px 10px}body.dune-support-client #ticketTable tbody td:nth-child(4){font-size:14px!important}}
body.dune-support-client #ticketTable tbody tr.dune-ticket-has-seal{position:relative;padding-right:116px;min-height:132px}
body.dune-support-client .dune-ticket-department-seal{position:absolute;right:22px;top:50%;transform:translateY(-50%);width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 3px 4px #0004)}
/* Conversation detail uses the same boxed reading hierarchy as the Dev brief. */
body.dune-support-client #ticketInfo{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.dune-support-client #ticketInfo h1{padding:22px!important;margin:0 0 18px!important;border:1px solid #a58d4f;border-radius:12px!important;background:linear-gradient(125deg,#234332,#102c22)!important;font:700 23px/1.5 Manrope,system-ui,sans-serif!important}
body.dune-support-client #ticketInfo h1 a{width:auto!important;min-width:70px!important;white-space:nowrap!important;word-break:normal!important;padding:10px 14px!important;font:600 13px/1.4 Manrope,system-ui,sans-serif!important}
body.dune-support-client #ticketInfo .infoTable{border:1px solid #60764e!important;border-radius:10px!important;overflow:hidden;background:#163529!important}
body.dune-support-client #ticketInfo .infoTable :is(td,th){padding:13px 15px!important;border-bottom:1px solid #3d5c48!important;background:#163529!important;line-height:1.6!important}
body.dune-support-client #ticketInfo .infoTable thead td{background:#284432!important;color:#efd696!important;font-weight:650!important}
body.dune-support-client :is(#ticketThread,.thread-body){font:14px/1.8 Manrope,system-ui,sans-serif!important}
body.dune-support-client .thread-entry .header{border:1px solid #74814e!important;border-bottom:0!important;border-radius:12px 12px 0 0!important;background:linear-gradient(120deg,#244431,#153126)!important;padding:16px 20px!important}
body.dune-support-client .thread-entry .thread-body{padding:24px!important;border:1px solid #74814e!important;border-radius:0 0 12px 12px!important;background:linear-gradient(135deg,#19392b,#102b21)!important;box-shadow:inset 0 0 0 4px #c2a15108}
body.dune-support-client .thread-entry{border:0!important;background:none!important}
@media(max-width:480px){body.dune-support-client #ticketTable tbody tr.dune-ticket-has-seal{padding-right:80px}body.dune-support-client .dune-ticket-department-seal{width:48px;height:48px;right:14px}body.dune-support-client #ticketInfo h1{padding:16px!important;font-size:19px!important}body.dune-support-client .thread-entry .thread-body{padding:18px!important}}