mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
79 lines
No EOL
1.7 KiB
SCSS
79 lines
No EOL
1.7 KiB
SCSS
.document-toc {
|
|
@include border-radius(3px);
|
|
margin: 30px 0 30px 0;
|
|
padding: 20px 20px;
|
|
background-color: $color-off-white;
|
|
// background-color: $color-primary-light;
|
|
border: 1px solid $color-border;
|
|
overflow: scroll;
|
|
|
|
> .title {
|
|
color: $color-gray;
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
> .toc-controls {
|
|
margin: 10px 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;
|
|
left: 20px;
|
|
z-index: 777;
|
|
}
|
|
|
|
.document-toc-small {
|
|
display: block;
|
|
} |