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

Closes #4350: Illustrate reservations vertically alongside rack elevations

This commit is contained in:
jeremystretch
2022-06-21 16:30:27 -04:00
parent 64080e808e
commit 9c214622a1
8 changed files with 72 additions and 29 deletions

View File

@@ -81,17 +81,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 +97,9 @@ svg {
opacity: 0;
}
}
// Reservation background color.
.reservation[class] {
fill: url(#reserved);
}
}