mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
41 lines
827 B
SCSS
41 lines
827 B
SCSS
@use 'sass:map';
|
|
|
|
// Color labels
|
|
span.color-label {
|
|
display: inline-block;
|
|
width: 5rem;
|
|
height: 1rem;
|
|
padding: $badge-padding-y $badge-padding-x;
|
|
border: 1px solid #303030;
|
|
border-radius: $border-radius;
|
|
}
|
|
|
|
// Object hierarchy depth indicators
|
|
.record-depth {
|
|
display: inline;
|
|
user-select: none;
|
|
opacity: 33%;
|
|
|
|
// Add spacing to the last or only dot.
|
|
span:only-of-type,
|
|
span:last-of-type {
|
|
margin-right: map.get($spacers, 1);
|
|
}
|
|
}
|
|
|
|
// Hides the last child of an element
|
|
.hide-last-child :last-child {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
|
|
// Override bootstrap "dropdown" positioning and display for column filters
|
|
.column-filter {
|
|
position: static;
|
|
display: inline;
|
|
}
|
|
|
|
// Override mdi font-size to adjust filter icon size
|
|
.btn.dropdown-toggle > .mdi-filter-settings {
|
|
font-size: 1.25rem;
|
|
} |