Skip to content

fix(): Change background to gray #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_includes/components/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h4>Was this page helpful?</h4>
</div>

<div class="flex__column flex__column--shrink">
<button class="button button--small button-fill button-fill--white button-fill--borderable" data-ref="feedback[unhelpful]" data-active-class="button-fill--error-light">
<button class="button button--small button-fill button-fill--white button-fill--borderable" data-ref="feedback[unhelpful]" data-active-class="button-fill--gray">
<span class="button__icon">
{% include icons/symbols/thumb-down.svg %}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/sidebar/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>

<div class="flex__column flex__column--6">
<button class="button button--small button-fill button-fill--white" data-ref="feedback[unhelpful]" data-active-class="button-fill--error-light">
<button class="button button--small button-fill button-fill--white" data-ref="feedback[unhelpful]" data-active-class="button-fill--gray">
<span class="button__icon">
{% include icons/symbols/thumb-down.svg %}
</span>
Expand Down
6 changes: 3 additions & 3 deletions src/_sass/components/_button-fill.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
}
}

&--error-light {
background-color: rgba(color(error), 0.78);
&--gray {
background-color: color(gray);
color: color(white);

&:hover {
background-color: rgba(color(error), 0.78);
background-color: color(gray);
color: color(white);
}
}
Expand Down