summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/css/pfSense-dark.css
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:21:35 -0600
commit44f59761aa4069f192c2a9d00bb8dbd34db9438e (patch)
tree9ca0c4660aaee3eaa0206e7470570c19e855b319 /src/usr/local/www/css/pfSense-dark.css
parent65bd77d4f77f496e6366ef8d1260c57b3402c515 (diff)
downloadpfsense-44f59761aa4069f192c2a9d00bb8dbd34db9438e.zip
pfsense-44f59761aa4069f192c2a9d00bb8dbd34db9438e.tar.gz
Add "required field" highlighting
Diffstat (limited to 'src/usr/local/www/css/pfSense-dark.css')
-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