jeremystretch 4 лет назад
Родитель
Сommit
0609bcaaf0

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
netbox/project-static/dist/netbox-dark.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
netbox/project-static/dist/netbox-light.css


+ 5 - 23
netbox/project-static/styles/overrides.scss

@@ -7,6 +7,7 @@
 body {
   color: var(--nbx-body-color);
   background-color: var(--nbx-body-bg);
+  font-size: $font-size-sm;
 }
 
 pre {
@@ -17,34 +18,11 @@ pre {
   border-radius: $border-radius;
 }
 
-form,
-.form-control {
-  font-size: 0.875rem;
-}
-
 // Force <small/> elements to make text smaller.
 small {
   font-size: smaller !important;
 }
 
-h1 {
-  font-weight: $font-weight-bolder;
-}
-
-h2 {
-  font-weight: $font-weight-bold;
-}
-
-h3,
-h4 {
-  font-weight: $font-weight-medium;
-}
-
-h5,
-h6 {
-  font-weight: $font-weight-medium;
-}
-
 // Fix the hideous way Safari shows button anchor elements.
 a[type='button'] {
   -webkit-appearance: unset !important;
@@ -56,3 +34,7 @@ a[type='button'] {
 *[data-href] {
   cursor: pointer;
 }
+
+.form-control {
+  font-size: inherit;
+}

+ 2 - 2
netbox/templates/base/layout.html

@@ -104,7 +104,7 @@
           <div class="row align-items-center justify-content-between mx-0">
             
             {# Docs & Community Links #}
-            <div class="col-sm-12 col-md-auto">
+            <div class="col-sm-12 col-md-auto fs-4">
               <nav class="nav justify-content-center justify-content-lg-start">
                 {# Documentation #}
                 <a type="button" class="nav-link" href="{% static 'docs/' %}" target="_blank">
@@ -141,7 +141,7 @@
             </div>
             
             {# System Info #}
-            <div class="col-sm-12 col-md-auto text-center text-lg-end small text-muted">
+            <div class="col-sm-12 col-md-auto text-center text-lg-end text-muted">
               <span class="d-block d-md-inline">{% annotated_now %} {% now 'T' %}</span>
               <span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
             </div>

Некоторые файлы не были показаны из-за большого количества измененных файлов