You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cvm/public/css/style.css

142 lines
2.6 KiB
CSS

body {
background-color: rgb(228, 228, 228);
margin: 0px;
font-family: sans-serif;
}
.content {
padding: 8px;
}
label {
margin-right: 12px;
}
.menu {
background-color: rgb(0, 4, 36);
}
.menu h1, .menu .menuItem {
display: inline-block;
color: white;
}
.menu h1 {
margin: 0px 16px;
}
.menu .menuItem a {
color: white;
text-decoration: none;
padding: 15px 9px 5px 9px;
}
.menu .menuItem.active a {
/* FIXME: Make this lighter when there is no submenu, to match the page background color */
background-color: rgb(221, 221, 221);
color: black;
}
.menu .menuItem:not(.active) a:hover {
background-color: rgb(175, 175, 175);
color: black;
}
.fakeSubmenu, .submenu {
background: linear-gradient(to bottom, rgb(221, 221, 221), rgb(221, 221, 221) 60%, rgb(202, 204, 206));
}
.fakeSubmenu {
height: 16px;
}
.submenu {
padding: 0.3em 0.2em 0 0.2em;
border-bottom: 1px solid rgb(0, 4, 36);
}
.submenu .menuItem {
display: inline-block;
margin-bottom: -1px;
padding: 0.3em 0.7em;
font-size: 0.95em;
}
.submenu .menuItem a {
text-decoration: none;
color: black;
}
.submenu .menuItem.active {
background-color: rgb(228, 228, 228);
border: 1px solid rgb(0, 4, 36);
border-bottom: none;
}
table {
border-collapse: collapse;
}
table th, table td {
padding: 6px 9px;
border: 1px solid black;
}
table th {
text-align: left;
}
table td.hidden {
border: none;
}
table.drives td {
vertical-align: top;
}
table.drives td.smart.HEALTHY {
background-color: rgb(0, 165, 0);
}
table.drives td.smart.DETERIORATING {
background-color: rgb(255, 145, 0);
}
table.drives td.smart.FAILING {
background-color: rgb(230, 0, 0);
}
table.drives td.smart.UNKNOWN {
background-color: rgb(177, 177, 177);
}
table.drives .hasPartitions td:not(.smart), table.drives .partition:not(.last) td:not(.smart) {
border-bottom-color: transparent;
}
table.drives .partition {
font-style: italic;
font-size: 0.8em;
}
table.drives .partition td {
padding: 4px 9px;
}
table.drives .partition .notMounted {
color: gray;
}
table.drives tr.smartStatus {
font-size: 0.85em;
}
table.drives tr.smartStatus td {
padding: 4px 9px;
}
table.drives th.healthy {
color: rgb(0, 97, 0);
}
table.drives th.atRisk {
color: rgb(124, 70, 0);
}
table.drives th.failing {
color: rgb(194, 0, 0);
}
table.drives th.unknown {
color: rgb(59, 59, 59);
}
.stacktrace {
white-space: pre-wrap;
font-family: monospace;
background-color: rgb(12, 12, 12);
border: 1px solid black;
padding: 0.8em;
max-width: 1200px;
}
.stacktrace .irrelevant {
color: gray;
}
/*# sourceMappingURL=style.css.map */