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

37 lines
813 B
SCSS
Raw Normal View History

2021-08-02 02:18:31 -07:00
// Overrides to native HTML elements (i.e., not bootstrap classes or custom components).
body {
color: var(--nbx-body-color);
background-color: var(--nbx-body-bg);
2021-08-13 11:17:37 -04:00
font-size: $font-size-sm;
2021-08-02 02:18:31 -07:00
}
pre {
white-space: pre;
}
// Force <small/> elements to make text smaller.
small {
font-size: smaller !important;
}
// Fix the hideous way Safari shows button anchor elements.
a[type='button'] {
-webkit-appearance: unset !important;
}
// Ensure elements with data-href set show the correct cursor.
// data-href is set on non non-anchor elements that need to redirect the user to a URL when
// clicked, but where an anchor element does not suffice or is not supported.
*[data-href] {
cursor: pointer;
}
2021-08-13 11:17:37 -04:00
2021-08-30 11:09:44 -07:00
.form-control:not([type='file']) {
2021-08-13 11:17:37 -04:00
font-size: inherit;
}
.badge {
font-size: $font-size-xs;
}