474 lines
7.9 KiB
CSS
474 lines
7.9 KiB
CSS
@import "../../node_modules/@patternfly/react-styles/css/components/Alert/alert.css";
|
|
@import "../lib/page.css";
|
|
|
|
@import "../lib/console.css";
|
|
@import "../lib/journal.css";
|
|
@import "../lib/plot.css";
|
|
@import "../lib/table.css";
|
|
@import "../lib/tooltip.css";
|
|
@import "../lib/cockpit-components-empty-state.css";
|
|
|
|
@import "./timer.css";
|
|
|
|
a.disabled {
|
|
text-decoration: none;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.popover {
|
|
max-width: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
body {
|
|
/* Work around a pesky scrollbar on the page, due to 100% height */
|
|
height: auto;
|
|
}
|
|
|
|
.server-overview {
|
|
display: grid;
|
|
grid-gap: 0 2rem;
|
|
/* By default, horizontally stack the grid elements */
|
|
grid-template-areas: "motd" "info" "graphs";
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
@media screen and (min-width: 640px) {
|
|
/* Lay out overview in a grid, if there's enough width */
|
|
.server-overview {
|
|
grid-template-areas: "motd motd" "info graphs";
|
|
grid-template-columns: auto 1fr;
|
|
}
|
|
}
|
|
|
|
.server-overview > .info-table-ct-container {
|
|
grid-area: info;
|
|
}
|
|
|
|
.server-overview > .server-graphs {
|
|
grid-area: graphs;
|
|
}
|
|
|
|
.server-overview > .motd-box {
|
|
grid-area: motd;
|
|
}
|
|
|
|
/* Flot needs a little coaxing to behave */
|
|
.server-graphs canvas,
|
|
.server-graphs .flot-text {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.systime-inline form .pficon-close,
|
|
.systime-inline form .fa-plus {
|
|
height: 26px;
|
|
width: 26px;
|
|
padding: 4px;
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.systime-inline .form-inline {
|
|
background: #f4f4f4;
|
|
border-width: 0 1px 1px 1px;
|
|
border-style: solid;
|
|
border-color: #bababa;
|
|
padding: 4px;
|
|
}
|
|
|
|
.systime-inline .form-inline:first-of-type {
|
|
border-top: 1px solid #bababa;
|
|
}
|
|
|
|
.systime-inline .form-control {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.systime-inline .form-group:first-of-type .form-control {
|
|
margin: 0 4px 0 0;
|
|
}
|
|
|
|
.systime-inline .form-group .form-control {
|
|
width: 214px;
|
|
}
|
|
|
|
/* Make sure error message don't overflow the dialog */
|
|
|
|
.realms-op-diagnostics {
|
|
max-width: 550px;
|
|
text-align: left;
|
|
max-height: 200px;
|
|
}
|
|
|
|
.realms-op-wait-message {
|
|
margin-left: 10px;
|
|
float: left;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.realms-op-error .realms-op-more-diagnostics {
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* leave some space between form and leave toggle */
|
|
#realms-op-leave-toggle {
|
|
font-weight: bold;
|
|
line-height: 5rem;
|
|
}
|
|
|
|
/* standard PF alerts have a wide margin */
|
|
.realms-op-leave-only-row .pf-c-alert {
|
|
padding-left: 2ex;
|
|
}
|
|
|
|
.realms-op-leave-only-row .pf-c-alert button {
|
|
margin: 1ex 0;
|
|
}
|
|
|
|
/* Other styles */
|
|
|
|
.small-messages {
|
|
font-size: smaller;
|
|
}
|
|
|
|
#server-graph-toolbar {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#server-graph-toolbar .ct-select,
|
|
#server-graph-toolbar .dropdown {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.server-graph {
|
|
height: 120px;
|
|
}
|
|
|
|
.server-graph-container {
|
|
display: grid;
|
|
grid-template: "title title" "graph legend";
|
|
grid-template-columns: 1fr max-content;
|
|
}
|
|
|
|
.server-graph-title {
|
|
grid-area: title;
|
|
}
|
|
|
|
.server-graph-graph {
|
|
grid-area: graph;
|
|
}
|
|
|
|
.server-graph-legend {
|
|
grid-area: legend;
|
|
float: right;
|
|
line-height: 24px;
|
|
list-style-type: none;
|
|
padding: 30px 40px 0 0;
|
|
}
|
|
|
|
.server-graph-legend li {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.server-graph-legend i {
|
|
font-size: 16px;
|
|
margin-right: 0.5rem;
|
|
padding: 0;
|
|
}
|
|
|
|
.server-graph-legend .cpu-io-wait i {
|
|
color: var(--color-red-1);
|
|
}
|
|
|
|
.server-graph-legend .cpu-kernel i {
|
|
color: var(--color-gold);
|
|
}
|
|
|
|
.server-graph-legend .cpu-user i {
|
|
color: var(--color-purple-6);
|
|
}
|
|
|
|
.server-graph-legend .cpu-nice i {
|
|
color: var(--color-green);
|
|
}
|
|
|
|
.server-graph-legend .memory-swap i {
|
|
color: var(--color-red-1);
|
|
}
|
|
|
|
.server-graph-legend .memory-cached i {
|
|
color: #c8eb79;
|
|
}
|
|
|
|
.server-graph-legend .memory-used i {
|
|
color: var(--color-blue);
|
|
}
|
|
|
|
.server-graph-legend .memory-free i {
|
|
color: var(--color-green);
|
|
}
|
|
|
|
#cpu_status_title {
|
|
padding: 20px 20px 0px 20px;
|
|
margin-bottom: -10px;
|
|
margin-left: 35px;
|
|
}
|
|
|
|
#cpu_status_graph,
|
|
#memory_status_graph {
|
|
height: 400px;
|
|
padding: 20px;
|
|
}
|
|
|
|
#sich-note-1,
|
|
#sich-note-2 {
|
|
margin: 0;
|
|
}
|
|
#shutdown-dialog td {
|
|
padding-right: 20px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#shutdown-dialog .opt {
|
|
padding: 1px 10px;
|
|
}
|
|
|
|
#shutdown-dialog .ct-select,
|
|
#shutdown-dialog .dropdown {
|
|
min-width: 150px;
|
|
}
|
|
|
|
#shutdown-group {
|
|
overflow: visible;
|
|
}
|
|
|
|
#shutdown-dialog textarea {
|
|
resize: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#shutdown-dialog input {
|
|
display: inline;
|
|
width: 10em;
|
|
}
|
|
|
|
#shutdown-dialog .shutdown-hours,
|
|
#shutdown-dialog .shutdown-minutes {
|
|
width: 3em;
|
|
}
|
|
|
|
#system_information_ssh_keys .list-group-item {
|
|
cursor: auto;
|
|
}
|
|
|
|
#system_information_hardware_text,
|
|
#system_information_os_text,
|
|
#system-information-enable-pcp-link {
|
|
overflow: visible;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.system-information-updates > .fa {
|
|
line-height: inherit;
|
|
}
|
|
|
|
#system_machine_id {
|
|
display: inline-block;
|
|
font-family: monospace;
|
|
word-break: break-all;
|
|
}
|
|
|
|
@media (min-width: 500px) {
|
|
.cockpit-modal-md {
|
|
width: 400px;
|
|
}
|
|
}
|
|
|
|
/* Make sure to not break log message lines in order to preserve information */
|
|
#journal-entry .info-table-ct td {
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
}
|
|
|
|
#journal-entry .info-table-ct td:first-child {
|
|
white-space: normal;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.service-unit-description {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.service-unit-data {
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media screen and (max-width: 960px) {
|
|
.service-unit-data {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
.service-unit-failed {
|
|
color: red;
|
|
}
|
|
|
|
.service-template input {
|
|
width: 50em;
|
|
}
|
|
|
|
#journal-current-day-menu dropdown-toggle {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.content-header-extra + #journal-box {
|
|
margin: 0;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
#journal-entry-message:not(:empty) {
|
|
margin: 10px;
|
|
}
|
|
|
|
#journal-entry-fields {
|
|
margin-bottom: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
#journal-entry-fields th {
|
|
font-weight: normal;
|
|
}
|
|
|
|
#accordion-markup {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.problem-btn {
|
|
float: right;
|
|
padding: 0px 5px 0px 5px;
|
|
margin-right: 10px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.nav-tabs-pf > li:first-child > a {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.nav li a {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.panel-heading.problem-panel{
|
|
cursor: pointer;
|
|
}
|
|
|
|
.detail_table > tbody > tr > td, .detail_table > thead > tr > th {
|
|
padding-right: 10px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.problem-panel {
|
|
background: none !important;
|
|
height: auto;
|
|
}
|
|
|
|
.problem-panel:hover {
|
|
background: #EDEDED !important;
|
|
height: auto;
|
|
}
|
|
|
|
.other-threads-btn {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.other_threads {
|
|
clear: both;
|
|
}
|
|
|
|
/* Extra content header */
|
|
|
|
.content-header-extra {
|
|
background: #f5f5f5;
|
|
border-bottom: 1px solid #ddd;
|
|
padding: 10px 20px;
|
|
width: 100%;
|
|
position: sticky;
|
|
z-index: 900;
|
|
top: 0;
|
|
}
|
|
|
|
.content-header-extra .btn-group {
|
|
padding-left: 5px;
|
|
padding-right: 30px;
|
|
}
|
|
|
|
#motd {
|
|
background-color: transparent;
|
|
border: none;
|
|
font-size: 14px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.pf-c-alert {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.fa-info-circle {
|
|
color: var(--pf-global--info-color--100);
|
|
}
|
|
|
|
.fa-exclamation-triangle {
|
|
color: var(--pf-global--warning-color--100);
|
|
}
|
|
|
|
.fa-exclamation-circle {
|
|
color: var(--pf-global--danger-color--100);
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
table.reporting-table tr:first-child td {
|
|
border-top: none;
|
|
}
|
|
|
|
table.reporting-table td:first-child {
|
|
white-space: nowrap;
|
|
width: 40%;
|
|
}
|
|
|
|
table.reporting-table td:nth-child(2) {
|
|
text-align: start;
|
|
width: 60%;
|
|
}
|
|
|
|
table.reporting-table td:nth-child(2) > .spinner {
|
|
display: inline-block;
|
|
margin-right: 0.5em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
td.report-column {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
#journal-entry-heading {
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
#journal-entry-message {
|
|
padding-left: 1.5rem;
|
|
|
|
}
|