Rename 'dashboard' class for section to more generalized

This commit is contained in:
igorkorenfeld 2023-04-05 16:45:40 -04:00
parent e3b6c8305d
commit f7f16dbf68
No known key found for this signature in database
GPG key ID: 826947A4B867F659
3 changed files with 6 additions and 6 deletions

View file

@ -221,7 +221,7 @@ a.breadcrumb__back {
padding-top: units(5); padding-top: units(5);
} }
section.dashboard { .section--outlined {
background-color: color('white'); background-color: color('white');
border: 1px solid color('base-lighter'); border: 1px solid color('base-lighter');
border-radius: 4px; border-radius: 4px;

View file

@ -7,7 +7,7 @@
<h1>User management</h1> <h1>User management</h1>
{% if domain.permissions %} {% if domain.permissions %}
<section class="dashboard"> <section class="section--outlined">
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table--stacked dotgov-table"> <table class="usa-table usa-table--borderless usa-table--stacked dotgov-table--stacked dotgov-table">
<h2 class> Active users </h2> <h2 class> Active users </h2>
<caption class="sr-only">Domain users</caption> <caption class="sr-only">Domain users</caption>
@ -42,7 +42,7 @@
</section> </section>
{% if domain.invitations.exists %} {% if domain.invitations.exists %}
<section class="dashboard"> <section class="section--outlined">
<h2>Invitations</h2> <h2>Invitations</h2>
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table--stacked dotgov-table"> <table class="usa-table usa-table--borderless usa-table--stacked dotgov-table--stacked dotgov-table">
<caption class="sr-only">Domain invitations</caption> <caption class="sr-only">Domain invitations</caption>

View file

@ -14,7 +14,7 @@
<p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p> <p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p>
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10"> <section class="section--outlined tablet:grid-col-11 desktop:grid-col-10">
<h2>Registered domains</h2> <h2>Registered domains</h2>
{% if domains %} {% if domains %}
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked"> <table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked">
@ -53,7 +53,7 @@
{% endif %} {% endif %}
</section> </section>
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10"> <section class="section--outlined tablet:grid-col-11 desktop:grid-col-10">
<h2>Active domain requests</h2> <h2>Active domain requests</h2>
{% if domain_applications %} {% if domain_applications %}
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked"> <table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked">
@ -104,7 +104,7 @@
<p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p> <p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p>
</section> </section>
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10"> <section class="section--outlined tablet:grid-col-11 desktop:grid-col-10">
<h2>Archived domains</h2> <h2>Archived domains</h2>
<p>You don't have any archived domains</p> <p>You don't have any archived domains</p>
</section> </section>