Skip to content

Commit

Permalink
Increase compatibility with Doxygen 1.9.5
Browse files Browse the repository at this point in the history
The new Doxygen version comes with some small CSS adjustments
that required fixes in this theme.

Nervertheless it is NOT recommended to update to the new Doxygen
version! Doxygen 1.9.5 comes with scrollbar customizations that don't
work well together with this theme and they can not be
reverted/patched with just CSS.

See doxygen/doxygen#9549
  • Loading branch information
jothepro committed Aug 29, 2022
1 parent a27f39e commit 5bf1d5f
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ a.anchor {
margin-bottom: -1px;
}

.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
background: var(--page-secondary-foreground-color);
}

@media screen and (max-width: 767px) {
.sm-dox a span.sub-arrow {
background: var(--code-background);
Expand Down Expand Up @@ -548,12 +552,21 @@ a.anchor {
margin-top: 0;
}

.left #MSearchSelect {
/* until Doxygen 1.9.4 */
.left img#MSearchSelect {
left: 0;
user-select: none;
padding-left: 8px;
}

/* Doxygen 1.9.5 */
.left span#MSearchSelect {
left: 0;
user-select: none;
margin-left: 8px;
padding: 0;
}

.left #MSearchSelect[src$=".png"] {
padding-left: 0
}
Expand Down Expand Up @@ -670,6 +683,15 @@ html.dark-mode iframe#MSearchResults {
filter: invert() hue-rotate(180deg);
}

#MSearchResults .SRPage {
background-color: transparent;
}

#MSearchResults .SRPage .SREntry {
font-size: 10pt;
padding: var(--spacing-small) var(--spacing-medium);
}

#MSearchSelectWindow {
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium);
Expand Down Expand Up @@ -726,6 +748,7 @@ html.dark-mode iframe#MSearchResults {
overflow: auto;
transform: translate(0, 20px);
animation: ease-out 280ms slideInSearchResultsMobile;
width: auto !important;
}

/*
Expand Down Expand Up @@ -1971,6 +1994,10 @@ table.directory tr.even {
background-color: var(--odd-color);
}

table.directory tr.odd {
background-color: transparent;
}

.icona {
width: auto;
height: auto;
Expand Down Expand Up @@ -2025,6 +2052,10 @@ html.dark-mode .iconfopen, html.dark-mode .iconfclosed {
border-radius: var(--border-radius-small);
}

.classindex dl.even {
background-color: transparent;
}

/*
Class Index Doxygen 1.8
*/
Expand Down Expand Up @@ -2151,6 +2182,7 @@ div.memproto::-webkit-scrollbar,
.contents .center::-webkit-scrollbar,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody::-webkit-scrollbar,
div.contents .toc::-webkit-scrollbar {
background: transparent;
width: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
height: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
}
Expand Down

0 comments on commit 5bf1d5f

Please sign in to comment.