WordPress/wp-admin/css/site-icon.css
Sergey Biryukov 046fe2802c General: Some minor adjustments for the Site Icon option:
* Improve buttons flow on small viewports, taking longer translations into account.
* Make `alt` attributes translatable.
* Remove unused `id` attributes.

Follow-up to [57602].

Props kebbet, afercia, mukesh27.
See #54370.
Built from https://develop.svn.wordpress.org/trunk@57618


git-svn-id: http://core.svn.wordpress.org/trunk@57119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-13 13:09:07 +00:00

78 lines
1.4 KiB
CSS

/*------------------------------------------------------------------------------
28.0 - Site Icon
------------------------------------------------------------------------------*/
.site-icon-preview .favicon-preview {
margin: 5px 0 20px;
overflow: hidden;
position: relative;
max-width: 180px;
float: left;
}
.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;
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;
}
.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;
}
.site-icon-section .action-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
}