mirror of https://github.com/docker/docs.git
				
				
				
			Tweaked positive button.
This commit is contained in:
		
							parent
							
								
									297ae5a605
								
							
						
					
					
						commit
						12be1c7dd4
					
				| 
						 | 
				
			
			@ -169,7 +169,7 @@ var ImageCard = React.createClass({
 | 
			
		|||
              <span className="text" onClick={self.handleTagOverlayClick.bind(self, this.props.image.name)} data-name={this.props.image.name}>{this.state.chosenTag}</span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div className="action">
 | 
			
		||||
              <a className="btn btn-action" onClick={self.handleClick}>Create</a>
 | 
			
		||||
              <a className="btn btn-action btn-positive" onClick={self.handleClick}>Create</a>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -193,6 +193,16 @@ input[type="text"] {
 | 
			
		|||
}
 | 
			
		||||
.btn-positive {
 | 
			
		||||
  .btn-styles(@brand-positive);
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus {
 | 
			
		||||
    border-color: darken(@brand-positive, 7%);
 | 
			
		||||
    color: darken(@brand-positive, 7%);
 | 
			
		||||
  }
 | 
			
		||||
  &:active {
 | 
			
		||||
    background-color: lighten(@brand-positive, 53%);
 | 
			
		||||
    border-color: darken(@brand-positive, 7%);
 | 
			
		||||
    color: darken(@brand-positive, 7%);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
.btn-default { .btn-styles(@btn-default-bg); }
 | 
			
		||||
.btn-primary { .btn-styles(@btn-primary-bg); }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue