what the fuck is badge-danger?

This commit is contained in:
pixeldesu 2014-11-30 02:06:15 +01:00
parent 78812f58f9
commit b5b977ab5c
2 changed files with 13 additions and 2 deletions

View File

@ -61,3 +61,14 @@ body {
color: $gray-dark;
text-decoration: none;
}
.navbar .nav .badge {
padding: 3px 6px 3px;
background-color: $navbar-inverse-link-active-bg;
}
.navbar .nav .active .badge {
padding: 3px 6px 3px;
background-color: $navbar-inverse-bg;
}

View File

@ -12,7 +12,7 @@
%ul.nav.navbar-nav
= nav_entry "Timeline", root_path
%ul.nav.navbar-nav
= nav_entry "Inbox", "/inbox", badge: inbox_count, badge_color: 'danger'
= nav_entry "Inbox", "/inbox", badge: inbox_count
%ul.nav.navbar-nav.navbar-right
%li.dropdown
%a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}