Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix exccessive padding w/gsearch on firefox
  • Loading branch information
syurkevi committed Dec 21, 2022
commit bdb018d842edd44566fb76fa5ee8850bfd52cd2f
22 changes: 22 additions & 0 deletions docs/arrayfire.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Overwrite google search bar .css to better match doxygen-awesome dark theme
*/
.cse input.gsc-input,input.gsc-input,.gsc_input-box,.gsc-input-box-focus{
border-radius: 4px !important;
background-image:none !important;
color-scheme: light !important;
-webkit-box-sizing: border-box !important;
-moz-box-sizing: content-box !important;
box-sizing: content-box !important;
border: none !important;
outline: none !important;
}
.gsc-control-cse {
padding: 0px !important;
border: none !important;
outline: none !important;
background-color: transparent !important;
}
.gsc-clear-button {
display:none !important;
}
3 changes: 2 additions & 1 deletion docs/doxygen.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,8 @@ HTML_STYLESHEET =
# list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_STYLESHEET = ${DOCS_DIR}/doxygen-awesome.css \
HTML_EXTRA_STYLESHEET = ${DOCS_DIR}/arrayfire.css \
${DOCS_DIR}/doxygen-awesome.css \
${DOCS_DIR}/doxygen-awesome-sidebar-only.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
Expand Down
18 changes: 1 addition & 17 deletions docs/header.htm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<tbody>
<tr id="projectrow">
<!--BEGIN PROJECT_LOGO-->
<td id="projectlogo"><a href="index.html"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
<td id="projectlogo"><a href="index.htm"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
<!--END PROJECT_LOGO-->
</tr>
<!--BEGIN PROJECT_BRIEF-->
Expand All @@ -74,22 +74,6 @@
<!--END SEARCHENGINE-->
<!--END DISABLE_INDEX-->
<div>
<style>
.cse input.gsc-input,input.gsc-input,.gsc-input-box-focus{
border-radius: var(--searchbar-border-radius) !important;
background-image:none !important;
color-scheme: light !important;
-webkit-box-sizing: border-box !important;
-moz-box-sizing: content-box !important;
box-sizing: content-box !important;
text-align: center !important;
border: none !important;
outline: none !important;
}
.gsc-clear-button {
display:none !important;
}
</style>
<td id="gsearch">
<script async src="https://cse.google.com/cse.js?cx=004356362924927882526:zup3ehe-7bs"></script>
<div class="gcse-search"></div>
Expand Down