summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-30 19:17:14 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-10-30 19:17:14 +0100
commitdb3b350540b559ff222de123f99731e21da6fb62 (patch)
tree5a8cd7c75017d6899061abf2193e2b5f53e585c1
parent6e4e0b93b14c6b61b767f4352e3654d948b67e64 (diff)
downloadnorsk-urskog-registrations-db3b350540b559ff222de123f99731e21da6fb62.tar.gz
norsk-urskog-registrations-db3b350540b559ff222de123f99731e21da6fb62.tar.bz2
norsk-urskog-registrations-db3b350540b559ff222de123f99731e21da6fb62.zip
Move "required" mark before label in fields.
-rw-r--r--public/styles.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/public/styles.css b/public/styles.css
index 73f6530..891f69b 100644
--- a/public/styles.css
+++ b/public/styles.css
@@ -16,8 +16,9 @@ label {
text-align: left;
}
-.required:after {
- content: " *";
+.required label:before,
+.required:empty:before {
+ content: "* ";
color: darkred;
vertical-align: top;
}