1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-28 01:29:43 +02:00
documize/gui/app/styles/view/document/doc-toc.scss

68 lines
1 KiB
SCSS
Raw Normal View History

2018-05-29 18:26:04 +01:00
.document-sidebar {
> .document-toc {
@include border-radius(3px);
@include ease-in();
margin: 0;
padding: 0 20px 20px 20px;
display: block;
2018-05-29 18:26:04 +01:00
> .header {
top: 0;
padding-top: 20px;
margin: 0;
2017-12-11 20:59:28 +00:00
2018-05-29 18:26:04 +01:00
> .toc-controls {
margin: 0 0 0 0;
text-align: center;
2017-12-11 20:59:28 +00:00
2018-05-29 18:26:04 +01:00
> .disabled {
cursor: not-allowed !important;
2017-12-11 20:59:28 +00:00
2018-05-29 18:26:04 +01:00
> .material-icons {
color: $color-gray-light;
}
}
}
}
2017-12-11 20:59:28 +00:00
2018-05-29 18:26:04 +01:00
> .index-list {
padding: 0;
list-style: none;
font-size: 0.9rem;
overflow-x: hidden;
list-style-type: none;
margin: 0 0 0 0;
2018-05-29 18:26:04 +01:00
.item {
@extend .no-select;
padding: 4px 0;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: nowrap;
overflow: hidden;
2017-12-11 20:59:28 +00:00
2018-05-29 18:26:04 +01:00
> .link {
color: $color-dark;
font-weight: bold;
&:hover {
color: $color-link;
}
2017-12-11 14:50:11 +00:00
2018-05-29 18:26:04 +01:00
> .numbering {
color: $color-gray;
font-weight: bold;
display: inline-block;
margin-right: 10px;
}
}
> .selected {
color: $color-link;
}
}
}
}
}
2018-05-29 18:26:04 +01:00