mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Style, clean up, a11y updates
This commit is contained in:
@@ -231,6 +231,13 @@ td.table-empty-message {
|
|||||||
background-position: 0;
|
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 {
|
.usa-checkbox .usa-checkbox__label {
|
||||||
+ a.template-list-folder {
|
+ a.template-list-folder {
|
||||||
margin-left: units(4);
|
margin-left: units(4);
|
||||||
@@ -918,3 +925,10 @@ li.linked-card:hover svg,
|
|||||||
margin-left: calc(24px + 4px);
|
margin-left: calc(24px + 4px);
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send message flow
|
||||||
|
|
||||||
|
#breadcrumb-template-folders, #nav-service-nav span {
|
||||||
|
font-size: units(3);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
link_current_item=False,
|
link_current_item=False,
|
||||||
root_element='nav'
|
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 %}
|
{% for folder in folders %}
|
||||||
{% if loop.last and not link_current_item %}
|
{% if loop.last and not link_current_item %}
|
||||||
{% if folder.template_type or not folder.id %}
|
{% if folder.template_type or not folder.id %}
|
||||||
|
|||||||
@@ -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>
|
<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 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="font-body-lg text-bold">
|
<span>
|
||||||
{{ current_service.name }}
|
{{ current_service.name }}
|
||||||
{% if not current_service.active %}
|
{% if not current_service.active %}
|
||||||
<span class="navigation-service-name navigation-service-type--suspended">Suspended</span>
|
<span class="navigation-service-name navigation-service-type--suspended">Suspended</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</span>
|
||||||
<a href="{{ url_for('main.choose_account') }}" class="usa-link">Switch service</a>
|
<a href="{{ url_for('main.choose_account') }}" class="usa-link">Switch service</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -37,9 +37,6 @@
|
|||||||
<p class="margin-top-0 margin-bottom-4">
|
<p class="margin-top-0 margin-bottom-4">
|
||||||
Every message starts with a template. To send, choose or create a template.
|
Every message starts with a template. To send, choose or create a template.
|
||||||
</p>
|
</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(
|
{{ folder_path(
|
||||||
folders=template_folder_path,
|
folders=template_folder_path,
|
||||||
service_id=current_service.id,
|
service_id=current_service.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user