Arnaud 66f8207be8
Tabs component (#12)
* Add tgz files to gitignore

* Tabs element

* Remove duplicate util function
2024-09-10 13:25:05 +02:00

46 lines
671 B
CSS

.tabs {
display: flex;
margin-top: 1rem;
gap: 1rem;
position: relative;
}
.tabs-tab {
display: flex;
align-items: center;
gap: 0.25rem;
padding-bottom: 1rem;
cursor: pointer;
transition: 0.35s opacity;
z-index: 1;
}
.tabs-tab::after {
width: 100%;
background-color: var(--codex-background-light);
content: " ";
position: absolute;
height: 2px;
top: 11px;
top: 31px;
}
.tabs-tab:not(.files-headerTab--active) {
opacity: 0.7;
}
.tabs-tab:hover {
opacity: 0.85;
}
.tabs-tab--active {
border-bottom: 2px solid var(--codex-color-contrast);
}
.tabs-icon {
width: 1rem;
height: 1rem;
display: flex;
place-items: center;
}