source: vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/inc/vlo-search.less @ 6337

Last change on this file since 6337 was 6337, checked in by Twan Goosen, 9 years ago

Added link with pop-up for search syntax help (todo: actual page)
refs #762

File size: 4.5 KB
Line 
1/*
2Copyright (C) 2014 CLARIN
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 3 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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.resultpagination {
72
73    span 
74    {
75        padding-left: 1px; 
76        padding-right: 1px
77    }
78
79    span.goto em {
80        font-weight: bold;
81        text-decoration: underline;
82        font-style: normal;
83    }
84}
85
86#bottompagination, #resourcespagination {
87    clear: both;
88    text-align: center;
89    padding: 1em 0;
90}
91
92#searchresultpagecount{
93    float: right;
94    text-align: right;
95    height: 1em;
96    width: 20%;
97}
98
99ul#searchresultitems {
100    margin: 0;
101    padding: 0;
102}
103
104li.searchresultitem {
105    display: block;
106    clear: both;
107    padding: 1em 0 1em .5em;
108    border-bottom: 1px solid #999;
109    margin: 0px;
110
111    a {
112        color: #000;
113    }
114
115    h3 {
116        text-decoration: none;
117        float: left;
118        width: 75%;
119        font-weight: normal;
120    }
121
122    h3 a {
123        color: #000A83;
124    }
125
126    .searchresultcollection{
127        width: 20%;
128        float: right;
129        text-align: right;
130        font-weight: bold;
131    }
132   
133    .score {
134        color: #999;
135        text-align: right;
136    }
137}
138
139.searchresultdescription{
140    clear: both;
141}
142
143#searchresultitems .searchresultdescription a {
144    text-decoration: underline;
145}
146
147.searchresultresources {
148    width: 70%;
149    float: left;
150    clear: left;
151    padding: 0px;
152}
153
154.searchresultresources ul {
155    display: inline;
156    padding: 0em 0em 0em .5em;
157    margin: 0px;
158    border-right: 1px solid;
159}
160
161.searchresultresources ul li {
162    display: inline;
163    list-style: none;
164    padding: 0em 0em 0em .5em;
165    margin: 0em .5em 0em 0em;
166    border-left: 1px solid;
167}
168
169
170div.searchresultattributes {
171    padding: 0px 0px 8px 12px;
172    margin-left: 24px;
173    clear: both;
174}
175
176p.searchresultmoreless, p.searchresultfullrecord {
177    width: 20%;
178    float: right;
179    text-align: right;
180    padding: 0px;
181}
182
183#resultpagesizeform {
184    padding-top: .5em;
185}
186
187
188div.searchresultitemend {
189    clear: both;
190    height: 0px;
191    margin: 0px;
192    padding: 0px;
193    width: 0px;
194}
195
196a#browseallrecords {
197    font-size: 110%;
198    font-weight: bold;
199}
200
201.searchresultresources li {
202    list-style: none;
203    background-repeat: no-repeat;
204    background-size: 1em;
205    padding-left: 1.5em;
206}
207
208.searchresultresources li.moreresources {
209    /* 'N more resources' link (has no icon) */
210    padding-left: .5em;
211}
212
213.searchresultresources li.writtenresource {
214    background-image: url('document-256.png'); /* icon from icons8.com */
215}
216
217.searchresultresources li.audioresource {
218    background-image: url('audio-file-3-256.png'); /* icon from icons8.com */
219}
220
221.searchresultresources li.videoresource {
222    background-image: url('video-file-3-256.png'); /* icon from icons8.com */
223}
224
225.searchresultresources li.imageresource {
226    background-image: url('image-file-256.png'); /* icon from icons8.com */
227}
228
229.searchresultresources li.annotationresource {
230    background-image: url('document-256.png'); /* icon from icons8.com */
231}
232
233a#syntax-help {
234    display: inline-block;
235    min-height: 1.5em;
236    width: 1.5em;
237    background-repeat: no-repeat;
238    background-size: 1.5em;
239    background-image: url('help-64.png'); /* icon from icons8.com */
240    vertical-align: top;
241    padding: 0px;
242    margin: 0px;
243}
244
245a#syntax-help span {
246    display: none;
247}
Note: See TracBrowser for help on using the repository browser.