consul/ui-v2/app/styles/components/table.scss

72 lines
1.2 KiB
SCSS

@import './icons/index';
@import './table/index';
td.folder {
@extend %with-folder;
}
td dt.passing {
@extend %with-passing;
}
td dt.warning {
@extend %with-warning;
}
td dt.critical {
@extend %with-critical;
}
td span.zero {
@extend %with-no-healthchecks;
display: block;
text-indent: 20px;
color: $ui-gray-400;
}
table:not(.sessions) tr {
cursor: pointer;
}
table:not(.sessions) td:first-child {
padding: 0;
}
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;
}
/* Header Tooltips/Icon*/
th {
overflow: visible;
}
th span {
@extend %tooltip;
@extend %with-info;
margin-left: 12px;
top: 3px;
width: 23px;
height: 15px;
}
th span:after {
left: -8px;
}
th span em::after {
@extend %tooltip-tail;
@extend %blink-in-fade-out;
top: auto !important;
bottom: -13px;
}
th span em {
@extend %tooltip-bubble;
@extend %blink-in-fade-out;
width: 250px;
font-style: normal;
white-space: normal !important;
}
th span:hover em::after,
th span:hover em {
@extend %blink-in-fade-out-active;
}