summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-01-19 12:25:53 -0500
committerJared Dillard <jdillard@netgate.com>2017-02-14 11:25:46 -0600
commit8a90abc55db5d0acd1e4e9c41ac61c62f3e9885a (patch)
tree5395912ce7e0d9557d9b15b85bb8cfa57c771890 /src
parentd2e001aa1b66d9aa72e9ea0361bab29976e65a89 (diff)
downloadpfsense-8a90abc55db5d0acd1e4e9c41ac61c62f3e9885a.zip
pfsense-8a90abc55db5d0acd1e4e9c41ac61c62f3e9885a.tar.gz
Add "required field" highlighting
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/css/pfSense-dark.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/css/pfSense-dark.css b/src/usr/local/www/css/pfSense-dark.css
index 6b04df2..ccf0d20 100644
--- a/src/usr/local/www/css/pfSense-dark.css
+++ b/src/usr/local/www/css/pfSense-dark.css
@@ -567,3 +567,11 @@ g.nv-axis text, g.nv-legend text {
background: rgba(97,97,97, 0.9);
color: #e0e0e0;
}
+
+/* Required input elements have a title that begins with "*". This causes
+Group.class.php to add <span class="element-required" to the title, which
+can then be used to style required input here. Example below uses a custom
+text underline, but text-color, background, font etc. could also be used */
+.element-required {
+ box-shadow: inset 0 0px 0 white, inset 0 -1px 0 white
+}
OpenPOWER on IntegriCloud