element-call/src/Tabs.module.css

60 lines
731 B
CSS
Raw Normal View History

2021-12-06 17:34:10 -08:00
.tabContainer {
width: 100%;
display: flex;
}
.tabList {
display: flex;
flex-direction: column;
width: 190px;
list-style: none;
padding: 0;
margin: 0;
}
.tab {
height: 32px;
border-radius: 8px;
background-color: transparent;
display: flex;
align-items: center;
padding: 0 16px;
border: none;
cursor: pointer;
}
.tab > * {
color: var(--textColor2);
margin-right: 16px;
}
.tab svg * {
fill: var(--textColor2);
}
.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 40px;
}