From 6815f4bfeff7b3705d28177fbcd9ba1c5c7a2f5e Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 21 Nov 2012 18:37:52 +0000 Subject: [PATCH] Media: Normalize font sizes, link colors, and other styles. props lessbloat, see #22284, #21390. git-svn-id: http://core.svn.wordpress.org/trunk@22782 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/css/media-views.css | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 0875ff9d2d..0d1c73d780 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -1,6 +1,12 @@ /** * Base Styles */ +.media-modal, +.media-frame { + font-family: sans-serif; + font-size: 12px; +} + .media-frame input, .media-frame textarea { padding: 6px 8px; @@ -14,8 +20,12 @@ margin-top: 3px; } -.media-modal { - font-family: sans-serif; +a { + color: #21759b; +} + +a:hover { + color: #d54e21; } input[type="text"], @@ -26,6 +36,8 @@ input[type="email"], input[type="url"], textarea, select { + font-family: sans-serif; + font-size: 12px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; /* ie8 only */ @@ -85,6 +97,10 @@ input[type="search"] { text-shadow: 0 0 16px rgba( 0, 0, 0, 0.6 ); } +a.media-modal-close { + color: #fff; +} + .media-modal-title { left: 0; float: left; @@ -798,6 +814,10 @@ input[type="search"] { display: block; } +.upload-flash-bypass { + font-size: 12px; +} + .region-content.uploader-inline { margin: 20px; padding: 20px; @@ -854,6 +874,7 @@ input[type="search"] { .media-selection .selection-info { display: inline-block; + font-size: 12px; height: 60px; margin-right: 10px; vertical-align: top; @@ -1069,6 +1090,7 @@ input[type="search"] { .attachment-info .details { float: left; + font-size: 12px; } .attachment-info .compat-meta { @@ -1114,10 +1136,10 @@ input[type="search"] { } .embed-url input { + font-size: 18px; padding: 12px 14px; width: 100%; min-width: 200px; - /*max-width: 500px;*/ box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); }