rapidoc
Version:
RapiDoc - Open API spec viewer with built in console
48 lines (45 loc) • 921 B
JavaScript
import { css } from 'lit';
export default css`
.tab-panel {
border: none;
}
.tab-buttons {
height:30px;
padding: 4px 4px 0 4px;
border-bottom: 1px solid var(--light-border-color) ;
align-items: stretch;
overflow-y: hidden;
overflow-x: auto;
scrollbar-width: thin;
}
.tab-buttons::-webkit-scrollbar {
height: 1px;
background-color: var(--border-color);
}
.tab-btn {
border: none;
border-bottom: 3px solid transparent;
color: var(--light-fg);
background-color: transparent;
white-space: nowrap;
cursor:pointer;
outline:none;
font-family:var(--font-regular);
font-size:var(--font-size-small);
margin-right:16px;
padding:1px;
}
.tab-btn.active {
border-bottom: 3px solid var(--primary-color);
font-weight:bold;
color:var(--primary-color);
}
.tab-btn:hover {
color:var(--primary-color);
}
.tab-content {
margin:-1px 0 0 0;
position:relative;
min-height: 50px;
}
`;