1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor(UI): improved breadcrumbs and tabs

This commit is contained in:
2021-07-14 16:10:34 +02:00
parent f0fa7c81b7
commit ed6e7fa72d
8 changed files with 53 additions and 11 deletions

View File

@ -186,6 +186,7 @@
:is-selected="selectedTab === tab.uid"
:table="tab.table"
:schema="tab.schema"
:element-type="tab.element"
/>
</template>
</div>
@ -383,15 +384,25 @@ export default {
flex: initial;
> a {
padding: 0.2rem 0.8rem;
padding: 0.2rem 0.6rem;
cursor: pointer;
display: flex;
align-items: center;
opacity: 0.7;
transition: opacity 0.2s;
.btn-clear {
margin-left: 0.5rem;
opacity: 0;
transition: opacity 0.2s;
}
&:hover {
opacity: 1;
.btn-clear {
opacity: 1;
}
}
&.tab-add {
@ -410,6 +421,10 @@ export default {
&.active a {
opacity: 1;
.btn-clear {
opacity: 1;
}
}
&.tools-dropdown {