Updated default style

This commit is contained in:
Sahat Yalkabov
2014-02-01 02:07:30 -05:00
parent f3a6cc4a89
commit 2412559ca7
3 changed files with 21 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ body {
#footer { #footer {
height: 110px; height: 110px;
padding-top: 20px; padding-top: 15px;
} }
// Navbar // Navbar

View File

@@ -7,6 +7,9 @@
@brand-danger: #de4b33; @brand-danger: #de4b33;
@brand-info: #5bc0dd; @brand-info: #5bc0dd;
// Typography
// -------------------------
// Buttons // Buttons
// ------------------------- // -------------------------
@@ -66,3 +69,17 @@
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
} }
// Navbar
// -------------------------
.navbar-default .navbar-nav > li a {
transition: color 0.3s;
}
// Footer
// -------------------------
#footer {
background-color: @navbar-default-bg;
border-top: 1px solid @navbar-default-border;
}

View File

@@ -10,17 +10,11 @@
.collapse.navbar-collapse .collapse.navbar-collapse
ul.nav.navbar-nav ul.nav.navbar-nav
li(class=title=='Home'?'active':undefined) li(class=title=='Home'?'active':undefined)
a(href='/') a(href='/') Home
i.fa.fa-home
| Home
li(class=title=='API Browser'?'active':undefined) li(class=title=='API Browser'?'active':undefined)
a(href='/api') a(href='/api') API Browser
i.fa.fa-cogs
| API Browser
li(class=title=='Contact'?'active':undefined) li(class=title=='Contact'?'active':undefined)
a(href='/contact') a(href='/contact') Contact
i.fa.fa-envelope-o
| Contact
ul.nav.navbar-nav.navbar-right ul.nav.navbar-nav.navbar-right
if !user if !user
li(class=title=='Login'?'active':undefined) li(class=title=='Login'?'active':undefined)