/**************************************************************/ /* CSS From base.html */ /**************************************************************/ body:not(.sidebar-icon-only) .navbar-toggler .mdi-chevron-double-right { display: none; } body.sidebar-icon-only .navbar-toggler .mdi-chevron-double-left { display: none; } /**************************************************************/ /**************************************************************/ /* CSS for MainMenu in partials/_sidebar.html */ /**************************************************************/ @media screen and (max-width: 991px) { .sidebar-offcanvas { -webkit-transition: all 0.25s cubic-bezier(.22, .61, .36, 1); transition: all 0.25s cubic-bezier(.22, .61, .36, 1); box-shadow: 0px 8px 17px 2px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12), 0px 5px 5px -3px rgba(0, 0, 0, 0.2); } } li.nav-item.nav-category { margin-top: 10px; } /**************************************************************/ /**************************************************************/ /* CSS For ? */ /**************************************************************/ .select-css option { background-color: var(--deep-bg); color: var(--base-text) } .select-css option:checked { background-color: var(--deep-bg); color: var(--base-text) } nav.sidebar { position: fixed; } td { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } td::-webkit-scrollbar { display: none; } @media (min-width: 992px) { nav.sidebar { position: fixed; max-height: auto; } .main-panel { margin-left: 270px; } .sidebar-icon-only .main-panel { margin-left: 70px; } } .sidebar>.nav>.nav-item:not(.nav-profile)>.nav-link:before { content: none; position: absolute; left: 30px; right: 50%; width: 10px; height: 10px; border-radius: 100%; border: 2px solid var(--white); display: block; } .toggle-handle { background-color: var(--white) !important; } .toggle-on { color: var(--dark) !important; } .toggle { height: 0px !important; } .sidebar>.nav>.nav-item:not(.nav-profile)>.nav-link:before { content: none; position: absolute; left: 30px; right: 50%; width: 10px; height: 10px; border-radius: 100%; border: 2px solid var(--white); display: block; } .sidebar>.nav .nav-item .nav-link, .collapsed { padding: 15px 30px; } .mc-log-time { color: var(--success); } .mc-log-info { color: var(--info); } .mc-log-warn { color: var(--warning); } .mc-log-error { color: #af463f; } .mc-log-fatal { color: #da0f00; } .mc-log-keyword { color: var(--primary); } .scrollable-element { scrollbar-color: var(--red) var(--yellow); } .term-nav-item { padding: 1%; } /* Fix body scrollbar color */ body { background-color: var(--dark) !important; /* Firefox */ } /* Webkit */ /* Didn't really work out ::-webkit-scrollbar { background-color: #202538; } ::-webkit-scrollbar-button { background-color: #1D212F; } ::-webkit-scrollbar-thumb { background-color: #777A86; } ::-webkit-scrollbar-thumb:hover { background-color: #646773; } ::-webkit-scrollbar-track { background-color: #202538; } ::-webkit-scrollbar-corner { background-color: #202538; }*/ .actions_serverlist>a>i { cursor: pointer; } .actions_serveritem { cursor: pointer; } .corner { position: absolute; margin-top: 0; margin-left: 0; } .accordion .card { margin-bottom: 0px; } .bootbox-body { text-align: center; } /**************************************************************/ /**************************************************************/ /* CSS for Dashboard */ /**************************************************************/ #desc_id { -ms-overflow-style: none; /* for Internet Explorer, Edge */ scrollbar-width: none; /* for Firefox */ overflow-y: scroll; } #desc_id::-webkit-scrollbar { display: none; /* for Chrome, Safari, and Opera */ } .gray { color: gray !important; } /**************************************************************/ /**************************************************************/ /* CSS for Forms Displays */ /**************************************************************/ div>.input-group>.custom-file-input { position: relative !important; -webkit-box-flex: 1 !important; -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; width: 1% !important; margin-bottom: 0 !important; border: 1px solid var(--outline); } div>.input-group>.form-control-file { position: relative !important; -webkit-box-flex: 1 !important; -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; width: 1% !important; margin-bottom: 0 !important; border: 1px solid var(--outline); } .custom-picker { border: 1px solid var(--outline); } div>.input-group>.form-control { position: relative !important; -webkit-box-flex: 1 !important; -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; width: 1% !important; margin-bottom: 0 !important; border: 1px solid var(--outline); } .input-group>.input-group-append>button.upload-button { height: calc(1.5em + 0.75rem + 2px); } .no-scroll { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } .no-scroll::-webkit-scrollbar { display: none; } .custom-control-label::before, .custom-control-label::after { cursor: pointer; } .custom-control-input:checked~.custom-control-label::before { color: black !important; background-color: blueviolet !important; border-color: var(--outline) !important; } .custom-control-label::before { background-color: white !important; top: calc(-0.2rem); } .custom-switch .custom-control-label::after { top: calc(-0.125rem + 1px); } a.btn-primary { color: var(--white); } button.btn-primary { color: var(--white); } /**************************************************************/ /**************************************************************/ /* CSS for Tables Displays */ /**************************************************************/ table.table { overflow: scroll; } div td>ul { margin: auto; } td p { margin: auto; } td.action { white-space: normal; } td.action .btn { margin-bottom: 0.2rem; } /**************************************************************/ /**************************************************************/ /* CSS for warnings Displays */ /**************************************************************/ div.warnings div.wssError { color: var(--white); } div.warnings div.wssError a { color: var(--outline); } div.warnings div.wssError a:hover { color: var(--white-smoke); } noscript.noscript-warning { padding: 20px; background-color: rgb(247, 151, 15); /* TODO change background color */ } /**************************************************************/ /**************************************************************/ /* CSS for Fonts Displays */ /**************************************************************/ *:lang(th-TH) :not(.fa, .fas, .fab, .fa-solid) { font-family: 'Sarabun', 'roboto', sans-serif; } /**************************************************************/ div.form-group.reset-secret { background: rgba(243, 21, 6, 0.3); outline: 1px solid red; padding: 10px; } .bg-dropdown { background-color: var(--dropdown-bg); } .hidden-input { margin-left: -40px; }