a11y: add transparent style for accordion button (#73802)
gitea/gadjo/pipeline/head Build started... Details

This commit is contained in:
Frédéric Péters 2023-01-08 14:33:11 +01:00
parent 20e8fc9594
commit b95d8fecb0
1 changed files with 11 additions and 1 deletions

View File

@ -129,7 +129,7 @@ a.button {
transition: border-color 0.2s ease, box-shadow 0.2s linear;
}
a.button, a.pk-button, button, input[type=submit], div.buttons input, div.buttons a.cancel {
a.button, a.pk-button, button:not(.pk-accordion-button), input[type=submit], div.buttons input, div.buttons a.cancel {
@extend %button;
}
@ -151,6 +151,16 @@ a.cancel-button, button.cancel-button, div.buttons .cancel-button input, div.but
}
}
button.pk-accordion-button {
background: transparent;
font-weight: inherit;
text-transform: inherit;
color: inherit;
padding: 0;
margin: 0;
border: none;
}
div.buttons {
display: flex;
flex-wrap: wrap;