mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Fix left padding of login button in top menu * Relocate "add" buttons for embedded object tables * Remove unused data template block & getNetboxData() utility function * Remove bottom margin from last <p> element in rendered Markdown inside a table cell * Prevent TomSelect from initializing on <select> elements with a size * Fix styling of dropdown menu button for circuit commit rate * Change .color-block to display: inline-block * Delete unused static asset * Improve contrast between menu group headings & items * Remove custom color for attr-table row headings * Fix border color of copy-to-clipboard button * Fix toast text color in dark mode * Fix rack elevation label/image toggles * Increase border radius for small buttons * Fix object selector
46 lines
782 B
SCSS
46 lines
782 B
SCSS
// Object list tables
|
|
table.object-list {
|
|
|
|
// Hide border of last row
|
|
tbody > tr:last-child > td {
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
// Append up/down arrow to header of column used for sorting
|
|
th.asc > a::after {
|
|
content: '\f0140';
|
|
font-family: 'Material Design Icons';
|
|
}
|
|
th.desc > a::after {
|
|
content: '\f0143';
|
|
font-family: 'Material Design Icons';
|
|
}
|
|
|
|
}
|
|
|
|
// Object attribute tables
|
|
table.attr-table {
|
|
|
|
// Restyle row header
|
|
th {
|
|
font-weight: normal;
|
|
width: min-content;
|
|
}
|
|
|
|
// Restyle row border
|
|
th, td {
|
|
border-bottom-style: dashed;
|
|
}
|
|
|
|
// Hide border of last row in table
|
|
tr:last-child {
|
|
border-bottom-style: hidden;
|
|
}
|
|
|
|
}
|
|
|
|
// Remove bottom margin from <pre> elements inside table cells
|
|
td pre {
|
|
margin-bottom: 0;
|
|
}
|