mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
7029c01806
* Start new parsers in gitbook itself
* Update markup-it
* Fix eslint errors
* Adapt basic parsing for summary
* Start tests for summaryFromDocument
* Continue
* Add parsing of glossary
* Add back languages parsing
* Adapt most tests for parsing
* Adapt all tests 🙌
* Adapt travis tests
* Bootstrap lerna before running tests
* Fix lowercase in require (linux)
* Fix command gitbook init
* Fix generation of ready by init command
* Fix generation of summary
* Fix watch after serve
* Add trademark to sidebar
* Add back favicon to default theme
* Open trademark in new tab
55 lines
1004 B
Plaintext
55 lines
1004 B
Plaintext
.Sidebar-Flex {
|
|
.flex(0 0 @sidebar-width);
|
|
|
|
&.Layout-enter {
|
|
margin-left: -@sidebar-width;
|
|
|
|
&.Layout-enter-active {
|
|
margin-left: 0;
|
|
transition: margin-left 250ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
&.Layout-leave {
|
|
margin-left: 0;
|
|
|
|
&.Layout-leave-active {
|
|
margin-left: -@sidebar-width;
|
|
transition: margin-left 250ms ease-in-out;
|
|
}
|
|
}
|
|
}
|
|
|
|
.Sidebar {
|
|
height: 100%;
|
|
background: @sidebar-background;
|
|
background: rgb(250, 250, 250);
|
|
border-right: 1px solid @sidebar-border-color;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.GitBookTrademark {
|
|
text-align: center;
|
|
text-decoration: none;
|
|
opacity: 0.1;
|
|
margin-top: 80px;
|
|
margin-bottom: 40px;
|
|
color: #000;
|
|
display: block;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
opacity: 0.2;
|
|
}
|
|
|
|
span {
|
|
display: block;
|
|
}
|
|
|
|
img {
|
|
max-width: 64px;
|
|
filter: grayscale(100%);
|
|
margin-top: 10px;
|
|
}
|
|
}
|