forked from ballerina-platform/ballerina-dev-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
executable file
·130 lines (95 loc) · 2.75 KB
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
layout: ballerina-search-page
---
<style type="text/css" media="screen">
li.cSearchMenu {
display: none;
}
.form-control-field {
width: 100%;
}
.cResults {
padding: 0;
margin: 0;
}
ul.cResults li {
list-style: none !important;
margin-left: 0 !important;
padding: 10px 0 30px 0 !important;
border-bottom: 1px solid #e6e9ea;
}
.cSearchPage .form-control-field {
padding: 20px;
}
.nav > li.cVersionItem {
display: none !important;
}
.wy-breadcrumbs-aside{
display: none !important;
}
.cSearchButton {
margin-right: 10px;
height: 40px !important;
outline-style: none;
background-color: #20b6b0;
text-align: center;
min-width: 75px;
display: inline-block;
width: 100%;
text-align: center;
padding: 0px;
}
.cSearchButton:hover {
background-color: #494949;
}
.cSearchButton img {
width: 27px;
margin-top: 7px;
}
.select-css {
border: 1px solid #e6e9ea;
height: 42px;
padding: 10px 20px;
border-radius: 0;
font-weight: 200;
font-size: 16px !important;
border-radius: 0;
}
</style>
<div class="container">
<h1>Search </h1>
</div>
<div class="container cSearchField">
<div class="col-sm-12 col-md-2"></div>
<div class="col-sm-12 col-md-8 cSearchPage">
<form class="cSearch-form-inline ">
<div class="col-xs-12 col-sm-7 col-md-7" style="padding-left: 5px; padding-right: 5px;">
<input id="searchText" name="searchText" class="form-control-field" type="text" placeholder="Search" aria-label="Search">
</div>
<div class="col-xs-12 col-sm-3 col-md-3" style="padding-left: 5px; padding-right: 5px;">
<select name="searchVersion" id="searchVersion" class="select-css">
<option value="swan-lake" data-value="latest">Swan Lake</option>
<option value="1.2">v1.2</option>
</select>
</div>
<div class="col-xs-12 col-sm-2 col-md-2" style="padding-left: 5px; padding-right: 5px;">
<a id="searchButton" class="cSearchButton"><img src="/img/search-white.svg"/></a>
</div>
</form>
</div>
<div class="col-sm-12 col-md-2"></div>
</div>
<div class="container cSearchResults">
<h2></h2>
<h3 class="searchStatus">Loading Search Results ...</h3>
<ul id="searchResult" class="cResults">
</ul>
</div>
<script src="/js/lunr.js" type="text/javascript"></script>
<script src="/js/searchIndex.js" type="application/javascript"></script>
<script src="/js/site-search.js" type="application/javascript"></script>
<style>
.nav > li.cVersionItem , .cBallerinaTocContainer {
display: none !important;
}
</style>