szurubooru/public_html/css/forms.css
2014-10-18 18:48:18 +02:00

60 lines
941 B
CSS

.form-wrapper {
display: table;
margin: 0 auto;
text-align: left !important;
}
.form-row {
display: table-row;
}
.form-label,
.form-input {
display: table-cell;
line-height: 37px;
vertical-align: text-bottom;
}
.form-input {
overflow: hidden;
text-overflow: ellipsis;
}
.form-row label {
padding-right: 1em;
text-align: right;
}
textarea,
input[type=text],
input[type=password] {
padding: 2px 4px;
border: 1px solid #eee;
background: #fafafa;
font-family: monospace;
font-size: 17px;
text-overflow: ellipsis;
width: 100%;
box-sizing: border-box;
}
button,
input[type=button] {
padding: 0.1em 0.5em;
border: 1px solid #eee;
background: #eee;
font-family: 'Droid Sans', sans-serif;
font-size: 17px;
}
.file-handler {
border: 3px dashed #eee;
padding: 0.3em 0.5em;
line-height: 140% !important;
text-align: center;
cursor: pointer;
}
.file-handler.active {
border-color: #6a2;
background-color: #eeffcc;
}