From 7407ee2da2f1b0d57cefa3ec4eb5bd3c81ea28cd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 12 Jul 2014 02:13:16 -0700 Subject: move list group --- docs/_includes/components/list-group.html | 167 ------------------------------ 1 file changed, 167 deletions(-) delete mode 100644 docs/_includes/components/list-group.html (limited to 'docs/_includes') diff --git a/docs/_includes/components/list-group.html b/docs/_includes/components/list-group.html deleted file mode 100644 index f9c24c676..000000000 --- a/docs/_includes/components/list-group.html +++ /dev/null @@ -1,167 +0,0 @@ -
-

List group

- -

List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.

- -

Basic example

-

The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.

-
-
    -
  • Cras justo odio
  • -
  • Dapibus ac facilisis in
  • -
  • Morbi leo risus
  • -
  • Porta ac consectetur ac
  • -
  • Vestibulum at eros
  • -
-
-{% highlight html %} - -{% endhighlight %} - -

Badges

-

Add the badges component to any list group item and it will automatically be positioned on the right.

-
-
    -
  • - 14 - Cras justo odio -
  • -
  • - 2 - Dapibus ac facilisis in -
  • -
  • - 1 - Morbi leo risus -
  • -
-
-{% highlight html %} - -{% endhighlight %} - -

Linked items

-

Linkify list group items by using anchor tags instead of list items (that also means a parent <div> instead of an <ul>). No need for individual parents around each element.

- -{% highlight html %} - -{% endhighlight %} - -

Disabled items

-

Add .disabled to a .list-group-item to gray it out to appear disabled.

- -{% highlight html %} - -{% endhighlight %} - -

Contextual classes

-

Use contextual classes to style list items, default or linked. Also includes .active state.

-
-
-
-
    -
  • Dapibus ac facilisis in
  • -
  • Cras sit amet nibh libero
  • -
  • Porta ac consectetur ac
  • -
  • Vestibulum at eros
  • -
-
- -
-
-{% highlight html %} - - -{% endhighlight %} - -

Custom content

-

Add nearly any HTML within, even for linked list groups like the one below.

- -{% highlight html %} - -{% endhighlight %} -
-- cgit v1.2.3