Additional HTML5 INPUT types css for settings
On class-wc-admin-settings.php output_fields(), WooCommerce implements rendering for several HTML5 INPUT types, to be used on WooCommerce settings pages, but there's no CSS styling for most of them. This change implements the missing CSS declarations. Those can be useful for other plugins using the WooCommerce settings fields API.
This commit is contained in:
parent
11911aa2ea
commit
804342d3a2
|
@ -3512,6 +3512,14 @@
|
|||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="url"],
|
||||
input[type="tel"],
|
||||
input.regular-input {
|
||||
width: 400px;
|
||||
margin: 0;
|
||||
|
@ -3519,6 +3527,18 @@
|
|||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="week"],
|
||||
input[type="tel"] {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
input[type="time"] {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
select {
|
||||
width: 400px;
|
||||
|
|
Loading…
Reference in New Issue