Browse Source

update styling

update-version-test
Kat 12 months ago
parent
commit
0c1aab9af2
  1. 2
      app/components/search_component.html.erb
  2. 18
      app/frontend/styles/_filter.scss

2
app/components/search_component.html.erb

@ -10,7 +10,7 @@
autocomplete: "off",
class: "app-search__input" %>
<%= f.govuk_submit "Search", classes: "app-search__button" %>
<%= f.govuk_submit "Search", class: "app-search__button" %>
<%= govuk_button_link_to "Clear search", path(current_user), secondary: true, class: "app-search__button" %>
</div>
<% end %>

18
app/frontend/styles/_filter.scss

@ -3,6 +3,15 @@
margin-bottom: govuk-spacing(2);
}
.govuk-checkboxes__label,
.govuk-radios__label {
@include govuk-font(16);
&:before {
background-color: govuk-colour("white");
}
}
.app-filter__header {
background-color: govuk-colour("light-grey");
display: flex;
@ -90,15 +99,6 @@
}
}
.govuk-checkboxes__label,
.govuk-radios__label {
@include govuk-font(16);
&:before {
background-color: govuk-colour("white");
}
}
.autocomplete__input {
@include govuk-font(16);
background-color: govuk-colour("white");

Loading…
Cancel
Save