Files
formex-viewer/frontend/src/components/TOC.css
2025-04-23 13:27:54 +02:00

56 lines
782 B
CSS

.toc {
font-size: 0.8rem;
min-width: 25vw;
flex: 1 auto;
&.hidden {
flex: 0 0;
min-width: 0;
}
overflow: scroll;
max-height: 100vh;
.toc-division {
margin-block: 0.5rem;
cursor: pointer;
}
ul {
padding: 1rem;
list-style-type: disc;
}
.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;
}