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

69 lines
1.4 KiB
SCSS

@import './icons/index';
@import './table/index';
@import './type-icon/index';
html.template-service.template-list td:first-child a span,
html.template-node.template-show #services td:first-child a span,
html.template-service.template-show #instances td:first-child a span {
@extend %with-external-source-icon;
float: left;
margin-right: 10px;
margin-top: 2px;
}
/* This nudges the th in for the external source icons */
html.template-node.template-show #services th:first-child,
html.template-service.template-show #instances th:first-child,
html.template-service.template-list main th:first-child {
text-indent: 28px;
}
td.folder {
@extend %with-folder;
}
td .kind-proxy {
@extend %type-icon, %with-proxy;
text-indent: -9000px !important;
width: 24px;
margin-top: -8px;
transform: scale(0.7);
}
table:not(.sessions) tr {
cursor: pointer;
}
table:not(.sessions) td:first-child {
padding: 0;
}
/* 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;
}