mirror of https://github.com/twbs/bootstrap.git
				
				
				
			fixes #9063: add var for navbar border radius
This commit is contained in:
		
							parent
							
								
									52266cfdcd
								
							
						
					
					
						commit
						11e46845b2
					
				|  | @ -710,6 +710,8 @@ base_url: "../" | |||
|         <input type="text" class="form-control" placeholder="#777"> | ||||
|         <label>@navbar-bg</label> | ||||
|         <input type="text" class="form-control" placeholder="#eee"> | ||||
|         <label>@navbar-border-radius</label> | ||||
|         <input type="text" class="form-control" placeholder="@border-radius-base"> | ||||
|         <h4>Links</h4> | ||||
|         <label>@navbar-link-color</label> | ||||
|         <input type="text" class="form-control" placeholder="#777"> | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
|   padding-left: @navbar-padding-horizontal; | ||||
|   padding-right: @navbar-padding-horizontal; | ||||
|   background-color: @navbar-bg; | ||||
|   border-radius: @border-radius-base; | ||||
|   border-radius: @navbar-border-radius; | ||||
| 
 | ||||
|   // Prevent floats from breaking the navbar | ||||
|   .clearfix(); | ||||
|  |  | |||
|  | @ -219,6 +219,7 @@ | |||
| @navbar-height:                    50px; | ||||
| @navbar-color:                     #777; | ||||
| @navbar-bg:                        #eee; | ||||
| @navbar-border-radius:             @border-radius-base; | ||||
| @navbar-padding-horizontal:        floor(@grid-gutter-width / 2);  // ~15px | ||||
| @navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue