Projet

Général

Profil

0001-style-update-cancel-buttons-to-be-darker-w-backgroun.patch

Frédéric Péters, 05 décembre 2018 07:48

Télécharger (1,1 ko)

Voir les différences:

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

 gadjo/static/css/_forms.scss | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
gadjo/static/css/_forms.scss
1 1
$button-color: $primary-color;
2
$button-cancel-color: grayscale($button-color);
2
$button-cancel-color: darken(grayscale($button-color), 10%);
3 3
$button-delete-color: #CD2026;
4 4
$button-submit-color: #215D9C;
5 5

  
......
103 103
	color: $button-cancel-color;
104 104
	border-color: $button-cancel-color;
105 105
	&:hover {
106
		background: white;
106
		background: #eee;
107 107
		border-color: darken($button-cancel-color, 20%);
108 108
	}
109 109
	&:active { border-color: darken($button-cancel-color, 10%); }
110
-