Bladeren bron

Fixes #16385: Restore support for white, gray, and black background colors

Jeremy Stretch 1 jaar geleden
bovenliggende
commit
420613daed
2 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. 0 0
      netbox/project-static/dist/netbox.css
  2. 11 0
      netbox/project-static/styles/overrides/_bootstrap.scss

File diff suppressed because it is too large
+ 0 - 0
netbox/project-static/dist/netbox.css


+ 11 - 0
netbox/project-static/styles/overrides/_bootstrap.scss

@@ -20,3 +20,14 @@ hr.dropdown-divider {
   margin-bottom: 0.25rem;
   margin-top: 0.25rem;
 }
+
+// Restore support for old Bootstrap v3 colors
+.text-bg-black {
+  @extend .text-bg-dark;
+}
+.text-bg-gray {
+  @extend .text-bg-secondary;
+}
+.text-bg-white {
+  @extend .text-bg-light;
+}

Some files were not shown because too many files changed in this diff