style: update cancel buttons to be darker w/ background on hover (#28611)

This commit is contained in:
Frédéric Péters 2018-11-30 16:23:51 +01:00
parent 148c4c7005
commit 629b8354b8
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
$button-color: $primary-color;
$button-cancel-color: grayscale($button-color);
$button-cancel-color: darken(grayscale($button-color), 10%);
$button-delete-color: #CD2026;
$button-submit-color: #215D9C;
@ -103,7 +103,7 @@ a.cancel-button, button.cancel-button, div.buttons .cancel-button input, div.but
color: $button-cancel-color;
border-color: $button-cancel-color;
&:hover {
background: white;
background: #eee;
border-color: darken($button-cancel-color, 20%);
}
&:active { border-color: darken($button-cancel-color, 10%); }