Customizer: Add audio/video previews for upload controls.

props celloexpressions, Fab1en, wonderboymusic.
fixes #30850.
Built from https://develop.svn.wordpress.org/trunk@31661


git-svn-id: http://core.svn.wordpress.org/trunk@31642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2015-03-07 11:06:29 +00:00
parent b1a59e9d30
commit 08f0376f91
8 changed files with 82 additions and 11 deletions

View File

@@ -433,7 +433,7 @@ p.customize-section-description {
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
padding: 5px 10px 0;
padding: 0 10px;
}
.customize-control .attachment-meta-title {
@@ -448,6 +448,13 @@ p.customize-section-description {
cursor: pointer;
}
#customize-controls .thumbnail-audio .thumbnail {
max-width: 64px;
max-height: 64px;
margin: 10px;
float: right;
}
#customize-preview iframe {
width: 100%;
height: 100%;

File diff suppressed because one or more lines are too long

View File

@@ -433,7 +433,7 @@ p.customize-section-description {
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
padding: 5px 10px 0;
padding: 0 10px;
}
.customize-control .attachment-meta-title {
@@ -448,6 +448,13 @@ p.customize-section-description {
cursor: pointer;
}
#customize-controls .thumbnail-audio .thumbnail {
max-width: 64px;
max-height: 64px;
margin: 10px;
float: left;
}
#customize-preview iframe {
width: 100%;
height: 100%;

File diff suppressed because one or more lines are too long