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

@ -60,4 +60,15 @@ body {
.text-muted a, .text-muted a:hover { .text-muted a, .text-muted a:hover {
color: $gray-dark; color: $gray-dark;
text-decoration: none; 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 %ul.nav.navbar-nav
= nav_entry "Timeline", root_path = nav_entry "Timeline", root_path
%ul.nav.navbar-nav %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 %ul.nav.navbar-nav.navbar-right
%li.dropdown %li.dropdown
%a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}