Skip to content

Commit 8c7eff3

Browse files
syurkeviumar456
authored andcommitted
fix exccessive padding w/gsearch on firefox
1 parent f925998 commit 8c7eff3

3 files changed

Lines changed: 25 additions & 18 deletions

File tree

docs/arrayfire.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
Overwrite google search bar .css to better match doxygen-awesome dark theme
3+
*/
4+
.cse input.gsc-input,input.gsc-input,.gsc_input-box,.gsc-input-box-focus{
5+
border-radius: 4px !important;
6+
background-image:none !important;
7+
color-scheme: light !important;
8+
-webkit-box-sizing: border-box !important;
9+
-moz-box-sizing: content-box !important;
10+
box-sizing: content-box !important;
11+
border: none !important;
12+
outline: none !important;
13+
}
14+
.gsc-control-cse {
15+
padding: 0px !important;
16+
border: none !important;
17+
outline: none !important;
18+
background-color: transparent !important;
19+
}
20+
.gsc-clear-button {
21+
display:none !important;
22+
}

docs/doxygen.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,8 @@ HTML_STYLESHEET =
13311331
# list). For an example see the documentation.
13321332
# This tag requires that the tag GENERATE_HTML is set to YES.
13331333

1334-
HTML_EXTRA_STYLESHEET = ${DOCS_DIR}/doxygen-awesome.css \
1334+
HTML_EXTRA_STYLESHEET = ${DOCS_DIR}/arrayfire.css \
1335+
${DOCS_DIR}/doxygen-awesome.css \
13351336
${DOCS_DIR}/doxygen-awesome-sidebar-only.css
13361337

13371338
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or

docs/header.htm

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<tbody>
5656
<tr id="projectrow">
5757
<!--BEGIN PROJECT_LOGO-->
58-
<td id="projectlogo"><a href="index.html"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
58+
<td id="projectlogo"><a href="index.htm"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
5959
<!--END PROJECT_LOGO-->
6060
</tr>
6161
<!--BEGIN PROJECT_BRIEF-->
@@ -74,22 +74,6 @@
7474
<!--END SEARCHENGINE-->
7575
<!--END DISABLE_INDEX-->
7676
<div>
77-
<style>
78-
.cse input.gsc-input,input.gsc-input,.gsc-input-box-focus{
79-
border-radius: var(--searchbar-border-radius) !important;
80-
background-image:none !important;
81-
color-scheme: light !important;
82-
-webkit-box-sizing: border-box !important;
83-
-moz-box-sizing: content-box !important;
84-
box-sizing: content-box !important;
85-
text-align: center !important;
86-
border: none !important;
87-
outline: none !important;
88-
}
89-
.gsc-clear-button {
90-
display:none !important;
91-
}
92-
</style>
9377
<td id="gsearch">
9478
<script async src="https://cse.google.com/cse.js?cx=004356362924927882526:zup3ehe-7bs"></script>
9579
<div class="gcse-search"></div>

0 commit comments

Comments
 (0)