Răsfoiți Sursa

#6797: Improve global bg/color transition

checktheroads 4 ani în urmă
părinte
comite
8e3ab8d5c5

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
netbox/project-static/dist/netbox-dark.css


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
netbox/project-static/dist/netbox-light.css


+ 1 - 1
netbox/project-static/styles/netbox.scss

@@ -52,7 +52,7 @@
 }
 }
 
 
 * {
 * {
-  transition: background-color, color 0.15s ease-in-out;
+  transition: $transition-100ms-ease-in-out;
 }
 }
 
 
 .mw-25 {
 .mw-25 {

+ 0 - 2
netbox/project-static/styles/sidenav.scss

@@ -62,8 +62,6 @@
   }
   }
 }
 }
 
 
-$transition-100ms-ease-in-out: all 0.1s ease-in-out;
-
 .sidenav {
 .sidenav {
   position: fixed;
   position: fixed;
   top: 0;
   top: 0;

+ 2 - 0
netbox/project-static/styles/theme-base.scss

@@ -140,6 +140,8 @@ $accordion-padding-x: 0.8125rem;
 $sidebar-width: 280px;
 $sidebar-width: 280px;
 $sidebar-bottom-height: 4rem;
 $sidebar-bottom-height: 4rem;
 
 
+$transition-100ms-ease-in-out: all 0.1s ease-in-out;
+
 // Sidebar/Sidenav
 // Sidebar/Sidenav
 $sidenav-width-closed: 4rem;
 $sidenav-width-closed: 4rem;
 $sidenav-width-open: 16rem;
 $sidenav-width-open: 16rem;

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff