mirror of https://github.com/twbs/bootstrap.git
				
				
				
			
							parent
							
								
									9d3930b6dd
								
							
						
					
					
						commit
						fc841b0ceb
					
				| 
						 | 
				
			
			@ -13,6 +13,7 @@
 | 
			
		|||
  white-space: nowrap;
 | 
			
		||||
  vertical-align: baseline;
 | 
			
		||||
  @include border-radius($badge-border-radius);
 | 
			
		||||
  @include transition($badge-transition);
 | 
			
		||||
 | 
			
		||||
  @at-root a#{&} {
 | 
			
		||||
    @include hover-focus {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -892,6 +892,9 @@ $badge-padding-y:                   .25em !default;
 | 
			
		|||
$badge-padding-x:                   .4em !default;
 | 
			
		||||
$badge-border-radius:               $border-radius !default;
 | 
			
		||||
 | 
			
		||||
$badge-transition:                  $btn-transition !default;
 | 
			
		||||
$badge-focus-width:                 $input-btn-focus-width !default;
 | 
			
		||||
 | 
			
		||||
$badge-pill-padding-x:              .6em !default;
 | 
			
		||||
// Use a higher than normal value to ensure completely rounded edges when
 | 
			
		||||
// customizing padding or font-size on labels.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,5 +7,11 @@
 | 
			
		|||
      color: color-yiq($bg);
 | 
			
		||||
      background-color: darken($bg, 10%);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &:focus,
 | 
			
		||||
    &.focus {
 | 
			
		||||
      outline: 0;
 | 
			
		||||
      box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue