Updates to tooltip heading and add text to remove icon

This commit is contained in:
luis cielak 2018-08-22 11:40:22 -04:00
parent 5616fa4f11
commit 6747ef2659
4 changed files with 9 additions and 3 deletions

View File

@ -22,6 +22,7 @@
background: none; background: none;
transition: background-color $hover-transition-time; transition: background-color $hover-transition-time;
border-radius: $gap / 2; border-radius: $gap / 2;
cursor: pointer;
.icon { .icon {
@include icon-color($color-primary); @include icon-color($color-primary);

View File

@ -69,6 +69,11 @@
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 0; margin: 0;
display: inline-block;
}
.icon-tooltip {
margin-left: $gap*2;
} }
} }
} }

View File

@ -88,7 +88,7 @@
<footer class='block-list__footer'> <footer class='block-list__footer'>
<a href='/' class='icon-link'> <a href='/' class='icon-link'>
{% module Icon('plus') %} {% module Icon('plus') %}
<span>Add another environment</span> <span class="icon-link">Add another environment</span>
</a> </a>
</footer> </footer>
</section> </section>

View File

@ -39,13 +39,13 @@
<li v-for="(_, i) in environments" class="block-list__item project-list-item__environment"> <li v-for="(_, i) in environments" class="block-list__item project-list-item__environment">
<span class="project-list-item__environment"> <span class="project-list-item__environment">
{{ TextInput(form.environment_name) }} {{ TextInput(form.environment_name) }}
<span v-on:click="removeEnvironment(i)">{{ Icon('x') }}</span>
</span> </span>
<span v-on:click="removeEnvironment(i)">{{ Icon('x') }} Remove</span>
</li> </li>
</ul> </ul>
<div class="block-list__footer"> <div class="block-list__footer">
<a v-on:click="addEnvironment">Add another environment</a> <a v-on:click="addEnvironment" class="icon-link">Add another environment</a>
</div> </div>
</div> </div>