mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: https://develop.svn.wordpress.org/trunk@20168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -210,6 +210,10 @@ TABLE OF CONTENTS:
|
||||
/* include margin and padding in the width calculation of input and textarea */
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
textarea {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
@@ -222,6 +226,15 @@ input[type="radio"] {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* general */
|
||||
html,
|
||||
body {
|
||||
@@ -789,7 +802,7 @@ input.regular-text,
|
||||
}
|
||||
|
||||
input.small-text {
|
||||
width: 50px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
#doaction,
|
||||
|
||||
Reference in New Issue
Block a user