A little CSS styling
Should make the drag target, for re-ordering the pages, a little more obvious.
This commit is contained in:
parent
b1fcc93aa5
commit
7f7182afea
|
@ -29,9 +29,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<%= sortable_element('sortable_pages') %>
|
<%= sortable_element('sortable_pages') %>
|
||||||
<p> Export selected pages (drag to re-order them) to a LaTeX file.
|
<label for="commit"> Export selected pages (drag to re-order them) to a LaTeX file.</label>
|
||||||
<%= submit_tag("Export") %>
|
<%= submit_tag("Export") %>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- else -%>
|
<%- else -%>
|
||||||
|
|
|
@ -216,6 +216,9 @@ margin-right: 30px;
|
||||||
#allPages h2, #wantedPages h2 {
|
#allPages h2, #wantedPages h2 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
#allPages label {
|
||||||
|
font-size: .8em;
|
||||||
|
}
|
||||||
|
|
||||||
.pageType {
|
.pageType {
|
||||||
font-size: .75em;
|
font-size: .75em;
|
||||||
|
@ -417,6 +420,13 @@ font-size: 1em;
|
||||||
line-height: 1.125;
|
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;}
|
merror {display:inline;font-size:1em;}
|
||||||
math[display=block] {overflow:auto;}
|
math[display=block] {overflow:auto;}
|
||||||
math { white-space: nowrap }
|
math { white-space: nowrap }
|
||||||
|
|
Loading…
Reference in a new issue