From 47e5a402622ca2832d8cc3c599ad23b400b9578c Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 10 Oct 2019 16:30:20 -0400 Subject: [PATCH] Clean up css in accordion-table file --- styles/components/_accordion_table.scss | 112 +++--------------------- templates/fragments/dod_login.html | 2 +- 2 files changed, 11 insertions(+), 103 deletions(-) diff --git a/styles/components/_accordion_table.scss b/styles/components/_accordion_table.scss index 060913ab..5508bf43 100644 --- a/styles/components/_accordion_table.scss +++ b/styles/components/_accordion_table.scss @@ -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; - } - } - } } } } diff --git a/templates/fragments/dod_login.html b/templates/fragments/dod_login.html index c8116c5b..1ca20164 100644 --- a/templates/fragments/dod_login.html +++ b/templates/fragments/dod_login.html @@ -25,7 +25,7 @@
  • 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.
  • - + {{ "common.continue" | translate }}