2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
2021-02-07 22:37:09 -05:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-27 21:04:13 -05:00
|
|
|
*/
|
2020-01-22 17:06:21 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Fonts & basic variables.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
2020-05-05 19:56:33 -04:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block & Editor UI.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block paddings.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
2020-10-13 09:10:30 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 09:10:30 -04:00
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Focus styles.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 11:19:18 -04:00
|
|
|
/**
|
|
|
|
* Reset default styles for JavaScript UI based pages.
|
|
|
|
* This is a WP-admin agnostic reset
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
:root {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.components-panel__header.interface-complementary-area-header__small {
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.components-panel__header.interface-complementary-area-header__small {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-complementary-area-header {
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
.interface-complementary-area-header .components-button.has-icon {
|
|
|
|
display: none;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.interface-complementary-area-header .components-button.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-complementary-area {
|
|
|
|
background: #fff;
|
|
|
|
color: #1e1e1e;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.interface-complementary-area {
|
2020-06-26 09:33:47 -04:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.interface-complementary-area {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.interface-complementary-area .components-panel {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.interface-complementary-area .components-panel__header {
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
|
|
|
|
top: 48px;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
|
2020-06-26 09:33:47 -04:00
|
|
|
top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.interface-complementary-area p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.interface-complementary-area h2,
|
|
|
|
.interface-complementary-area h3 {
|
|
|
|
font-size: 13px;
|
|
|
|
color: #1e1e1e;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
.interface-complementary-area hr {
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: 1px solid #f0f0f0;
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
.interface-complementary-area div.components-toolbar-group,
|
|
|
|
.interface-complementary-area div.components-toolbar {
|
|
|
|
box-shadow: none;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
.interface-complementary-area div.components-toolbar-group:last-child,
|
|
|
|
.interface-complementary-area div.components-toolbar:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
|
|
|
|
top: auto;
|
|
|
|
right: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: auto;
|
|
|
|
}
|
2019-03-07 04:09:59 -05:00
|
|
|
|
|
|
|
@media (min-width: 782px) {
|
2020-06-26 09:33:47 -04:00
|
|
|
body.js.is-fullscreen-mode {
|
|
|
|
margin-top: -32px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: calc(100% + 32px);
|
|
|
|
}
|
|
|
|
body.js.is-fullscreen-mode #adminmenumain,
|
|
|
|
body.js.is-fullscreen-mode #wpadminbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
body.js.is-fullscreen-mode #wpcontent,
|
|
|
|
body.js.is-fullscreen-mode #wpfooter {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
html.interface-interface-skeleton__html-container {
|
|
|
|
position: fixed;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
html.interface-interface-skeleton__html-container {
|
|
|
|
position: initial;
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton {
|
|
|
|
display: flex;
|
2020-10-20 09:36:16 -04:00
|
|
|
flex-direction: row;
|
2020-06-26 09:33:47 -04:00
|
|
|
height: auto;
|
|
|
|
max-height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
top: 46px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.interface-interface-skeleton {
|
|
|
|
top: 32px;
|
|
|
|
}
|
|
|
|
.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-20 09:36:16 -04:00
|
|
|
.interface-interface-skeleton__editor {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex: 0 1 100%;
|
2021-02-02 00:17:13 -05:00
|
|
|
overflow: hidden;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.interface-interface-skeleton {
|
|
|
|
/* Set left position when auto-fold is not on the body element. */
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.interface-interface-skeleton {
|
|
|
|
left: 160px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.auto-fold .interface-interface-skeleton {
|
2021-01-27 21:04:13 -05:00
|
|
|
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.auto-fold .interface-interface-skeleton {
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 961px) {
|
|
|
|
.auto-fold .interface-interface-skeleton {
|
|
|
|
left: 160px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
/* Sidebar manually collapsed. */
|
|
|
|
.folded .interface-interface-skeleton {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.folded .interface-interface-skeleton {
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
/* Mobile menu opened. */
|
|
|
|
@media (max-width: 783px) {
|
|
|
|
.auto-fold .wp-responsive-open .interface-interface-skeleton {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 190px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
/* In small screens with responsive menu expanded there is small white space. */
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.auto-fold .wp-responsive-open .interface-interface-skeleton {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -18px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
body.is-fullscreen-mode .interface-interface-skeleton {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0 !important;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton__body {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
overflow: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
overscroll-behavior-y: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
2021-02-02 00:17:13 -05:00
|
|
|
.has-footer .interface-interface-skeleton__body {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 25px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton__content {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: auto;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.interface-interface-skeleton__secondary-sidebar,
|
2020-06-26 09:33:47 -04:00
|
|
|
.interface-interface-skeleton__sidebar {
|
|
|
|
display: block;
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 100000;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.interface-interface-skeleton__secondary-sidebar,
|
|
|
|
.interface-interface-skeleton__sidebar {
|
|
|
|
position: relative !important;
|
|
|
|
z-index: 90;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.interface-interface-skeleton__sidebar {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
@media (min-width: 782px) {
|
|
|
|
.interface-interface-skeleton__sidebar {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-left: 1px solid #e0e0e0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
@media (min-width: 782px) {
|
2021-01-27 21:04:13 -05:00
|
|
|
.interface-interface-skeleton__secondary-sidebar {
|
|
|
|
border-right: 1px solid #e0e0e0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton__header {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: auto;
|
2020-10-13 09:10:30 -04:00
|
|
|
border-bottom: 1px solid #e0e0e0;
|
2020-06-26 09:33:47 -04:00
|
|
|
z-index: 30;
|
|
|
|
color: #1e1e1e;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
2021-01-27 21:04:13 -05:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.interface-interface-skeleton__header {
|
|
|
|
position: initial;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton__footer {
|
|
|
|
height: auto;
|
|
|
|
flex-shrink: 0;
|
2020-10-13 09:10:30 -04:00
|
|
|
border-top: 1px solid #e0e0e0;
|
2020-06-26 09:33:47 -04:00
|
|
|
color: #1e1e1e;
|
2020-11-16 23:13:29 -05:00
|
|
|
position: absolute;
|
2020-10-20 09:36:16 -04:00
|
|
|
bottom: 0;
|
2020-11-16 23:13:29 -05:00
|
|
|
left: 0;
|
2020-10-20 09:36:16 -04:00
|
|
|
width: 100%;
|
|
|
|
background-color: #fff;
|
|
|
|
z-index: 90;
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.interface-interface-skeleton__footer {
|
2020-10-13 09:10:30 -04:00
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
|
|
|
|
z-index: 30;
|
|
|
|
display: flex;
|
|
|
|
background: #fff;
|
|
|
|
height: 24px;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 0 18px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-interface-skeleton__actions {
|
|
|
|
z-index: 100000;
|
|
|
|
position: fixed !important;
|
|
|
|
top: -9999em;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
width: 280px;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.interface-interface-skeleton__actions:focus {
|
|
|
|
top: auto;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.interface-pinned-items {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.interface-pinned-items .components-button:not(:first-child) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.interface-pinned-items .components-button:not(:first-child) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
.interface-pinned-items .components-button {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
.interface-pinned-items .components-button svg {
|
|
|
|
max-width: 24px;
|
|
|
|
max-height: 24px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-header {
|
2020-06-26 09:33:47 -04:00
|
|
|
height: 60px;
|
2018-12-17 22:17:48 -05:00
|
|
|
background: #fff;
|
|
|
|
display: flex;
|
2019-09-19 11:19:18 -04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
@media (min-width: 280px) {
|
|
|
|
.edit-post-header {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-header > .edit-post-header__settings {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-header > .edit-post-header__settings {
|
2021-01-27 21:04:13 -05:00
|
|
|
order: initial;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.edit-post-header__toolbar {
|
2020-03-10 10:53:18 -04:00
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.edit-post-header__toolbar .table-of-contents {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-header__toolbar .table-of-contents {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-header__settings {
|
|
|
|
display: inline-flex;
|
2019-09-19 11:19:18 -04:00
|
|
|
align-items: center;
|
2020-03-10 10:53:18 -04:00
|
|
|
flex-wrap: wrap;
|
2020-10-20 09:36:16 -04:00
|
|
|
padding-right: 4px;
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Buttons in the Toolbar
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header__settings {
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-header__settings .editor-post-saved-state,
|
|
|
|
.edit-post-header__settings .components-button.components-button {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-header__settings .editor-post-saved-state,
|
2021-01-27 21:04:13 -05:00
|
|
|
.edit-post-header__settings .components-button.components-button {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-header__settings .editor-post-saved-state,
|
|
|
|
.edit-post-header__settings .components-button.is-tertiary {
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
|
|
|
.edit-post-header__settings .edit-post-more-menu .components-button,
|
|
|
|
.edit-post-header__settings .interface-pinned-items .components-button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.edit-post-header-preview__grouping-external {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-header-preview__button-external {
|
|
|
|
padding-left: 8px;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
.edit-post-header-preview__button-external svg {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.edit-post-post-preview-dropdown .components-popover__content > div {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon,
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon,
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon svg,
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon svg,
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon::after,
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon::after,
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon::after {
|
|
|
|
content: attr(aria-label);
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true],
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true] {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .is-tertiary:active,
|
|
|
|
.show-icon-labels .edit-post-header .is-tertiary:active,
|
|
|
|
.edit-post-header__dropdown .is-tertiary:active {
|
|
|
|
box-shadow: 0 0 0 1.5px #007cba;
|
|
|
|
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg,
|
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,
|
|
|
|
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon.button-toggle svg {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon::after,
|
|
|
|
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle::after,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon::after,
|
|
|
|
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle::after,
|
|
|
|
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon::after,
|
|
|
|
.edit-post-header__dropdown .components-button.has-icon.button-toggle::after {
|
2021-01-27 21:04:13 -05:00
|
|
|
content: none;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,
|
|
|
|
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 60px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,
|
|
|
|
.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,
|
|
|
|
.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.show-icon-labels .edit-post-header .interface-pinned-items .components-button,
|
|
|
|
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.edit-post-header__dropdown .interface-pinned-items .components-button {
|
|
|
|
padding-left: 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.show-icon-labels .edit-post-header .interface-pinned-items .components-button,
|
|
|
|
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,
|
|
|
|
.edit-post-header__dropdown .interface-pinned-items .components-button {
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle,
|
|
|
|
.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,
|
|
|
|
.edit-post-header__dropdown .components-dropdown-menu__toggle {
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle,
|
|
|
|
.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,
|
|
|
|
.edit-post-header__dropdown .components-dropdown-menu__toggle {
|
|
|
|
margin-left: 12px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after,
|
|
|
|
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after,
|
|
|
|
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after {
|
2021-01-27 21:04:13 -05:00
|
|
|
content: none;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
|
|
|
|
.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
|
|
|
|
.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
|
2021-01-27 21:04:13 -05:00
|
|
|
content: none;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
@media (min-width: 600px) {
|
|
|
|
.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
|
2021-01-27 21:04:13 -05:00
|
|
|
.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
|
|
|
|
.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
|
|
|
|
content: attr(aria-label);
|
|
|
|
}
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
|
|
|
.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,
|
|
|
|
.edit-post-header__dropdown .components-button.editor-history__undo,
|
|
|
|
.edit-post-header__dropdown .components-button.editor-history__redo,
|
|
|
|
.edit-post-header__dropdown .table-of-contents .components-button,
|
|
|
|
.edit-post-header__dropdown .components-button.block-editor-block-navigation {
|
|
|
|
margin: 0;
|
|
|
|
padding: 6px 6px 6px 40px;
|
|
|
|
width: 14.625rem;
|
|
|
|
text-align: left;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
|
|
|
.show-icon-labels.interface-pinned-items {
|
|
|
|
padding: 6px 12px 12px;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
border-bottom: 1px solid #ccc;
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items > .components-button.has-icon {
|
|
|
|
margin: 0;
|
|
|
|
padding: 6px 6px 6px 8px;
|
|
|
|
width: 14.625rem;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=true] svg {
|
|
|
|
display: block;
|
|
|
|
max-width: 24px;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=false] {
|
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
.show-icon-labels.interface-pinned-items > .components-button.has-icon svg {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-03-10 10:53:18 -04:00
|
|
|
.edit-post-fullscreen-mode-close.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-fullscreen-mode-close.has-icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
-ms-grid-row-align: stretch;
|
|
|
|
align-self: stretch;
|
|
|
|
border: none;
|
|
|
|
background: #23282e;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 0;
|
|
|
|
height: 60px;
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
.edit-post-fullscreen-mode-close.has-icon:hover {
|
|
|
|
background: #32373d;
|
|
|
|
}
|
|
|
|
.edit-post-fullscreen-mode-close.has-icon:active {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.edit-post-fullscreen-mode-close.has-icon:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 3px #fff;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.edit-post-fullscreen-mode-close_site-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 36px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-header-toolbar {
|
|
|
|
display: inline-flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
2020-06-26 09:33:47 -04:00
|
|
|
align-items: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .block-editor-block-navigation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-header-toolbar .block-editor-block-navigation {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon,
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon {
|
|
|
|
height: 36px;
|
|
|
|
min-width: 36px;
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon.is-pressed,
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon.is-pressed {
|
|
|
|
background: #1e1e1e;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon:focus:not(:disabled),
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
|
|
|
|
box-shadow: 0 0 0 2px #007cba, inset 0 0 0 1px #fff;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
|
|
|
|
outline: 1px solid transparent;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon::before,
|
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] {
|
|
|
|
transition: opacity 0.1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left > * + .components-button, .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-header-toolbar__left {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header-toolbar__left {
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
|
|
.edit-post-header-toolbar__left {
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-header-toolbar__block-toolbar {
|
|
|
|
position: absolute;
|
2020-06-26 09:33:47 -04:00
|
|
|
top: 61px;
|
2018-12-17 22:17:48 -05:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar__block-toolbar:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
2018-12-17 22:17:48 -05:00
|
|
|
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
right: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
|
|
.edit-post-header-toolbar__block-toolbar:not(.is-pushed-down) {
|
|
|
|
position: static;
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
|
|
|
background: none;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar:not(.is-pushed-down) {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar__block-toolbar:not(.is-pushed-down) .block-editor-block-toolbar {
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.edit-post-header-toolbar__block-toolbar:not(.is-pushed-down) .block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.edit-post-header-toolbar__block-toolbar:not(.is-pushed-down) .block-editor-block-toolbar .components-toolbar {
|
|
|
|
height: 60px;
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin-right: 8px;
|
|
|
|
min-width: 32px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon {
|
|
|
|
height: 36px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-11-12 14:36:36 -05:00
|
|
|
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-text.has-icon {
|
|
|
|
width: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0 8px;
|
|
|
|
}
|
2020-11-12 14:36:36 -05:00
|
|
|
|
|
|
|
.show-icon-labels .edit-post-header-toolbar__left > * + * {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
@media (min-width: 1280px) {
|
|
|
|
.show-icon-labels .edit-post-header-toolbar__block-toolbar {
|
|
|
|
position: absolute;
|
|
|
|
top: 61px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.show-icon-labels .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.show-icon-labels .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
|
|
|
|
height: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-more-menu {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
.edit-post-more-menu .components-button {
|
|
|
|
width: auto;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-more-menu {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-more-menu .components-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-more-menu__content .components-popover__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
min-width: 280px;
|
|
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
|
|
.edit-post-more-menu__content .components-popover__content {
|
|
|
|
width: auto;
|
|
|
|
max-width: 480px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-10-15 12:17:12 -04:00
|
|
|
.components-popover.edit-post-more-menu__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 99998;
|
|
|
|
}
|
2019-10-15 12:17:12 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.edit-post-template-title {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__section {
|
|
|
|
margin: 0 0 2rem 0;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: -25px;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__section-title {
|
2018-12-17 22:17:48 -05:00
|
|
|
font-size: 0.9rem;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut {
|
2018-12-17 22:17:48 -05:00
|
|
|
display: flex;
|
2020-01-22 17:06:21 -05:00
|
|
|
align-items: baseline;
|
2018-12-17 22:17:48 -05:00
|
|
|
padding: 0.6rem 0;
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut:last-child {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-term {
|
2018-12-17 22:17:48 -05:00
|
|
|
font-weight: 600;
|
2020-01-22 17:06:21 -05:00
|
|
|
margin: 0 0 0 1rem;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: right;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-description {
|
2018-12-17 22:17:48 -05:00
|
|
|
flex: 1;
|
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-basis: auto;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination {
|
|
|
|
display: block;
|
2018-12-17 22:17:48 -05:00
|
|
|
background: none;
|
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-post-keyboard-shortcut-help-modal__shortcut-key-combination {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-key {
|
2018-12-17 22:17:48 -05:00
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
border-radius: 8%;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 0.2rem 0 0.2rem;
|
|
|
|
}
|
|
|
|
.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child {
|
|
|
|
margin: 0 0 0 0.2rem;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.edit-post-layout__metaboxes {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-layout__metaboxes:not(:empty) {
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2018-12-17 22:17:48 -05:00
|
|
|
padding: 10px 0 10px;
|
2021-01-27 21:04:13 -05:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area {
|
|
|
|
margin: auto 20px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.edit-post-layout .components-editor-notices__snackbar {
|
2019-09-19 11:19:18 -04:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
bottom: 40px;
|
2019-09-19 11:19:18 -04:00
|
|
|
padding-left: 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 16px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.edit-post-layout .components-editor-notices__snackbar {
|
2019-09-19 11:19:18 -04:00
|
|
|
/* Set left position when auto-fold is not on the body element. */
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.edit-post-layout .components-editor-notices__snackbar {
|
|
|
|
left: 160px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.auto-fold .edit-post-layout .components-editor-notices__snackbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.auto-fold .edit-post-layout .components-editor-notices__snackbar {
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 961px) {
|
|
|
|
.auto-fold .edit-post-layout .components-editor-notices__snackbar {
|
|
|
|
left: 160px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
/* Sidebar manually collapsed. */
|
2020-01-08 06:57:23 -05:00
|
|
|
.folded .edit-post-layout .components-editor-notices__snackbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 783px) {
|
|
|
|
.folded .edit-post-layout .components-editor-notices__snackbar {
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
/* Mobile menu opened. */
|
2020-06-26 09:33:47 -04:00
|
|
|
@media (max-width: 783px) {
|
2020-01-08 06:57:23 -05:00
|
|
|
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 190px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
/* In small screens with responsive menu expanded there is small white space. */
|
|
|
|
@media (max-width: 600px) {
|
2020-01-08 06:57:23 -05:00
|
|
|
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -18px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0 !important;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-layout .editor-post-publish-panel {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 100001;
|
|
|
|
top: 46px;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-layout .editor-post-publish-panel {
|
|
|
|
z-index: 99998;
|
|
|
|
top: 32px;
|
|
|
|
left: auto;
|
|
|
|
width: 281px;
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
transform: translateX(100%);
|
|
|
|
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
|
|
|
|
.edit-post-layout .editor-post-publish-panel {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
[role=region]:focus .edit-post-layout .editor-post-publish-panel {
|
|
|
|
transform: translateX(0%);
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-03-07 04:09:59 -05:00
|
|
|
@keyframes edit-post-post-publish-panel__slide-in-animation {
|
2018-12-17 22:17:48 -05:00
|
|
|
100% {
|
2021-01-27 21:04:13 -05:00
|
|
|
transform: translateX(0%);
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
.edit-post-layout .editor-post-publish-panel__header-publish-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: center;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-layout__toggle-publish-panel,
|
|
|
|
.edit-post-layout__toogle-sidebar-panel,
|
|
|
|
.edit-post-layout__toggle-entities-saved-states-panel {
|
|
|
|
z-index: 100000;
|
|
|
|
position: fixed !important;
|
|
|
|
top: -9999em;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
width: 280px;
|
2020-01-08 06:57:23 -05:00
|
|
|
background-color: #fff;
|
2020-07-07 10:43:35 -04:00
|
|
|
border: 1px dotted #ddd;
|
2020-06-26 09:33:47 -04:00
|
|
|
height: auto !important;
|
|
|
|
padding: 24px;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,
|
|
|
|
.interface-interface-skeleton__actions:focus .edit-post-layout__toogle-sidebar-panel,
|
|
|
|
.interface-interface-skeleton__actions:focus-within .edit-post-layout__toogle-sidebar-panel,
|
|
|
|
.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,
|
|
|
|
.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel {
|
|
|
|
top: auto;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-layout .interface-interface-skeleton__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #ccc;
|
|
|
|
}
|
2020-08-10 10:18:33 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-layout__inserter-panel {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.edit-post-layout__inserter-panel-header {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-layout__inserter-panel-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.edit-post-layout__inserter-panel-content {
|
2021-01-27 21:04:13 -05:00
|
|
|
height: calc(100% - 36px - 8px);
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-layout__inserter-panel-content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-manage-blocks-modal {
|
2021-01-27 21:04:13 -05:00
|
|
|
height: calc(100% - 60px - 60px);
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal .components-modal__content {
|
|
|
|
padding-bottom: 0;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal .components-modal__header {
|
|
|
|
flex-shrink: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 0 1 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
min-height: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__no-results {
|
|
|
|
font-style: italic;
|
|
|
|
padding: 24px 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__search {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__search .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__search .components-base-control__label {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input {
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.edit-post-manage-blocks-modal__disabled-blocks-count {
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-left: -24px;
|
|
|
|
margin-right: -24px;
|
|
|
|
padding-top: 0.6rem;
|
|
|
|
padding-bottom: 0.6rem;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-right: 24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #f0f0f0;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.edit-post-manage-blocks-modal__category {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 0 2rem 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__category-title {
|
2019-11-05 16:59:03 -05:00
|
|
|
position: -webkit-sticky;
|
2019-03-21 08:48:00 -04:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
padding: 16px 0;
|
2019-09-19 11:19:18 -04:00
|
|
|
background-color: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__category-title .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__show-all {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__checklist {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__checklist-item {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-left: 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__checklist-item:last-child {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__checklist-item .components-base-control__field {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container {
|
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0.6rem 0 0.6rem 10px;
|
|
|
|
}
|
|
|
|
.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon {
|
|
|
|
margin-right: 10px;
|
|
|
|
fill: #1e1e1e;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.edit-post-manage-blocks-modal__results {
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-left: -24px;
|
|
|
|
margin-right: -24px;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-right: 24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-meta-boxes-area {
|
|
|
|
position: relative;
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* The wordpress default for most meta-box elements is content-box. Some
|
|
|
|
* elements such as textarea and input are set to border-box in forms.css.
|
|
|
|
* These elements therefore specifically set back to border-box here, while
|
|
|
|
* other elements (such as .button) are unaffected by Gutenberg's style
|
|
|
|
* because of their higher specificity.
|
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/* Match width and positioning of the meta boxes. Override default styles. */
|
2021-01-27 21:04:13 -05:00
|
|
|
/* Override Default meta box stylings */
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area__container,
|
|
|
|
.edit-post-meta-boxes-area .inside {
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area textarea,
|
|
|
|
.edit-post-meta-boxes-area input {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area #poststuff {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-top: 0;
|
|
|
|
min-width: auto;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area #poststuff h3.hndle,
|
|
|
|
.edit-post-meta-boxes-area #poststuff .stuffbox > h3,
|
|
|
|
.edit-post-meta-boxes-area #poststuff h2.hndle {
|
|
|
|
/* WordPress selectors yolo */
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: inherit;
|
|
|
|
font-weight: 600;
|
|
|
|
outline: none;
|
|
|
|
padding: 15px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .postbox {
|
|
|
|
border: 0;
|
|
|
|
color: inherit;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .postbox > .inside {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
color: inherit;
|
|
|
|
padding: 0 14px 14px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .postbox .handlediv {
|
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area.is-loading::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
content: "";
|
|
|
|
background: transparent;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .components-spinner {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 20px;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .is-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox] {
|
|
|
|
border: 1px solid #757575;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked {
|
|
|
|
background: #fff;
|
|
|
|
border-color: #757575;
|
|
|
|
}
|
|
|
|
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]::before {
|
|
|
|
margin: -3px -4px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-meta-boxes-area__clear {
|
2021-01-27 21:04:13 -05:00
|
|
|
clear: both;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2021-02-02 00:17:13 -05:00
|
|
|
.edit-post-preferences-modal {
|
|
|
|
min-width: 360px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-preferences-modal {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-preferences-modal {
|
|
|
|
height: calc(100% - 60px - 60px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation {
|
|
|
|
background-color: #fff;
|
|
|
|
margin: -8px;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu {
|
|
|
|
margin: 0;
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item {
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button {
|
|
|
|
color: inherit;
|
|
|
|
padding: 3px 16px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:focus {
|
|
|
|
background: #f0f0f0;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:hover {
|
|
|
|
color: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading {
|
|
|
|
color: inherit;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button {
|
|
|
|
color: inherit;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover {
|
|
|
|
color: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
|
|
|
border-radius: 2px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
|
|
|
|
background: #f0f0f0;
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content {
|
|
|
|
width: 500px;
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-preferences-modal__section {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 0 2.5rem 0;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-preferences-modal__section-title {
|
|
|
|
font-size: 0.9rem;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.edit-post-preferences-modal__option .components-base-control .components-base-control__field {
|
2020-10-20 09:36:16 -04:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-02-02 00:17:13 -05:00
|
|
|
margin-bottom: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.edit-post-preferences-modal__option .components-base-control .components-base-control__field > label {
|
2020-10-20 09:36:16 -04:00
|
|
|
flex-grow: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0.6rem 0 0.6rem 10px;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-preferences-modal__custom-fields-confirmation-message, .edit-post-preferences-modal__custom-fields-confirmation-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 0 0.6rem 48px;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-preferences-modal__custom-fields-confirmation-message, .edit-post-preferences-modal__custom-fields-confirmation-button {
|
|
|
|
margin-left: 38px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-preferences-modal__custom-fields-confirmation-message, .edit-post-preferences-modal__custom-fields-confirmation-button {
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-preferences-modal .components-base-control__help {
|
2021-02-02 00:17:13 -05:00
|
|
|
margin: -8px 0 8px 58px;
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 12px;
|
|
|
|
font-style: normal;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.edit-post-preferences-modal .edit-post-preferences-modal__section-description {
|
|
|
|
margin: -8px 0 8px 0;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: normal;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.components-panel__header.edit-post-sidebar__panel-tabs {
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding-left: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding-right: 16px;
|
2018-12-17 22:17:48 -05:00
|
|
|
border-top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.components-panel__header.edit-post-sidebar__panel-tabs ul {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.components-panel__header.edit-post-sidebar__panel-tabs li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon {
|
|
|
|
display: none;
|
|
|
|
margin: 0 0 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
2020-01-22 17:06:21 -05:00
|
|
|
.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.components-panel__body.is-opened.edit-post-last-revision__panel {
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 48px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.editor-post-last-revision__title.components-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.editor-post-author__select {
|
|
|
|
margin: -5px 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
|
|
.editor-post-author__select {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-link__link-post-name {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-link__preview-label {
|
2020-06-26 09:33:47 -04:00
|
|
|
font-weight: 400;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-link__link {
|
2019-09-19 11:19:18 -04:00
|
|
|
text-align: left;
|
|
|
|
word-wrap: break-word;
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
/* rtl:begin:ignore */
|
|
|
|
.edit-post-post-link__preview-link-container {
|
2021-01-27 21:04:13 -05:00
|
|
|
direction: ltr;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
/* rtl:end:ignore */
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-post-schedule {
|
|
|
|
width: 100%;
|
2020-07-07 10:43:35 -04:00
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
.edit-post-post-schedule span {
|
|
|
|
display: block;
|
|
|
|
width: 45%;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.components-button.edit-post-post-schedule__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: right;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.editor-post-slug__input {
|
|
|
|
margin: -5px 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 2px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft {
|
|
|
|
margin-top: 15px;
|
|
|
|
width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-post-template {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
.edit-post-post-template span {
|
|
|
|
display: block;
|
|
|
|
width: 45%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-post-template__value {
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility {
|
2020-07-07 10:43:35 -04:00
|
|
|
width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
.edit-post-post-visibility span {
|
|
|
|
display: block;
|
|
|
|
width: 45%;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
@media (min-width: 782px) {
|
|
|
|
.edit-post-post-visibility__dialog .components-popover__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 257px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility__dialog-legend {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility__choice {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility__dialog-radio,
|
|
|
|
.edit-post-post-visibility__dialog-label {
|
2021-01-27 21:04:13 -05:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility__dialog-password-input {
|
|
|
|
width: calc(100% - 20px);
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-post-visibility__dialog-info {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #757575;
|
2018-12-17 22:17:48 -05:00
|
|
|
padding-left: 20px;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 4px 0 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.components-button.edit-post-sidebar__panel-tab {
|
2020-06-26 09:33:47 -04:00
|
|
|
border-radius: 0;
|
|
|
|
height: 48px;
|
2018-12-17 22:17:48 -05:00
|
|
|
background: transparent;
|
|
|
|
border: none;
|
2019-03-07 04:09:59 -05:00
|
|
|
box-shadow: none;
|
2018-12-17 22:17:48 -05:00
|
|
|
cursor: pointer;
|
2020-01-08 06:57:23 -05:00
|
|
|
display: inline-block;
|
2018-12-17 22:17:48 -05:00
|
|
|
padding: 3px 15px;
|
|
|
|
margin-left: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.components-button.edit-post-sidebar__panel-tab::after {
|
|
|
|
content: attr(data-label);
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
speak: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.components-button.edit-post-sidebar__panel-tab.is-active {
|
|
|
|
box-shadow: inset 0 0 0 2px transparent, inset 0 -4px 0 0 #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.components-button.edit-post-sidebar__panel-tab.is-active::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 1px;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-bottom: 4px solid transparent;
|
|
|
|
}
|
|
|
|
.components-button.edit-post-sidebar__panel-tab:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.components-button.edit-post-sidebar__panel-tab.is-active:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 -4px 0 0 #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.edit-post-text-editor {
|
2020-01-08 06:57:23 -05:00
|
|
|
position: relative;
|
2018-12-17 22:17:48 -05:00
|
|
|
width: 100%;
|
2020-06-26 09:33:47 -04:00
|
|
|
background-color: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor .wp-block.editor-post-title {
|
|
|
|
max-width: none;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor .wp-block.editor-post-title .editor-post-title__input.editor-post-title__input.editor-post-title__input {
|
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor .wp-block.editor-post-title .editor-post-title__input {
|
|
|
|
border: 1px solid #949494;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-text-editor .wp-block.editor-post-title .editor-post-title__input {
|
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-text-editor .wp-block.editor-post-title .editor-post-title__input:focus {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-text-editor .wp-block.editor-post-title {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.edit-post-text-editor__body {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 12px 12px 12px;
|
|
|
|
max-width: 1080px;
|
|
|
|
margin-left: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
@media (min-width: 960px) {
|
|
|
|
.edit-post-text-editor__body {
|
|
|
|
padding: 16px 24px 96px 24px;
|
|
|
|
padding: 0 24px 24px 24px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.edit-post-text-editor__toolbar {
|
2020-06-26 09:33:47 -04:00
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
z-index: 1;
|
|
|
|
top: 0;
|
2020-01-08 06:57:23 -05:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
display: flex;
|
|
|
|
background: rgba(255, 255, 255, 0.8);
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 4px 12px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-text-editor__toolbar {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 960px) {
|
|
|
|
.edit-post-text-editor__toolbar {
|
|
|
|
padding: 12px 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-text-editor__toolbar h2 {
|
|
|
|
line-height: 36px;
|
|
|
|
margin: 0 auto 0 0;
|
|
|
|
font-size: 13px;
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor__toolbar .components-button svg {
|
|
|
|
order: 1;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.edit-post-visual-editor {
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.edit-post-visual-editor .components-button {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
|
|
|
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
|
|
.edit-post-visual-editor {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-styles-wrapper {
|
2020-06-26 09:33:47 -04:00
|
|
|
background-color: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
.editor-styles-wrapper > * {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-visual-editor__post-title-wrapper .editor-post-title {
|
2020-07-07 10:43:35 -04:00
|
|
|
margin-top: 2em;
|
2018-12-17 22:17:48 -05:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 28px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.edit-post-welcome-guide {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 312px;
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__image {
|
|
|
|
background: #00a0d2;
|
|
|
|
height: 240px;
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__image__prm-r {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.edit-post-welcome-guide__image__prm-r {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__image__prm-np {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__heading {
|
2021-02-02 00:17:13 -05:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 24px;
|
|
|
|
line-height: 1.4;
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
padding: 0 32px;
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__text {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.4;
|
|
|
|
margin: 0 0 24px 0;
|
|
|
|
padding: 0 32px;
|
|
|
|
}
|
|
|
|
.edit-post-welcome-guide__inserter-icon {
|
|
|
|
margin: 0 4px;
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Animations
|
|
|
|
*/
|
|
|
|
@keyframes edit-post__fade-in-animation {
|
|
|
|
from {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
to {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
html.wp-toolbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
background: #fff;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
body.block-editor-page {
|
|
|
|
background: #fff;
|
2019-09-19 11:19:18 -04:00
|
|
|
/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
|
2021-01-27 21:04:13 -05:00
|
|
|
Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
|
|
|
|
}
|
|
|
|
body.block-editor-page #wpcontent {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
body.block-editor-page #wpbody-content {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
body.block-editor-page #wpbody-content > div:not(.block-editor):not(#screen-meta) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
body.block-editor-page #wpfooter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
body.block-editor-page .a11y-speak-region {
|
|
|
|
left: -1px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
body.block-editor-page ul#adminmenu a.wp-has-current-submenu::after,
|
|
|
|
body.block-editor-page ul#adminmenu > li.current > a.current::after {
|
|
|
|
border-right-color: #fff;
|
|
|
|
}
|
|
|
|
body.block-editor-page .media-frame select.attachment-filters:last-of-type {
|
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.edit-post-header,
|
|
|
|
.edit-post-visual-editor,
|
|
|
|
.edit-post-text-editor,
|
|
|
|
.edit-post-sidebar,
|
|
|
|
.editor-post-publish-panel,
|
|
|
|
.components-popover,
|
2020-07-14 07:39:09 -04:00
|
|
|
.components-modal__frame,
|
|
|
|
.edit-post-layout__inserter-panel {
|
2021-01-27 21:04:13 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.edit-post-header *,
|
|
|
|
.edit-post-header *::before,
|
|
|
|
.edit-post-header *::after,
|
|
|
|
.edit-post-visual-editor *,
|
|
|
|
.edit-post-visual-editor *::before,
|
|
|
|
.edit-post-visual-editor *::after,
|
|
|
|
.edit-post-text-editor *,
|
|
|
|
.edit-post-text-editor *::before,
|
|
|
|
.edit-post-text-editor *::after,
|
|
|
|
.edit-post-sidebar *,
|
|
|
|
.edit-post-sidebar *::before,
|
|
|
|
.edit-post-sidebar *::after,
|
|
|
|
.editor-post-publish-panel *,
|
|
|
|
.editor-post-publish-panel *::before,
|
|
|
|
.editor-post-publish-panel *::after,
|
|
|
|
.components-popover *,
|
|
|
|
.components-popover *::before,
|
|
|
|
.components-popover *::after,
|
|
|
|
.components-modal__frame *,
|
|
|
|
.components-modal__frame *::before,
|
|
|
|
.components-modal__frame *::after,
|
|
|
|
.edit-post-layout__inserter-panel *,
|
|
|
|
.edit-post-layout__inserter-panel *::before,
|
|
|
|
.edit-post-layout__inserter-panel *::after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor__container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
min-height: calc(100vh - 46px);
|
|
|
|
}
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor__container {
|
2021-01-27 21:04:13 -05:00
|
|
|
min-height: calc(100vh - 32px);
|
|
|
|
}
|
|
|
|
body.is-fullscreen-mode .block-editor__container {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
}
|
2019-11-05 16:59:03 -05:00
|
|
|
.block-editor__container img {
|
|
|
|
max-width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: auto;
|
|
|
|
}
|
2019-11-05 16:59:03 -05:00
|
|
|
.block-editor__container iframe {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.wp-block {
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 840px;
|
|
|
|
}
|
|
|
|
.wp-block[data-align=wide] {
|
|
|
|
max-width: 1100px;
|
|
|
|
}
|
|
|
|
.wp-block[data-align=full] {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-light {
|
|
|
|
--wp-admin-theme-color: #0085ba;
|
|
|
|
--wp-admin-theme-color-darker-10: #0073a1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #006187;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-light {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
body.admin-color-modern {
|
|
|
|
--wp-admin-theme-color: #3858e9;
|
|
|
|
--wp-admin-theme-color-darker-10: #2145e6;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #183ad6;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-modern {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
body.admin-color-blue {
|
|
|
|
--wp-admin-theme-color: #096484;
|
|
|
|
--wp-admin-theme-color-darker-10: #07526c;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #064054;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-blue {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-coffee {
|
|
|
|
--wp-admin-theme-color: #46403c;
|
|
|
|
--wp-admin-theme-color-darker-10: #383330;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #2b2724;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-coffee {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-ectoplasm {
|
|
|
|
--wp-admin-theme-color: #523f6d;
|
|
|
|
--wp-admin-theme-color-darker-10: #46365d;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-ectoplasm {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-midnight {
|
|
|
|
--wp-admin-theme-color: #e14d43;
|
|
|
|
--wp-admin-theme-color-darker-10: #dd382d;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #d02c21;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-midnight {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-ocean {
|
|
|
|
--wp-admin-theme-color: #627c83;
|
|
|
|
--wp-admin-theme-color-darker-10: #576e74;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #4c6066;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-ocean {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-sunrise {
|
|
|
|
--wp-admin-theme-color: #dd823b;
|
|
|
|
--wp-admin-theme-color-darker-10: #d97426;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #c36922;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-sunrise {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|