aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMartin Wright <martin@mynameismartin.com>2017-07-07 09:38:11 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-07-07 11:43:33 +0100
commit6bd4d17176045ccaa211f99265f06466e1b4aece (patch)
tree4b68990978f4d8dbbeabb8f1b6142433833a8275 /web
parent6a0f8086f44dfe0d2d12b0a97a491f8c6ebe3ca2 (diff)
Add an optional phone field to the contact form.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index 5866ab986..8863487ba 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -294,6 +294,21 @@ select.form-control {
}
}
+.form-group {
+ position: relative;
+ max-width: 27em;
+}
+
+.required-text {
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+
+.required-text--optional {
+ color: #666;
+}
+
.form-section-heading {
font-family: inherit;
color: inherit;