Files
element-call/src/tabs/Tabs.module.css
2022-01-21 17:02:24 -08:00

87 lines
1.1 KiB
CSS

.tabContainer {
display: flex;
flex: 1;
flex-direction: column;
}
.tabList {
display: flex;
list-style: none;
padding: 0;
margin: 0 auto 24px auto;
}
.tab {
max-width: 190px;
min-width: fit-content;
height: 32px;
border-radius: 8px;
background-color: transparent;
display: flex;
align-items: center;
padding: 0 8px;
border: none;
cursor: pointer;
}
.tab > * {
color: var(--textColor4);
margin: 0 8px 0 0;
}
.tab svg * {
fill: var(--textColor4);
}
.tab > :last-child {
margin-right: 0;
}
.tab.selected {
background-color: #0dbd8b;
}
.tab.selected * {
color: #ffffff;
}
.tab.selected svg * {
fill: #ffffff;
}
.tab.disabled {
}
.tabPanel {
display: flex;
flex-direction: column;
flex: 1;
padding: 0;
overflow-y: auto;
}
@media (min-width: 800px) {
.tab {
padding: 0 16px;
}
.tab > * {
margin: 0 16px 0 0;
}
.tabContainer {
width: 100%;
flex-direction: row;
margin: 27px 16px;
}
.tabList {
flex-direction: column;
margin-bottom: 0;
}
.tabPanel {
padding: 0 40px;
}
}