WordPress/wp-admin/css/site-icon.css
Dominik Schilling 56e463a38e Customize: Fix site icon preview in RTL.
* Set the direction of previews to LTR.
* Remove the ID attribute from the favicon preview in the customizer panel. The preview in the media modal uses the same ID which prevented updating the correct favicon preview.

Fixes #37286.
Built from https://develop.svn.wordpress.org/trunk@37964


git-svn-id: http://core.svn.wordpress.org/trunk@37905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-05 12:42:27 +00:00

56 lines
1.0 KiB
CSS

/*------------------------------------------------------------------------------
28.0 - Site Icon
------------------------------------------------------------------------------*/
.site-icon-preview .favicon-preview {
margin: 5px 0 20px;
overflow: hidden;
position: relative;
max-width: 180px;
}
.site-icon-preview .favicon,
.site-icon-preview .browser-title {
height: 16px;
left: 88px;
overflow: hidden;
position: absolute;
top: 16px;
}
.site-icon-preview .favicon {
width: 16px;
}
.site-icon-preview .browser-title {
left: 109px;
width: 72px;
white-space: nowrap;
}
.site-icon-preview .app-icon-preview {
background-color: #000;
-webkit-border-radius: 16px;
border-radius: 16px;
height: 64px;
overflow: hidden;
width: 64px;
margin-top: 5px;
}
/* rtl:ignore */
.site-icon-preview .favicon,
.site-icon-preview .app-icon-preview {
direction: ltr;
}
.customize-control-site_icon .favicon-preview {
float: left;
margin-right: 12px;
margin-bottom: 0;
}
.customize-control-site_icon .app-icon-preview {
margin-top: 9px;
}