Fix documentation feedback button color

Add id anchor to feedback section in docs

Move :hover selector to button class
pull/45893/head
Garrit Franke 2024-04-16 13:08:32 +02:00
parent 96aea8d65f
commit 20d404e2f8
No known key found for this signature in database
GPG Key ID: A28BC0D6B31A2673
2 changed files with 12 additions and 7 deletions

View File

@ -77,10 +77,10 @@ footer {
font-size: 1rem;
border: 0px;
}
.button:hover {
background-color: darken($blue, 10%);
&:hover {
background-color: darken($blue, 10%);
color: white;
}
}
#cellophane {
@ -104,6 +104,11 @@ main {
text-decoration: none;
font-size: 1rem;
border: 0px;
&:hover {
background-color: darken($blue, 10%);
color: white;
}
}
}

View File

@ -1,9 +1,9 @@
{{ if not .Params.hide_feedback }}
<div id="pre-footer">
<h2>{{ T "feedback_heading" }}</h2>
<h2 id="feedback">{{ T "feedback_heading" }}</h2>
<p class="feedback--prompt">{{ T "feedback_question" }} </p>
<button class="btn btn-primary mb-4 feedback--yes">{{ T "feedback_yes" }}</button>
<button class="btn btn-primary mb-4 feedback--no">{{ T "feedback_no" }}</button>
<button class="button mb-4 feedback--yes">{{ T "feedback_yes" }}</button>
<button class="button mb-4 feedback--no">{{ T "feedback_no" }}</button>
<p class="feedback--response feedback--response__hidden">
{{ T "layouts_docs_partials_feedback_thanks" }}
<a target="_blank" rel="noopener"