diff --git a/styles/components/_accordion_table.scss b/styles/components/_accordion_table.scss index 7fa7312a..a1f438f3 100644 --- a/styles/components/_accordion_table.scss +++ b/styles/components/_accordion_table.scss @@ -19,9 +19,9 @@ .accordion-table__head { padding: $gap $gap*2; + font-size: $small-font-size; font-weight: 700; color: $color-gray; - text-transform: uppercase; background-color: $color-gray-lightest; border-bottom: 1px solid $color-gray-lightest; border-top: none; @@ -107,6 +107,11 @@ } .accordion-table__item__expanded { + font-size: $small-font-size; + font-weight: $font-normal; + background-color: $color-gray-lightest; + padding: $gap*2 $gap*4; + th, td { .icon-link { font-weight: $font-normal; @@ -118,12 +123,7 @@ .accordion-table__item__expanded_first { float: left; - font-weight: bold; } - - font-size: $small-font-size; - background-color: $color-gray-lightest; - padding: $gap*2.5 $gap*7 $gap*5 $gap*7; } } } @@ -131,8 +131,6 @@ #application-members { .accordion-table { .accordion-table__head { - font-size: $small-font-size; - padding-left: $gap*3; } .accordion-table__item-content, .accordion-table__head { @@ -152,5 +150,9 @@ flex-grow: 1; flex-basis: 0; } + + .accordion-table__item__toggler { + text-align: right; + } } } diff --git a/styles/components/_alerts.scss b/styles/components/_alerts.scss index 0aa6aee4..7e1f4a88 100644 --- a/styles/components/_alerts.scss +++ b/styles/components/_alerts.scss @@ -4,6 +4,11 @@ * @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/components/_alerts.scss */ +.usa-alert-heading { + line-height: 2.4rem; + margin-bottom: $gap; +} + @mixin alert { padding: $gap * 2; border-left-width: $gap / 2; diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 1b2e2692..da78eddb 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -16,7 +16,7 @@ .portfolio-breadcrumbs { margin-bottom: $gap * 2; - color: $color-gray-medium; + color: $color-gray-dark; font-size: $h5-font-size; .icon-link { @@ -34,10 +34,10 @@ .portfolio-breadcrumbs__home { &.icon-link--disabled { - color: $color-gray-medium; + color: $color-gray-dark; opacity: 1; .icon { - @include icon-color($color-gray-medium); + @include icon-color($color-gray-dark); } } } @@ -97,6 +97,7 @@ font-size: $small-font-size; .icon-link { + padding: 0.8rem 1.2rem; &.active { color: $color-gray; .icon { @@ -152,8 +153,6 @@ color: $color-gray-dark; padding: $gap 0; text-transform: uppercase; - opacity: 0.54; - font-size: $small-font-size; font-weight: bold; margin-bottom: 3 * $gap; } @@ -228,10 +227,6 @@ } } - .green { - color: $color-green; - } - .name { font-weight: bold; @@ -337,6 +332,16 @@ } } } + + textarea { + max-height: 9rem; + max-width: none; + } + + .panel__footer { + padding-bottom: 0; + padding-top: 0; + } } .activity-log { @@ -378,8 +383,8 @@ } .application-list-item { + box-shadow: $box-shadow; border-radius: 5px; - box-shadow: 0 4px 8px 1px rgba(230,230,230,0.5), -4px 4px 8px 1px rgba(230,230,230,0.5); margin-bottom: 6 * $gap; .col { @@ -467,7 +472,6 @@ } table { - box-shadow: 0 6px 18px 0 rgba(144,164,183,0.3); thead { th:first-child { padding-left: 3 * $gap; diff --git a/styles/core/_util.scss b/styles/core/_util.scss index cb508813..06ce6d74 100644 --- a/styles/core/_util.scss +++ b/styles/core/_util.scss @@ -46,3 +46,11 @@ @content; } } + +.green { + color: $color-green; +} + +.user-permission { + font-weight: $font-normal; +} diff --git a/styles/core/_variables.scss b/styles/core/_variables.scss index 19335b2a..a76893bc 100644 --- a/styles/core/_variables.scss +++ b/styles/core/_variables.scss @@ -113,7 +113,7 @@ $color-focus: $color-gray-light; $color-visited: $color-purple; $color-overlay: rgba(#000, 0.5); -$color-shadow: rgba(#000, 0.3); +$color-shadow: rgba(208, 219, 231, 0.5); $color-transparent: rgba(#000, 0); // Mobile First Breakpoints @@ -154,7 +154,7 @@ $label-border-radius: 2px; $checkbox-border-radius: 2px; $border-radius: 3px; $button-border-radius: 5px; -$box-shadow: 0 0 2px $color-shadow; +$box-shadow: 0px 2px 5px 0px $color-shadow; $focus-outline: 2px dotted $color-gray-light; $focus-spacing: 3px; $nav-width: 300px; // previously 951px; diff --git a/styles/elements/_accordions.scss b/styles/elements/_accordions.scss index 62a8d66a..9e189d98 100644 --- a/styles/elements/_accordions.scss +++ b/styles/elements/_accordions.scss @@ -1,3 +1,19 @@ +.triangle-box { + position: relative; + + .triangle-up { + $triangle-size: ($gap * 1.5); + position: absolute; + width: 0; + height: 0; + border-left: $triangle-size solid transparent; + border-right: $triangle-size solid transparent; + border-bottom: $triangle-size solid $color-blue-light; + bottom: -4px; + right: 50%; + } +} + .accordion { @include block-list; @@ -54,11 +70,16 @@ .accordion__actions { margin-top: $gap; + margin-bottom: $gap * 0.5; display: flex; flex-direction: row; .icon-link { font-size: $small-font-size; + + svg { + width: 1rem; + } } .counter { diff --git a/styles/elements/_action_group.scss b/styles/elements/_action_group.scss index 2d96dac8..1497a948 100644 --- a/styles/elements/_action_group.scss +++ b/styles/elements/_action_group.scss @@ -11,10 +11,10 @@ .usa-button, a { - margin: 0 0 0 ($gap * 2); + margin: 0 0 0 $gap; @include media($medium-screen) { - margin: 0 0 0 ($gap * 4); + margin: 0 0 0 ($gap * 2); } } diff --git a/styles/elements/_block_lists.scss b/styles/elements/_block_lists.scss index 23c83bbb..4653e8f3 100644 --- a/styles/elements/_block_lists.scss +++ b/styles/elements/_block_lists.scss @@ -13,12 +13,11 @@ @mixin block-list-header { @include panel-base; @include panel-theme-default; - padding: $gap * 2; display: flex; flex-direction: row; justify-content: space-between; background-color: $color-gray-lightest; - padding: $gap 2 * $gap; + padding: $gap 3 * $gap; color: $color-gray; .icon-tooltip { diff --git a/styles/elements/_panels.scss b/styles/elements/_panels.scss index 0036e474..5c9040b8 100644 --- a/styles/elements/_panels.scss +++ b/styles/elements/_panels.scss @@ -22,10 +22,10 @@ margin-top: 0; margin-left: 0; margin-right: 0; - margin-bottom: $site-margins-mobile * 2; + margin-bottom: $site-margins-mobile * 6; @include media($medium-screen) { - margin-bottom: $site-margins * 2; + margin-bottom: $site-margins * 8; } } @@ -47,8 +47,8 @@ } @mixin shadow-panel { - padding: $gap / 2 0; - box-shadow: 0 6px 18px 0 rgba(144,164,183,0.3); + padding: $gap /2 0; + box-shadow: $box-shadow; border-top: none; border-bottom: none; } @@ -57,6 +57,7 @@ @include panel-base; @include panel-theme-default; @include panel-margin; + @include shadow-panel; .panel__content { margin: ($gap * 2) 0; diff --git a/styles/elements/_sidenav.scss b/styles/elements/_sidenav.scss index 4de80ef8..9e034598 100644 --- a/styles/elements/_sidenav.scss +++ b/styles/elements/_sidenav.scss @@ -1,6 +1,5 @@ @mixin sidenav__header { padding: $gap ($gap * 2); - font-size: $small-font-size; font-weight: bold; } @@ -17,10 +16,11 @@ } width: 25rem; - box-shadow: 0 6px 18px 0 rgba(48,58,65,0.15); + box-shadow: $box-shadow; .sidenav__title { @include sidenav__header; + font-size: $h3-font-size; text-transform: uppercase; width: 50%; color: $color-gray-dark; @@ -29,6 +29,8 @@ .sidenav__toggle { @include sidenav__header; + font-size: $small-font-size; + line-height: 2.8rem; float: right; color: $color-blue-darker; diff --git a/styles/sections/_application_list.scss b/styles/sections/_application_list.scss index eaf41127..84a0b3d3 100644 --- a/styles/sections/_application_list.scss +++ b/styles/sections/_application_list.scss @@ -3,6 +3,7 @@ display: flex; flex-direction: row; justify-content: space-between; + padding: ($gap * 1.5) ($gap * 3); .usa-input { margin: 0; diff --git a/templates/components/alert.html b/templates/components/alert.html index d6834f0d..dc5c4330 100644 --- a/templates/components/alert.html +++ b/templates/components/alert.html @@ -25,9 +25,9 @@
{% if vue_template %} -

+

{% else %} -

{{title}}

+

{{title}}

{% endif %} {% if message %} diff --git a/templates/portfolios/applications/index.html b/templates/portfolios/applications/index.html index 29d54b8e..ab364b64 100644 --- a/templates/portfolios/applications/index.html +++ b/templates/portfolios/applications/index.html @@ -54,22 +54,22 @@ - {{ "portfolios.applications.team_text" | translate }} - {{ application.num_users }} + {{ "portfolios.applications.team_text" | translate }} ({{ application.num_users }}) +
{% endif %} + + Environments ({{ application.environments|length }}) + + {{ Icon('caret_up') }} + + + {{ Icon('caret_down') }} + +
+
-
- - - {{ Icon('minus') }} - - - {{ Icon('plus') }} - - -