From 5ee8582b7a62326f298732bd55ebff8e0f97c664 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 21 Nov 2012 18:00:18 +0000 Subject: [PATCH] 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 --- wp-includes/css/media-views.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 902b07a799..0875ff9d2d 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -14,6 +14,33 @@ 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 */ @@ -208,6 +235,7 @@ .media-sidebar .setting span { min-width: 30%; margin-right: 4%; + font-size: 12px; } .media-sidebar .setting select { @@ -433,6 +461,7 @@ padding: 0; margin: 0 10px 20px; color: #464646; + list-style: none; -webkit-user-select: none; -moz-user-select: none;