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

Clean up rack headers and border

This commit is contained in:
Jeremy Stretch
2020-02-20 14:10:48 -05:00
parent 51f7b7a5bf
commit 6c272adb0e
3 changed files with 3 additions and 19 deletions

View File

@ -187,6 +187,6 @@ class RackElevationSVG:
unit_cursor += height
# Wrap the drawing with a border
drawing.add(drawing.rect((legend_width, 0), (unit_width, self.rack.u_height * unit_height), class_='rack'))
drawing.add(drawing.rect((legend_width, 1), (unit_width - 1, self.rack.u_height * unit_height - 2), class_='rack'))
return drawing

View File

@ -179,26 +179,10 @@ nav ul.pagination {
/* Racks */
div.rack_header {
margin-left: 36px;
margin-left: 30px;
text-align: center;
width: 230px;
}
ul.rack_legend {
float: left;
list-style-type: none;
margin-right: 6px;
padding: 0;
width: 30px;
}
ul.rack_legend li {
color: #c0c0c0;
display: block;
font-size: 10px;
height: 20px;
overflow: hidden;
padding: 5px 0;
text-align: right;
}
/* Devices */
table.component-list td.subtable {

View File

@ -14,7 +14,7 @@ text {
background-color: #f0f0f0;
fill: none;
stroke: black;
stroke-width: 3px;
stroke-width: 2px;
}
.slot {
fill: #f7f7f7;