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
This commit is contained in:
Daryl Koopersmith 2012-11-21 18:37:52 +00:00
parent b5335a5d24
commit 6815f4bfef
1 changed files with 25 additions and 3 deletions

View File

@ -1,6 +1,12 @@
/** /**
* Base Styles * Base Styles
*/ */
.media-modal,
.media-frame {
font-family: sans-serif;
font-size: 12px;
}
.media-frame input, .media-frame input,
.media-frame textarea { .media-frame textarea {
padding: 6px 8px; padding: 6px 8px;
@ -14,8 +20,12 @@
margin-top: 3px; margin-top: 3px;
} }
.media-modal { a {
font-family: sans-serif; color: #21759b;
}
a:hover {
color: #d54e21;
} }
input[type="text"], input[type="text"],
@ -26,6 +36,8 @@ input[type="email"],
input[type="url"], input[type="url"],
textarea, textarea,
select { select {
font-family: sans-serif;
font-size: 12px;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-ms-box-sizing: border-box; /* ie8 only */ -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 ); text-shadow: 0 0 16px rgba( 0, 0, 0, 0.6 );
} }
a.media-modal-close {
color: #fff;
}
.media-modal-title { .media-modal-title {
left: 0; left: 0;
float: left; float: left;
@ -798,6 +814,10 @@ input[type="search"] {
display: block; display: block;
} }
.upload-flash-bypass {
font-size: 12px;
}
.region-content.uploader-inline { .region-content.uploader-inline {
margin: 20px; margin: 20px;
padding: 20px; padding: 20px;
@ -854,6 +874,7 @@ input[type="search"] {
.media-selection .selection-info { .media-selection .selection-info {
display: inline-block; display: inline-block;
font-size: 12px;
height: 60px; height: 60px;
margin-right: 10px; margin-right: 10px;
vertical-align: top; vertical-align: top;
@ -1069,6 +1090,7 @@ input[type="search"] {
.attachment-info .details { .attachment-info .details {
float: left; float: left;
font-size: 12px;
} }
.attachment-info .compat-meta { .attachment-info .compat-meta {
@ -1114,10 +1136,10 @@ input[type="search"] {
} }
.embed-url input { .embed-url input {
font-size: 18px;
padding: 12px 14px; padding: 12px 14px;
width: 100%; width: 100%;
min-width: 200px; min-width: 200px;
/*max-width: 500px;*/
box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
} }