/* Global variables. */ :root, ::backdrop { --quickbox-topbar-height: 50px; --quickbox-footer-height: 64px; --quickbox-send-width: 66px; /* Set sans-serif & mono fonts */ --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif; --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace; --standard-border-radius: 5px; /* Default (light) theme */ --bg: #fff; --primary-color: #2b5797; } /* Dark theme */ /* @media (prefers-color-scheme: dark) { :root, ::backdrop { color-scheme: dark; --bg: #212121; --accent-bg: #2b2b2b; --text: #dcdcdc; --text-light: #ababab; --accent: #ffb300; --accent-hover: #ffe099; --accent-text: var(--bg); --code: #f06292; --preformatted: #ccc; --disabled: #111; } */ /* Add a bit of transparency so light media isn't so glaring in dark mode */ /* img, video { opacity: 0.8; } } */ /* Reset */ *, *::before, *::after { box-sizing: border-box; } h1,h2,h3,h4,h5,h6, form { margin: 0; padding: 0; } a { text-decoration: none; color: var(--primary-color); } /* End reset */ body { color: #000 !important; background-color: #f1f1f1 !important; } html { font-family: var(--sans-font), sans-serif; scroll-behavior: smooth; overflow-x: hidden; box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit } body { margin: 0; min-height: 100vh; } .display-topleft { position: absolute; left: 0; top: 0 } .display-topright { position: absolute; right: 0; top: 0 } .display-bottomleft { position: absolute; left: 0; bottom: 0 } .display-bottomright { position: absolute; right: 0; bottom: 0 } .display-middle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%) } .display-left { position: absolute; top: 50%; left: 0%; transform: translate(0%, -50%); -ms-transform: translate(-0%, -50%) } .display-right { position: absolute; top: 50%; right: 0%; transform: translate(0%, -50%); -ms-transform: translate(0%, -50%) } .display-topmiddle { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0%); -ms-transform: translate(-50%, 0%) } .display-bottommiddle { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 0%); -ms-transform: translate(-50%, 0%) } .display-container:hover .display-hover { display: block } .display-container:hover span.display-hover { display: inline-block } .display-hover { display: none } .display-position { position: absolute } ul { list-style-type: none; padding: 0; margin: 0 } ul li { padding: 8px 16px; border-bottom: 1px solid #ddd } ul li:last-child { border-bottom: none } .row:after { content:""; display:table; clear:both } input, select, textarea{ display: block; border: 1px solid #ccc !important; width: 100%; font: inherit; padding: 8px; border-radius: 4px; } textarea { overflow: auto; } button, .button { border: none; display: inline-block; vertical-align: middle; overflow: hidden; text-decoration: none; color: inherit; background-color: inherit; text-align: center; cursor: pointer; white-space: nowrap; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 0.9rem; border-radius: 8px; } button:hover, .button:hover { box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } button { padding: 8px 16px; } .button { padding: 10px 18px; } fieldset { border-radius: 8px; } .switch { float: left; } .switch input { width: auto; } input { padding: 2px; display: block; border: none; border-bottom: 1px solid #ccc; width: 100% } input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; position: relative; accent-color: var(--primary-color); } .label-checkbox { top: 4px; position: relative; margin-left: 4px; } .table-all { border-collapse: collapse; border-spacing: 0; width: 100%; display: table; border: 1px solid #ccc } .bordered tr, .table-all tr { border-bottom: 1px solid #ddd } .striped tbody tr:nth-child(even) { background-color: #f1f1f1 } .table-all tr:nth-child(odd) { background-color: #fff } .table-all tr:nth-child(even) { background-color: #f1f1f1 } .hoverable tbody tr:hover, .ul.hoverable li:hover { background-color: #ccc } .centered tr th, .centered tr td { text-align: center } .table-all td, .table-all th { padding: 8px 8px; display: table-cell; text-align: left; vertical-align: top } .table-all th:first-child, .table-all td:first-child { padding-left: 16px } .card { box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) } .hover-shadow:hover { box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19) } #page-main { transition: margin-left .4s; width: 100%; } #form-login-container { position: relative; } #form-login { width: 600px; background-color: var(--primary-color); color: #ffffff; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); border-radius: 4px; padding: 12px 24px !important; } #form-login input { border: 1px solid #ccc !important } #main-sidebar { width: 300px; z-index: 5; height: 100%; background-color: #fff; position: fixed !important; overflow: auto; color: #000 !important; animation: animateleft 0.4s; display: none; } #app-title { height: 50px; background-color: var(--primary-color); color: #ffffff; font-size: 1.4rem; padding-left: 8px; width: 300px; display: flex; align-items: center; position: fixed; } #app-title a { color: #ffffff; } #app-title img { height: 32px; float: left; padding-right: 10px; } #app-title a span { vertical-align: top; } #main-sidebar-content { margin-top: 50px; } #main-sidebar-content h5 { font-size: 1rem; margin-top: 10px; margin-bottom: 10px; } #page-top-bar { display: flex; align-items: center; z-index: 1; height: 50px; background-color: var(--primary-color); position: fixed; width: inherit; } #page-title-container { margin-left: 8px; padding: 0; width: 100%; } #page-title-container h5 { white-space: nowrap; overflow: hidden; } #page-title { float: left; padding: 4px 4px; font-size: 1.4rem; } #page-title h5 { color: #ffffff; } #search-bar { float: right; } #search-bar button { color: #ffffff; margin-top: 2px; } #search-text { float: left; width: auto; padding: 4px; } .sidebar-block { padding: 0.01em 4px; } .sidebar-menu a { width: 100%; display: block; padding: 8px 16px; text-align: left; border: none; white-space: normal; float: none; outline: 0; font-size: 1rem; } #types_menu, #settings_menu { margin-left: 2px !important; } .menu-item-title:hover, #settings_menu a:hover{ border-radius: 8px; background-color: var(--primary-color); color: #ffffff; } .accordion { cursor: pointer; } #page-content { padding-top: 4px; padding-left: 4px; padding-right: 4px; } #page-container { padding: 0.01em 4px; } #dashboard h5 { font-size: 1rem; color: var(--primary-color); } .tab-bar { color: #000 !important; background-color: #f1f1f1 !important; width: 100%; overflow: hidden; } .tab-button { margin-right: 6px; border-top-left-radius: 8px; border-top-right-radius: 8px; background-color: #ccc; cursor: pointer; padding: 6px 16px; float: left; width: auto; display: block; border-right: 1px solid #ccc !important; border-left: 1px solid #ccc !important; border-top: 1px solid #ccc !important; } .tab-button.active, .tab-button:hover { background-color: #f1f1f1 !important; } .menu-item-title { overflow: hidden; } .menu-item-title a { text-align:left; width: 100%; } .menu-item-action { float: right; width: 50px; } .menu-item-title a { font-size: 1rem; } .ss-main { padding: 3px; } .ss-value { padding: 4px; } .ss-main .ss-values .ss-value .ss-value-text { font-size: 15px; } .ss-main .ss-values .ss-value { background-color: var(--primary-color); } .ss-content .ss-list .ss-option:hover, .ss-content .ss-list .ss-option.ss-highlighted, .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected { background-color:var(--primary-color); } #quickbox { position: fixed; display: none; width: 100vw; height: 100vh; top: 0; left: 0; right: 0; bottom: 0; background-color: #ddd; z-index: 5; } #quickbox-top-bar { height: var(--quickbox-topbar-height); } #quickbox-footer { height: var(--quickbox-footer-height); position:fixed; bottom:0; } #quickbox-content { height: calc(100vh - var(--quickbox-footer-height)); overflow: auto; display: flex; flex-direction: column-reverse; } #quickbox-content .w3-button { padding: 6px 10px; } #quickbox-content .buttons { width: 32px; } #quickbox-content .buttons :first-child { margin-bottom: 4px; } #quickbox-title-container { width: 100%; padding: 0; margin-left: 8px; } #quickbox-footer { padding: 2px; } #quickbox-footer .button { width: 50px; margin-left: 4px; } #quickbox-send { cursor: pointer; padding: 14px 16px; } #quickbox-footer .textarea { padding-right: 4px; } .quickbox-row { margin-top: 4px; margin-bottom: 4px; } #quickbox-content .w3-row { background-color: #fff; } #quickbox-content div:nth-child(2n+1) { background-color: #fafafa; } .hide,.hidden { display: none !important } .block, .show { display: block !important } /* Small */ @media (max-width: 568px) { .hide-small { display: none !important } } /* Medium */ @media (max-width: 768px) { } @media (max-width:993px) and (min-width:768px) { .hide-medium { display: none !important } } @media (min-width:993px) { .hide-large { display: none !important } #main-sidebar { display: block !important; } .w3-row > .w3-half:first { padding-right: 4px; } .w3-row > .w3-half:nth-child(2) { padding-left: 4px; } #page-main { padding-left: 300px; } #page-top-bar { padding-right: 300px; } }