mirror of https://github.com/twbs/bootstrap.git
				
				
				
			nuke subnav styles from responsive navbar
This commit is contained in:
		
							parent
							
								
									256a25f25c
								
							
						
					
					
						commit
						1ae194597c
					
				| 
						 | 
					@ -902,8 +902,7 @@
 | 
				
			||||||
    padding-top: 0;
 | 
					    padding-top: 0;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .navbar-fixed-top,
 | 
					  .navbar-fixed-top,
 | 
				
			||||||
  .navbar-fixed-bottom,
 | 
					  .navbar-fixed-bottom {
 | 
				
			||||||
  .navbar-subnav-fixed {
 | 
					 | 
				
			||||||
    position: static;
 | 
					    position: static;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .navbar-fixed-top {
 | 
					  .navbar-fixed-top {
 | 
				
			||||||
| 
						 | 
					@ -1028,39 +1027,6 @@
 | 
				
			||||||
    padding-right: 10px;
 | 
					    padding-right: 10px;
 | 
				
			||||||
    padding-left: 10px;
 | 
					    padding-left: 10px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .navbar-subnav {
 | 
					 | 
				
			||||||
    width: auto;
 | 
					 | 
				
			||||||
    height: auto;
 | 
					 | 
				
			||||||
    -webkit-box-shadow: none;
 | 
					 | 
				
			||||||
       -moz-box-shadow: none;
 | 
					 | 
				
			||||||
            box-shadow: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .navbar-inner {
 | 
					 | 
				
			||||||
    background-color: #fff;
 | 
					 | 
				
			||||||
    background-image: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav {
 | 
					 | 
				
			||||||
    float: none;
 | 
					 | 
				
			||||||
    margin-right: 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li {
 | 
					 | 
				
			||||||
    float: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li > a {
 | 
					 | 
				
			||||||
    border: 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li > a:hover {
 | 
					 | 
				
			||||||
    background-color: #f5f5f5;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li + li > a {
 | 
					 | 
				
			||||||
    border-top: 1px solid #e5e5e5;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li:first-child > a,
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li:first-child > a:hover {
 | 
					 | 
				
			||||||
    -webkit-border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
       -moz-border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
            border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (min-width: 980px) {
 | 
					@media (min-width: 980px) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,7 @@
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  // Unfix the navbars
 | 
					  // Unfix the navbars
 | 
				
			||||||
  .navbar-fixed-top,
 | 
					  .navbar-fixed-top,
 | 
				
			||||||
  .navbar-fixed-bottom,
 | 
					  .navbar-fixed-bottom {
 | 
				
			||||||
  .navbar-subnav-fixed {
 | 
					 | 
				
			||||||
    position: static;
 | 
					    position: static;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .navbar-fixed-top {
 | 
					  .navbar-fixed-top {
 | 
				
			||||||
| 
						 | 
					@ -149,42 +148,6 @@
 | 
				
			||||||
    padding-right: 10px;
 | 
					    padding-right: 10px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // STATIC SUBNAV
 | 
					 | 
				
			||||||
  // -------------
 | 
					 | 
				
			||||||
  .navbar-subnav {
 | 
					 | 
				
			||||||
    width: auto;
 | 
					 | 
				
			||||||
    height: auto;
 | 
					 | 
				
			||||||
    -webkit-box-shadow: none;
 | 
					 | 
				
			||||||
       -moz-box-shadow: none;
 | 
					 | 
				
			||||||
            box-shadow: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .navbar-inner {
 | 
					 | 
				
			||||||
    background-color: #fff;
 | 
					 | 
				
			||||||
    background-image: none; // Remove gradient
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav {
 | 
					 | 
				
			||||||
    float: none;
 | 
					 | 
				
			||||||
    margin-right: 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li {
 | 
					 | 
				
			||||||
    float: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li > a {
 | 
					 | 
				
			||||||
    border: 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li > a:hover {
 | 
					 | 
				
			||||||
    background-color: #f5f5f5;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li + li > a {
 | 
					 | 
				
			||||||
    border-top: 1px solid #e5e5e5;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li:first-child > a,
 | 
					 | 
				
			||||||
  .navbar-subnav .nav > li:first-child > a:hover {
 | 
					 | 
				
			||||||
      -webkit-border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
         -moz-border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
              border-radius: 4px 4px 0 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue