Skip to content

Commit fd8b68d

Browse files
committed
support for input type file, number, and tel
1 parent 25a357c commit fd8b68d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dist/wing.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ button:active, [type=submit]:active {
156156
Forms
157157
------------------------------------------------------------*/
158158

159-
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], select, textarea, textarea[type=text] {
159+
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], input[type=file], input[type=tel], select, textarea, textarea[type=text] {
160160
margin: 1rem 0;
161161
width: 100%;
162162
max-width: 100%;
@@ -166,16 +166,16 @@ input[type=text], input[type=password], input[type=email], input[type=search], i
166166
transition: all .2s ease;
167167
}
168168

169-
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=search]:hover, input[type=number]:hover, select:hover, textarea:hover, textarea[type=text]:hover {
169+
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=search]:hover, input[type=number]:hover, input[type=file], input[type=tel], select:hover, textarea:hover, textarea[type=text]:hover {
170170
border: 1px solid #111111;
171171
}
172172

173-
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, select:focus textarea:focus, textarea[type=text]:focus {
173+
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, input[type=number], input[type=file], input[type=tel], select:focus textarea:focus, textarea[type=text]:focus {
174174
outline: none;
175175
border: 1px solid #104cfb;
176176
}
177177

178-
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], select {
178+
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], input[type=file], input[type=tel], select {
179179
padding: 1.1rem;
180180
}
181181

dist/wing.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/forms.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Forms
33
------------------------------------------------------------*/
44

5-
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], select, textarea, textarea[type=text] {
5+
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], input[type=file], input[type=tel], select, textarea, textarea[type=text] {
66
margin: 1rem 0;
77
width: 100%;
88
max-width: 100%;
@@ -12,16 +12,16 @@ input[type=text], input[type=password], input[type=email], input[type=search], i
1212
transition: all .2s ease;
1313
}
1414

15-
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=search]:hover, input[type=number]:hover, select:hover, textarea:hover, textarea[type=text]:hover {
15+
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=search]:hover, input[type=number]:hover, input[type=file], input[type=tel], select:hover, textarea:hover, textarea[type=text]:hover {
1616
border: 1px solid #111111;
1717
}
1818

19-
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, select:focus textarea:focus, textarea[type=text]:focus {
19+
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, input[type=number], input[type=file], input[type=tel], select:focus textarea:focus, textarea[type=text]:focus {
2020
outline: none;
2121
border: 1px solid #104cfb;
2222
}
2323

24-
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], select {
24+
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], input[type=file], input[type=tel], select {
2525
padding: 1.1rem;
2626
}
2727

0 commit comments

Comments
 (0)