Clean up css in accordion-table file

This commit is contained in:
leigh-mil 2019-10-10 16:30:20 -04:00
parent ce9a551b2d
commit 47e5a40262
2 changed files with 11 additions and 103 deletions

View File

@ -1,32 +1,19 @@
.float-right {
float: right;
}
.accordion-table {
.usa-alert {
margin: $gap * 2;
margin-bottom: 0;
}
ul {
padding-left: 0;
margin: 0;
li {
list-style-type: none;
margin: 0;
border-bottom: 1px solid $color-gray-lighter;
}
}
&__head {
padding: $gap ($gap * 2);
font-size: $small-font-size;
font-weight: 700;
color: $color-gray;
background-color: $color-gray-lightest;
border-bottom: 1px solid $color-gray-lightest;
border-top: none;
}
thead th {
text-transform: uppercase;
border-bottom: 1px solid $color-gray-lightest;
@ -42,39 +29,9 @@
}
}
.new-env {
margin-top: 5rem;
padding: 0 5rem;
}
&__items {
margin: 0;
.accordion-table__item {
font-weight: $font-bold;
border-bottom: 1px solid $color-gray-lightest;
padding: $gap 0;
&:first-child {
padding-top: 0;
}
.icon-link--large {
padding-top: $gap * 0.5;
padding-bottom: $gap * 0.5;
}
ul {
margin-top: 0;
margin-bottom: 0;
background-color: $color-gray-lightest;
li {
border-bottom: 1px solid $color-gray-lighter;
}
}
}
th,
td,
tr {
@ -87,8 +44,15 @@
}
&__item {
border-bottom: 1px solid $color-gray-lightest;
padding: $gap 0;
&:first-child {
padding-top: 0;
}
&-content {
padding: ($gap * 2);
font-weight: $font-bold;
.usa-input {
margin: 0;
@ -98,36 +62,9 @@
}
}
#name {
max-width: none;
border-color: black;
}
.usa-alert {
margin: 2.5rem 0;
}
select {
border: none;
font-weight: $font-normal;
}
}
&__action-group {
padding: 1rem 3.2rem;
background-color: $color-gray-lightest;
text-align: right;
button,
a {
margin: 0;
font-size: $small-font-size;
}
.icon-link {
padding-top: 0.5rem;
float: none;
}
}
&__toggler {
@ -171,35 +108,6 @@
&:last-child {
border-bottom: none;
}
.col--grow {
font-weight: $font-normal;
}
th,
td {
.icon-link {
font-weight: $font-normal;
font-size: $base-font-size;
}
border-bottom: 1px dashed $color-white;
}
&_first {
float: left;
}
&-role {
.icon-link {
padding: 0;
vertical-align: text-top;
.icon {
margin: 0 0 0 0.25rem;
}
}
}
}
}
}

View File

@ -25,7 +25,7 @@
<li>Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details.</li>
</ul>
<a href='{{ redirect_url }}' class="usa-button usa-button-primary float-right">
<a href='{{ redirect_url }}' class="usa-button usa-button-primary right">
{{ "common.continue" | translate }}
</a>
</div>