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] {
|
2014-10-10 14:02:28 +02:00
|
|
|
padding: 3px 6px 4px 6px;
|
2014-08-31 23:22:56 +02:00
|
|
|
border: 1px solid #eee;
|
2014-10-10 14:02:28 +02:00
|
|
|
box-shadow: 0 1px 2px -1px #e0e0e0 inset;
|
2014-08-31 23:22:56 +02:00
|
|
|
background: #fafafa;
|
2014-10-10 14:02:28 +02:00
|
|
|
font-family: 'Inconsolata', monospace;
|
2014-08-31 23:22:56 +02:00
|
|
|
font-size: 17px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2014-09-20 19:02:50 +02:00
|
|
|
/* remove chrome yellow background for inputs with autocompletion */
|
|
|
|
input:-webkit-autofill {
|
|
|
|
-webkit-box-shadow: 0 0 0px 1000px #fafafa inset;
|
|
|
|
}
|
2014-08-31 23:22:56 +02:00
|
|
|
|
2014-10-11 17:41:08 +02:00
|
|
|
button::before,
|
|
|
|
input[type=button]::before {
|
|
|
|
z-index: -1;
|
|
|
|
background: linear-gradient(#f5f5f5, #e5e5e5);
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
content: '\a0';
|
|
|
|
}
|
2014-08-31 23:22:56 +02:00
|
|
|
button,
|
|
|
|
input[type=button] {
|
2014-10-11 22:44:07 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
line-height: normal;
|
2014-10-11 17:41:08 +02:00
|
|
|
background: transparent;
|
|
|
|
position: relative;
|
2014-10-10 14:02:28 +02:00
|
|
|
padding: 2px 15px 3px 15px;
|
2014-10-11 17:41:08 +02:00
|
|
|
border: 0;
|
2014-10-11 18:22:32 +02:00
|
|
|
box-shadow: 0 1px 1px 0 #e5e5e5,
|
|
|
|
0 0 0 1px rgba(0, 0, 0, 0.15) inset,
|
|
|
|
0 5px 1px -4px white inset;
|
2014-10-10 14:02:28 +02:00
|
|
|
color: #444;
|
2014-10-11 17:41:08 +02:00
|
|
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 1px rgba(255, 255, 255, 0.5);
|
2014-08-31 23:22:56 +02:00
|
|
|
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-10-11 17:41:08 +02:00
|
|
|
button:not(:disabled):hover::before,
|
|
|
|
input[type=button]:not(:disabled):hover::before {
|
|
|
|
opacity: .65;
|
|
|
|
}
|
|
|
|
button:not(:disabled):active,
|
|
|
|
input[type=button]:not(:disabled):active {
|
|
|
|
padding: 3px 15px 2px 15px;
|
|
|
|
}
|
|
|
|
button:not(:disabled):active::before,
|
|
|
|
input[type=button]:not(:disabled):active::before {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
button:not(:disabled):focus,
|
|
|
|
input[type=button]:not(:disabled):focus {
|
2014-10-11 22:44:07 +02:00
|
|
|
box-shadow: 0 1px 1px 0 #e5e5e5, 0 0 0 2px #64C2ED inset;
|
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-10-11 17:41:08 +02:00
|
|
|
button.highlight::before,
|
|
|
|
input[type=button].highlight::before {
|
|
|
|
background: linear-gradient(rgb(160, 221, 251), rgb(101, 188, 239));
|
2014-09-13 16:11:58 +02:00
|
|
|
}
|
2014-10-11 18:22:32 +02:00
|
|
|
button.highlight-red::before,
|
|
|
|
input[type=button].highlight-red::before {
|
|
|
|
background: linear-gradient(rgba(255, 181, 143, 1), rgba(255, 148, 122, 1));
|
|
|
|
}
|
2014-09-13 16:11:58 +02:00
|
|
|
|
2014-09-20 19:02:50 +02:00
|
|
|
button:focus,
|
|
|
|
textarea:focus,
|
|
|
|
input:focus {
|
2014-09-17 09:44:27 +02:00
|
|
|
outline: none;
|
2014-09-18 10:51:12 +02:00
|
|
|
}
|
2014-09-20 19:02:50 +02:00
|
|
|
button::-moz-focus-inner,
|
|
|
|
input::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2014-09-18 10:51:12 +02:00
|
|
|
.tag-input.focused,
|
|
|
|
textarea:focus,
|
2014-10-11 17:41:08 +02:00
|
|
|
input:not([type=button]):not(.tag-real-input):focus {
|
2014-10-10 14:02:28 +02:00
|
|
|
box-shadow: 0 0 0 1px #64C2ED inset;
|
|
|
|
border-color: #64C2ED;
|
2014-09-17 09:44:27 +02:00
|
|
|
}
|
|
|
|
|
2014-09-17 10:21:20 +02:00
|
|
|
input[type=radio],
|
|
|
|
input[type=checkbox] {
|
2014-10-11 23:24:03 +02:00
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
2014-09-17 10:21:20 +02:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
2014-10-11 17:41:08 +02:00
|
|
|
input[type=radio] + label::before,
|
|
|
|
input[type=checkbox] + label::before {
|
2014-09-17 10:21:20 +02:00
|
|
|
font-family: 'FontAwesome';
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2014-10-11 17:41:08 +02:00
|
|
|
input[type=radio] + label::before {
|
2014-09-17 10:21:20 +02:00
|
|
|
content: "\f1db";
|
|
|
|
}
|
2014-10-11 17:41:08 +02:00
|
|
|
input[type=radio]:checked + label::before {
|
2014-09-17 10:21:20 +02:00
|
|
|
content: "\f192";
|
|
|
|
}
|
2014-10-11 17:41:08 +02:00
|
|
|
input[type=checkbox] + label::before {
|
2014-09-17 10:21:20 +02:00
|
|
|
content: "\f096";
|
|
|
|
}
|
2014-10-11 17:41:08 +02:00
|
|
|
input[type=checkbox]:checked + label::before {
|
2014-09-17 10:21:20 +02:00
|
|
|
content: "\f046";
|
|
|
|
}
|
2014-10-11 23:24:03 +02:00
|
|
|
input[type=radio]:focus + label,
|
|
|
|
input[type=checkbox]:focus + label {
|
|
|
|
color: #64C2ED;
|
|
|
|
}
|
2014-09-17 10:21:20 +02:00
|
|
|
|
|
|
|
|
2014-09-13 16:11:58 +02:00
|
|
|
|
2014-10-11 23:24:03 +02:00
|
|
|
.file-handler::before {
|
|
|
|
background: none;
|
|
|
|
}
|
2014-09-07 00:33:46 +02:00
|
|
|
.file-handler {
|
2014-10-26 00:16:47 +02:00
|
|
|
box-shadow: none !important;
|
|
|
|
outline: none !important;
|
|
|
|
border: 3px dashed #eee !important;
|
|
|
|
padding: 0.3em 0.5em !Important;
|
2014-09-07 00:33:46 +02:00
|
|
|
line-height: 140% !important;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.file-handler.active {
|
2014-10-26 00:16:47 +02:00
|
|
|
border-color: #64C2ED !important;
|
2014-09-07 00:33:46 +02:00
|
|
|
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;
|
2014-09-18 10:51:02 +02:00
|
|
|
font-family: 'Droid Sans', sans-serif;
|
2014-09-13 16:11:58 +02:00
|
|
|
margin: 1px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
.tag-input input {
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.tag-input li a {
|
|
|
|
color: black;
|
2014-10-11 22:00:22 +02:00
|
|
|
}
|
|
|
|
.tag-input li a.close {
|
2014-09-13 16:11:58 +02:00
|
|
|
font-size: 14px;
|
2014-10-11 22:00:22 +02:00
|
|
|
margin-left: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.related-tags {
|
|
|
|
line-height: 200%;
|
|
|
|
font-size: 15px;
|
|
|
|
display: none;
|
|
|
|
margin: 0.5em 0.5em 1em 0.5em;
|
|
|
|
}
|
|
|
|
.related-tags span {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.related-tags ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.related-tags li {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.5em;
|
|
|
|
padding: 0;
|
2014-09-13 16:11:58 +02:00
|
|
|
}
|
2014-10-07 21:15:26 +02:00
|
|
|
|
|
|
|
.autocomplete {
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.autocomplete ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0 0 !important;
|
|
|
|
margin: 0 !important;
|
2014-10-10 14:02:28 +02:00
|
|
|
border: 2px solid #64C2ED;
|
2014-10-07 21:15:26 +02:00
|
|
|
background: white;
|
|
|
|
display: block !important;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.1em 0.5em !important;
|
2014-10-11 22:26:27 +02:00
|
|
|
cursor: pointer;
|
2014-10-07 21:15:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete li.active {
|
2014-10-10 14:02:28 +02:00
|
|
|
background: #64C2ED;
|
2014-10-07 21:15:26 +02:00
|
|
|
}
|