diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index acc5f3201e..9764009092 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 86914d83d3..76a58dfb12 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3216,6 +3216,51 @@ a.thumbnail:hover { .label-inverse:hover { background-color: #1a1a1a; } +.badge { + padding: 2px 10px 3px; + font-size: 12.025px; + font-weight: bold; + color: #ffffff; + background-color: #999999; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; +} +.badge:hover { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.badge-error { + background-color: #b94a48; +} +.badge-error:hover { + background-color: #953b39; +} +.badge-warning { + background-color: #f89406; +} +.badge-warning:hover { + background-color: #c67605; +} +.badge-success { + background-color: #468847; +} +.badge-success:hover { + background-color: #356635; +} +.badge-info { + background-color: #3a87ad; +} +.badge-info:hover { + background-color: #2d6987; +} +.badge-inverse { + background-color: #333333; +} +.badge-inverse:hover { + background-color: #1a1a1a; +} @-webkit-keyframes progress-bar-stripes { from { background-position: 0 0; diff --git a/docs/components.html b/docs/components.html index 046bd72804..67353828e8 100644 --- a/docs/components.html +++ b/docs/components.html @@ -98,6 +98,7 @@
Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.
+Name | +Example | +Markup | +
---|---|---|
+ Default + | ++ 1 + | +
+ <span class="badge">1</span>
+ |
+
+ Success + | ++ 2 + | +
+ <span class="badge badge-success">2</span>
+ |
+
+ Warning + | ++ 4 + | +
+ <span class="badge badge-warning">4</span>
+ |
+
+ Error + | ++ 6 + | +
+ <span class="badge badge-error">1</span>
+ |
+
+ Info + | ++ 8 + | +
+ <span class="badge badge-info">8</span>
+ |
+
+ Inverse + | ++ 10 + | +
+ <span class="badge badge-inverse">10</span>
+ |
+
{{_i}}Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.{{/i}}
+{{_i}}Name{{/i}} | +{{_i}}Example{{/i}} | +{{_i}}Markup{{/i}} | +
---|---|---|
+ {{_i}}Default{{/i}} + | ++ 1 + | +
+ <span class="badge">1</span>
+ |
+
+ {{_i}}Success{{/i}} + | ++ 2 + | +
+ <span class="badge badge-success">2</span>
+ |
+
+ {{_i}}Warning{{/i}} + | ++ 4 + | +
+ <span class="badge badge-warning">4</span>
+ |
+
+ {{_i}}Error{{/i}} + | ++ 6 + | +
+ <span class="badge badge-error">1</span>
+ |
+
+ {{_i}}Info{{/i}} + | ++ 8 + | +
+ <span class="badge badge-info">8</span>
+ |
+
+ {{_i}}Inverse{{/i}} + | ++ 10 + | +
+ <span class="badge badge-inverse">10</span>
+ |
+