Skip to content

Commit 25bcbc4

Browse files
committed
Added styling for input tag without type
1 parent c0796ce commit 25bcbc4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/forms/css/forms-r.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
margin: 0.7em 0 0;
44
}
55

6+
.pure-form input:not([type]),
67
.pure-form input[type="text"],
78
.pure-form input[type="password"],
89
.pure-form input[type="email"],
@@ -22,6 +23,7 @@
2223
display: block;
2324
}
2425

26+
.pure-group input:not([type]),
2527
.pure-group input[type="text"],
2628
.pure-group input[type="password"],
2729
.pure-group input[type="email"],

src/forms/css/forms.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.pure-form input:not([type]),
12
.pure-form input[type="text"],
23
.pure-form input[type="password"],
34
.pure-form input[type="email"],
@@ -30,6 +31,7 @@
3031
box-sizing: border-box;
3132
}
3233

34+
.pure-form input:not([type]):focus,
3335
.pure-form input[type="text"]:focus,
3436
.pure-form input[type="password"]:focus,
3537
.pure-form input[type="email"]:focus,
@@ -62,6 +64,7 @@
6264
margin: 0.5em 0;
6365
display: block;
6466
}
67+
.pure-form input:not([type])[disabled],
6568
.pure-form input[type="text"][disabled],
6669
.pure-form input[type="password"][disabled],
6770
.pure-form input[type="email"][disabled],
@@ -132,6 +135,7 @@
132135
border-bottom: 1px solid #e5e5e5;
133136
}
134137

138+
.pure-form-stacked input:not([type]),
135139
.pure-form-stacked input[type="text"],
136140
.pure-form-stacked input[type="password"],
137141
.pure-form-stacked input[type="email"],

0 commit comments

Comments
 (0)