1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00
documize/gui/app/styles/view/document/doc-toc.scss
2017-12-12 18:30:39 +00:00

88 lines
1.9 KiB
SCSS

.document-toc {
@include border-radius(3px);
margin: 30px 0 30px 0;
padding: 0 20px 20px 20px;
background-color: $color-off-white;
border: 1px solid $color-border;
overflow: scroll;
> .header {
@include sticky();
flex-direction: column;
top: 0;
padding-top: 20px;
margin: 0;
background-color: $color-off-white;
> .title {
color: $color-gray;
font-weight: bold;
font-size: 1.1rem;
margin-bottom: 20px;
text-align: center;
}
> .toc-controls {
margin: 0 0 0 0;
text-align: center;
> .disabled {
cursor: not-allowed !important;
> .material-icons {
color: $color-gray-light;
}
}
}
}
> .index-list {
padding: 0;
list-style: none;
font-size: 0.9rem;
overflow-x: hidden;
list-style-type: none;
margin: 0 0 0 0;
.item {
@extend .no-select;
padding: 4px 0;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: nowrap;
overflow: hidden;
> .link {
color: $color-dark;
font-weight: bold;
&:hover {
color: $color-link;
}
> .numbering {
color: $color-gray;
font-weight: bold;
display: inline-block;
margin-right: 10px;
}
}
> .selected {
color: $color-link;
}
}
}
}
.document-toc-desktop {
display: inline-block;
position: fixed;
right: 30px;
z-index: 777;
}
.document-toc-small {
display: block;
}