App-Netdisco
view release on metacpan or search on metacpan
share/public/css/netdisco.css view on Meta::CPAN
so both are gone from the markup. Their gutter goes too: the row is a flex
container now and takes it into its own height. */
.nd_hero-row .d-flex > .form-control {
width: 170px;
margin-bottom: 0px;
}
#nqbody, #discodevs {
width: 370px;
}
/* The 5px between a field and what follows was the space between two
inline-block children at 18px. The third value in this file fitted to a
measured outcome: no stylesheet states 5px here, it is the width a space glyph
drew. */
.nd_hero-row .d-flex {
gap: 5px;
}
/* Two empty paragraphs spaced this form 9px each and a form carried an 18px
gutter. Scoped to this box: restoring the form gutter everywhere reaches the
bar's search form and the sidebar's, which the old stylesheet cancelled
separately and this one does not. */
.nd_hero-row p {
margin-bottom: 9px;
}
.nd_hero-row form {
margin-bottom: 18px;
}
/* push user/pass/login form down+away from the Netdisco banner text. This is
the cancellation of the gutter above, and it names the box so that it still
outranks it: the last form in the box closed it flush. */
.nd_hero-row .nd_login-form {
margin-top: 15px;
margin-bottom: 0px;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* styles for device inventory */
.nd_inventory-table-head {
text-align: center;
color: lightSlateGray;
margin-top: 6px;
margin-bottom: 3px;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* styles for links in results tables */
/* make the whole cell become a hyperlink in results table */
.nd_linkcell {
display: block;
padding: 0px;
height: 100%;
}
/* still a link, but styled like normal text */
.nd_stealth-link {
text-decoration: none !important;
color: #404040;
}
.nd_text-align-top {
vertical-align: text-top;
}
/* make room for the port log icon */
.nd_this-port-only {
margin-right: 15px;
}
/* nudge cell content to the right when port_control controls are enabled */
.nd_editable-cell > .nd_this-port-only {
margin-left: 14px;
margin-right: 60px;
}
.nd_editable-cell > .nd_port-only-first {
margin-left: 5px;
}
.nd_editable-cell > .nd_editable-cell-content {
margin-right: 25px;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* styles to position table cell content */
/* Every other row was filled #f9f9f9. Its replacement lays a 5% black wash over
the cell instead, which comes out seven units darker on every striped row in
the application. Stated as the fill the wash uses, so the wash is opaque and
lands on the old color. */
.table {
--bs-table-striped-bg: #f9f9f9;
}
/* The old stylesheet gave a cell no color, so tables drew the body's #333; the
replacement resolves the cell and its striped, hovered and active variants from
--bs-emphasis-color, which is #000 and does not follow the body. All four are
stated because all four resolve from it. */
.table {
--bs-table-color: #333333;
--bs-table-striped-color: #333333;
--bs-table-hover-color: #333333;
--bs-table-active-color: #333333;
}
/* The old stylesheet ruled a table with border-top on every cell; the
replacement rules with a bottom border, moving every rule down a row and, the
border counting inside the height, changing both end rows' depth.
Scoped to tbody, which is load-bearing: the blunt form also rules above a
header row, where the old stylesheet explicitly zeroed one. */
.table > tbody > tr > * {
border-top-width: var(--bs-border-width);
border-bottom-width: 0;
}
/* And the color it is drawn in: #dddddd at all four places the old stylesheet
drew a table border, against --bs-border-color's #dee2e6. Two things this does
not reach: the zero-width edge of an unbordered table, where nothing is drawn
either way, and the contextual row classes, which tint their own borders. */
( run in 2.255 seconds using v1.01-cache-2.11-cpan-744e820c463 )