2014-08-31 23:22:56 +02:00
|
|
|
.form-wrapper {
|
|
|
|
display: table;
|
2014-09-07 09:57:01 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left !important;
|
2014-09-17 09:38:26 +02:00
|
|
|
width: 30em;
|
2014-08-31 23:22:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-row {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
2014-09-13 16:11:58 +02:00
|
|
|
.form-label {
|
|
|
|
width: 1%;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
2014-08-31 23:22:56 +02:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2014-09-13 16:11:58 +02:00
|
|
|
.tag-input,
|
2014-08-31 23:22:56 +02:00
|
|
|
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;
|
2014-09-15 11:38:24 +02:00
|
|
|
}
|
|
|
|
button:not(:disabled),
|
|
|
|
input[type=button]:not(:disabled) {
|
2014-09-13 16:11:58 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-09-15 11:38:24 +02:00
|
|
|
button:not(:disabled):hover,
|
|
|
|
input[type=button]:not(:disabled):hover {
|
2014-09-13 16:11:58 +02:00
|
|
|
background: #f5f5f5;
|
2014-08-31 23:22:56 +02:00
|
|
|
}
|
2014-09-15 11:38:24 +02:00
|
|
|
button:disabled {
|
|
|
|
color: gray;
|
|
|
|
}
|
2014-09-07 00:33:46 +02:00
|
|
|
|
2014-09-13 16:11:58 +02:00
|
|
|
button.highlight,
|
|
|
|
input[type=button].highlight {
|
|
|
|
background: #ad5;
|
|
|
|
}
|
2014-09-15 11:38:24 +02:00
|
|
|
button:not(:disabled):hover.highlight,
|
|
|
|
input[type=button]:not(:disabled):hover.highlight {
|
2014-09-13 16:11:58 +02:00
|
|
|
background: #dfa;
|
|
|
|
}
|
|
|
|
|
2014-09-17 09:44:27 +02:00
|
|
|
textarea:focus, input:focus{
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 1px #5da inset;
|
|
|
|
border-color: #5da;
|
|
|
|
}
|
|
|
|
|
2014-09-17 10:21:20 +02:00
|
|
|
input[type=radio],
|
|
|
|
input[type=checkbox] {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
input[type=radio] + label,
|
|
|
|
input[type=checkbox] + label {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-o-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
input[type=radio] + label:before,
|
|
|
|
input[type=checkbox] + label:before {
|
|
|
|
font-family: 'FontAwesome';
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
input[type=radio] + label:before {
|
|
|
|
content: "\f1db";
|
|
|
|
}
|
|
|
|
input[type=radio]:checked + label:before {
|
|
|
|
content: "\f192";
|
|
|
|
}
|
|
|
|
input[type=checkbox] + label:before {
|
|
|
|
content: "\f096";
|
|
|
|
}
|
|
|
|
input[type=checkbox]:checked + label:before {
|
|
|
|
content: "\f046";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-09-13 16:11:58 +02:00
|
|
|
|
2014-09-07 00:33:46 +02:00
|
|
|
.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;
|
|
|
|
}
|
2014-09-13 16:11:58 +02:00
|
|
|
|
|
|
|
.tag-input {
|
|
|
|
padding: 1px;
|
|
|
|
line-height: normal !important;
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
.tag-input ul {
|
|
|
|
list-style-type: none;
|
|
|
|
display: inline;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.tag-input li {
|
|
|
|
background: #ddd;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 1px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
.tag-input input {
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.tag-input li a {
|
|
|
|
color: black;
|
|
|
|
font-size: 14px;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|