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 {
|
||||
@include block-list;
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding: ($gap * 1.5) ($gap * 3);
|
||||
|
||||
.usa-input {
|
||||
margin: 0;
|
||||
|
@ -58,7 +58,7 @@
|
||||
</a>
|
||||
<div class='separator'></div>
|
||||
{% 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 v-if="selectedSection === '{{ section_name }}'">
|
||||
{{ Icon('caret_up') }}
|
||||
@ -66,6 +66,7 @@
|
||||
<span v-else>
|
||||
{{ Icon('caret_down') }}
|
||||
</span>
|
||||
<div class="triangle-up" v-if="selectedSection === '{{ section_name }}'"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user