c7d89f364d
* Begin refactoring CSS into component folders. Moved most components into layout/skin folders, left out a couple of ones I want to think about more. * Adjust grays based on recent Structure changes * Switch to fullscreen layout for lists and detail, left aligned forms (#4435) * Specifically use the 'actions_close' label, not just the :last-child (actions-group) * Replace some non-var-ed colours in vaults code skin, plus prefixing (black and white)
121 lines
1.6 KiB
SCSS
121 lines
1.6 KiB
SCSS
@import './icons/index';
|
|
td.folder {
|
|
@extend %with-folder;
|
|
}
|
|
td dt.passing {
|
|
@extend %with-passing;
|
|
}
|
|
td dt.warning {
|
|
@extend %with-warning;
|
|
}
|
|
td dt.critical {
|
|
@extend %with-critical;
|
|
}
|
|
table:not(.sessions) tr {
|
|
cursor: pointer;
|
|
}
|
|
th,
|
|
td {
|
|
border-bottom: $decor-border-100;
|
|
}
|
|
td dt.passing,
|
|
td dt.passing + dd {
|
|
color: $ui-color-success;
|
|
}
|
|
td dt.warning,
|
|
td dt.warning + dd {
|
|
color: $ui-color-alert;
|
|
}
|
|
td dt.critical,
|
|
td dt.critical + dd {
|
|
color: $ui-color-failure;
|
|
}
|
|
th {
|
|
color: $ui-gray-400 !important;
|
|
}
|
|
th {
|
|
border-color: $keyline-dark;
|
|
}
|
|
td {
|
|
border-color: $keyline-mid;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
}
|
|
td button {
|
|
position: relative;
|
|
top: -6px;
|
|
}
|
|
th.actions input {
|
|
display: none;
|
|
}
|
|
th.actions {
|
|
text-align: right;
|
|
}
|
|
td.actions .with-confirmation.confirming {
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
table th {
|
|
padding-bottom: 0.6em;
|
|
}
|
|
table td,
|
|
table td a {
|
|
padding: 0.9em 0;
|
|
}
|
|
table th,
|
|
table td:not(.actions),
|
|
table td a {
|
|
padding-right: 0.9em;
|
|
}
|
|
table:not(.sessions) td:first-child {
|
|
padding: 0;
|
|
}
|
|
table td a {
|
|
display: block;
|
|
}
|
|
tbody {
|
|
overflow-x: visible !important;
|
|
}
|
|
th,
|
|
td:not(.actions),
|
|
td:not(.actions) a {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
// TODO: this isn't specific to table
|
|
td dl {
|
|
height: 100%;
|
|
}
|
|
td dl {
|
|
display: flex;
|
|
}
|
|
td dl > * {
|
|
display: block;
|
|
}
|
|
td dt.zero {
|
|
display: none;
|
|
}
|
|
td dd.zero {
|
|
visibility: hidden;
|
|
}
|
|
td dt {
|
|
text-indent: -9000px;
|
|
}
|
|
td dt.warning {
|
|
overflow: visible;
|
|
}
|
|
td dt.warning::before {
|
|
top: 7px;
|
|
}
|
|
td dt.warning::after {
|
|
left: -2px;
|
|
top: -1px;
|
|
}
|
|
td dd {
|
|
box-sizing: content-box;
|
|
margin-left: 22px;
|
|
padding-right: 10px;
|
|
}
|