Index: core/xwiki-core/src/main/resources/ApplicationResources.properties =================================================================== --- core/xwiki-core/src/main/resources/ApplicationResources.properties (revision 19323) +++ core/xwiki-core/src/main/resources/ApplicationResources.properties (working copy) @@ -1684,7 +1684,32 @@ xe.search.lucene=Lucene Search xe.search.lucene.try=You can also try the new experimental {0}. It adds scoring, searching into attachments and search paging. Please let us know what you think about it. xe.search.rss=RSS feed for search on {0} +xe.search.bar.query=search ... +xe.search.bar.query.title=Enter your search query +xe.search.bar.wikis=All wikis +xe.search.bar.wikis.title=Select wiki +xe.search.bar.spaces=All spaces +xe.search.bar.spaces.title=Select spaces +xe.search.bar.spaces.all=All spaces +xe.search.bar.go=Search +xe.search.bar.go.title=Search query +xe.search.bar.help=eq. xwiki* AND "search query" +xe.search.bar.advanced=Advanced +# Search resutls list +xe.search.item.location=Located in +xe.search.item.modified=Modified by +xe.search.item.posted=Posted by +xe.search.item.date.on=on +xe.search.item.rating.title=Rating +xe.search.item.relevance.title=Relevance +xe.search.item.type.comment.title=Comment +xe.search.item.type.attachment.title=Attachment +xe.search.item.type.author.title=Author +xe.search.item.type.page.title=Page +xe.search.item.type.wiki.title=Wiki +xe.search.item.type.space.title=Space + # RSS xe.rss.feeds=RSS Feeds xe.rss.feeds.description=There are currently 4 types of RSS feeds available on this wiki. You can subscribe to each of them by clicking on their name or on the icon next to them. Index: web/standard/src/main/webapp/resources/components/search/search.css =================================================================== --- web/standard/src/main/webapp/resources/components/search/search.css (revision 0) +++ web/standard/src/main/webapp/resources/components/search/search.css (revision 0) @@ -0,0 +1,221 @@ +/* +** Search results list +*/ + +#searchResults{ + clear: both; + display: table; + padding-top: 15px; + width: 100%; +} +.resultItem{ + display: block; +} +.resultContainer{ + clear: both; + width: 100%; +} +.itemType{ + float: left; + display: inline-block; + width: 20px; +} +.itemType .typeComment{ + background:transparent url($xwiki.getSkinFile("icons/silk/comment.gif")) center right no-repeat; + display:inline-block; + width:16px; + height:16px; +} +.itemType .typeAttachment{ + background:transparent url($xwiki.getSkinFile("icons/silk/attach.gif")) center right no-repeat; + display:inline-block; + width:16px; + height:16px; +} +.itemType .typePage{ + background:transparent url($xwiki.getSkinFile("icons/silk/page_white_text.gif")) center right no-repeat; + display:inline-block; + width:16px; + height:16px; +} +.itemDescription{ + float: left; + display: inline-block; + width: 82%; +} +.itemDescription a{ + color: #39397F; +} +.itemDescription a:hover{ + color: #39397F; +} +.itemDescription a:focus { + outline: dotted 1px #000; +} +.itemTitle{ + color: #4d4d4d; + font-weight: bold; +} +.itemTitle a{ + color: #4d4d4d; + font-weight: bold; + font-size:130%; +} +.itemTitle a:hover{ + color: #4d4d4d; + font-weight: bold; + font-size:130%; +} +.itemTitle a:focus { + outline: dotted 1px #000; +} +a.itemAuthor:focus{ + outline: dotted 1px #000; +} +.itemLocation{ + color: #888; + font-size:90%; +} +.itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{} +.itemModifiers{ + color: #888; + font-size:90%; +} +.itemContext em{ + background-color:lemonChiffon; + padding:0; + margin: 0; + text-decoration: inherited; +} +.itemOthers{ + font-size:80%; +} +.itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{ + font-size:80%; + display:inline; + clear:none; + float:left; + padding-right: 5px; +} +.itemOthers .itemComments a{ + background:transparent url($xwiki.getSkinFile("icons/silk/comment.gif")) center right no-repeat; + display:inline-block; + padding-right:16px; +} +.itemOthers .itemAttachments a{ + background:transparent url($xwiki.getSkinFile("icons/silk/attach.gif")) center right no-repeat; + display:inline-block; + padding-right:16px; +} +.itemRating{ + position:relative; + width:55px; + height:11px; + overflow:hidden; + margin:1px 0 0 0!important; + padding:0!important; + background-position:left top; + background-image:url($xwiki.getSkinFile("icons/xwiki/rating.png")); +} +.itemRating .currentRating{ + position:absolute; + top:0;left:0; + text-indent:-1000em; + height:11px; + line-height:11px; + outline:none; + overflow:hidden; + border:none; + background-image:url($xwiki.getSkinFile("icons/xwiki/rating.png")); + z-index:1; + background-position:left center; +} +.itemActions{ + color: #888; + font-size:90%; + display: block; + clear: both; +} +.itemRelevance{ + float: left; + display: inline-block; + width: 15%; + text-align: right; +} +.relevance{ + position:relative; + width:48px; + height:8px; + overflow:hidden; + list-style:none; + margin:5px 0 0 0!important; + padding:0!important; + background-position:left bottom; + background-image:url($xwiki.getSkinFile("icons/xwiki/relevance.png")); + float:right; +} +.relevance .currentRelevance{ + position:absolute; + top:0;left:0; + text-indent:-1000em; + height:8px; + line-height:8px; + outline:none; + overflow:hidden; + border:none; + background-image:url($xwiki.getSkinFile("icons/xwiki/relevance.png")); + z-index:1; + background-position:left top; +} +.relevanceText{ + float: right; + margin-right: 5px; + font-size:80%; +} +.resultSeparator{ + display:block; + width:100%; + clear:both; + padding: 0; + margin: 0; + margin-bottom: 15px; + height: 1px; +} + +/* +** Search box +*/ + +#searchBar{ + margin-bottom: 11px; + padding-left: 5px; + clear: both; +} +#searchBar select { + border: 2px solid #CCCCCC; + color: #4d4d4d; + font-size:15px; +} +.searchQuery{ + background:transparent url($xwiki.getSkinFile("icons/xwiki/search.png")) center left no-repeat; + display:inline-block; + padding-left:18px; + border: 2px solid #CCCCCC; + color: #4d4d4d; + font-size:15px; + width: 400px; +} +.searchButton{ + background-color:#B3B3B3; + border:2px solid #B3B3B3; + color:#FFFFFF; + font-size:11px; + font-variant:small-caps; + font-weight:bold; + height:23px; + line-height:12px; +} +.searchHelp{ + font-size: 80%; + color: #808080; +} \ No newline at end of file Index: web/standard/src/main/webapp/resources/icons/xwiki/rating.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: web\standard\src\main\webapp\resources\icons\xwiki\rating.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: web/standard/src/main/webapp/resources/icons/xwiki/relevance.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: web\standard\src\main\webapp\resources\icons\xwiki\relevance.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: web/standard/src/main/webapp/resources/icons/xwiki/search.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: web\standard\src\main\webapp\resources\icons\xwiki\search.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream