520 lines
10 KiB
CSS
Raw Normal View History

2024-06-15 14:30:56 +02:00
/**************************************************************/
/* 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;
}
/**************************************************************/
2024-08-13 23:08:00 +02:00
/**************************************************************/
/* CSS as bootstrap extensions */
/**************************************************************/
.overflow-x-auto {
overflow-x: auto;
}
.overflow-y-auto {
overflow-y: auto;
}
.overflow-scroll {
overflow: scroll;
}
.text-none {
text-transform: none;
}
2024-10-06 20:49:33 +02:00
.vw-40 {
width: 40vw !important;
2024-08-14 21:51:14 +02:00
}
2024-10-06 20:49:33 +02:00
.vh-40 {
height: 40vh !important;
2024-08-14 21:51:14 +02:00
}
2024-10-06 20:49:33 +02:00
.mw-25 {
max-width: 25% !important;
2024-08-14 21:51:14 +02:00
}
2024-10-06 20:49:33 +02:00
.mw-50 {
max-width: 50% !important;
2024-08-14 21:51:14 +02:00
}
.mw-75 {
max-width: 75% !important;
}
2024-10-06 20:49:33 +02:00
.mw-80 {
max-width: 80% !important;
}
.mh-25 {
max-height: 25% !important;
}
.mh-50 {
max-height: 50% !important;
}
2024-08-14 21:51:14 +02:00
.mh-75 {
max-height: 75% !important;
}
2024-10-06 20:49:33 +02:00
.mh-80 {
max-height: 80% !important;
}
2024-08-13 23:08:00 +02:00
/**************************************************************/
2024-06-15 14:30:56 +02:00
/**************************************************************/
/* 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 ? */
/**************************************************************/
2020-08-23 18:43:28 -04:00
.select-css option {
2022-09-26 21:24:00 -04:00
background-color: var(--deep-bg);
color: var(--base-text)
2020-08-23 18:43:28 -04:00
}
.select-css option:checked {
2022-09-26 21:24:00 -04:00
background-color: var(--deep-bg);
color: var(--base-text)
}
nav.sidebar {
position: fixed;
}
2024-03-08 23:23:36 -05:00
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;
}
}
2022-06-20 23:41:52 +02:00
.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%;
2024-01-30 22:03:58 +01:00
border: 2px solid var(--white);
display: block;
}
2022-07-14 18:26:42 -04:00
.toggle-handle {
2024-01-30 22:03:58 +01:00
background-color: var(--white) !important;
2022-07-14 18:26:42 -04:00
}
.toggle-on {
2024-01-30 22:03:58 +01:00
color: var(--dark) !important;
2022-07-14 18:26:42 -04:00
}
.toggle {
height: 0px !important;
}
2022-06-20 23:41:52 +02:00
.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%;
2024-01-30 22:03:58 +01:00
border: 2px solid var(--white);
display: block;
}
2022-06-20 23:41:52 +02:00
.sidebar>.nav .nav-item .nav-link,
.collapsed {
padding: 15px 30px;
}
2022-06-20 23:41:52 +02:00
.mc-log-time {
2022-10-04 13:31:37 -04:00
color: var(--success);
}
2022-06-20 23:41:52 +02:00
.mc-log-info {
2022-10-04 13:31:37 -04:00
color: var(--info);
}
2022-06-20 23:41:52 +02:00
.mc-log-warn {
2022-10-04 13:31:37 -04:00
color: var(--warning);
}
2022-06-20 23:41:52 +02:00
.mc-log-error {
2024-10-06 21:07:22 +02:00
color: var(--danger);
2022-01-21 21:36:19 -05:00
}
2022-06-20 23:41:52 +02:00
.mc-log-fatal {
2024-10-06 21:07:22 +02:00
color: var(--red);
}
2022-06-20 23:41:52 +02:00
.mc-log-keyword {
2022-10-04 13:31:37 -04:00
color: var(--primary);
}
.scrollable-element {
2024-01-30 22:03:58 +01:00
scrollbar-color: var(--red) var(--yellow);
}
2022-06-20 23:41:52 +02:00
.term-nav-item {
padding: 1%;
}
/* Fix body scrollbar color */
2022-06-20 23:41:52 +02:00
body {
background-color: var(--dark) !important;
/* Firefox */
}
2022-06-20 23:41:52 +02:00
.actions_serverlist>a>i {
cursor: pointer;
}
.actions_serveritem {
cursor: pointer;
2021-08-20 13:46:01 -04:00
}
2022-06-20 23:41:52 +02:00
2021-08-26 21:06:22 -04:00
.corner {
position: absolute;
margin-top: 0;
margin-left: 0;
2022-06-20 23:41:52 +02:00
}
.accordion .card {
margin-bottom: 0px;
2023-05-17 16:21:21 -04:00
}
.bootbox-body {
text-align: center;
}
2023-02-04 10:50:44 +01:00
/**************************************************************/
2024-06-15 14:30:56 +02:00
/**************************************************************/
/* 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 {
2024-08-14 23:03:00 +02:00
color: var(--gray) !important;
2024-06-15 14:30:56 +02:00
}
2024-08-06 23:08:22 +02:00
.disk-usage {
height: 20px;
width: 100%;
background-color: rgb(139, 139, 139) !important
}
.disk-usage>.progress-bar {
color: black;
height: 100%;
}
.server-desc {
overflow-wrap: break-word !important;
max-width: 85px !important;
overflow: scroll;
}
.server-alert {
color: var(--red) !important;
}
2024-06-15 14:30:56 +02:00
/**************************************************************/
/**************************************************************/
/* CSS for Forms Displays */
2023-02-04 10:50:44 +01:00
/**************************************************************/
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);
}
2023-05-27 14:01:46 -04:00
.no-scroll {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
2024-07-28 18:41:23 +02:00
overflow: scroll;
2023-05-27 14:01:46 -04:00
}
.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 {
2024-07-28 19:24:51 +02:00
top: calc(-0.175rem);
}
2024-07-28 18:41:23 +02:00
.custom-radio .custom-control-label::after {
top: calc(-0.175rem);
}
2024-01-30 22:03:58 +01:00
a.btn-primary {
color: var(--white);
}
button.btn-primary {
color: var(--white);
}
/**************************************************************/
/**************************************************************/
/* CSS for Tables Displays */
/**************************************************************/
2024-06-15 14:30:56 +02:00
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;
}
2024-01-30 22:03:58 +01:00
/**************************************************************/
/**************************************************************/
/* CSS for warnings Displays */
/**************************************************************/
div.warnings div.wssError {
color: var(--white);
}
div.warnings div.wssError a {
2024-01-30 22:10:49 +01:00
color: var(--outline);
}
div.warnings div.wssError a:hover {
2024-01-30 22:03:58 +01:00
color: var(--white-smoke);
}
2024-06-15 14:30:56 +02:00
noscript.noscript-warning {
padding: 20px;
background-color: rgb(247, 151, 15);
/* TODO change background color */
}
2024-01-30 22:03:58 +01:00
/**************************************************************/
/**************************************************************/
/* CSS for Fonts Displays */
2024-01-30 22:03:58 +01:00
/**************************************************************/
2024-01-30 22:58:19 +01:00
*:lang(th-TH) :not(.fa, .fas, .fab, .fa-solid) {
font-family: 'Sarabun', 'roboto', sans-serif;
}
2024-01-30 22:03:58 +01:00
/**************************************************************/
/**************************************************************/
/* CSS for Annoucements Displays */
/**************************************************************/
.annoucement-item>p {
float: right;
}
.annoucement-title {
color: var(--info);
}
.annoucement-item:hover>a .annoucement-title {
color: var(--purple);
}
2024-08-06 23:31:08 +02:00
div.support_progress {
height: 15px;
width: 100%;
}
2024-07-28 19:27:52 +02:00
/**************************************************************/
/**************************************************************/
/* CSS for API Keys Displays */
/**************************************************************/
.api-key {
white-space: pre-wrap;
color: white;
word-break: break-all;
background: grey;
border-radius: 5px;
}
2024-07-28 19:44:44 +02:00
/**************************************************************/
/**************************************************************/
/* CSS for Virtual Console Displays */
/**************************************************************/
.virt_console {
width: 100%;
font-size: .8em;
padding: 5px 10px;
border: 1px solid var(--outline);
background-color: var(--card-banner-bg);
height: 500px;
overflow: scroll;
}
/**************************************************************/
/**************************************************************/
/* CSS for Lists Displays */
/**************************************************************/
ul>li.list-group-item {
background-color: var(--card-banner-bg);
}
ul>li.list-group-item i {
margin: 0;
}
2024-10-06 20:33:11 +02:00
/**************************************************************/
/**************************************************************/
/* CSS for Card Displays */
/**************************************************************/
.card .card-header.header-sm {
padding: 1rem 1.81rem;
height: auto;
}
/**************************************************************/
/**************************************************************/
/* CSS for ? */
2024-06-15 14:30:56 +02:00
/**************************************************************/
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);
}
2024-06-23 20:17:34 -04:00
.hidden-input {
margin-left: -40px;
2024-07-28 19:27:52 +02:00
}
/**************************************************************/