Commit e3d1fe7d authored by bbaer's avatar bbaer
Browse files

fancier help-box boxes

parent 576a73ec
......@@ -1206,6 +1206,7 @@ var QfqNS = QfqNS || {};
.addClass("help-block")
.attr("data-qfq", "validation-message")
.append(text)
.prepend($("<div>", { class: "arrow arrow-up"}))
);
};
......
......@@ -103,6 +103,11 @@ i.@{spinner_class} {
border: 2px solid #ccc;
}
.radio-inline input:read-only ~ .checkmark {
cursor: not-allowed;
pointer-events: none;
}
.radio-inline:hover input ~ .checkmark, .radio:hover input ~ .checkmark {
background-color: #ccc;
}
......@@ -160,6 +165,11 @@ i.@{spinner_class} {
user-select: none;
}
.checkbox-inline input:read-only ~ .checkmark {
cursor: not-allowed;
pointer-events: none;
}
.checkbox {
display: block;
}
......@@ -213,6 +223,27 @@ i.@{spinner_class} {
}
/* END CUSTOM CHECKBOX / RADIO */
.has-error .help-block {
display: inline-block;
padding: 6px 12px;
padding-left: 25px;
background-color: #f2b867;
border-radius: 4px;
color: #333;
}
.has-error .help-block:before {
content: "\f0e7"; /* this is your text. You can also use UTF-8 character codes as I do here */
font-family: FontAwesome;
left:25px;
position:absolute;
}
.help-block ul {
margin-bottom: 0px;
}
/* inline elements in horizontal mode are too much left */
.form-horizontal {
.form-inline {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment