Files
formex-viewer/frontend/src/components/TOC.css
Adrian Rumpold 6dcf39dc58 Working TOC
2025-04-23 12:27:35 +02:00

55 lines
780 B
CSS

.toc {
font-size: 0.8rem;
min-width: 25vw;
flex: 1 auto;
&.hidden {
flex: 0 0;
min-width: 0;
}
transition: width 0.3s ease-in-out;
overflow: scroll;
max-height: 100vh;
.division-list {
list-style: none;
ul {
margin-block: 1rem;
}
}
.selected {
font-weight: bold;
}
.article {
cursor: pointer;
}
}
.toggle-button {
position: fixed;
top: 16px;
left: 16px;
width: 32px;
height: 32px;
padding: 0;
border: none;
border-radius: 50%;
background-color: #007bff;
color: white;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
.toggle-button:hover {
background-color: #0056b3;
}