From d3e054686dc21aa959b3fe0afdf0cd203ca8aa5d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 1 Aug 2024 15:10:31 -0400 Subject: [PATCH] Adjust base font weight to 500 --- netbox/project-static/dist/netbox.css | Bin 557378 -> 557409 bytes netbox/project-static/styles/_variables.scss | 1 + .../styles/overrides/_bootstrap.scss | 5 +++++ .../styles/transitional/_tables.scss | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index be47476470d1c04f5e8dd99b455cf6afcf0d7281..51fadbcb3ecdd740f5aeb7d1ea49bc0f075cb284 100644 GIT binary patch delta 161 zcmX@qr1Y>!X#pRj>1Ia0g`Lc%1_sj=joBqP@0;$+59dwZH$8rG+;g_gJP46 rN`85sZe~epZgpCIUWsmbYG!&yi51ZP?PsDm?nyD4ZeLx>F`XL##EC(3 delta 121 zcmaFZq;#lBX#wBlv;TND^YBgUoIWdwNp|!8=|22m*5v)u<0i*FXWQJf{HQuiL~y!5 zJ3IIE4K1uf)Bo*b)Sv!9fkU+U!TI(F=NW;R35c12m<5PgftYRkgY)d~y0*WK;^#A|> diff --git a/netbox/project-static/styles/_variables.scss b/netbox/project-static/styles/_variables.scss index 04bb37c05..2dde1fdaf 100644 --- a/netbox/project-static/styles/_variables.scss +++ b/netbox/project-static/styles/_variables.scss @@ -4,6 +4,7 @@ $font-family-sans-serif: 'Plus Jakarta Sans Variable', system-ui, sans-serif; // See https://github.com/tabler/tabler/issues/1812 $font-family-monospace: 'Roboto Mono'; +$font-weight-base: 500; // Set the navigation sidebar width $sidebar-width: 18rem; diff --git a/netbox/project-static/styles/overrides/_bootstrap.scss b/netbox/project-static/styles/overrides/_bootstrap.scss index 59c248541..d443da6f5 100644 --- a/netbox/project-static/styles/overrides/_bootstrap.scss +++ b/netbox/project-static/styles/overrides/_bootstrap.scss @@ -20,3 +20,8 @@ hr.dropdown-divider { margin-bottom: 0.25rem; margin-top: 0.25rem; } + +// Bootstrap forces the font weight for dropdown items to $font-weight-normal +.dropdown-item { + font-weight: $font-weight-base; +} diff --git a/netbox/project-static/styles/transitional/_tables.scss b/netbox/project-static/styles/transitional/_tables.scss index 58d7dc942..a129134ce 100644 --- a/netbox/project-static/styles/transitional/_tables.scss +++ b/netbox/project-static/styles/transitional/_tables.scss @@ -28,7 +28,7 @@ table.attr-table { // Restyle row header th { - font-weight: normal; + font-weight: $font-weight-base; width: min-content; }