339 lines
4.8 KiB
CSS
339 lines
4.8 KiB
CSS
/*
|
|
* SPDX-FileCopyrightText: 2016 F7cloud GmbH and F7cloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
.server-info-wrapper {
|
|
max-width: 100vw;
|
|
}
|
|
|
|
.monitoring-wrapper {
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
max-width: 50%;
|
|
min-width: 50%;
|
|
}
|
|
|
|
.monitoring-wrapper > input {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.monitoring-wrapper + .settings-hint {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.rambox, .cpubox {
|
|
height: 10px;
|
|
width: 10px;
|
|
background-color: var(--color-primary-element);
|
|
}
|
|
|
|
.swapbox {
|
|
height: 10px;
|
|
width: 10px;
|
|
background-color: var(--color-background-darker);
|
|
}
|
|
|
|
.info {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.smallinfo {
|
|
color: var(--color-text-maxcontrast);
|
|
}
|
|
|
|
.infobox {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
padding: 16px;
|
|
margin: 16px 0;
|
|
background-color: var(--color-main-background);
|
|
border: 2px solid var(--color-border);
|
|
border-radius: var(--border-radius-large);
|
|
}
|
|
|
|
.diskchart-container {
|
|
width: 100px;
|
|
margin-right: 25px;
|
|
border: 1px var(--color-border);
|
|
}
|
|
|
|
.info-color-label--available::before, .info-color-label--used::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 10px;
|
|
margin-right: 5px;
|
|
}
|
|
.info-color-label--available::before {
|
|
background-color: var(--color-border-maxcontrast);
|
|
}
|
|
|
|
.info-color-label--used::before {
|
|
background-color: var(--color-primary-element);
|
|
}
|
|
|
|
@media (width <= 1280px) {
|
|
.infobox {
|
|
display: block;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.text-center-mobile {
|
|
text-align: center;
|
|
}
|
|
|
|
.diskchart-container {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.monitoring-wrapper {
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.diskinfo-container {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.infobox h3 {
|
|
font-weight: bold;
|
|
padding: 5px 0 10px 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.infoicon {
|
|
width: 28px;
|
|
vertical-align: middle;
|
|
padding: 5px;
|
|
filter: var(--background-invert-if-dark);
|
|
}
|
|
|
|
.chart-container {
|
|
position: relative;
|
|
margin: 10px;
|
|
}
|
|
|
|
.clipboardButton {
|
|
display: inline-block;
|
|
position: relative;
|
|
top: 2px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* GRID SYSTEM */
|
|
|
|
.row {
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
flex: 0 1 auto;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
margin-left: -15px;
|
|
margin-right: -15px;
|
|
}
|
|
|
|
.col {
|
|
flex-grow: 1;
|
|
flex-basis: 0;
|
|
max-width: 100%;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.col-1 {
|
|
flex-basis: 8.333%;
|
|
max-width: 8.333%;
|
|
min-width: 8.333%;
|
|
}
|
|
|
|
.col-2 {
|
|
flex-basis: 16.666%;
|
|
max-width: 16.666%;
|
|
min-width: 16.666%;
|
|
}
|
|
|
|
.col-3 {
|
|
flex-basis: 25%;
|
|
max-width: 25%;
|
|
min-width: 25%;
|
|
}
|
|
|
|
.col-4 {
|
|
flex-basis: 33.333%;
|
|
max-width: 33.333%;
|
|
min-width: 33.333%;
|
|
}
|
|
|
|
.col-5 {
|
|
flex-basis: 41.666%;
|
|
max-width: 41.666%;
|
|
min-width: 41.666%;
|
|
}
|
|
|
|
.col-6 {
|
|
flex-basis: 50%;
|
|
max-width: 50%;
|
|
min-width: 50%;
|
|
}
|
|
|
|
.col-7 {
|
|
flex-basis: 58.333%;
|
|
max-width: 58.333%;
|
|
min-width: 58.333%;
|
|
}
|
|
|
|
.col-8 {
|
|
flex-basis: 66.666%;
|
|
max-width: 66.666%;
|
|
min-width: 66.666%;
|
|
}
|
|
|
|
.col-9 {
|
|
flex-basis: 75%;
|
|
max-width: 75%;
|
|
min-width: 75%;
|
|
}
|
|
|
|
.col-10 {
|
|
flex-basis: 83.333%;
|
|
max-width: 83.333%;
|
|
min-width: 83.333%;
|
|
}
|
|
|
|
.col-11 {
|
|
flex-basis: 91.666%;
|
|
max-width: 91.666%;
|
|
min-width: 91.666%;
|
|
}
|
|
|
|
.col-12 {
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
.col-xl-6 {
|
|
flex-basis: 50%;
|
|
max-width: 50%;
|
|
min-width: 50%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 1024px) {
|
|
.col-l-6 {
|
|
flex-basis: 50%;
|
|
max-width: 50%;
|
|
min-width: 50%;
|
|
}
|
|
|
|
.col-l-12 {
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
.col-m-6 {
|
|
flex-basis: 50%;
|
|
max-width: 50%;
|
|
min-width: 50%;
|
|
}
|
|
|
|
.col-m-12 {
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
.monitoring-url-params {
|
|
margin-top: 3px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.monitoring-url-param {
|
|
display: flex;
|
|
align-items: start;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.monitoring-url-param input {
|
|
margin-top: 4px;
|
|
min-height: initial;
|
|
height: initial;
|
|
}
|
|
|
|
.active-users-wrapper {
|
|
flex: 1;
|
|
display: flex;
|
|
gap: 0 1rem;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.active-users-box {
|
|
padding: 0.25rem 1rem;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
border-left: 2px solid var(--color-border);
|
|
}
|
|
|
|
@media (width <= 1280px) {
|
|
.active-users-box {
|
|
padding: 1rem 0.5rem;
|
|
border: none;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.active-users-box:first-child {
|
|
border: none;
|
|
}
|
|
|
|
.active-users-box .info {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.smoothie-chart-tooltip {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
padding: 16px;
|
|
margin: 0 0.25rem;
|
|
background-color: var(--color-main-background);
|
|
border: 2px solid var(--color-border);
|
|
border-radius: var(--border-radius-large);
|
|
}
|
|
|
|
.cpu-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.server-info-table table {
|
|
width: 100%;
|
|
}
|
|
|
|
.server-info-table td {
|
|
padding: 6px;
|
|
}
|
|
|
|
.server-info__tag-wrapper {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.server-info__php-extension-tag {
|
|
display: inline-block;
|
|
margin: 2px;
|
|
padding: 2px 12px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--color-main-text);
|
|
} |