Projet

Général

Profil

0001-a11y-add-transparent-style-for-accordion-button-7380.patch

Frédéric Péters, 24 janvier 2023 18:17

Télécharger (1,19 ko)

Voir les différences:

Subject: [PATCH] a11y: add transparent style for accordion button (#73802)

 gadjo/static/css/_forms.scss | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
gadjo/static/css/_forms.scss
129 129
	transition: border-color 0.2s ease, box-shadow 0.2s linear;
130 130
}
131 131

  
132
a.button, a.pk-button, button, input[type=submit], div.buttons input, div.buttons a.cancel {
132
a.button, a.pk-button, button:not(.pk-accordion-button), input[type=submit], div.buttons input, div.buttons a.cancel {
133 133
	@extend %button;
134 134
}
135 135

  
......
151 151
	}
152 152
}
153 153

  
154
button.pk-accordion-button {
155
	background: transparent;
156
	font-weight: inherit;
157
	text-transform: inherit;
158
	color: inherit;
159
	padding: 0;
160
	margin: 0;
161
	border: none;
162
}
163

  
154 164
div.buttons {
155 165
	display: flex;
156 166
	flex-wrap: wrap;
157
-