mirror of
https://github.com/boostorg/redis.git
synced 2026-01-19 04:42:09 +00:00
Magnifying glass showing twice. Sidebar scrolling with the content. Header not being hidden correctly for small devices. close #160
146 lines
3.3 KiB
CSS
146 lines
3.3 KiB
CSS
/**
|
|
|
|
Doxygen Awesome
|
|
https://github.com/jothepro/doxygen-awesome-css
|
|
|
|
MIT License
|
|
|
|
Copyright (c) 2021 jothepro
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
|
|
*/
|
|
|
|
html {
|
|
/* side nav width. MUST be = `TREEVIEW_WIDTH`.
|
|
* Make sure it is wide enough to contain the page title (logo + title + version)
|
|
*/
|
|
--side-nav-fixed-width: 335px;
|
|
}
|
|
|
|
#projectname {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#page-wrapper {
|
|
height: calc(100vh - 100px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#content-wrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
min-height: 0;
|
|
}
|
|
|
|
#doc-content {
|
|
overflow-y: scroll;
|
|
flex: 1;
|
|
height: auto !important;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
html {
|
|
--searchbar-background: var(--page-background-color);
|
|
}
|
|
|
|
#sidebar-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: var(--side-nav-fixed-width);
|
|
max-width: var(--side-nav-fixed-width);
|
|
background-color: var(--side-nav-background);
|
|
border-right: 1px solid rgb(222, 222, 222);
|
|
}
|
|
|
|
#search-box-wrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
#MSearchBox {
|
|
flex: 1;
|
|
display: flex;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
|
|
#MSearchBox .left {
|
|
display: flex;
|
|
flex: 1;
|
|
position: static;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
#MSearchBox .right {
|
|
display: none;
|
|
}
|
|
|
|
#MSearchSelect {
|
|
padding-left: 0.75em;
|
|
left: auto;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#MSearchField {
|
|
flex: 1;
|
|
position: static;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
#nav-tree {
|
|
height: auto !important;
|
|
}
|
|
|
|
#nav-sync {
|
|
display: none;
|
|
}
|
|
|
|
#top {
|
|
display: block;
|
|
border-bottom: none;
|
|
max-width: var(--side-nav-fixed-width);
|
|
background: var(--side-nav-background);
|
|
}
|
|
|
|
.ui-resizable-handle {
|
|
cursor: default;
|
|
width: 1px !important;
|
|
}
|
|
|
|
#MSearchResultsWindow {
|
|
left: var(--spacing-medium) !important;
|
|
right: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#sidebar-wrapper {
|
|
display: none;
|
|
}
|
|
}
|