Forráskód Böngészése

fixed errors in navbar

Nastya 11 hónapja
szülő
commit
f055db3bf0

+ 1 - 1
SharixAdmin/static/drf-yasg/colors2.css

@@ -2,7 +2,7 @@
 :root{
   --btn-bg-color: #fdb4b4;
   --btn-txt-color: #ff0000;
-  --btn-hover-color: #0a58ca;
+  --btn-hover-color: #ca5a0a;
   --pills-bg-color: #479FF8;
   --pills-txt-color: None;
   --links-txt-color: #479FF8;

+ 5 - 1
SharixAdmin/static/drf-yasg/navbar-style.css

@@ -6,6 +6,10 @@
     padding: 0;
     box-sizing: border-box;
 }
+body {
+    margin: 0;
+    height: 130vh;
+  }
 
 .nav-item {
     margin-bottom: 6px;
@@ -22,7 +26,7 @@
     display: flex;
     top: 0;
     left: 0;
-    width: 75px;
+    width: 78px;
     height: 40px;
     align-items: center;
     vertical-align: middle;

+ 1 - 1
SharixAdmin/templates/SharixAdmin/index.html

@@ -8,7 +8,7 @@
     <div class="row">
         <div class="col-3" id="leftmainpage">
             <div class="d-flex flex-column p-2" style="width: 100%; min-width: 72px; max-width: 280px; height: 464px; position: sticky; top: 76px;
-            border-radius: 10px; border: 1px solid #D8D8D8; box-shadow: 4px 5px 40px 0px #E5E5E5; align-items: center;">
+            border-radius: 10px; border: 1px solid #D8D8D8; box-shadow: 4px 5px 40px 0px #E5E5E5;">
 
 
               <ul class="nav nav-pills flex-column mb-auto" style="margin-top: 12px;">