Introducing Site Icon, favicon management for WordPress.
This v1 marries Jetpack's Site Icon module with the Media Modal, reusing code
from the Custom Header admin. For now, the core-provided icons will be limited
to a favicon, an iOS app icon, and a Windows tile icon, leaving `.ico` support
and additional icons to plugins to add.
Props obenland, tyxla, flixos90, jancbeck, markjaquith, scruffian.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@32994
git-svn-id: http://core.svn.wordpress.org/trunk@32965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-29 14:58:25 +02:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
28.0 - Site Icon
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.site-icon-image {
|
|
|
|
float: left;
|
|
|
|
margin: 0 20px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-content {
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-shell {
|
|
|
|
max-width: 720px;
|
|
|
|
}
|
|
|
|
|
2015-07-02 23:16:24 +02:00
|
|
|
.site-icon-crop-wrapper {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
Introducing Site Icon, favicon management for WordPress.
This v1 marries Jetpack's Site Icon module with the Media Modal, reusing code
from the Custom Header admin. For now, the core-provided icons will be limited
to a favicon, an iOS app icon, and a Windows tile icon, leaving `.ico` support
and additional icons to plugins to add.
Props obenland, tyxla, flixos90, jancbeck, markjaquith, scruffian.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@32994
git-svn-id: http://core.svn.wordpress.org/trunk@32965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-29 14:58:25 +02:00
|
|
|
.site-icon-crop-preview-shell {
|
|
|
|
float: right;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-preview-shell h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-favicon-preview-shell {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-preview-favicon,
|
|
|
|
.site-icon-browser-title {
|
|
|
|
height: 16px;
|
|
|
|
left: 88px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-preview-favicon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-browser-title {
|
|
|
|
left: 109px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-preview-homeicon {
|
2015-07-02 19:16:26 +02:00
|
|
|
background-color: #000;
|
Introducing Site Icon, favicon management for WordPress.
This v1 marries Jetpack's Site Icon module with the Media Modal, reusing code
from the Custom Header admin. For now, the core-provided icons will be limited
to a favicon, an iOS app icon, and a Windows tile icon, leaving `.ico` support
and additional icons to plugins to add.
Props obenland, tyxla, flixos90, jancbeck, markjaquith, scruffian.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@32994
git-svn-id: http://core.svn.wordpress.org/trunk@32965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-29 14:58:25 +02:00
|
|
|
-webkit-border-radius: 16px;
|
|
|
|
border-radius: 16px;
|
|
|
|
height: 64px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 64px;
|
2015-07-02 23:16:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-shell .submit {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
.site-icon-crop-wrapper,
|
|
|
|
.site-icon-crop-preview-shell {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-crop-wrapper img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|