Browse Source

Menu items fixes

Volodymyr Tkach 2 years ago
parent
commit
98cecdffda

+ 1 - 1
css/layouts/cp2/example-sidebar-1.html

@@ -34,7 +34,7 @@
 							<li class="nav-item">
 								<a href="#" class="nav-link">Item 4</a>
 							</li>
-							<li class="nav-item">
+							<li class="nav-item right">
 								<a href="#" class="nav-link">Item 5</a>
 							</li>
 						</ul>

+ 1 - 1
css/layouts/cp2/example-sidebar-2.html

@@ -34,7 +34,7 @@
 							<li class="nav-item">
 								<a href="#" class="nav-link">Item 4</a>
 							</li>
-							<li class="nav-item">
+							<li class="nav-item right">
 								<a href="#" class="nav-link">Item 5</a>
 							</li>
 						</ul>

+ 6 - 2
css/layouts/cp2/navbar.css

@@ -62,14 +62,14 @@ header nav {
 }
 
 .nav-link {
-	color: rgba(255, 255, 255, .5);
+	color: rgba(255, 255, 255, .75);
 	display: block;
 	padding: 8px 15px;
 	text-decoration: none;
 }
 
 .nav-link:hover {
-	color: rgba(255, 255, 255, .75);
+	color: rgba(255, 255, 255, 1);
 	text-decoration: none;
 }
 
@@ -96,6 +96,10 @@ header nav {
 		height: 56px;
 	}
 
+	.nav-item.right {
+		float: right;
+	}
+
 	.nav-link {
 		height: 56px;
 		line-height: 20px;