LSmail: fix default & light blue CSS

This commit is contained in:
Benjamin Renard 2020-05-28 18:23:04 +02:00
parent bfe7e18e58
commit 873c12d722
3 changed files with 40 additions and 27 deletions

View file

@ -1,16 +1,32 @@
#LSmail_msg { dl.LSmail {
height: 22em; margin: 0 10px;
width: 50em; padding: 0;
}
dl.LSmail dd {
margin-left: 7em;
} }
dl.LSmail dt { dl.LSmail dt {
width: 7em; width: 158px;
box-sizing: border-box;
position: relative;
left: 0.2em;
top: 1.2em;
font-weight: bold;
font-size: 0.9em;
color: #0072b8;
} }
#LSmail_mail, #LSmail_subject {
width: 50.3em; dl.LSmail dd {
margin-left: 158px;
padding: 0;
}
dl.LSmail input, dl.LSmail textarea {
border: 1px solid #ccc;
width: 600px;
background-color: #b5e4f6;
box-sizing: border-box;
}
dl.LSmail textarea {
height: 254px;
} }

View file

@ -79,14 +79,6 @@ td.LSobject-list, tr.LSobject-list {
} }
/* ---- LSsmoothbox / LSconfirmbox ---- */ /* ---- LSsmoothbox / LSconfirmbox ---- */
#frame-LSsmoothbox .LSform dt {
width: 11em;
}
#frame-LSsmoothbox .LSform dd {
margin-left: 11em;
}
#win-LSsmoothbox, #box-LSconfirmBox { #win-LSsmoothbox, #box-LSconfirmBox {
border: 1px solid var(--dark-grey); border: 1px solid var(--dark-grey);
border-radius: 0px; border-radius: 0px;
@ -226,7 +218,7 @@ ul.LSformElement_select_object_edit, li.LSformElement_select_object, table.LSobj
border-color: var(--light-color); border-color: var(--light-color);
} }
tr.LSobject-list-bis, .LSform input[type=text], .LSform input[type=password], .LSform textarea, li.LSformElement_select_object_addBtn, div.LSinfosBox { tr.LSobject-list-bis, .LSform input[type=text], .LSform input[type=password], .LSform textarea, li.LSformElement_select_object_addBtn, div.LSinfosBox, dl.LSmail input, dl.LSmail textarea {
background-color: var(--light-color); background-color: var(--light-color);
} }
@ -253,12 +245,17 @@ input[type='submit'].LSview_search, input[type='text'].LSview_search, div.LSacce
} }
/* ---- Light grey ---- */ /* ---- Light grey ---- */
.LSform input[type=text], .LSform input[type=password], .LSform textarea, dl.LSmail input, dl.LSmail textarea {
border-color: var(--light-grey);
}
/* ---- Medium grey ---- */
a.LSsession_recoverPassword, a.LSobject-list-page, a.LSobject-list-nb-by-page, h2 { a.LSsession_recoverPassword, a.LSobject-list-page, a.LSobject-list-nb-by-page, h2 {
color: var(--medium-grey); color: var(--medium-grey);
} }
/* ---- Dark grey ---- */ /* ---- Dark grey ---- */
#status, th.LSobject-list, input[type='text'].LSview_search, th.LSobject-list a, .LSform dt, a, div.LSinfosBox, strong.LSobject-list-page, strong.LSobject-list-nb-by-page, a.LSobject-list-page:hover, a.LSobject-list-nb-by-page:hover, ul.LSformElement_jsonCompositeAttribute div label { #status, th.LSobject-list, input[type='text'].LSview_search, th.LSobject-list a, .LSform dt, dl.LSmail dt, a, div.LSinfosBox, strong.LSobject-list-page, strong.LSobject-list-nb-by-page, a.LSobject-list-page:hover, a.LSobject-list-nb-by-page:hover, ul.LSformElement_jsonCompositeAttribute div label {
color: var(--dark-grey); color: var(--dark-grey);
} }

View file

@ -1,7 +1,7 @@
<dl class='LSform{if $LSmail_options.class} {$LSmail_options.class|escape:"htmlall"}{/if}'> <dl class='LSmail{if $LSmail_options.class} {$LSmail_options.class|escape:"htmlall"}{/if}'>
{if $LSmail_options.display_mail_field} {if $LSmail_options.display_mail_field}
<dt class='LSform'>{$LSmail_mail_label|escape:"htmlall"}</dt> <dt class='LSmail'>{$LSmail_mail_label|escape:"htmlall"}</dt>
<dd class='LSform'> <dd class='LSmail'>
{if $LSmail_mails != ""} {if $LSmail_mails != ""}
{if $LSmail_mails|@count==1} {if $LSmail_mails|@count==1}
<input type='text' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/> <input type='text' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/>
@ -18,15 +18,15 @@
<input type='hidden' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/> <input type='hidden' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/>
{/if} {/if}
{if $LSmail_options.display_subject_field} {if $LSmail_options.display_subject_field}
<dt class='LSform'>{$LSmail_subject_label|escape:"htmlall"}</dt> <dt class='LSmail'>{$LSmail_subject_label|escape:"htmlall"}</dt>
<dd class='LSform'> <dd class='LSmail'>
<input type='text' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/> <input type='text' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/>
</dd> </dd>
{else} {else}
<input type='hidden' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/> <input type='hidden' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/>
{/if} {/if}
<dt class='LSform'>{$LSmail_msg_label|escape:"htmlall"}</dt> <dt class='LSmail'>{$LSmail_msg_label|escape:"htmlall"}</dt>
<dd class='LSform'> <dd class='LSmail'>
<textarea name='LSmail_msg' id='LSmail_msg'>{$LSmail_msg|escape:"htmlall"}</textarea> <textarea name='LSmail_msg' id='LSmail_msg'>{$LSmail_msg|escape:"htmlall"}</textarea>
</dd> </dd>
</dl> </dl>