diff --git a/app/assets/sass/uswds/_main.scss b/app/assets/sass/uswds/_main.scss index 88e44042d..61f807bdb 100644 --- a/app/assets/sass/uswds/_main.scss +++ b/app/assets/sass/uswds/_main.scss @@ -351,6 +351,10 @@ h2.recipient-list { margin-top: units(1); } +.usa-search .search-form__button { + height: 40px; +} + // Button ellipses loading .dot-anim::after { content: '.'; diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index 31cbeb3fa..737d45172 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -179,10 +179,19 @@ td.table-empty-message { display: flex; flex-wrap: wrap; justify-content: space-between; - padding: 1rem; + padding: 1rem 0; } .user-list-item { + border: 2px solid color('gray-5'); + padding: units(2); + button, .usa-accordion__content { + background-color: white; + border: 2px solid color('gray-5'); + } + button:hover, button[aria-expanded="true"] { + background-color: color('gray-5'); + } @include at-media(desktop) { width: calc(50% - units(1)); margin-bottom: 1rem; @@ -199,7 +208,6 @@ td.table-empty-message { } .hint { - display: block; font-size: size('body', 'sm'); font-weight: normal; } diff --git a/app/templates/base.html b/app/templates/base.html index c75fae406..9fba71446 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -65,7 +65,7 @@ {% endblock %} {% block main %} -
+ {%- if user.status == 'pending' -%} + {{ user.email_address }} + (invited) {%- elif user.status == 'expired' -%} - {{ user.email_address }}(expired invite) + {{ user.email_address }} + (expired invite) {%- elif user.id == current_user.id -%} - (you) - {% else %} + {{ user.email_address }} + (you) + {%- else -%} {{ user.email_address }} {% endif %} - -
- {% set folder_count = user.template_folders_for_service(current_service) | length %} - {% if folder_count == 0 %} - Cannot see any folders - {% elif folder_count != current_service.all_template_folders | length %} - Can see {{ folder_count }} folder{% if folder_count > 1 %}s{% endif %} - {% else %} - Can see all folders - {% endif%} -
- {% endif %} - {% if current_service.has_permission('email_auth') %} -- Signs in with - {{ user.auth_type | format_auth_type(with_indefinite_article=True) }} -
- {% endif %} - {% if current_service.has_permission('email_auth') %} -- Signs in with - {{ user.auth_type | format_auth_type(with_indefinite_article=True) }} -
- {% endif %} - {% if current_user.has_permissions('manage_service') %} - {% if user.status == 'pending' or user.status == 'expired' %} - Cancel invitation for {{ user.email_address }} + + ++ {% set folder_count = user.template_folders_for_service(current_service) | length %} + {% if folder_count == 0 %} + Cannot see any folders + {% elif folder_count != current_service.all_template_folders | length %} + Can see {{ folder_count }} folder{% if folder_count > 1 %}s{% endif %} + {% else %} + Can see all folders + {% endif %} +
{% endif %} - {% if user.status == 'expired' %} - Resend invite for {{ user.email_address }} - {% elif user.is_editable_by(current_user) %} - Change details for {{ user.name }} {{ user.email_address }} + + {% if current_service.has_permission('email_auth') %} ++ Signs in with + {{ user.auth_type | format_auth_type(with_indefinite_article=True) }} +
{% endif %} +