Change button colors to increase hover/focus contrast and consistency (#25677)
This commit is contained in:
		@@ -511,8 +511,8 @@ code {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    border: 0;
 | 
			
		||||
    border-radius: 4px;
 | 
			
		||||
    background: darken($ui-highlight-color, 2%);
 | 
			
		||||
    color: $primary-text-color;
 | 
			
		||||
    background: $ui-button-background-color;
 | 
			
		||||
    color: $ui-button-color;
 | 
			
		||||
    font-size: 18px;
 | 
			
		||||
    line-height: inherit;
 | 
			
		||||
    height: auto;
 | 
			
		||||
@@ -534,7 +534,7 @@ code {
 | 
			
		||||
    &:active,
 | 
			
		||||
    &:focus,
 | 
			
		||||
    &:hover {
 | 
			
		||||
      background-color: $ui-highlight-color;
 | 
			
		||||
      background-color: $ui-button-focus-background-color;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &:disabled:hover {
 | 
			
		||||
@@ -542,15 +542,12 @@ code {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.negative {
 | 
			
		||||
      background: $error-value-color;
 | 
			
		||||
 | 
			
		||||
      &:hover {
 | 
			
		||||
        background-color: lighten($error-value-color, 5%);
 | 
			
		||||
      }
 | 
			
		||||
      background: $ui-button-destructive-background-color;
 | 
			
		||||
 | 
			
		||||
      &:hover,
 | 
			
		||||
      &:active,
 | 
			
		||||
      &:focus {
 | 
			
		||||
        background-color: darken($error-value-color, 5%);
 | 
			
		||||
        background-color: $ui-button-destructive-focus-background-color;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user