1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
2022-08-11 08:26:25 -04:00

51 lines
965 B
SCSS

// Custom Utility classes.
// Utility class for extra-small text.
.text-xs {
font-size: $font-size-xs !important;
line-height: $line-height-sm !important;
}
// Add a border color that mimics the appearance of a form element.
.border-input {
border: $input-border-width solid $input-border-color !important;
}
// Force no line wrapping.
.ws-nowrap {
white-space: nowrap !important;
}
// Vertically align table rows/cells.
table tr,
table td {
.vertical-align {
vertical-align: middle;
}
}
// Hide element when printing.
.noprint {
@media print {
display: none !important;
visibility: hidden !important;
}
}
// Only show element when printing, otherwise hide.
.printonly {
display: none !important;
visibility: hidden !important;
@media print {
display: block !important;
visibility: visible !important;
}
}
// Hides the last child of an element
.hide-last-child :last-child {
visibility: hidden;
opacity: 0;
}