triangle marker for open environments
This commit is contained in:
parent
1484473bd7
commit
41a191b1fc
@ -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 {
|
.accordion {
|
||||||
@include block-list;
|
@include block-list;
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: ($gap * 1.5) ($gap * 3);
|
||||||
|
|
||||||
.usa-input {
|
.usa-input {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<div class='separator'></div>
|
<div class='separator'></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class='icon-link' v-on:click="toggleSection('{{ section_name }}')">
|
<a class='icon-link triangle-box' v-on:click="toggleSection('{{ section_name }}')">
|
||||||
<span>Environments ({{ application.environments|length }})</span>
|
<span>Environments ({{ application.environments|length }})</span>
|
||||||
<span v-if="selectedSection === '{{ section_name }}'">
|
<span v-if="selectedSection === '{{ section_name }}'">
|
||||||
{{ Icon('caret_up') }}
|
{{ Icon('caret_up') }}
|
||||||
@ -66,6 +66,7 @@
|
|||||||
<span v-else>
|
<span v-else>
|
||||||
{{ Icon('caret_down') }}
|
{{ Icon('caret_down') }}
|
||||||
</span>
|
</span>
|
||||||
|
<div class="triangle-up" v-if="selectedSection === '{{ section_name }}'"></div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user