mirror of https://github.com/twbs/bootstrap.git
				
				
				
			standardize default button gradient styles to match other buttons, reset it's IE filter to improve IE7 hover
This commit is contained in:
		
							parent
							
								
									c02df93903
								
							
						
					
					
						commit
						a2bc22bad5
					
				
										
											Binary file not shown.
										
									
								
							|  | @ -1693,15 +1693,18 @@ table .span12 { | |||
|   text-align: center; | ||||
|   text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); | ||||
|   vertical-align: middle; | ||||
|   background-color: #fafafa; | ||||
|   background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6)); | ||||
|   background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); | ||||
|   background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6); | ||||
|   background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); | ||||
|   background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); | ||||
|   background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); | ||||
|   background-repeat: no-repeat; | ||||
|   background-color: #f5f5f5; | ||||
|   background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); | ||||
|   background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); | ||||
|   background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); | ||||
|   background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); | ||||
|   background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); | ||||
|   background-image: linear-gradient(top, #ffffff, #e6e6e6); | ||||
|   background-repeat: repeat-x; | ||||
|   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); | ||||
|   border-color: #e6e6e6 #e6e6e6 #bfbfbf; | ||||
|   border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||||
|   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||||
|   border: 1px solid #ccc; | ||||
|   border-bottom-color: #bbb; | ||||
|   -webkit-border-radius: 4px; | ||||
|  | @ -1711,8 +1714,19 @@ table .span12 { | |||
|   -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||||
|   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||||
|   cursor: pointer; | ||||
|   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||||
|   *margin-left: .3em; | ||||
| } | ||||
| .btn:hover, | ||||
| .btn:active, | ||||
| .btn.active, | ||||
| .btn.disabled, | ||||
| .btn[disabled] { | ||||
|   background-color: #e6e6e6; | ||||
| } | ||||
| .btn:active, .btn.active { | ||||
|   background-color: #cccccc \9; | ||||
| } | ||||
| .btn:first-child { | ||||
|   *margin-left: 0; | ||||
| } | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ | |||
|   text-align: center; | ||||
|   text-shadow: 0 1px 1px rgba(255,255,255,.75); | ||||
|   vertical-align: middle; | ||||
|   #gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient | ||||
|   .buttonBackground(@white, darken(@white, 10%)); | ||||
|   border: 1px solid #ccc; | ||||
|   border-bottom-color: #bbb; | ||||
|   .border-radius(4px); | ||||
|  | @ -25,6 +25,7 @@ | |||
|   cursor: pointer; | ||||
| 
 | ||||
|   // Give IE7 some love | ||||
|   .reset-filter(); | ||||
|   .ie7-restore-left-whitespace(); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue