web/website/scripts/osticket-presentation.css

74 lines
7.8 KiB
CSS

/* Native osTicket presentation only. The existing ticket controls, forms,
thread markup, permissions and service navigation remain owned by osTicket. */
html body:is(.dune-support,.dr-native-support){
color-scheme:dark;background:#071b16!important;color:#f4e8ca!important;
font:16px/1.65 'DM Sans',Arial,sans-serif!important;
}
html body:is(.dune-support,.dr-native-support) :is(#container,#pjax-container,#content,.content,#ticket_container,#landing_page){
background-color:#0f2921!important;color:#f4e8ca!important;border-color:#79613b!important;
}
html body:is(.dune-support,.dr-native-support) :is(h1,h2,h3,h4,.form-header,.form_table th){
font-family:'Cinzel',Georgia,serif!important;color:#f4e8ca!important;text-shadow:none!important;
}
html body:is(.dune-support,.dr-native-support) :is(h1,h2){font-weight:600!important}
html body:is(.dune-support,.dr-native-support) :is(.dune-support-workspace-hero,.dune-support-card,.search.well,.ticket-info,.ticket_info,.infoTable,.thread-entry,.thread-entry-body,.thread-body,.tab_content,.panel,.card,.well,fieldset){
background-color:#102d24!important;border-color:#8f773e!important;border-radius:6px!important;color:#f4e8ca!important;
}
html body:is(.dune-support,.dr-native-support) :is(.dune-support-workspace-hero,.dune-support-card){border:1px solid #8f773e!important;box-shadow:0 8px 20px #0002!important}
html body:is(.dune-support,.dr-native-support) .dune-support-workspace-hero h1{font-size:clamp(26px,3vw,44px)!important}
html body:is(.dune-support,.dr-native-support) :is(#nav,#sub_nav,.sub_nav,.tabs,.nav-tabs,.dune-support-submenu,.sticky.bar,.queue-actions,.ticket-actions){
background:#102d24!important;border-color:#8f773e!important;color:#f4e8ca!important;box-shadow:none!important;
}
html body:is(.dune-support,.dr-native-support) :is(#nav,#sub_nav,.sub_nav,.tabs,.nav-tabs,.dune-support-submenu) a{color:#f0d89b!important;text-shadow:none!important}
html body:is(.dune-support,.dr-native-support) :is(#nav,#sub_nav,.sub_nav,.tabs,.nav-tabs,.dune-support-submenu) :is(a.active,[aria-current=page],.active>a,.selected>a){
background:#234537!important;border-color:#d3ae5c!important;color:#fff1c8!important;
}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue,table.form_table,table.two-column,table.custom-data,.infoTable){
background:#102c24!important;color:#f4e8ca!important;border-color:#8f773e!important;
}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue,table.form_table,table.two-column,table.custom-data,.infoTable) :is(th,thead td){
background:#204233!important;color:#f0d89b!important;border-color:#79643b!important;text-shadow:none!important;
}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue) tbody tr{background:#102c24!important;color:#f4e8ca!important}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue) tbody tr:nth-child(even){background:#15362a!important}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue) tbody tr:hover{background:#234537!important}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue,table.form_table,table.two-column,table.custom-data,.infoTable) td{
border-color:#79643b!important;color:inherit!important;background-color:transparent!important;
}
html body:is(.dune-support,.dr-native-support) :is(#ticketForm,#reply,#response,#ticketSearchForm,.form_table) :is(label,.required,.form-desc,.help-block,.instructions){color:#d5dfcf!important}
html body:is(.dune-support,.dr-native-support) :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),textarea,select,.select2-selection,.select2-choice,.select2-choices,.redactor-editor,.redactor-box,.redactor-statusbar){
background:#0a211b!important;color:#f4e8ca!important;border-color:#8f773e!important;border-radius:4px!important;box-shadow:none!important;
}
html body:is(.dune-support,.dr-native-support) :is(input,textarea)::placeholder{color:#b5c4b8!important}
html body:is(.dune-support,.dr-native-support) :is(.redactor-toolbar,.thread-entry .header,.thread-entry .header .title,.thread-entry .avatar,.form-header,.section-break){
background-color:#1a3b2e!important;color:#f4e8ca!important;border-color:#8f773e!important;
}
html body:is(.dune-support,.dr-native-support) :is(.select2-dropdown,.select2-results,.dropdown-menu,.typeahead,.ui-menu,.ui-dialog,.ui-dialog-content,.dialog,.modal,.modal-content,.popup){
background:#112b24!important;color:#f4e8ca!important;border-color:#8f773e!important;
}
html body:is(.dune-support,.dr-native-support) :is(.ui-dialog-titlebar,.modal-header,.dialog .header){background:#204233!important;color:#f0d89b!important;border-color:#8f773e!important}
html body:is(.dune-support,.dr-native-support) :is(.select2-results__option--highlighted,.ui-state-focus,.ui-menu-item:hover,.dropdown-menu a:hover){background:#234537!important;color:#fff1c8!important}
html body:is(.dune-support,.dr-native-support) :is(.button,.btn,input[type=submit],input[type=button],button.primary){
color:#242211!important;background:linear-gradient(135deg,#f8da8b,#dcb55a 55%,#b28633)!important;border:1px solid #c9a85a!important;border-radius:4px!important;font-family:'DM Sans',Arial,sans-serif!important;font-weight:700!important;text-shadow:none!important;
}
html body:is(.dune-support,.dr-native-support) :is(a,button,input,select,textarea):focus-visible{outline:2px solid #f5d48b!important;outline-offset:3px}
html body:is(.dune-support,.dr-native-support) :is(.faded,.muted,.help-block,.instructions,.form-desc){color:#b5c4b8!important}
html body:is(.dune-support,.dr-native-support) :is(.ticket-info,.ticket_info,.thread-entry,.form_table) a:not(.button):not(.btn){color:#f0d89b!important}
@media(max-width:700px){
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue){font-size:13px!important}
html body:is(.dune-support,.dr-native-support) :is(#ticketTable,table.list,table.listings,table.queue) :is(th,td){padding:9px!important}
}
/* Native thread chrome: preserve downloads, reply actions and real avatar images. */
html body:is(.dune-support,.dr-native-support) .thread-entry::before{border-top:1px solid #79643b!important}
html body:is(.dune-support,.dr-native-support) .thread-entry::after{border-bottom:1px solid #79643b!important}
html body:is(.dune-support,.dr-native-support) .thread-entry .thread-body{border-color:#79643b!important;border-bottom:1px solid #79643b!important}
html body:is(.dune-support,.dr-native-support) .thread-body .attachments{background:#17372c!important;border-top:1px solid #79643b!important;color:#f4e8ca!important}
html body:is(.dune-support,.dr-native-support) .thread-body .attachment-info{color:#f0d89b!important}
html body:is(.dune-support,.dr-native-support) .thread-body .attachments a.filename{color:#f2d593!important;text-decoration:underline!important;text-underline-offset:3px}
html body:is(.dune-support,.dr-native-support) .thread-body .attachments .filesize{color:#b5c4b8!important}
html body:is(.dune-support,.dr-native-support) .thread-entry.avatar.message .header:before{border-left-color:#79643b!important}
html body:is(.dune-support,.dr-native-support) .thread-entry.avatar.message .header:after{border-left-color:#1a3b2e!important}
html body:is(.dune-support,.dr-native-support) .thread-entry.avatar:is(.response,.note) .header:before{border-right-color:#79643b!important}
html body:is(.dune-support,.dr-native-support) .thread-entry.avatar:is(.response,.note) .header:after{border-right-color:#1a3b2e!important}
html body:is(.dune-support,.dr-native-support) :is(.thread-entry,.thread-event) img.avatar{background:#17372c!important;border:1px solid #79643b!important;border-radius:5px!important}