Skip to content

Commit

Permalink
Remediate Less files
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Apr 16, 2024
1 parent eed8b06 commit 1b46fee
Show file tree
Hide file tree
Showing 289 changed files with 3,443 additions and 3,218 deletions.
4 changes: 2 additions & 2 deletions cfgov/agreements/jinja2/agreements/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Credit card agreement database</h1>
<div class="block">
<div id="ccagrsearch">
<h2>Agreements by '{{ issuer.name }}'</h2>
<table class="o-table o-table__striped o-table__stack-on-small u-w100pct">
<table class="o-table o-table--striped o-table--stack-on-small u-w100pct">
<thead>
<tr>
<th>Issuer</th>
Expand Down Expand Up @@ -99,7 +99,7 @@ <h2>Agreements by '{{ issuer.name }}'</h2>
of {{ page.paginator.num_pages }}
</label>
<button class="a-btn
a-btn__link
a-btn--link
m-pagination__btn-submit"
id="m-pagination__btn-submit"
type="submit">Go</button>
Expand Down
4 changes: 2 additions & 2 deletions cfgov/ask_cfpb/jinja2/ask-cfpb/answer-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1>

<div class="block block--sub">

<div class="o-summary o-summary__mobile">
<div class="o-summary o-summary--mobile">
<div class="o-summary__content answer-text">
{% include_block page.answer_content %}
</div>
Expand All @@ -67,7 +67,7 @@ <h2>{{ _('Don\'t see what you\'re looking for?') }}</h2>
{% if related_questions %}
<div class="block block--sub">
<h3>{{ _('Browse related questions') }} </h3>
<ul class="m-list m-list__unstyled m-list--links">
<ul class="m-list m-list--unstyled m-list--links">
{% for question in related_questions %}
<li class="m-list__item">
<a href="{{ question.url }}" class="m-list__link">
Expand Down
4 changes: 2 additions & 2 deletions cfgov/ask_cfpb/jinja2/ask-cfpb/see-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ <h1>
</label>
<div class="m-form-field">
<input
class="a-text-input a-text-input__full"
class="a-text-input a-text-input--full"
type="text"
aria-label="{{ _('Search term') }}"
name="search_term"
value="{{ search_term }}">
<button class="a-btn" id="ask-search" type="submit">
{{ _('Search') }}
</button>
<a class="a-btn a-btn__link a-btn__warning"
<a class="a-btn a-btn--link a-btn--warning"
href=".">
{{ _('Clear search') }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion cfgov/ask_cfpb/jinja2/ask-cfpb/tip.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

========================================================================== #}

<aside class="m-inset m-inset__bordered">
<aside class="m-inset m-inset--bordered">
<h4>{{ _('Tip') }}</h4>
{{ value.content | richtext | safe }}
</aside>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h1>Voluntary diversity assessment onboarding form</h1>
</div>
<div class="block">
<div class="m-notification m-notification__visible m-notification__success">
<div class="m-notification m-notification--visible m-notification--success">
{{ svg_icon('approved-round') }}
<div class="m-notification__content">
<div class="m-notification__message">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Institution information</h2>
<div class="o-well u-mb30">
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.institution_name.id_for_label }}">
{{ form.institution_name.label }}
</label>
Expand All @@ -68,7 +68,7 @@ <h2>Institution information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.institution_address.id_for_label }}">
{{ form.institution_address.label }}
</label>
Expand All @@ -79,7 +79,7 @@ <h2>Institution information</h2>
<div class="content-l">
<div class="content-l__col content-l__col-1-2">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.institution_city.id_for_label }}">
{{ form.institution_city.label }}
</label>
Expand All @@ -88,7 +88,7 @@ <h2>Institution information</h2>
</div>
<div class="content-l__col content-l__col-1-4">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.institution_state.id_for_label }}">
{{ form.institution_state.label }}
</label>
Expand All @@ -97,7 +97,7 @@ <h2>Institution information</h2>
</div>
<div class="content-l__col content-l__col-1-4">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.institution_zip.id_for_label }}">
{{ form.institution_zip.label }}
</label>
Expand All @@ -108,7 +108,7 @@ <h2>Institution information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.tax_id.id_for_label }}">
{{ form.tax_id.label }}
</label>
Expand All @@ -123,7 +123,7 @@ <h2>Contact information</h2>
<div class="o-well u-mb30">
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.contact_name.id_for_label }}">
{{ form.contact_name.label }}
</label>
Expand All @@ -132,7 +132,7 @@ <h2>Contact information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.contact_title.id_for_label }}">
{{ form.contact_title.label }}
</label>
Expand All @@ -141,7 +141,7 @@ <h2>Contact information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.contact_email.id_for_label }}">
{{ form.contact_email.label }}
</label>
Expand All @@ -150,7 +150,7 @@ <h2>Contact information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.contact_phone.id_for_label }}">
{{ form.contact_phone.label }}
</label>
Expand All @@ -159,7 +159,7 @@ <h2>Contact information</h2>
</div>
<div class="o-form__group">
<div class="m-form-field">
<label class="a-label a-label__heading"
<label class="a-label a-label--heading"
for="{{ form.contact_phone_alt.id_for_label }}">
{{ form.contact_phone_alt.label }}
<small class="a-label__helper">(optional)</small>
Expand All @@ -173,7 +173,7 @@ <h2>Contact information</h2>
<input class="a-btn"
type="submit"
value="Submit">
<a class="a-btn a-btn__link a-btn__secondary"
<a class="a-btn a-btn--link a-btn--secondary"
href="{{ url('diversity_inclusion:privacy') }}"
rel="noopener noreferrer"
target="_blank">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h5>Instructions</h5>
{% if valid_values %}
{%- set header_row = valid_values[0] -%}
{%- set body_rows = valid_values[1:] -%}
<table class="o-table o-table__stack-on-small">
<table class="o-table o-table--stack-on-small">
<thead>
<tr>
{% for column in header_row %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h1>{{ page.page_header }}</h1>
<div class="lead-paragraph">{{ page.subheader }}</div>
<div class="block block--border-top u-fig-print-link">
<a class="a-link a-link__icon" href="javascript:window.print()">
<a class="a-link a-link--icon" href="javascript:window.print()">
<span class="a-link__text">Print this guide</span>
{{ svg_icon('print') }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
{% if effective_start_date and effective_end_date %}
{% set date_message = 'You are viewing a previous version of the FIG, effective ' + effective_start_date + ' to ' + effective_end_date + '.' %}
{% endif %}
{% set banner_modification = ' o-banner__dark' if version_status == 'Archived' else '' %}
{% set banner_modification = ' o-banner--dark' if version_status == 'Archived' else '' %}

{% block banner_top %}
{% if version_status %}
{% import 'v1/includes/molecules/notification.html' as notification with context %}
<div class="o-banner{{ banner_modification }}">
<div class="wrapper
wrapper__match-content">
wrapper--match-content">
{{ notification.render(
'warning',
true,
Expand All @@ -37,7 +37,7 @@
{% endblock %}

{% block content scoped %}
<main class="u-layout-grid u-layout-grid__1-3
<main class="u-layout-grid u-layout-grid--1-3
{% block content_modifiers -%}{%- endblock %}"
id="main">
<div class="u-layout-grid__wrapper">
Expand Down
24 changes: 12 additions & 12 deletions cfgov/form_explainer/jinja2/form-explainer/blocks/explainer.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
{% set category_index = loop.index %}
{% for item in category.notes %}
{% set id = 'page-' + page_num | string + '-category-' + category_index | string + '-note-' + loop.index | string %}
<a class="image-map_overlay image-map_overlay__category-{{ category_index }}"
<a class="image-map__overlay image-map__overlay--category-{{ category_index }}"
style="{{ 'top:' + item.coordinates.top | string + '%; left:' + item.coordinates.left | string + '%; width:' + item.coordinates.width | string + '%; height:' + item.coordinates.height | string + '%;' }}"
href="#{{ id }}"
id="image-map_overlay__{{ id }}"
id="image-map__overlay--{{ id }}"
tabindex="-1">
<span class="u-visually-hidden">{{ item.heading }}</span>
</a>
Expand Down Expand Up @@ -156,14 +156,14 @@

{% for page in value.pages %}
{% set page_num = loop.index %}
<div class="explain_page"
id="explain_page-{{ page_num }}">
<figure class="explain_container">
<div class="image-map explain_image-map">
<div class="image-map_wrapper">
<div class="explain__page"
id="explain__page-{{ page_num }}">
<figure class="explain__container">
<div class="image-map explain__image-map">
<div class="image-map__wrapper">
{% if page_count > 1 %}
<div class="form-explainer_page-buttons">
<button class="prev a-btn a-btn__disabled"
<div class="form-explainer__page-buttons">
<button class="prev a-btn a-btn--disabled"
aria-label="Previous page">
{{ svg_icon('left') }}
</button>
Expand All @@ -174,15 +174,15 @@
</div>
{% endif %}
{% set media = image(page.image, 'original') %}
<img class="image-map_image"
<img class="image-map__image"
src="{{ media.url }}"
alt="">
{{ render_map_points( page.categories, page_num ) }}
</div>
</div>
<figcaption class="explain_terms">
<figcaption class="explain__terms">
<div class="o-expandable-group
o-expandable-group__accordion">
o-expandable-group--accordion">
{% for category in page.categories %}
{% set category_index = loop.index %}
{% if category.title %}
Expand Down
6 changes: 3 additions & 3 deletions cfgov/hmda/jinja2/hmda/hmda-explorer-controls.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="o-form__group">
<fieldset class="o-form__fieldset">
<div class="m-form-field m-form-field__select">
<label class="a-label a-label__heading" for="id_geo">
<label class="a-label a-label--heading" for="id_geo">
Geographic area
</label>
<div class="a-select">
Expand All @@ -29,7 +29,7 @@
Records included
</legend>
{% for radio in form.records %}
<div class="m-form-field m-form-field__radio m-form-field__lg-target">
<div class="m-form-field m-form-field--radio m-form-field--lg-target">
<input class="a-radio" name="{{ radio.data.name }}" type="radio" id="{{ radio.id_for_label }}" value="{{ radio.data.value }}" {% if radio.data.selected %} checked{% endif %}>
<label class="a-label" for="{{ radio.id_for_label }}">
{{ radio.choice_label}}
Expand All @@ -53,7 +53,7 @@
Variable descriptions
</legend>
{% for radio in form.field_descriptions %}
<div class="m-form-field m-form-field__radio m-form-field__lg-target">
<div class="m-form-field m-form-field--radio m-form-field--lg-target">
<input class="a-radio" name="{{ radio.data.name }}" type="radio" id="{{ radio.id_for_label }}" value="{{ radio.data.value }}" {% if radio.data.selected %} checked{% endif %}>
<label class="a-label" for="{{ radio.id_for_label }}">
{{ radio.choice_label }}
Expand Down
Loading

0 comments on commit 1b46fee

Please sign in to comment.