1 | /* |
---|
2 | Copyright (C) 2014 CLARIN |
---|
3 | |
---|
4 | This program is free software: you can redistribute it and/or modify |
---|
5 | it under the terms of the GNU General Public License as published by |
---|
6 | the Free Software Foundation, either version 3 of the License, or |
---|
7 | (at your option) any later version. |
---|
8 | |
---|
9 | This program is distributed in the hope that it will be useful, |
---|
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | GNU General Public License for more details. |
---|
13 | |
---|
14 | You should have received a copy of the GNU General Public License |
---|
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
16 | */ |
---|
17 | /* |
---|
18 | Created on : Jan 24, 2014, 2:24:14 PM |
---|
19 | Author : twagoo |
---|
20 | */ |
---|
21 | |
---|
22 | /* style for autocomplete */ |
---|
23 | @import "vlo-search-autocomplete"; |
---|
24 | |
---|
25 | #simplesearch.content { |
---|
26 | min-height: 500px; |
---|
27 | } |
---|
28 | |
---|
29 | #searchbar { |
---|
30 | width: 100%; |
---|
31 | } |
---|
32 | |
---|
33 | #searchbox { |
---|
34 | width: 85%; |
---|
35 | } |
---|
36 | |
---|
37 | #searchbutton { |
---|
38 | width: 10%; |
---|
39 | } |
---|
40 | |
---|
41 | #searchresults { |
---|
42 | width: 100%; |
---|
43 | clear: both; |
---|
44 | } |
---|
45 | |
---|
46 | #searchresults h2 { |
---|
47 | border-bottom: none; |
---|
48 | } |
---|
49 | |
---|
50 | #searchresultsheader { |
---|
51 | border-bottom: 1px solid #999; |
---|
52 | height: 1em; |
---|
53 | padding-bottom: .5em; |
---|
54 | } |
---|
55 | |
---|
56 | #searchresultcount { |
---|
57 | float: left; |
---|
58 | height: 1em; |
---|
59 | width: 20%; |
---|
60 | } |
---|
61 | |
---|
62 | #searchresultsheader .resultpagination { |
---|
63 | padding: 0; |
---|
64 | margin: 0; |
---|
65 | float: left; |
---|
66 | width: 60%; |
---|
67 | height: 1em; |
---|
68 | text-align: center; |
---|
69 | } |
---|
70 | |
---|
71 | /*#searchcontrols .wicket-ajax-indicator { |
---|
72 | float: right; |
---|
73 | }*/ |
---|
74 | |
---|
75 | .resultpagination { |
---|
76 | |
---|
77 | span |
---|
78 | { |
---|
79 | padding-left: 1px; |
---|
80 | padding-right: 1px |
---|
81 | } |
---|
82 | |
---|
83 | span.goto em { |
---|
84 | font-weight: bold; |
---|
85 | text-decoration: underline; |
---|
86 | font-style: normal; |
---|
87 | } |
---|
88 | } |
---|
89 | |
---|
90 | #bottompagination, #resourcespagination { |
---|
91 | clear: both; |
---|
92 | text-align: center; |
---|
93 | padding: 1em 0; |
---|
94 | } |
---|
95 | |
---|
96 | #searchresultpagecount{ |
---|
97 | float: right; |
---|
98 | text-align: right; |
---|
99 | height: 1em; |
---|
100 | width: 20%; |
---|
101 | } |
---|
102 | |
---|
103 | ul#searchresultitems { |
---|
104 | margin: 0; |
---|
105 | padding: 0; |
---|
106 | } |
---|
107 | |
---|
108 | li.searchresultitem { |
---|
109 | display: block; |
---|
110 | clear: both; |
---|
111 | padding: 1em 0 1em .5em; |
---|
112 | border-bottom: 1px solid #999; |
---|
113 | margin: 0px; |
---|
114 | |
---|
115 | a { |
---|
116 | color: #000; |
---|
117 | } |
---|
118 | |
---|
119 | h3 { |
---|
120 | text-decoration: none; |
---|
121 | float: left; |
---|
122 | width: 75%; |
---|
123 | font-weight: normal; |
---|
124 | } |
---|
125 | |
---|
126 | h3 a { |
---|
127 | color: #000A83; |
---|
128 | } |
---|
129 | |
---|
130 | .searchresultcollection{ |
---|
131 | width: 20%; |
---|
132 | float: right; |
---|
133 | text-align: right; |
---|
134 | font-weight: bold; |
---|
135 | } |
---|
136 | |
---|
137 | .score { |
---|
138 | color: #999; |
---|
139 | text-align: right; |
---|
140 | } |
---|
141 | } |
---|
142 | |
---|
143 | .searchresultdescription{ |
---|
144 | clear: both; |
---|
145 | } |
---|
146 | |
---|
147 | #searchresultitems .searchresultdescription a { |
---|
148 | text-decoration: underline; |
---|
149 | } |
---|
150 | |
---|
151 | .searchresultresources { |
---|
152 | width: 70%; |
---|
153 | float: left; |
---|
154 | clear: left; |
---|
155 | padding: 0px; |
---|
156 | } |
---|
157 | |
---|
158 | .searchresultresources ul { |
---|
159 | display: inline; |
---|
160 | padding: 0em 0em 0em .5em; |
---|
161 | margin: 0px; |
---|
162 | border-right: 1px solid; |
---|
163 | } |
---|
164 | |
---|
165 | .searchresultresources ul li { |
---|
166 | display: inline; |
---|
167 | list-style: none; |
---|
168 | padding: 0em 0em 0em .5em; |
---|
169 | margin: 0em .5em 0em 0em; |
---|
170 | border-left: 1px solid; |
---|
171 | } |
---|
172 | |
---|
173 | |
---|
174 | div.searchresultattributes { |
---|
175 | padding: 0px 0px 8px 12px; |
---|
176 | margin-left: 24px; |
---|
177 | clear: both; |
---|
178 | } |
---|
179 | |
---|
180 | p.searchresultmoreless, p.searchresultfullrecord { |
---|
181 | width: 20%; |
---|
182 | float: right; |
---|
183 | text-align: right; |
---|
184 | padding: 0px; |
---|
185 | } |
---|
186 | |
---|
187 | #resultpagesizeform { |
---|
188 | padding-top: .5em; |
---|
189 | } |
---|
190 | |
---|
191 | |
---|
192 | div.searchresultitemend { |
---|
193 | clear: both; |
---|
194 | height: 0px; |
---|
195 | margin: 0px; |
---|
196 | padding: 0px; |
---|
197 | width: 0px; |
---|
198 | } |
---|
199 | |
---|
200 | a#browseallrecords { |
---|
201 | font-size: 110%; |
---|
202 | font-weight: bold; |
---|
203 | } |
---|
204 | |
---|
205 | .searchresultresources li { |
---|
206 | list-style: none; |
---|
207 | background-repeat: no-repeat; |
---|
208 | background-size: 1em; |
---|
209 | padding-left: 1.5em; |
---|
210 | } |
---|
211 | |
---|
212 | .searchresultresources li.moreresources { |
---|
213 | /* 'N more resources' link (has no icon) */ |
---|
214 | padding-left: .5em; |
---|
215 | } |
---|
216 | |
---|
217 | .searchresultresources li.writtenresource { |
---|
218 | background-image: url('document-256.png'); /* icon from icons8.com */ |
---|
219 | } |
---|
220 | |
---|
221 | .searchresultresources li.audioresource { |
---|
222 | background-image: url('audio-file-3-256.png'); /* icon from icons8.com */ |
---|
223 | } |
---|
224 | |
---|
225 | .searchresultresources li.videoresource { |
---|
226 | background-image: url('video-file-3-256.png'); /* icon from icons8.com */ |
---|
227 | } |
---|
228 | |
---|
229 | .searchresultresources li.imageresource { |
---|
230 | background-image: url('image-file-256.png'); /* icon from icons8.com */ |
---|
231 | } |
---|
232 | |
---|
233 | .searchresultresources li.annotationresource { |
---|
234 | background-image: url('document-256.png'); /* icon from icons8.com */ |
---|
235 | } |
---|
236 | |
---|
237 | a#syntax-help { |
---|
238 | display: inline-block; |
---|
239 | min-height: 1.5em; |
---|
240 | width: 1.5em; |
---|
241 | background-repeat: no-repeat; |
---|
242 | background-size: 1.5em; |
---|
243 | background-image: url('help-64.png'); /* icon from icons8.com */ |
---|
244 | vertical-align: top; |
---|
245 | padding: 0px; |
---|
246 | margin: 0px; |
---|
247 | } |
---|
248 | |
---|
249 | a#syntax-help span { |
---|
250 | display: none; |
---|
251 | } |
---|