2019-10-25 20:17:07 -04:00
|
|
|
/*! This file is auto-generated */
|
2019-09-23 12:21:58 -04:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
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;
|
|
|
|
right: 88px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-preview .favicon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-preview .browser-title {
|
|
|
|
right: 109px;
|
|
|
|
width: 72px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-preview .app-icon-preview {
|
|
|
|
background-color: #000;
|
|
|
|
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: right;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-site_icon .app-icon-preview {
|
|
|
|
margin-top: 9px;
|
|
|
|
}
|
General: Add an option to configure the site icon in general settings.
This restores the site icon setting to its original home on the settings page where it lives with the title and tagline.
The base for this code was originally added in [32994] and then removed in [33329]. The majority of the modification to that version are to remove the no-js pieces and make the workflow completely inline rather than putting the cropping on a separate page.
Additionally, since image crops rely on the ability to upload an image, this setting is gated by the `upload_files` capability.
Follow-up to: [32994], [33329].
Props jorbin, audrasjb, mukesh27, joedolson, afercia, kebbet, swissspidy, obenland, jameskoster, kjellr, andraganescu, stacimc, mikeschroder, h71, krupajnanda, huzaifaalmesbah.
Fixes #54370.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@57602
git-svn-id: http://core.svn.wordpress.org/trunk@57103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-12 16:57:09 -05:00
|
|
|
|
|
|
|
.site-icon-section button.reset {
|
|
|
|
color: #b32d2e;
|
|
|
|
text-decoration: none;
|
|
|
|
border-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-icon-section button.reset:focus,
|
|
|
|
.site-icon-section button.reset:hover {
|
|
|
|
background: #b32d2e;
|
|
|
|
color: #fff;
|
|
|
|
border-color: #b32d2e;
|
|
|
|
box-shadow: 0 0 0 1px #b32d2e;
|
|
|
|
}
|
2024-02-13 08:09:07 -05:00
|
|
|
|
|
|
|
.site-icon-section .action-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 10px;
|
|
|
|
}
|