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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user