From 41a191b1fc2546575d434486abf4e3aadc27b760 Mon Sep 17 00:00:00 2001 From: dandds Date: Tue, 30 Apr 2019 17:13:10 -0400 Subject: [PATCH] triangle marker for open environments --- styles/elements/_accordions.scss | 16 ++++++++++++++++ styles/sections/_application_list.scss | 1 + templates/portfolios/applications/index.html | 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/styles/elements/_accordions.scss b/styles/elements/_accordions.scss index 2c02f7e0..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; 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/portfolios/applications/index.html b/templates/portfolios/applications/index.html index 5ff931f7..ab364b64 100644 --- a/templates/portfolios/applications/index.html +++ b/templates/portfolios/applications/index.html @@ -58,7 +58,7 @@
{% endif %} - + Environments ({{ application.environments|length }}) {{ Icon('caret_up') }} @@ -66,6 +66,7 @@ {{ Icon('caret_down') }} +