From 3df5f046c54d6ca7fb22cac1d338adec9748fb53 Mon Sep 17 00:00:00 2001 From: deneuxa Date: Sun, 6 Oct 2013 17:33:47 +0200 Subject: [PATCH] add date&email types for inputs Former-commit-id: 3054289be940e034619254398f3737c87b150ac0 Former-commit-id: 1219372a9971d749e345adb141f42603605ee71b --- src/collections/form.less | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/collections/form.less b/src/collections/form.less index 5a592ce67..8b631e476 100755 --- a/src/collections/form.less +++ b/src/collections/form.less @@ -65,6 +65,7 @@ .ui.form textarea, .ui.form input[type="text"], +.ui.form input[type="email"], .ui.form input[type="date"], .ui.form input[type="password"], .ui.form .ui.input { @@ -73,6 +74,7 @@ .ui.form textarea, .ui.form input[type="text"], +.ui.form input[type="email"], .ui.form input[type="date"], .ui.form input[type="password"] { @@ -201,6 +203,8 @@ ---------------------*/ .ui.form input[type="text"]:focus, +.ui.form input[type="email"]:focus, +.ui.form input[type="date"]:focus, .ui.form input[type="password"]:focus, .ui.form textarea:focus { color: rgba(0, 0, 0, 0.85); @@ -240,10 +244,12 @@ } .ui.form .fields.error .field textarea, .ui.form .fields.error .field input[type="text"], +.ui.form .fields.error .field input[type="email"], .ui.form .fields.error .field input[type="date"], .ui.form .fields.error .field input[type="password"], .ui.form .field.error textarea, .ui.form .field.error input[type="text"], +.ui.form .field.error input[type="email"], .ui.form .field.error input[type="date"], .ui.form .field.error input[type="password"] { background-color: #FFFAFA; @@ -263,6 +269,8 @@ } .ui.form .field.error textarea:focus, .ui.form .field.error input[type="text"]:focus, +.ui.form .field.error input[type="email"]:focus, +.ui.form .field.error input[type="date"]:focus, .ui.form .field.error input[type="password"]:focus { border-color: rgba(255, 80, 80, 1); color: rgba(255, 80, 80, 1); @@ -395,7 +403,10 @@ color: #FFFFFF; } .ui.inverted.form .field.error textarea, -.ui.inverted.form .field.error input[type="text"] { +.ui.inverted.form .field.error input[type="text"], +.ui.inverted.form .field.error input[type="email"] +.ui.inverted.form .field.error input[type="date"] +.ui.inverted.form .field.error input[type="password"]{ background-color: #FFCCCC; } @@ -527,6 +538,8 @@ } .ui.small.form textarea, .ui.small.form input[type="text"], +.ui.small.form input[type="email"], +.ui.small.form input[type="date"], .ui.small.form input[type="password"], .ui.small.form label { font-size: 1em;