From f4ecb89a52eeeb50cea55894421fa9b4e1b26bd9 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Sat, 27 Mar 2010 16:35:19 +0100 Subject: Better styling of tag search page --- .../twitterStyleTags/static/css/tagBrowser.css | 38 ++++++++++++++++++++-- .../twitterStyleTags/templates/tagBrowser.ejs | 10 +++--- 2 files changed, 40 insertions(+), 8 deletions(-) diff --git a/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css b/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css index 97c37f5..4234d03 100644 --- a/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css +++ b/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css @@ -1,11 +1,9 @@ dt { - padding-top: 2pt; padding-bottom: 2pt; } dd { padding-left: 20pt; - padding-top: 2pt; padding-bottom: 2pt; } @@ -19,18 +17,52 @@ h2 { margin-top: 5pt; } +.label { + font-size: 14pt; +} + #editorcontainer { overflow: auto; } + .query-refiner { float: right; padding: 10pt; margin: 5pt; border: 1px solid #9C9C9C; - } .query-refiner h1 { margin-top: 0; } + +.query-refiner h2 { + margin-bottom: 2pt; +} + +#home-newpad { + display: block; + background-color: #a3bde0; + color: #555555; + border-style: solid; + border-width: 2px; + border-left-color: #d6e2f1; + border-right-color: #86aee1; + border-top-color: #d6e2f1; + border-bottom-color: #86aee1; + margin: 10pt; + text-align: center; + text-decoration: none; + padding-top: 50pt; + padding-bottom: 50pt; + font-size: 20pt; + -moz-border-radius-topleft: 3pt; + -moz-border-radius-topright: 3pt; + -moz-border-radius-bottomleft: 3pt; + -moz-border-radius-bottomright: 3pt; + -webkit-border-top-left-radius: 3pt; + -webkit-border-top-right-radius: 3pt; + -webkit-border-bottom-left-radius: 3pt; + -webkit-border-bottom-right-radius: 3pt; +} \ No newline at end of file diff --git a/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs b/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs index 1e504ff..024ec9b 100644 --- a/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs +++ b/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs @@ -93,18 +93,18 @@ limitations under the License. */ %>

Refine your query

-

Search for pads that have a tag

+

Search for pads that have the tag

<% for (i = 0; i < newTags.length; i++) { %> #<%= newTags[i].tagname %> <% } %> -

Search for pads that doesn't have a tag

+

Search for pads that don't have the tag

<% for (i = 0; i < newTags.length; i++) { %> - #<%= newTags[i].tagname %> + !#<%= newTags[i].tagname %> <% } %>
-

Current query

+ Current query: <% if (tags.length == 0 && antiTags.length == 0) { %> < No current query; please select some tags below to search for pads > <% } else { %> @@ -130,7 +130,7 @@ limitations under the License. */ %>
<%= matchingPadId %>
<% for (j = 0; j < matchingPads[i].TAGS.length; j++) { %> - #<%= matchingPads[i].TAGS[j] %> + #<%= matchingPads[i].TAGS[j] %> <% } %>
<% } %> -- cgit v1.2.3