浏览代码

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

Jeremy Stretch 1 年之前
父节点
当前提交
420613daed
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 0 0
      netbox/project-static/dist/netbox.css
  2. 11 0
      netbox/project-static/styles/overrides/_bootstrap.scss

文件差异内容过多而无法显示
+ 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;
+}

部分文件因为文件数量过多而无法显示