Browse Source

add type='emeil' and some others

Former-commit-id: ef3fefc82a
Former-commit-id: e9e26feaf3
pull/258/head
deneuxa 11 years ago
parent
commit
2e82c14ea9
1 changed files with 12 additions and 1 deletions
  1. 13
      build/less/collections/form.less

13
build/less/collections/form.less

@ -65,6 +65,7 @@
.ui.form textarea, .ui.form textarea,
.ui.form input[type="text"], .ui.form input[type="text"],
.ui.form input[type="email"],
.ui.form input[type="date"], .ui.form input[type="date"],
.ui.form input[type="password"], .ui.form input[type="password"],
.ui.form .ui.input { .ui.form .ui.input {
@ -73,6 +74,7 @@
.ui.form textarea, .ui.form textarea,
.ui.form input[type="text"], .ui.form input[type="text"],
.ui.form input[type="email"],
.ui.form input[type="date"], .ui.form input[type="date"],
.ui.form input[type="password"] { .ui.form input[type="password"] {
@ -201,6 +203,7 @@
---------------------*/ ---------------------*/
.ui.form input[type="text"]:focus, .ui.form input[type="text"]:focus,
.ui.form input[type="email"]:focus,
.ui.form input[type="password"]:focus, .ui.form input[type="password"]:focus,
.ui.form textarea:focus { .ui.form textarea:focus {
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
@ -240,10 +243,12 @@
} }
.ui.form .fields.error .field textarea, .ui.form .fields.error .field textarea,
.ui.form .fields.error .field input[type="text"], .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="date"],
.ui.form .fields.error .field input[type="password"], .ui.form .fields.error .field input[type="password"],
.ui.form .field.error textarea, .ui.form .field.error textarea,
.ui.form .field.error input[type="text"], .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="date"],
.ui.form .field.error input[type="password"] { .ui.form .field.error input[type="password"] {
background-color: #FFFAFA; background-color: #FFFAFA;
@ -263,6 +268,7 @@
} }
.ui.form .field.error textarea:focus, .ui.form .field.error textarea:focus,
.ui.form .field.error input[type="text"]:focus, .ui.form .field.error input[type="text"]:focus,
.ui.form .field.error input[type="email"]:focus,
.ui.form .field.error input[type="password"]:focus { .ui.form .field.error input[type="password"]:focus {
border-color: rgba(255, 80, 80, 1); border-color: rgba(255, 80, 80, 1);
color: rgba(255, 80, 80, 1); color: rgba(255, 80, 80, 1);
@ -395,7 +401,10 @@
color: #FFFFFF; color: #FFFFFF;
} }
.ui.inverted.form .field.error textarea, .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; background-color: #FFCCCC;
} }
@ -527,6 +536,8 @@
} }
.ui.small.form textarea, .ui.small.form textarea,
.ui.small.form input[type="text"], .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 input[type="password"],
.ui.small.form label { .ui.small.form label {
font-size: 1em; font-size: 1em;

Loading…
Cancel
Save