| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029 |
- /**
- * Colors
- */
- /**
- * Breakpoints & Media Queries
- */
- /**
- * 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.
- * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
- */
- /**
- * Colors
- */
- /**
- * Fonts & basic variables.
- */
- /**
- * Grid System.
- * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
- */
- /**
- * Dimensions.
- */
- /**
- * Shadows.
- */
- /**
- * Editor widths.
- */
- /**
- * Block & Editor UI.
- */
- /**
- * Block paddings.
- */
- /**
- * React Native specific.
- * These variables do not appear to be used anywhere else.
- */
- /**
- * Breakpoint mixins
- */
- /**
- * Long content fade mixin
- *
- * Creates a fading overlay to signify that the content is longer
- * than the space allows.
- */
- /**
- * Focus styles.
- */
- /**
- * Applies editor left position to the selector passed as argument
- */
- /**
- * Styles that are reused verbatim in a few places
- */
- /**
- * Allows users to opt-out of animations via OS-level preferences.
- */
- /**
- * 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.
- */
- :root {
- --wp-admin-theme-color: #007cba;
- --wp-admin-theme-color-darker-10: #006ba1;
- --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;
- }
- }
- .components-panel__header.interface-complementary-area-header__small {
- background: #fff;
- 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;
- }
- }
- .interface-complementary-area-header {
- background: #fff;
- 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) {
- .interface-complementary-area-header .components-button.has-icon {
- display: flex;
- }
- }
- .interface-complementary-area {
- background: #fff;
- color: #1e1e1e;
- }
- @media (min-width: 600px) {
- .interface-complementary-area {
- -webkit-overflow-scrolling: touch;
- }
- }
- @media (min-width: 782px) {
- .interface-complementary-area {
- width: 280px;
- }
- }
- .interface-complementary-area .components-panel {
- border: none;
- position: relative;
- z-index: 0;
- }
- .interface-complementary-area .components-panel__header {
- 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 {
- top: 0;
- }
- }
- .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;
- }
- @media (min-width: 782px) {
- body.js.is-fullscreen-mode {
- margin-top: -32px;
- 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;
- }
- }
- html.interface-interface-skeleton__html-container {
- position: fixed;
- width: 100%;
- }
- @media (min-width: 782px) {
- html.interface-interface-skeleton__html-container {
- position: initial;
- width: initial;
- }
- }
- .interface-interface-skeleton {
- display: flex;
- flex-direction: row;
- height: auto;
- max-height: 100%;
- position: fixed;
- top: 46px;
- left: 0;
- right: 0;
- bottom: 0;
- }
- @media (min-width: 783px) {
- .interface-interface-skeleton {
- top: 32px;
- }
- .is-fullscreen-mode .interface-interface-skeleton {
- top: 0;
- }
- }
- .interface-interface-skeleton__editor {
- display: flex;
- flex-direction: column;
- flex: 0 1 100%;
- overflow: hidden;
- }
- .interface-interface-skeleton {
- /* Set left position when auto-fold is not on the body element. */
- left: 0;
- }
- @media (min-width: 783px) {
- .interface-interface-skeleton {
- left: 160px;
- }
- }
- .auto-fold .interface-interface-skeleton {
- /* 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;
- }
- }
- /* Sidebar manually collapsed. */
- .folded .interface-interface-skeleton {
- left: 0;
- }
- @media (min-width: 783px) {
- .folded .interface-interface-skeleton {
- left: 36px;
- }
- }
- body.is-fullscreen-mode .interface-interface-skeleton {
- left: 0 !important;
- }
- .interface-interface-skeleton__body {
- flex-grow: 1;
- display: flex;
- overflow: auto;
- overscroll-behavior-y: none;
- }
- @media (min-width: 782px) {
- .has-footer .interface-interface-skeleton__body {
- padding-bottom: 25px;
- }
- }
- .interface-interface-skeleton__content {
- flex-grow: 1;
- display: flex;
- flex-direction: column;
- overflow: auto;
- z-index: 20;
- }
- .interface-interface-skeleton__secondary-sidebar,
- .interface-interface-skeleton__sidebar {
- display: block;
- flex-shrink: 0;
- position: absolute;
- z-index: 100000;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background: #fff;
- color: #1e1e1e;
- }
- @media (min-width: 782px) {
- .interface-interface-skeleton__secondary-sidebar,
- .interface-interface-skeleton__sidebar {
- position: relative !important;
- z-index: 90;
- width: auto;
- }
- }
- .interface-interface-skeleton__sidebar {
- overflow: auto;
- }
- @media (min-width: 782px) {
- .interface-interface-skeleton__sidebar {
- border-left: 1px solid #e0e0e0;
- }
- }
- @media (min-width: 782px) {
- .interface-interface-skeleton__secondary-sidebar {
- border-right: 1px solid #e0e0e0;
- }
- }
- .interface-interface-skeleton__header {
- flex-shrink: 0;
- height: auto;
- border-bottom: 1px solid #e0e0e0;
- z-index: 30;
- color: #1e1e1e;
- }
- .interface-interface-skeleton__footer {
- height: auto;
- flex-shrink: 0;
- border-top: 1px solid #e0e0e0;
- color: #1e1e1e;
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #fff;
- z-index: 90;
- display: none;
- }
- @media (min-width: 782px) {
- .interface-interface-skeleton__footer {
- display: flex;
- }
- }
- .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;
- }
- .interface-interface-skeleton__actions {
- z-index: 100000;
- position: fixed !important;
- top: -9999em;
- bottom: auto;
- left: auto;
- right: 0;
- width: 280px;
- color: #1e1e1e;
- }
- .interface-interface-skeleton__actions:focus {
- top: auto;
- bottom: 0;
- }
- .interface-pinned-items {
- display: flex;
- }
- .interface-pinned-items .components-button:not(:first-child) {
- display: none;
- }
- @media (min-width: 600px) {
- .interface-pinned-items .components-button:not(:first-child) {
- display: flex;
- }
- }
- .interface-pinned-items .components-button {
- margin-left: 4px;
- }
- .interface-pinned-items .components-button svg {
- max-width: 24px;
- max-height: 24px;
- }
- .edit-post-header {
- height: 60px;
- background: #fff;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- max-width: 100vw;
- }
- @media (min-width: 280px) {
- .edit-post-header {
- flex-wrap: nowrap;
- }
- }
- .edit-post-header > .edit-post-header__settings {
- order: 1;
- }
- @supports (position: sticky) {
- .edit-post-header > .edit-post-header__settings {
- order: initial;
- }
- }
- .edit-post-header__toolbar {
- display: flex;
- flex-grow: 1;
- }
- .edit-post-header__toolbar .table-of-contents {
- display: none;
- }
- @media (min-width: 600px) {
- .edit-post-header__toolbar .table-of-contents {
- display: block;
- }
- }
- .edit-post-header__settings {
- display: inline-flex;
- align-items: center;
- flex-wrap: wrap;
- padding-right: 4px;
- /**
- * 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) {
- .edit-post-header__settings .editor-post-saved-state,
- .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;
- }
- .edit-post-header-preview__grouping-external {
- display: flex;
- position: relative;
- padding-bottom: 0;
- }
- .edit-post-header-preview__button-external {
- padding-left: 8px;
- margin-right: auto;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- }
- .edit-post-header-preview__button-external svg {
- margin-left: auto;
- }
- .edit-post-post-preview-dropdown .components-popover__content > div {
- padding-bottom: 0;
- }
- .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 {
- 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;
- }
- .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 var(--wp-admin-theme-color);
- background-color: transparent;
- }
- .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 {
- display: block;
- }
- .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 {
- content: none;
- }
- .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 {
- width: 60px;
- }
- .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 {
- display: block;
- }
- .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;
- 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;
- }
- }
- .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;
- 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;
- }
- }
- .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 {
- content: none;
- }
- .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 {
- content: none;
- }
- @media (min-width: 600px) {
- .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 {
- content: attr(aria-label);
- }
- }
- .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;
- justify-content: flex-start;
- }
- .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;
- 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;
- }
- .edit-post-fullscreen-mode-close.has-icon {
- display: none;
- }
- @media (min-width: 782px) {
- .edit-post-fullscreen-mode-close.has-icon {
- display: flex;
- align-items: center;
- align-self: stretch;
- border: none;
- background: #23282e;
- color: #fff;
- border-radius: 0;
- height: 61px;
- width: 60px;
- position: relative;
- margin-bottom: -1px;
- }
- .edit-post-fullscreen-mode-close.has-icon:active {
- color: #fff;
- }
- .edit-post-fullscreen-mode-close.has-icon:focus {
- box-shadow: none;
- }
- .edit-post-fullscreen-mode-close.has-icon::before {
- transition: box-shadow 0.1s ease;
- content: "";
- display: block;
- position: absolute;
- top: 9px;
- right: 9px;
- bottom: 9px;
- left: 9px;
- border-radius: 4px;
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #23282e;
- }
- }
- @media (min-width: 782px) and (prefers-reduced-motion: reduce) {
- .edit-post-fullscreen-mode-close.has-icon::before {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 782px) {
- .edit-post-fullscreen-mode-close.has-icon:hover::before {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
- }
- }
- @media (min-width: 782px) {
- .edit-post-fullscreen-mode-close.has-icon:focus::before {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- }
- .edit-post-fullscreen-mode-close_site-icon {
- width: 36px;
- border-radius: 2px;
- }
- .edit-post-header-toolbar {
- display: inline-flex;
- flex-grow: 1;
- align-items: center;
- border: none;
- }
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button {
- display: none;
- }
- @media (min-width: 600px) {
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button {
- 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 .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
- transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.is-pressed svg {
- transform: rotate(45deg);
- }
- .edit-post-header-toolbar .block-editor-block-navigation {
- display: none;
- }
- @media (min-width: 600px) {
- .edit-post-header-toolbar .block-editor-block-navigation {
- 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 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;
- transition-delay: 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;
- }
- }
- .edit-post-header-toolbar__left {
- display: inline-flex;
- align-items: center;
- 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;
- }
- }
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon {
- margin-right: 8px;
- min-width: 32px;
- width: 32px;
- height: 32px;
- padding: 0;
- }
- .show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon {
- height: 36px;
- }
- .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-text.has-icon {
- width: auto;
- padding: 0 8px;
- }
- .show-icon-labels .edit-post-header-toolbar__left > * + * {
- margin-left: 8px;
- }
- .edit-post-more-menu {
- 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;
- }
- .edit-post-more-menu .components-button {
- padding: 0 4px;
- }
- }
- .edit-post-more-menu__content .components-popover__content {
- 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;
- }
- .components-popover.edit-post-more-menu__content {
- z-index: 99998;
- }
- .edit-post-template-top-area {
- display: flex;
- flex-direction: column;
- align-content: space-between;
- width: 100%;
- align-items: center;
- }
- .edit-post-template-top-area .edit-post-template-title,
- .edit-post-template-top-area .edit-post-template-post-title {
- padding: 0;
- text-decoration: none;
- height: auto;
- }
- .edit-post-template-top-area .edit-post-template-title::before,
- .edit-post-template-top-area .edit-post-template-post-title::before {
- height: 100%;
- }
- .edit-post-template-top-area .edit-post-template-title.has-icon svg,
- .edit-post-template-top-area .edit-post-template-post-title.has-icon svg {
- order: 1;
- margin-right: 0;
- }
- .edit-post-template-top-area .edit-post-template-title {
- color: #1e1e1e;
- }
- .edit-post-template-top-area .edit-post-template-post-title {
- margin-top: 4px;
- max-width: 160px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- display: block;
- }
- .edit-post-template-top-area .edit-post-template-post-title::before {
- left: 0;
- right: 0;
- }
- @media (min-width: 1080px) {
- .edit-post-template-top-area .edit-post-template-post-title {
- max-width: none;
- }
- }
- .edit-post-template-top-area__popover .components-popover__content {
- min-width: 280px;
- }
- .edit-post-template-top-area__second-menu-group {
- margin-left: -12px;
- margin-right: -12px;
- padding: 12px;
- padding-bottom: 0;
- border-top: 1px solid #ddd;
- }
- .edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button {
- display: flex;
- justify-content: center;
- }
- .edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item {
- margin-right: 0;
- }
- .edit-post-keyboard-shortcut-help-modal__section {
- margin: 0 0 2rem 0;
- }
- .edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list {
- margin-top: -25px;
- }
- .edit-post-keyboard-shortcut-help-modal__section-title {
- font-size: 0.9rem;
- font-weight: 600;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut {
- display: flex;
- align-items: baseline;
- padding: 0.6rem 0;
- border-top: 1px solid #ddd;
- 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;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-term {
- font-weight: 600;
- margin: 0 0 0 1rem;
- text-align: right;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-description {
- flex: 1;
- margin: 0;
- flex-basis: auto;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-key-combination {
- display: block;
- background: none;
- margin: 0;
- padding: 0;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-post-keyboard-shortcut-help-modal__shortcut-key-combination {
- margin-top: 10px;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-key {
- padding: 0.25rem 0.5rem;
- border-radius: 8%;
- margin: 0 0.2rem 0 0.2rem;
- }
- .edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child {
- margin: 0 0 0 0.2rem;
- }
- .edit-post-layout__metaboxes {
- flex-shrink: 0;
- }
- .edit-post-layout__metaboxes:not(:empty) {
- border-top: 1px solid #ddd;
- padding: 10px 0 10px;
- clear: both;
- }
- .edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area {
- margin: auto 20px;
- }
- .edit-post-layout .components-editor-notices__snackbar {
- position: fixed;
- right: 0;
- bottom: 40px;
- padding-left: 16px;
- padding-right: 16px;
- }
- .edit-post-layout .components-editor-notices__snackbar {
- /* Set left position when auto-fold is not on the body element. */
- left: 0;
- }
- @media (min-width: 783px) {
- .edit-post-layout .components-editor-notices__snackbar {
- left: 160px;
- }
- }
- .auto-fold .edit-post-layout .components-editor-notices__snackbar {
- /* 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;
- }
- }
- /* Sidebar manually collapsed. */
- .folded .edit-post-layout .components-editor-notices__snackbar {
- left: 0;
- }
- @media (min-width: 783px) {
- .folded .edit-post-layout .components-editor-notices__snackbar {
- left: 36px;
- }
- }
- body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
- left: 0 !important;
- }
- .edit-post-layout .editor-post-publish-panel {
- position: fixed;
- z-index: 100001;
- top: 46px;
- bottom: 0;
- right: 0;
- left: 0;
- 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;
- animation-delay: 0s;
- }
- }
- @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%);
- }
- }
- @keyframes edit-post-post-publish-panel__slide-in-animation {
- 100% {
- transform: translateX(0%);
- }
- }
- .edit-post-layout .editor-post-publish-panel__header-publish-button {
- justify-content: center;
- }
- .edit-post-layout__toggle-publish-panel,
- .edit-post-layout__toggle-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;
- background-color: #fff;
- border: 1px dotted #ddd;
- height: auto !important;
- padding: 24px;
- display: flex;
- 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__toggle-sidebar-panel,
- .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-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;
- }
- @media (min-width: 600px) {
- .edit-post-manage-blocks-modal {
- height: calc(100% - 60px - 60px);
- }
- }
- .edit-post-manage-blocks-modal .components-modal__content {
- padding-bottom: 0;
- display: flex;
- flex-direction: column;
- }
- .edit-post-manage-blocks-modal .components-modal__header {
- flex-shrink: 0;
- margin-bottom: 0;
- }
- .edit-post-manage-blocks-modal__content {
- display: flex;
- flex-direction: column;
- flex: 0 1 100%;
- min-height: 0;
- }
- .edit-post-manage-blocks-modal__no-results {
- font-style: italic;
- padding: 24px 0;
- text-align: center;
- }
- .edit-post-manage-blocks-modal__search {
- 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;
- }
- .edit-post-manage-blocks-modal__disabled-blocks-count {
- border-top: 1px solid #ddd;
- margin-left: -24px;
- margin-right: -24px;
- padding-top: 0.6rem;
- padding-bottom: 0.6rem;
- padding-left: 24px;
- padding-right: 24px;
- background-color: #f0f0f0;
- }
- .edit-post-manage-blocks-modal__category {
- margin: 0 0 2rem 0;
- }
- .edit-post-manage-blocks-modal__category-title {
- position: sticky;
- top: 0;
- padding: 16px 0;
- background-color: #fff;
- 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;
- }
- .edit-post-manage-blocks-modal__show-all {
- margin-right: 8px;
- }
- .edit-post-manage-blocks-modal__checklist {
- margin-top: 0;
- }
- .edit-post-manage-blocks-modal__checklist-item {
- margin-bottom: 0;
- padding-left: 16px;
- 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;
- }
- .edit-post-manage-blocks-modal__results {
- height: 100%;
- overflow: auto;
- margin-left: -32px;
- margin-right: -32px;
- padding-left: 32px;
- padding-right: 32px;
- border-top: 1px solid #ddd;
- }
- .edit-post-meta-boxes-area {
- position: relative;
- /**
- * 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.
- */
- /* Match width and positioning of the meta boxes. Override default styles. */
- /* 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;
- }
- .edit-post-meta-boxes-area__clear {
- clear: both;
- }
- .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: 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: 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 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;
- }
- .edit-post-preferences-modal__section {
- margin: 0 0 2.5rem 0;
- }
- .edit-post-preferences-modal__section-title {
- font-size: 0.9rem;
- font-weight: 600;
- }
- .edit-post-preferences-modal__option .components-base-control .components-base-control__field {
- align-items: center;
- display: flex;
- margin-bottom: 0;
- }
- .edit-post-preferences-modal__option .components-base-control .components-base-control__field > label {
- flex-grow: 1;
- padding: 0.6rem 0 0.6rem 10px;
- }
- .edit-post-preferences-modal__custom-fields-confirmation-message, .edit-post-preferences-modal__custom-fields-confirmation-button {
- 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;
- }
- }
- .edit-post-preferences-modal .components-base-control__help {
- margin: -8px 0 8px 58px;
- font-size: 12px;
- font-style: normal;
- color: #757575;
- }
- .edit-post-preferences-modal .edit-post-preferences-modal__section-description {
- margin: -8px 0 8px 0;
- font-size: 12px;
- font-style: normal;
- color: #757575;
- }
- .edit-post-editor__inserter-panel,
- .edit-post-editor__list-view-panel {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .edit-post-editor__list-view-panel {
- min-width: 350px;
- }
- .edit-post-editor__inserter-panel-header {
- padding-top: 8px;
- padding-right: 8px;
- display: flex;
- justify-content: flex-end;
- }
- @media (min-width: 782px) {
- .edit-post-editor__inserter-panel-header {
- display: none;
- }
- }
- .edit-post-editor__inserter-panel-content,
- .edit-post-editor__list-view-panel-content {
- height: calc(100% - 36px - 8px);
- }
- @media (min-width: 782px) {
- .edit-post-editor__inserter-panel-content {
- height: 100%;
- }
- }
- .edit-post-editor__list-view-panel-header {
- align-items: center;
- border-bottom: 1px solid #ddd;
- display: flex;
- justify-content: space-between;
- height: 48px;
- padding-left: 16px;
- padding-right: 4px;
- }
- .edit-post-editor__list-view-panel-content {
- overflow-y: auto;
- padding: 8px;
- }
- .components-panel__header.edit-post-sidebar__panel-tabs {
- justify-content: flex-start;
- padding-left: 0;
- padding-right: 16px;
- border-top: 0;
- 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) {
- .components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon {
- display: flex;
- }
- }
- .components-panel__body.is-opened.edit-post-last-revision__panel {
- padding: 0;
- height: 48px;
- }
- .editor-post-last-revision__title.components-button {
- padding: 16px;
- }
- .editor-post-author__select {
- margin: -5px 0;
- width: 100%;
- }
- @supports (position: sticky) {
- .editor-post-author__select {
- width: auto;
- }
- }
- .edit-post-post-link__link-post-name {
- font-weight: 600;
- }
- .edit-post-post-link__preview-label {
- font-weight: 400;
- margin: 0;
- }
- .edit-post-post-link__link {
- text-align: left;
- word-wrap: break-word;
- display: block;
- }
- /* rtl:begin:ignore */
- .edit-post-post-link__preview-link-container {
- direction: ltr;
- }
- /* rtl:end:ignore */
- .edit-post-post-schedule {
- width: 100%;
- position: relative;
- justify-content: left;
- }
- .edit-post-post-schedule span {
- display: block;
- width: 45%;
- }
- .components-button.edit-post-post-schedule__toggle {
- text-align: right;
- }
- .edit-post-post-schedule__dialog .components-popover__content > div {
- padding: 0;
- }
- .editor-post-slug__input {
- margin: -5px 0;
- padding: 2px;
- }
- .edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft {
- margin-top: 15px;
- width: 100%;
- text-align: center;
- }
- .edit-post-post-visibility {
- width: 100%;
- justify-content: left;
- }
- .edit-post-post-visibility span {
- display: block;
- width: 45%;
- }
- @media (min-width: 782px) {
- .edit-post-post-visibility__dialog .components-popover__content {
- width: 257px;
- }
- }
- .edit-post-post-visibility__dialog-legend {
- font-weight: 600;
- }
- .edit-post-post-visibility__choice {
- margin: 10px 0;
- }
- .edit-post-post-visibility__dialog-radio,
- .edit-post-post-visibility__dialog-label {
- vertical-align: top;
- }
- .edit-post-post-visibility__dialog-password-input {
- width: calc(100% - 20px);
- margin-left: 20px;
- }
- .edit-post-post-visibility__dialog-info {
- color: #757575;
- padding-left: 20px;
- font-style: italic;
- margin: 4px 0 0;
- line-height: 1.4;
- }
- .components-button.edit-post-sidebar__panel-tab {
- border-radius: 0;
- height: 48px;
- background: transparent;
- border: none;
- box-shadow: none;
- cursor: pointer;
- display: inline-block;
- padding: 3px 15px;
- margin-left: 0;
- 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 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 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 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
- }
- @media (min-width: 782px) {
- .edit-post-template__modal .components-base-control {
- width: 320px;
- }
- }
- .edit-post-template__modal .components-modal__header {
- border-bottom: none;
- }
- .edit-post-template__modal .components-modal__content::before {
- margin-bottom: 4px;
- }
- .edit-post-template__modal-actions {
- margin-top: 12px;
- }
- .edit-post-template-modal__tip {
- padding: 16px 24px;
- background: #f0f0f0;
- border-radius: 2px;
- }
- @media (min-width: 782px) {
- .edit-post-template-modal__tip {
- width: 240px;
- }
- }
- .edit-post-template__actions button:not(:last-child) {
- margin-right: 8px;
- }
- h2.edit-post-template-summary__title {
- margin: 0;
- line-height: 24px;
- }
- .edit-post-text-editor {
- position: relative;
- width: 100%;
- background-color: #fff;
- flex-grow: 1;
- }
- .edit-post-text-editor .editor-post-title.editor-post-title__block {
- max-width: none;
- line-height: 1.4;
- }
- .edit-post-text-editor .editor-post-title.editor-post-title__block .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 .editor-post-title.editor-post-title__block .editor-post-title__input {
- border: 1px solid #949494;
- margin-bottom: -1px;
- padding: 16px;
- }
- @media (min-width: 600px) {
- .edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input {
- padding: 24px;
- }
- }
- .edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- @media (min-width: 600px) {
- .edit-post-text-editor .editor-post-title.editor-post-title__block {
- padding: 0;
- }
- }
- .edit-post-text-editor__body {
- width: 100%;
- padding: 0 12px 12px 12px;
- max-width: 1080px;
- margin-left: auto;
- margin-right: auto;
- }
- @media (min-width: 960px) {
- .edit-post-text-editor__body {
- padding: 16px 24px 96px 24px;
- padding: 0 24px 24px 24px;
- }
- }
- .edit-post-text-editor__toolbar {
- position: sticky;
- z-index: 1;
- top: 0;
- left: 0;
- right: 0;
- display: flex;
- background: rgba(255, 255, 255, 0.8);
- 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;
- }
- .edit-post-visual-editor {
- position: relative;
- display: flex;
- flex-flow: column;
- background-color: #2f2f2f;
- 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: sticky) {
- .edit-post-visual-editor {
- flex-basis: 100%;
- }
- }
- .edit-post-visual-editor__post-title-wrapper .editor-post-title {
- margin-top: 2em;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 0;
- }
- .edit-post-visual-editor__exit-template-mode {
- position: absolute;
- top: 8px;
- left: 8px;
- color: #fff;
- }
- .edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]), .edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]), .edit-post-visual-editor__exit-template-mode:hover {
- color: #f0f0f0;
- }
- .edit-post-visual-editor__content-area {
- width: 100%;
- height: 100%;
- position: relative;
- display: flex;
- }
- .edit-post-welcome-guide {
- width: 312px;
- }
- .edit-post-welcome-guide__image {
- background: #00a0d2;
- margin: 0 0 16px;
- }
- .edit-post-welcome-guide__heading {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 24px;
- line-height: 1.4;
- margin: 16px 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;
- }
- /**
- * Animations
- */
- @keyframes edit-post__fade-in-animation {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- html.wp-toolbar {
- background: #fff;
- }
- body.block-editor-page {
- background: #fff;
- /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
- 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%;
- }
- .block-editor-page #wpwrap {
- overflow-y: auto;
- }
- @media (min-width: 782px) {
- .block-editor-page #wpwrap {
- overflow-y: initial;
- }
- }
- .edit-post-header,
- .edit-post-visual-editor,
- .edit-post-text-editor,
- .edit-post-sidebar,
- .editor-post-publish-panel,
- .components-popover,
- .components-modal__frame,
- .edit-post-editor__inserter-panel {
- 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-editor__inserter-panel *,
- .edit-post-editor__inserter-panel *::before,
- .edit-post-editor__inserter-panel *::after {
- box-sizing: inherit;
- }
- @media (min-width: 600px) {
- .block-editor__container {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- min-height: calc(100vh - 46px);
- }
- }
- @media (min-width: 782px) {
- .block-editor__container {
- min-height: calc(100vh - 32px);
- }
- body.is-fullscreen-mode .block-editor__container {
- min-height: 100vh;
- }
- }
- .block-editor__container img {
- max-width: 100%;
- height: auto;
- }
- .block-editor__container iframe {
- width: 100%;
- }
- body.admin-color-light {
- --wp-admin-theme-color: #0085ba;
- --wp-admin-theme-color-darker-10: #0073a1;
- --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;
- }
- }
- body.admin-color-modern {
- --wp-admin-theme-color: #3858e9;
- --wp-admin-theme-color-darker-10: #2145e6;
- --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;
- }
- }
- body.admin-color-blue {
- --wp-admin-theme-color: #096484;
- --wp-admin-theme-color-darker-10: #07526c;
- --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;
- }
- }
- body.admin-color-coffee {
- --wp-admin-theme-color: #46403c;
- --wp-admin-theme-color-darker-10: #383330;
- --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;
- }
- }
- body.admin-color-ectoplasm {
- --wp-admin-theme-color: #523f6d;
- --wp-admin-theme-color-darker-10: #46365d;
- --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;
- }
- }
- body.admin-color-midnight {
- --wp-admin-theme-color: #e14d43;
- --wp-admin-theme-color-darker-10: #dd382d;
- --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;
- }
- }
- body.admin-color-ocean {
- --wp-admin-theme-color: #627c83;
- --wp-admin-theme-color-darker-10: #576e74;
- --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;
- }
- }
- body.admin-color-sunrise {
- --wp-admin-theme-color: #dd823b;
- --wp-admin-theme-color-darker-10: #d97426;
- --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;
- }
- }
|