Files
onspring-api-docs/src/app/components/SideBar.module.css
T

103 lines
1.4 KiB
CSS
Raw Normal View History

2023-04-07 23:18:45 -05:00
.container {
display: flex;
flex-direction: column;
height: 100%;
border-right: 1px solid #848586;
padding: 1rem;
overflow: auto;
scrollbar-color: transparent #0b3766;
}
2023-04-18 22:51:50 -05:00
@media screen and (max-width: 1000px) {
.container {
display: none;
}
}
.container::-webkit-scrollbar {
background-color: transparent;
}
.container::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 10px;
}
.container:hover::-webkit-scrollbar-thumb {
background-color: #0b3766;
2023-04-07 23:18:45 -05:00
}
2023-04-18 22:51:50 -05:00
.container::-webkit-scrollbar-corner {
background-color: transparent;
}
2023-04-14 22:35:40 -05:00
.link {
text-decoration: none;
}
2023-04-07 23:18:45 -05:00
.title {
font-size: 1rem;
white-space: nowrap;
margin-bottom: 1rem;
2023-04-07 23:18:45 -05:00
}
.onspring {
font-weight: bold;
color: white;
}
.api {
font-weight: bold;
color: #ee7203;
}
.list {
display: flex;
flex-direction: column;
gap: 0.25rem;
white-space: nowrap;
width: 100%;
}
.listItem {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.25rem;
cursor: pointer;
padding-left: 0.5rem;
margin-right: 1rem;
width: 100%;
}
.link,
.activeLink {
text-decoration: none;
color: #a3acb9;
}
.link:hover {
color: white;
}
.activeLink {
background-color: #1e1e1e;
}
.expandable {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 3rem;
2023-04-18 22:51:50 -05:00
flex: 1 1 auto;
}
.chevronContainer {
display: flex;
justify-content: center;
}
.chevron {
margin-left: 0.5rem;
2023-04-07 23:18:45 -05:00
}