mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: add advanced search capabilities
Allow targetting the search scope to the website, wiki or mailing lists only. When javascript is disabled this should gracefully fallback to only searching the website. Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -542,3 +542,42 @@ dl.mail dt a:hover {
|
||||
td.enumvalue {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#advancedsearch {
|
||||
display: none;
|
||||
vertical-align: bottom;
|
||||
position: absolute;
|
||||
padding: 1em;
|
||||
padding-top: 0em;
|
||||
margin-top: 0em;
|
||||
top: 100px;
|
||||
right: 0px;
|
||||
width: 13em;
|
||||
text-align: left;
|
||||
color: white;
|
||||
background: rgb(0, 95, 97);
|
||||
border-left: 3px solid rgb(60, 133, 124);
|
||||
border-bottom: 3px solid rgb(60, 133, 124);
|
||||
}
|
||||
|
||||
/* Use div.advancedsearch, not #advancedsearch because the
|
||||
* 'advancedsearch' class is set dynamically when javascript
|
||||
* loads. This ensures that the advancedsearch options are
|
||||
* not displayed when javascript is disabled.
|
||||
*/
|
||||
#search:hover div.advancedsearch {
|
||||
display: table;
|
||||
}
|
||||
|
||||
#advancedsearch span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#advancedsearch input[type=radio] {
|
||||
height: inherit;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#advancedsearch label {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user