Explorar el Código

Add help link to menu on the dashboard.

Lee Morgan hace 5 años
padre
commit
2e0d6b370b
Se han modificado 2 ficheros con 18 adiciones y 12 borrados
  1. 2 0
      views/dashboardPage/ejs/menu.ejs
  2. 16 12
      views/dashboardPage/sidebars.css

+ 2 - 0
views/dashboardPage/ejs/menu.ejs

@@ -82,4 +82,6 @@
         </svg>
         <p>LOGOUT</p>
     </a>
+
+    <a href="/help">Help</a>
 </div>

+ 16 - 12
views/dashboardPage/sidebars.css

@@ -10,7 +10,7 @@
     transition: width 0.3s;
     flex-grow: 0;
     flex-shrink: 0;
-    padding-bottom: 100px;
+    padding-bottom: 25px;
     box-sizing: border-box;
 }
 
@@ -98,19 +98,23 @@
             stroke: black;
         }
 
-.menu > .active{
-    background: rgb(179, 191, 209);
-    cursor: default;
-}
+    .menu a{
+        color: white;
+    }
 
-.menu > .active:hover{
-    background: rgb(179, 191, 209);
-    color: white;
-}
+    .menu > .active{
+        background: rgb(179, 191, 209);
+        cursor: default;
+    }
 
-.menu > .active:hover svg{
-    stroke: white;
-}
+    .menu > .active:hover{
+        background: rgb(179, 191, 209);
+        color: white;
+    }
+
+    .menu > .active:hover svg{
+        stroke: white;
+    }
 
 /* Minimized menu */
 .menuMinimized{