|
| 1 | +/* SPDX-License-Identifier: MIT */ |
| 2 | +/** |
| 3 | +
|
| 4 | +Doxygen Awesome |
| 5 | +https://github.com/jothepro/doxygen-awesome-css |
| 6 | +
|
| 7 | +Copyright (c) 2021 - 2023 jothepro |
| 8 | +
|
| 9 | + */ |
| 10 | + |
| 11 | +html { |
| 12 | + /* side nav width. MUST be = `TREEVIEW_WIDTH`. |
| 13 | + * Make sure it is wide enough to contain the page title (logo + title + version) |
| 14 | + */ |
| 15 | + --side-nav-fixed-width: 335px; |
| 16 | + --menu-display: none; |
| 17 | + |
| 18 | + --top-height: 120px; |
| 19 | + --toc-sticky-top: -25px; |
| 20 | + --toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px); |
| 21 | +} |
| 22 | + |
| 23 | +#projectname { |
| 24 | + white-space: nowrap; |
| 25 | +} |
| 26 | + |
| 27 | + |
| 28 | +@media screen and (min-width: 768px) { |
| 29 | + html { |
| 30 | + --searchbar-background: var(--page-background-color); |
| 31 | + } |
| 32 | + |
| 33 | + #side-nav { |
| 34 | + min-width: var(--side-nav-fixed-width); |
| 35 | + max-width: var(--side-nav-fixed-width); |
| 36 | + top: var(--top-height); |
| 37 | + overflow: visible; |
| 38 | + } |
| 39 | + |
| 40 | + #nav-tree, #side-nav { |
| 41 | + height: calc(100vh - var(--top-height)) !important; |
| 42 | + } |
| 43 | + |
| 44 | + #nav-tree { |
| 45 | + padding: 0; |
| 46 | + } |
| 47 | + |
| 48 | + #top { |
| 49 | + display: block; |
| 50 | + border-bottom: none; |
| 51 | + height: var(--top-height); |
| 52 | + margin-bottom: calc(0px - var(--top-height)); |
| 53 | + max-width: var(--side-nav-fixed-width); |
| 54 | + overflow: hidden; |
| 55 | + background: var(--side-nav-background); |
| 56 | + } |
| 57 | + #main-nav { |
| 58 | + float: left; |
| 59 | + padding-right: 0; |
| 60 | + } |
| 61 | + |
| 62 | + .ui-resizable-handle { |
| 63 | + cursor: default; |
| 64 | + width: 1px !important; |
| 65 | + background: var(--separator-color); |
| 66 | + box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color); |
| 67 | + } |
| 68 | + |
| 69 | + #nav-path { |
| 70 | + position: fixed; |
| 71 | + right: 0; |
| 72 | + left: var(--side-nav-fixed-width); |
| 73 | + bottom: 0; |
| 74 | + width: auto; |
| 75 | + } |
| 76 | + |
| 77 | + #doc-content { |
| 78 | + height: calc(100vh - 31px) !important; |
| 79 | + padding-bottom: calc(3 * var(--spacing-large)); |
| 80 | + padding-top: calc(var(--top-height) - 80px); |
| 81 | + box-sizing: border-box; |
| 82 | + margin-left: var(--side-nav-fixed-width) !important; |
| 83 | + } |
| 84 | + |
| 85 | + #MSearchBox { |
| 86 | + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium))); |
| 87 | + } |
| 88 | + |
| 89 | + #MSearchField { |
| 90 | + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px); |
| 91 | + } |
| 92 | + |
| 93 | + #MSearchResultsWindow { |
| 94 | + left: var(--spacing-medium) !important; |
| 95 | + right: auto; |
| 96 | + } |
| 97 | +} |
0 commit comments