From e0addf5b588a1244f9679becd90999dfcb4c3a94 Mon Sep 17 00:00:00 2001 From: "ITSERVICES\\rb7147" Date: Tue, 25 Apr 2017 11:46:00 -0400 Subject: Policy 1707 commit to LF Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 --- .../docs/_includes/components/badges.html | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html') diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html new file mode 100644 index 000000000..a7fff7322 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html @@ -0,0 +1,45 @@ +
+

Badges

+ +

Easily highlight new or unread items by adding a <span class="badge"> to links, Bootstrap navs, and more.

+ +
+ Inbox 42 +

+ +
+{% highlight html %} +Inbox 42 + + +{% endhighlight %} + +

Self collapsing

+

When there are no new or unread items, badges will simply collapse (via CSS's :empty selector) provided no content exists within.

+ +
+

Cross-browser compatibility

+

Badges won't self collapse in Internet Explorer 8 because it lacks support for the :empty selector.

+
+ +

Adapts to active nav states

+

Built-in styles are included for placing badges in active states in pill navigations.

+
+ +
+{% highlight html %} + +{% endhighlight %} +
-- cgit 1.2.3-korg