From bf3c5e070e2ee74181aa8b2c75f32387827b01c2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 27 Jun 2013 20:49:29 -0700 Subject: remove submenus. for more context: http://www.youtube.com/watch?v=ggWyUEuGcWY&feature=youtu.be&t=48s --- docs/_includes/nav-components.html | 1 - docs/assets/css/bootstrap.css | 56 +----------------------- docs/components.html | 89 -------------------------------------- 3 files changed, 1 insertion(+), 145 deletions(-) (limited to 'docs') diff --git a/docs/_includes/nav-components.html b/docs/_includes/nav-components.html index dd56cf399..a8dd8c64f 100644 --- a/docs/_includes/nav-components.html +++ b/docs/_includes/nav-components.html @@ -4,7 +4,6 @@
  • Example
  • Alignment options
  • Disabled menu items
  • -
  • Submenus
  • diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 040ee62ba..ec8af9204 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2210,9 +2210,7 @@ input[type="button"].btn-block { } .dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { +.dropdown-menu > li > a:focus { color: #ffffff; text-decoration: none; background-color: #357ebd; @@ -2290,58 +2288,6 @@ input[type="button"].btn-block { margin-bottom: 1px; } -.dropdown-submenu { - position: relative; -} - -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - border-top-left-radius: 0; -} - -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} - -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - border-bottom-left-radius: 0; -} - -.dropdown-submenu > a:after { - display: block; - float: right; - width: 0; - height: 0; - margin-top: 5px; - margin-right: -10px; - border-color: transparent; - border-left-color: #cccccc; - border-style: solid; - border-width: 5px 0 5px 5px; - content: " "; -} - -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} - -.dropdown-submenu.pull-left { - float: none; -} - -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - border-top-right-radius: 0; -} - .dropdown .dropdown-menu .nav-header { padding-right: 20px; padding-left: 20px; diff --git a/docs/components.html b/docs/components.html index 071e546dc..79b00e991 100644 --- a/docs/components.html +++ b/docs/components.html @@ -66,95 +66,6 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
  • Another link
  • {% endhighlight %} - - -

    Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add .dropdown-submenu to any li in an existing dropdown menu for automatic styling.

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