Media: Add base form element CSS. props lessbloat. see #22284, #21390.

git-svn-id: http://core.svn.wordpress.org/trunk@22780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-11-21 18:00:18 +00:00
parent 7de56d32db
commit 5ee8582b7a
1 changed files with 29 additions and 0 deletions

View File

@ -14,6 +14,33 @@
margin-top: 3px; margin-top: 3px;
} }
.media-modal {
font-family: sans-serif;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="email"],
input[type="url"],
textarea,
select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box; /* ie8 only */
box-sizing: border-box;
-webkit-border-radius: 3px;
border-radius: 3px;
border-width: 1px;
border-style: solid;
border-color: #dfdfdf;
}
input[type="search"] {
-webkit-appearance: textfield;
}
/** /**
* Modal * Modal
*/ */
@ -208,6 +235,7 @@
.media-sidebar .setting span { .media-sidebar .setting span {
min-width: 30%; min-width: 30%;
margin-right: 4%; margin-right: 4%;
font-size: 12px;
} }
.media-sidebar .setting select { .media-sidebar .setting select {
@ -433,6 +461,7 @@
padding: 0; padding: 0;
margin: 0 10px 20px; margin: 0 10px 20px;
color: #464646; color: #464646;
list-style: none;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;