element-call/src/Tabs.module.css

63 lines
792 B
CSS
Raw Normal View History

2021-12-06 17:34:10 -08:00
.tabContainer {
width: 100%;
display: flex;
2021-12-14 15:28:54 -08:00
flex: 1;
2021-12-06 17:34:10 -08:00
}
.tabList {
display: flex;
flex-direction: column;
list-style: none;
padding: 0;
margin: 0;
}
.tab {
2021-12-10 10:54:18 -08:00
max-width: 190px;
min-width: fit-content;
2021-12-06 17:34:10 -08:00
height: 32px;
border-radius: 8px;
background-color: transparent;
display: flex;
align-items: center;
padding: 0 16px;
border: none;
cursor: pointer;
}
.tab > * {
2021-12-13 16:28:50 -08:00
color: var(--textColor4);
2021-12-06 17:34:10 -08:00
margin-right: 16px;
}
.tab svg * {
2021-12-13 16:28:50 -08:00
fill: var(--textColor4);
2021-12-06 17:34:10 -08:00
}
.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;
2021-12-10 10:54:18 -08:00
overflow-y: auto;
2021-12-06 17:34:10 -08:00
}