|
| 1 | +/** |
| 2 | +
|
| 3 | +Doxygen Awesome |
| 4 | +https://github.com/jothepro/doxygen-awesome-css |
| 5 | +
|
| 6 | +MIT License |
| 7 | +
|
| 8 | +Copyright (c) 2021 - 2023 jothepro |
| 9 | +
|
| 10 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 11 | +of this software and associated documentation files (the "Software"), to deal |
| 12 | +in the Software without restriction, including without limitation the rights |
| 13 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 14 | +copies of the Software, and to permit persons to whom the Software is |
| 15 | +furnished to do so, subject to the following conditions: |
| 16 | +
|
| 17 | +The above copyright notice and this permission notice shall be included in all |
| 18 | +copies or substantial portions of the Software. |
| 19 | +
|
| 20 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 21 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 22 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 23 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 24 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 25 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 26 | +SOFTWARE. |
| 27 | +
|
| 28 | + */ |
| 29 | + |
| 30 | +html { |
| 31 | + /* side nav width. MUST be = `TREEVIEW_WIDTH`. |
| 32 | + * Make sure it is wide enough to contain the page title (logo + title + version) |
| 33 | + */ |
| 34 | + --side-nav-fixed-width: 335px; |
| 35 | + --menu-display: none; |
| 36 | + |
| 37 | + --top-height: 120px; |
| 38 | + --toc-sticky-top: -25px; |
| 39 | + --toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px); |
| 40 | +} |
| 41 | + |
| 42 | +#projectname { |
| 43 | + white-space: nowrap; |
| 44 | +} |
| 45 | + |
| 46 | + |
| 47 | +@media screen and (min-width: 768px) { |
| 48 | + html { |
| 49 | + --searchbar-background: var(--page-background-color); |
| 50 | + } |
| 51 | + |
| 52 | + #side-nav { |
| 53 | + min-width: var(--side-nav-fixed-width); |
| 54 | + max-width: var(--side-nav-fixed-width); |
| 55 | + top: var(--top-height); |
| 56 | + overflow: visible; |
| 57 | + } |
| 58 | + |
| 59 | + #nav-tree, #side-nav { |
| 60 | + height: calc(100vh - var(--top-height)) !important; |
| 61 | + } |
| 62 | + |
| 63 | + #nav-tree { |
| 64 | + padding: 0; |
| 65 | + } |
| 66 | + |
| 67 | + #top { |
| 68 | + display: block; |
| 69 | + border-bottom: none; |
| 70 | + height: var(--top-height); |
| 71 | + margin-bottom: calc(0px - var(--top-height)); |
| 72 | + max-width: var(--side-nav-fixed-width); |
| 73 | + overflow: hidden; |
| 74 | + background: var(--side-nav-background); |
| 75 | + } |
| 76 | + #main-nav { |
| 77 | + float: left; |
| 78 | + padding-right: 0; |
| 79 | + } |
| 80 | + |
| 81 | + .ui-resizable-handle { |
| 82 | + cursor: default; |
| 83 | + width: 1px !important; |
| 84 | + background: var(--separator-color); |
| 85 | + box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color); |
| 86 | + } |
| 87 | + |
| 88 | + #nav-path { |
| 89 | + position: fixed; |
| 90 | + right: 0; |
| 91 | + left: var(--side-nav-fixed-width); |
| 92 | + bottom: 0; |
| 93 | + width: auto; |
| 94 | + } |
| 95 | + |
| 96 | + #doc-content { |
| 97 | + height: calc(100vh - 31px) !important; |
| 98 | + padding-bottom: calc(3 * var(--spacing-large)); |
| 99 | + padding-top: calc(var(--top-height) - 80px); |
| 100 | + box-sizing: border-box; |
| 101 | + margin-left: var(--side-nav-fixed-width) !important; |
| 102 | + } |
| 103 | + |
| 104 | + #MSearchBox { |
| 105 | + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium))); |
| 106 | + } |
| 107 | + |
| 108 | + #MSearchField { |
| 109 | + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px); |
| 110 | + } |
| 111 | + |
| 112 | + #MSearchResultsWindow { |
| 113 | + left: var(--spacing-medium) !important; |
| 114 | + right: auto; |
| 115 | + } |
| 116 | +} |
0 commit comments