Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Improve translation parent styling
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Sep 11, 2012
1 parent cb3e25d commit 7a430a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions apps/wiki/templates/wiki/edit_document.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ <h1>{{ _('Editing <em>{title}</em>')|fe(title=revision.title) }}</h1>
{% if show_translation_parent_block %}
<li class="metadata-choose-parent">
{% include 'wiki/includes/title_autosuggest_url.html' %}
{{_('The translation source of this article is not set. To set the translation source ...')}}
{{_('Find the translation source with the lookup below and then click "Save Changes."')}}
<br />
{{_('Search by English title:')}}
<input type="text" id="parent_text" />
<strong>Lookup:</strong> <input type="text" id="parent_text" />
<input type="hidden" name="parent_id" id="parent_id" />
{{_('Then click "Save Changes"')}}
</li>
{% endif %}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions media/css/wiki-screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ a.edit-section:hover, a.edit-section:active, a.edit-section:focus { color: #333;
.editing ul.metadata li input, .editing ul.metadata li input#id_title { font-size: 1em; padding: 6px 8px; margin: 2px 0px; width: 70%; }
.editing ul.metadata li input[type="checkbox"] { width: auto; margin-left: 6px; }
.editing ul.metadata li .metadataDisplay { display:inline-block; padding: 8px 0 0 3px; }
.editing ul.metadata li.metadata-choose-parent { padding: 10px; background: lightblue; border-radius: 10px; margin: 0 10px; display: none; }
.editing ul.metadata li.metadata-choose-parent #parent_text { display:block; margin-top:10px; }
.editing ul.metadata li.metadata-choose-parent { padding: 10px; border: 1px solid #d4dde4; font-size: 90%; background: #eaeff2; background: linear-gradient(top, #eaeff2, #d4dde4); background: -moz-linear-gradient(top, #eaeff2, #d4dde4); background: -webkit-linear-gradient(top, #eaeff2, #d4dde4); border-radius: 10px; margin: 0 10px; display: none; }
.editing ul.metadata li.metadata-choose-parent #parent_text { display: inline-block; margin-top:10px; }

.editing .title { float: left; width: 55%; }
.editing .title h1 { display: inline-block; width: auto; float: none; color: #888; float:left; }
Expand Down

0 comments on commit 7a430a9

Please sign in to comment.