mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Tweak styling of placeholder form
This commit is contained in:
parent
3ad818099e
commit
657ecc68d4
4 changed files with 23 additions and 7 deletions
|
@ -40,7 +40,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
value="<? if(isset($ebook->Authors) && sizeof($ebook->Authors) > 2){ ?><?= Formatter::EscapeHtml($ebook->Authors[2]->Name) ?><? } ?>"
|
||||
/>
|
||||
</label>
|
||||
<label class="icon user">
|
||||
<label class="icon language">
|
||||
<span>Translator</span>
|
||||
<datalist id="translator-names">
|
||||
<? foreach(Contributor::GetAllTranslatorNames() as $translator){ ?>
|
||||
|
@ -54,7 +54,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
value="<? if(isset($ebook->Translators) && sizeof($ebook->Translators) > 0){ ?><?= Formatter::EscapeHtml($ebook->Translators[0]->Name) ?><? } ?>"
|
||||
/>
|
||||
</label>
|
||||
<label class="icon user">
|
||||
<label class="icon language">
|
||||
<span>Second translator</span>
|
||||
<input
|
||||
type="text"
|
||||
|
@ -83,10 +83,10 @@ $ebook = $ebook ?? new Ebook();
|
|||
/>
|
||||
</label>
|
||||
</fieldset>
|
||||
<p>For existing collections, leave the type blank. It will be ignored.</p>
|
||||
<fieldset>
|
||||
<label class="icon collection">
|
||||
<span>Collection</span>
|
||||
<span>For existing collections, leave the type blank.</span>
|
||||
<datalist id="collection-names">
|
||||
<? foreach(Collection::GetAll() as $collection){ ?>
|
||||
<option value="<?= Formatter::EscapeHtml($collection->Name) ?>"><?= Formatter::EscapeHtml($collection->Name) ?></option>
|
||||
|
@ -99,7 +99,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
value="<? if(isset($ebook->CollectionMemberships) && sizeof($ebook->CollectionMemberships) > 0){ ?><?= Formatter::EscapeHtml($ebook->CollectionMemberships[0]->Collection->Name) ?><? } ?>"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<label class="icon indent extra-line">
|
||||
<span>Type</span>
|
||||
<span>
|
||||
<select name="type-collection-name-1">
|
||||
|
@ -109,7 +109,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
</select>
|
||||
</span>
|
||||
</label>
|
||||
<label class="icon ordered-list">
|
||||
<label class="icon ordered-list extra-line">
|
||||
<span>Number in collection</span>
|
||||
<input
|
||||
type="text"
|
||||
|
@ -132,7 +132,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
value="<? if(isset($ebook->CollectionMemberships) && sizeof($ebook->CollectionMemberships) > 1){ ?><?= Formatter::EscapeHtml($ebook->CollectionMemberships[1]->Collection->Name) ?><? } ?>"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<label class="icon indent">
|
||||
<span>Type</span>
|
||||
<span>
|
||||
<select name="type-collection-name-2">
|
||||
|
@ -163,7 +163,7 @@ $ebook = $ebook ?? new Ebook();
|
|||
value="<? if(isset($ebook->CollectionMemberships) && sizeof($ebook->CollectionMemberships) > 2){ ?><?= Formatter::EscapeHtml($ebook->CollectionMemberships[2]->Collection->Name) ?><? } ?>"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<label class="icon indent">
|
||||
<span>Type</span>
|
||||
<span>
|
||||
<select name="type-collection-name-3">
|
||||
|
|
|
@ -2011,6 +2011,14 @@ label.user::before{
|
|||
content: "\f007";
|
||||
}
|
||||
|
||||
label.indent::before{
|
||||
content: "\f03c";
|
||||
}
|
||||
|
||||
label.language::before{
|
||||
content: "\f1ab";
|
||||
}
|
||||
|
||||
nav li.highlighted a,
|
||||
nav a[rel],
|
||||
a.button,
|
||||
|
@ -2563,6 +2571,7 @@ fieldset legend{
|
|||
line-height: 1.2;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
padding: 0; /* Reset browser style */
|
||||
}
|
||||
|
||||
summary{
|
||||
|
|
|
@ -99,3 +99,10 @@ article.ebook.ebook-placeholder .placeholder-details{
|
|||
article.ebook.ebook-placeholder .placeholder-details ul{
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.extra-line > span:first-child::before{
|
||||
content: 'Spacer';
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue