2016-03-19 20:37:04 +00:00
|
|
|
form fieldset {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
form fieldset legend {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 17pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
form ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
form.tabular ul {
|
|
|
|
display: table;
|
|
|
|
border-spacing: 0.5em;
|
|
|
|
margin: 0.5em -0.5em;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
form.tabular ul li {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
form.tabular ul li label {
|
|
|
|
display: table-cell;
|
|
|
|
width: 33%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
form.tabular .buttons {
|
|
|
|
margin-left: 33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
form:not(.tabular) ul li label {
|
|
|
|
display: block;
|
2016-03-27 21:00:54 +00:00
|
|
|
padding: 1em 0 0.5em 0;
|
2016-03-19 20:37:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
input[type=text],
|
|
|
|
input[type=email],
|
|
|
|
input[type=password] {
|
|
|
|
font-size: 100%;
|
|
|
|
font-family: 'Inconsolata', monospace;
|
|
|
|
padding: 0.3em;
|
2016-03-27 22:19:06 +00:00
|
|
|
border: 2px solid var(--input-background-color);
|
|
|
|
background: var(--input-border-color);
|
2016-03-19 20:37:04 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: none; /* :-moz-submit-invalid on FF */
|
|
|
|
}
|
|
|
|
|
|
|
|
form.show-validation fieldset.input input:invalid {
|
|
|
|
outline: none;
|
2016-03-27 22:19:06 +00:00
|
|
|
border: 2px solid var(--input-bad-border-color);
|
|
|
|
background: var(--input-bad-background-color);
|
2016-03-19 20:37:04 +00:00
|
|
|
}
|
|
|
|
form.show-validation fieldset.input input:valid {
|
|
|
|
outline: none;
|
2016-03-27 22:19:06 +00:00
|
|
|
border: 2px solid var(--input-good-border-color);
|
|
|
|
background: var(--input-good-background-color);
|
2016-03-19 20:37:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input[type=button],
|
|
|
|
input[type=submit] {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 100%;
|
|
|
|
line-height: 100%;
|
|
|
|
padding: 0.3em 0.7em;
|
2016-03-27 22:19:06 +00:00
|
|
|
border: 1px solid var(--main-color);
|
|
|
|
background: var(--main-color);
|
2016-03-19 20:37:04 +00:00
|
|
|
color: white;
|
|
|
|
}
|