From 7f7182afea0076f176736bf788e68c977bea0667 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sat, 9 Oct 2010 14:42:01 -0500 Subject: [PATCH] A little CSS styling Should make the drag target, for re-ordering the pages, a little more obvious. --- app/views/wiki/list.rhtml | 3 +-- public/stylesheets/instiki.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/views/wiki/list.rhtml b/app/views/wiki/list.rhtml index 4f594fc3..3de43c9d 100644 --- a/app/views/wiki/list.rhtml +++ b/app/views/wiki/list.rhtml @@ -29,9 +29,8 @@ <% end %> <%= sortable_element('sortable_pages') %> -

Export selected pages (drag to re-order them) to a LaTeX file. + <%= submit_tag("Export") %> -

<%- end -%> <%- else -%> diff --git a/public/stylesheets/instiki.css b/public/stylesheets/instiki.css index 804e128b..bf9e85d7 100644 --- a/public/stylesheets/instiki.css +++ b/public/stylesheets/instiki.css @@ -215,7 +215,10 @@ margin-right: 30px; } #allPages h2, #wantedPages h2 { font-size: 1.2em; -} +} +#allPages label { +font-size: .8em; +} .pageType { font-size: .75em; @@ -417,6 +420,13 @@ font-size: 1em; line-height: 1.125; } +ul#sortable_pages li { +border: 1px solid #FFF; +} +ul#sortable_pages li:hover { +border: 1px solid blue; +} + merror {display:inline;font-size:1em;} math[display=block] {overflow:auto;} math { white-space: nowrap }