1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge branch 'feature' into 9102-cabling

This commit is contained in:
jeremystretch
2022-06-27 12:12:34 -04:00
106 changed files with 1385 additions and 353 deletions

View File

@@ -48,6 +48,13 @@ svg {
visibility: hidden;
}
rect.shaded, image.shaded {
opacity: 25%;
}
text.shaded {
opacity: 50%;
}
// Rack elevation container.
.rack {
fill: none;
@@ -81,17 +88,6 @@ svg {
opacity: 1;
}
// When a reserved slot is hovered, use a more readable color for the 'Add Device' text.
&.reserved:hover[class] + .add-device {
fill: $black;
}
// Reserved rack unit background color.
&.reserved[class],
&.reserved:hover[class] {
fill: url(#reserved);
}
// Occupied rack unit background color.
&.occupied[class],
&.occupied:hover[class] {
@@ -108,4 +104,9 @@ svg {
opacity: 0;
}
}
// Reservation background color.
.reservation[class] {
fill: url(#reserved);
}
}