Nicer CSS and markup for room configuration forms.
This commit is contained in:
parent
add3b8efb3
commit
4938621048
@ -1360,10 +1360,23 @@
|
|||||||
padding: 1em; }
|
padding: 1em; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form legend,
|
#converse-embedded-chat form.pure-form.converse-form legend,
|
||||||
#conversejs form.pure-form.converse-form legend {
|
#conversejs form.pure-form.converse-form legend {
|
||||||
color: #777; }
|
color: #777;
|
||||||
|
font-size: 125%; }
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=checkbox],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=checkbox] {
|
||||||
|
display: block; }
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form select,
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=number],
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
||||||
|
#conversejs form.pure-form.converse-form select,
|
||||||
|
#conversejs form.pure-form.converse-form input[type=password],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=number],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=text] {
|
||||||
|
min-width: 50%; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form label,
|
#converse-embedded-chat form.pure-form.converse-form label,
|
||||||
#conversejs form.pure-form.converse-form label {
|
#conversejs form.pure-form.converse-form label {
|
||||||
margin-top: 1em;
|
margin: 1em 0;
|
||||||
font-size: 16px; }
|
font-size: 16px; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
||||||
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
||||||
|
@ -1360,10 +1360,23 @@
|
|||||||
padding: 1em; }
|
padding: 1em; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form legend,
|
#converse-embedded-chat form.pure-form.converse-form legend,
|
||||||
#conversejs form.pure-form.converse-form legend {
|
#conversejs form.pure-form.converse-form legend {
|
||||||
color: #777; }
|
color: #777;
|
||||||
|
font-size: 125%; }
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=checkbox],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=checkbox] {
|
||||||
|
display: block; }
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form select,
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=number],
|
||||||
|
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
||||||
|
#conversejs form.pure-form.converse-form select,
|
||||||
|
#conversejs form.pure-form.converse-form input[type=password],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=number],
|
||||||
|
#conversejs form.pure-form.converse-form input[type=text] {
|
||||||
|
min-width: 50%; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form label,
|
#converse-embedded-chat form.pure-form.converse-form label,
|
||||||
#conversejs form.pure-form.converse-form label {
|
#conversejs form.pure-form.converse-form label {
|
||||||
margin-top: 1em;
|
margin: 1em 0;
|
||||||
font-size: 18px; }
|
font-size: 18px; }
|
||||||
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
#converse-embedded-chat form.pure-form.converse-form input[type=text],
|
||||||
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
#converse-embedded-chat form.pure-form.converse-form input[type=password],
|
||||||
@ -1445,10 +1458,9 @@ body {
|
|||||||
height: 100vh; }
|
height: 100vh; }
|
||||||
#conversejs form.pure-form.converse-form {
|
#conversejs form.pure-form.converse-form {
|
||||||
margin: 1em; }
|
margin: 1em; }
|
||||||
#conversejs form.pure-form.converse-form legend {
|
#conversejs form.pure-form.converse-form input[type=checkbox] {
|
||||||
color: #777; }
|
margin-left: 1em;
|
||||||
#conversejs form.pure-form.converse-form label {
|
display: inline; }
|
||||||
margin-top: 1em; }
|
|
||||||
#conversejs form.pure-form.converse-form input[type=text],
|
#conversejs form.pure-form.converse-form input[type=text],
|
||||||
#conversejs form.pure-form.converse-form input[type=password],
|
#conversejs form.pure-form.converse-form input[type=password],
|
||||||
#conversejs form.pure-form.converse-form input[type=number],
|
#conversejs form.pure-form.converse-form input[type=number],
|
||||||
|
@ -194,9 +194,19 @@
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
legend {
|
legend {
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
|
font-size: 125%;
|
||||||
|
}
|
||||||
|
input[type=checkbox] {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
select,
|
||||||
|
input[type=password],
|
||||||
|
input[type=number],
|
||||||
|
input[type=text] {
|
||||||
|
min-width: 50%;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
margin-top: 1em;
|
margin: 1em 0;
|
||||||
font-size: $font-size-large;
|
font-size: $font-size-large;
|
||||||
}
|
}
|
||||||
input[type=text],
|
input[type=text],
|
||||||
|
@ -39,11 +39,10 @@ body {
|
|||||||
form {
|
form {
|
||||||
&.pure-form.converse-form {
|
&.pure-form.converse-form {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
legend {
|
|
||||||
color: $text-color;
|
input[type=checkbox] {
|
||||||
}
|
margin-left: 1em;
|
||||||
label {
|
display: inline;
|
||||||
margin-top: 1em;
|
|
||||||
}
|
}
|
||||||
input[type=text],
|
input[type=text],
|
||||||
input[type=password],
|
input[type=password],
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<label>{{{label}}}</label>
|
<label class="checkbox" for="{{{name}}}">{{{label}}}<input name="{{{name}}}" type="{{{type}}}" {{{checked}}}></label>
|
||||||
<input name="{{{name}}}" type="{{{type}}}" {{{checked}}}>
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
{[ if (label) { ]}
|
|
||||||
<label>
|
<label>
|
||||||
{{{label}}}
|
{{{label}}}
|
||||||
</label>
|
|
||||||
{[ } ]}
|
|
||||||
<input name="{{{name}}}" type="{{{type}}}"
|
<input name="{{{name}}}" type="{{{type}}}"
|
||||||
{[ if (value) { ]} value="{{{value}}}" {[ } ]}
|
{[ if (value) { ]} value="{{{value}}}" {[ } ]}
|
||||||
{[ if (required) { ]} class="required" {[ } ]} >
|
{[ if (required) { ]} class="required" {[ } ]} >
|
||||||
|
</label>
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
<label>{{{label}}}</label>
|
<label>
|
||||||
|
{{{label}}}
|
||||||
<select name="{{{name}}}" {[ if (multiple) { ]} multiple="multiple" {[ } ]}>{{options}}</select>
|
<select name="{{{name}}}" {[ if (multiple) { ]} multiple="multiple" {[ } ]}>{{options}}</select>
|
||||||
|
</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user