Style, clean up, a11y updates

This commit is contained in:
Jonathan Bobel
2024-12-04 11:46:21 -05:00
parent 30c249718d
commit d684168a90
4 changed files with 17 additions and 6 deletions

View File

@@ -231,6 +231,13 @@ td.table-empty-message {
background-position: 0;
}
.folder-heading-template {
background: url(../img/material-icons/wysiwyg.svg) no-repeat;
padding-left: units(4);
display: inline-block;
background-position: 0;
}
.usa-checkbox .usa-checkbox__label {
+ a.template-list-folder {
margin-left: units(4);
@@ -918,3 +925,10 @@ li.linked-card:hover svg,
margin-left: calc(24px + 4px);
margin-top: 4px;
}
// Send message flow
#breadcrumb-template-folders, #nav-service-nav span {
font-size: units(3);
font-weight: bold;
}

View File

@@ -6,7 +6,7 @@
link_current_item=False,
root_element='nav'
) %}
<{{ root_element }} id="breadcrumb-template-folders" class="navigation-service usa-breadcrumb padding-top-0">
<{{ root_element }} id="breadcrumb-template-folders" class="navigation-service usa-breadcrumb padding-top-0 padding-bottom-05" aria-label="Template folder path">
{% for folder in folders %}
{% if loop.last and not link_current_item %}
{% if folder.template_type or not folder.id %}

View File

@@ -6,12 +6,12 @@
<a href="{{ url_for('.organization_dashboard', org_id=current_service.organization_id) }}" class="usa-link navigation-organization-link">{{ current_service.organization_name }}</a>
{% endif %}
{% endif %}
<div class="font-body-lg text-bold">
<span>
{{ current_service.name }}
{% if not current_service.active %}
<span class="navigation-service-name navigation-service-type--suspended">Suspended</span>
{% endif %}
</div>
</span>
<a href="{{ url_for('main.choose_account') }}" class="usa-link">Switch service</a>
</div>
</nav>

View File

@@ -37,9 +37,6 @@
<p class="margin-top-0 margin-bottom-4">
Every message starts with a template. To send, choose or create a template.
</p>
{# you don't need folder_path unless you're trying to add the parent breadcrumb title to the first
page of the flow, if that's the case, you'll want to delete line 353 within the test_template_folders.py
file. assert len(page.select("nav#breadcrumb-template-folders a")) == len(expected_parent_link_args)#}
{{ folder_path(
folders=template_folder_path,
service_id=current_service.id,