doc/lib: Add CSS for highlighting search results

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 13:27:04 +01:00
parent fa37f84cac
commit 6f1fdad9c2

View File

@ -77,7 +77,6 @@ thead {
.uppercase; .uppercase;
.bold; .bold;
} }
position: sticky;
border-bottom: 0.25rem solid @icinga; border-bottom: 0.25rem solid @icinga;
} }
@ -105,31 +104,12 @@ pre > code {
.box-shadow; .box-shadow;
} }
div.chapter > ul.navigation { ul.toc {
margin: 0; margin: 0;
padding: 0.4em; padding: 0 0 0 1em;
text-align: center; }
background-color: #888;
.search-highlight {
li { color: #FBE012;
list-style: none; background: @icinga;
display: inline;
margin: 0.2em;
padding: 0;
a {
color: #fff;
text-decoration: none;
}
&.prev {
padding-right: 0.6em;
border-right: 2px solid #fff;
}
&.next {
padding-left: 0.6em;
border-left: 2px solid #fff;
}
}
} }