From e558f490dd3cce1d9c13714e41cf4a7b1e04e909 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Aug 2015 11:19:14 -0700 Subject: Rewrite dropdowns - Remove nested > selectors for dropdown items - Update docs examples to use all the new markup --- docs/components/dropdowns.md | 82 ++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 53 deletions(-) (limited to 'docs/components/dropdowns.md') diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index 091776696..c60cb6fdb 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -20,17 +20,11 @@ Wrap the dropdown's trigger and the dropdown menu within `.dropdown`, or another - + {% endexample %} @@ -43,9 +37,9 @@ By default, a dropdown menu is automatically positioned 100% from the top and al {% endcallout %} {% highlight html %} - + {% endhighlight %} ## Menu headers @@ -53,15 +47,11 @@ By default, a dropdown menu is automatically positioned 100% from the top and al Add a header to label sections of actions in any dropdown menu. {% example html %} - + {% endexample %} ## Menu dividers @@ -69,39 +59,25 @@ Add a header to label sections of actions in any dropdown menu. Separate groups of related menu items with a divider. {% example html %} - + {% endexample %} ## Disabled menu items -Add `.disabled` to a `
  • ` in the dropdown to disable the link. +Add `.disabled` to items in the dropdown to **style them as disabled**. {% example html %} - + {% endexample %} ## Usage @@ -121,9 +97,9 @@ Add `data-toggle="dropdown"` to a link or button to toggle a dropdown. - + {% endhighlight %} @@ -135,9 +111,9 @@ To keep URLs intact with link buttons, use the `data-target` attribute instead o Dropdown trigger - + {% endhighlight %} -- cgit v1.2.3