123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256 |
- /**
- * 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.
- */
- /**
- * Converts a hex value into the rgb equivalent.
- *
- * @param {string} hex - the hexadecimal value to convert
- * @return {string} comma separated rgb values
- */
- /**
- * 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--rgb: 0, 124, 186;
- --wp-admin-theme-color-darker-10: #006ba1;
- --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
- --wp-admin-theme-color-darker-20: #005a87;
- --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
- --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;
- }
- }
- @media (min-width: 782px) {
- .components-panel__header + .interface-complementary-area-header {
- margin-top: 0;
- }
- }
- .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 {
- font-size: 13px;
- color: #1e1e1e;
- margin-bottom: 1.5em;
- }
- .interface-complementary-area h3 {
- font-size: 11px;
- text-transform: uppercase;
- font-weight: 500;
- 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-more-menu-dropdown {
- margin-left: -4px;
- }
- .interface-more-menu-dropdown .components-button {
- width: auto;
- padding: 0 2px;
- }
- @media (min-width: 600px) {
- .interface-more-menu-dropdown {
- margin-left: 0;
- }
- .interface-more-menu-dropdown .components-button {
- padding: 0 4px;
- }
- }
- .interface-more-menu-dropdown__content .components-popover__content {
- min-width: 280px;
- }
- @media (min-width: 480px) {
- .interface-more-menu-dropdown__content .components-popover__content {
- width: auto;
- max-width: 480px;
- }
- }
- .interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu {
- padding: 0;
- }
- .components-popover.interface-more-menu-dropdown__content {
- z-index: 99998;
- }
- .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;
- }
- @media (min-width: 600px) {
- .interface-preferences-modal {
- width: calc(100% - 32px);
- height: calc(100% - 120px);
- }
- }
- @media (min-width: 782px) {
- .interface-preferences-modal {
- width: 750px;
- }
- }
- @media (min-width: 960px) {
- .interface-preferences-modal {
- height: 70%;
- }
- }
- @media (max-width: 781px) {
- .interface-preferences-modal .components-modal__content {
- padding: 0;
- }
- .interface-preferences-modal .components-modal__content::before {
- content: none;
- }
- }
- .interface-preferences__tabs .components-tab-panel__tabs {
- position: absolute;
- top: 84px;
- left: 16px;
- width: 160px;
- }
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
- border-radius: 2px;
- font-weight: 400;
- }
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
- background: #f0f0f0;
- box-shadow: none;
- font-weight: 500;
- }
- .interface-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);
- }
- .interface-preferences__tabs .components-tab-panel__tab-content {
- padding-left: 24px;
- margin-left: 160px;
- }
- @media (max-width: 781px) {
- .interface-preferences__provider {
- height: 100%;
- }
- }
- .interface-preferences-modal__section {
- margin: 0 0 2.5rem 0;
- }
- .interface-preferences-modal__section:last-child {
- margin: 0;
- }
- .interface-preferences-modal__section-title {
- font-size: 0.9rem;
- font-weight: 600;
- margin-top: 0;
- }
- .interface-preferences-modal__section-description {
- margin: -8px 0 8px 0;
- font-size: 12px;
- font-style: normal;
- color: #757575;
- }
- .interface-preferences-modal__option .components-base-control .components-base-control__field {
- align-items: center;
- display: flex;
- margin-bottom: 0;
- }
- .interface-preferences-modal__option .components-base-control .components-base-control__field > label {
- flex-grow: 1;
- padding: 0.6rem 0 0.6rem 10px;
- }
- .interface-preferences-modal__option .components-base-control__help {
- margin: -8px 0 8px 58px;
- font-size: 12px;
- font-style: normal;
- color: #757575;
- }
- .edit-site-block-editor__editor-styles-wrapper .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-site-block-editor__editor-styles-wrapper .components-button.is-tertiary, .edit-site-block-editor__editor-styles-wrapper .components-button.has-icon {
- padding: 6px;
- }
- .edit-site-visual-editor {
- position: relative;
- background-color: #2f2f2f;
- align-items: center;
- }
- .edit-site-visual-editor.is-focus-mode {
- padding: 48px;
- }
- .edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
- border-radius: 2px;
- }
- .edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
- overflow: visible;
- }
- .edit-site-visual-editor .components-resizable-box__container {
- margin: 0 auto;
- overflow: auto;
- }
- .edit-site-visual-editor__back-button {
- position: absolute;
- top: 8px;
- left: 8px;
- color: #fff;
- }
- .edit-site-visual-editor__back-button:active:not([aria-disabled=true]), .edit-site-visual-editor__back-button:focus:not([aria-disabled=true]), .edit-site-visual-editor__back-button:hover {
- color: #f0f0f0;
- }
- .resizable-editor__drag-handle {
- position: absolute;
- top: 0;
- bottom: 0;
- padding: 0;
- margin: auto 0;
- width: 4px;
- height: 100px;
- -webkit-appearance: none;
- appearance: none;
- cursor: ew-resize;
- outline: none;
- background: #949494;
- border-radius: 2px;
- border: 0;
- }
- .resizable-editor__drag-handle.is-left {
- left: -16px;
- }
- .resizable-editor__drag-handle.is-right {
- right: -16px;
- }
- .resizable-editor__drag-handle:hover, .resizable-editor__drag-handle:active {
- background: #ccc;
- }
- .resizable-editor__drag-handle:focus {
- box-shadow: 0 0 0 1px #2f2f2f, 0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color);
- }
- .edit-site-code-editor {
- position: relative;
- width: 100%;
- background-color: #fff;
- flex-grow: 1;
- }
- .edit-site-code-editor__body {
- width: 100%;
- padding: 0 12px 12px 12px;
- max-width: 1080px;
- margin-left: auto;
- margin-right: auto;
- }
- @media (min-width: 960px) {
- .edit-site-code-editor__body {
- padding: 16px 24px 96px 24px;
- padding: 0 24px 24px 24px;
- }
- }
- .edit-site-code-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-site-code-editor__toolbar {
- padding: 12px;
- }
- }
- @media (min-width: 960px) {
- .edit-site-code-editor__toolbar {
- padding: 12px 24px;
- }
- }
- .edit-site-code-editor__toolbar h2 {
- line-height: 36px;
- margin: 0 auto 0 0;
- font-size: 13px;
- color: #1e1e1e;
- }
- .edit-site-code-editor__toolbar .components-button svg {
- order: 1;
- }
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
- border: 1px solid #949494;
- border-radius: 0;
- display: block;
- margin: 0;
- width: 100%;
- box-shadow: none;
- resize: none;
- overflow: hidden;
- font-family: Menlo, Consolas, monaco, monospace;
- line-height: 2.4;
- min-height: 200px;
- transition: border 0.1s ease-out, box-shadow 0.1s linear;
- padding: 16px;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px !important;
- }
- @media (prefers-reduced-motion: reduce) {
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
- padding: 24px;
- }
- }
- @media (min-width: 600px) {
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
- font-size: 15px !important;
- }
- }
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- position: relative;
- }
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area::-moz-placeholder {
- color: rgba(30, 30, 30, 0.62);
- opacity: 1;
- }
- textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .edit-site-global-styles-preview {
- display: flex;
- align-items: center;
- justify-content: center;
- line-height: 1;
- cursor: pointer;
- }
- .edit-site-global-styles-preview__iframe {
- max-width: 100%;
- display: block;
- }
- .edit-site-typography-panel__preview {
- display: flex;
- align-items: center;
- justify-content: center;
- min-height: 100px;
- margin-bottom: 16px;
- background: #f0f0f0;
- border-radius: 2px;
- }
- .edit-site-global-styles-screen-typography {
- margin: 16px;
- }
- .edit-site-global-styles-screen-typography__indicator {
- height: 24px;
- width: 24px;
- font-size: 14px;
- display: flex !important;
- align-items: center;
- justify-content: center;
- border-radius: 2px;
- }
- .edit-site-global-styles-screen-colors {
- margin: 16px;
- }
- .edit-site-global-styles-screen-colors .component-color-indicator {
- background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
- }
- .edit-site-global-styles-header__description,
- .edit-site-block-types-search {
- padding: 0 16px;
- }
- .edit-site-global-styles-subtitle {
- margin-bottom: 0 !important;
- text-transform: uppercase;
- font-weight: 500 !important;
- font-size: 11px !important;
- }
- .edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle {
- margin-right: 16px;
- margin-left: 16px;
- width: unset;
- }
- .edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle .components-toggle-group-control {
- min-height: 32px;
- }
- .edit-site-screen-text-color__control,
- .edit-site-screen-link-color__control,
- .edit-site-screen-background-color__control {
- padding: 16px;
- }
- .edit-site-global-styles-variations_item {
- box-sizing: border-box;
- }
- .edit-site-global-styles-variations_item .edit-site-global-styles-variations_item-preview {
- padding: 2px;
- border-radius: 2px;
- border: #e0e0e0 1px solid;
- }
- .edit-site-global-styles-variations_item.is-active .edit-site-global-styles-variations_item-preview {
- border: #1e1e1e 1px solid;
- }
- .edit-site-global-styles-variations_item:hover .edit-site-global-styles-variations_item-preview {
- border: var(--wp-admin-theme-color) 1px solid;
- }
- .edit-site-global-styles-variations_item:focus .edit-site-global-styles-variations_item-preview {
- border: var(--wp-admin-theme-color) 1px solid;
- }
- .edit-site-global-styles-icon-with-current-color {
- fill: currentColor;
- }
- .edit-site-global-styles__color-indicator-wrapper {
- height: 24px;
- }
- .edit-site-header {
- align-items: center;
- background-color: #fff;
- display: flex;
- height: 60px;
- box-sizing: border-box;
- width: 100%;
- justify-content: space-between;
- }
- body.is-fullscreen-mode .edit-site-header {
- padding-left: 60px;
- transition: padding-left 20ms linear;
- transition-delay: 80ms;
- }
- @media (prefers-reduced-motion: reduce) {
- body.is-fullscreen-mode .edit-site-header {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-header .edit-site-header_start,
- .edit-site-header .edit-site-header_end {
- display: flex;
- }
- .edit-site-header .edit-site-header_center {
- display: flex;
- align-items: center;
- height: 100%;
- flex-grow: 1;
- justify-content: center;
- min-width: 0;
- }
- .edit-site-header .edit-site-header_end {
- justify-content: flex-end;
- }
- body.is-navigation-sidebar-open .edit-site-header {
- padding-left: 0;
- transition: padding-left 20ms linear;
- transition-delay: 0ms;
- }
- @media (prefers-reduced-motion: reduce) {
- body.is-navigation-sidebar-open .edit-site-header {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (max-width: 959px) {
- body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle ~ .components-button,
- body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary) {
- display: none;
- }
- body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button {
- margin-right: 0;
- }
- }
- .edit-site-header__toolbar {
- display: flex;
- align-items: center;
- padding-left: 8px;
- }
- @media (min-width: 600px) {
- .edit-site-header__toolbar {
- padding-left: 24px;
- }
- }
- @media (min-width: 1280px) {
- .edit-site-header__toolbar {
- padding-right: 8px;
- }
- }
- .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle {
- margin-right: 8px;
- min-width: 32px;
- width: 32px;
- height: 32px;
- padding: 0;
- }
- .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
- transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg {
- transform: rotate(45deg);
- }
- .edit-site-header__toolbar-switchers {
- align-items: center;
- display: flex;
- }
- .edit-site-header__toolbar-switchers-separator {
- margin: 0 -6px 0;
- }
- /**
- * Buttons in the Toolbar
- */
- .edit-site-header__actions {
- display: inline-flex;
- align-items: center;
- padding-right: 4px;
- }
- .edit-site-header__actions .interface-pinned-items {
- display: none;
- }
- @media (min-width: 782px) {
- .edit-site-header__actions .interface-pinned-items {
- display: inline-flex;
- }
- }
- .edit-site-header__actions .editor-post-saved-state,
- .edit-site-header__actions .components-button.components-button {
- margin-right: 4px;
- }
- @media (min-width: 600px) {
- .edit-site-header__actions .editor-post-saved-state,
- .edit-site-header__actions .components-button.components-button {
- margin-right: 12px;
- }
- }
- .edit-site-header__actions .editor-post-saved-state,
- .edit-site-header__actions .components-button.is-tertiary {
- padding: 0 6px;
- }
- .edit-site-header__actions .edit-site-more-menu .components-button,
- .edit-site-header__actions .interface-pinned-items .components-button {
- margin-right: 0;
- }
- @media (min-width: 600px) {
- .edit-site-header__actions {
- padding-right: 16px;
- }
- }
- .edit-site-header__actions-more-menu {
- margin-left: -4px;
- }
- .edit-site-header__actions-more-menu .components-icon-button {
- padding: 8px 2px;
- width: auto;
- }
- @media (min-width: 600px) {
- .edit-site-header__actions-more-menu {
- margin-left: 4px;
- }
- .edit-site-header__actions-more-menu .components-icon-button {
- padding: 8px 4px;
- }
- }
- .show-icon-labels .edit-site-header .components-button.has-icon {
- width: auto;
- }
- .show-icon-labels .edit-site-header .components-button.has-icon svg {
- display: none;
- }
- .show-icon-labels .edit-site-header .components-button.has-icon::after {
- content: attr(aria-label);
- }
- .show-icon-labels .edit-site-header .components-button.has-icon[aria-disabled=true] {
- background-color: transparent;
- }
- .show-icon-labels .edit-site-header .is-tertiary:active {
- box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
- background-color: transparent;
- }
- .show-icon-labels .edit-site-header .edit-site-save-button__button {
- padding-left: 6px;
- padding-right: 6px;
- margin-right: 4px;
- }
- .show-icon-labels .edit-site-header .block-editor-post-preview__button-toggle {
- margin-right: 4px;
- }
- .show-icon-labels .edit-site-header .edit-site-header-toolbar__inserter-toggle.edit-site-header-toolbar__inserter-toggle,
- .show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info {
- height: 36px;
- padding: 0 6px;
- }
- .show-icon-labels .edit-site-header .edit-site-header-toolbar__inserter-toggle.edit-site-header-toolbar__inserter-toggle::after,
- .show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info::after {
- content: none;
- }
- .edit-site-document-actions {
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding: 0 8px;
- height: 100%;
- min-width: 0;
- }
- .edit-site-document-actions .edit-site-document-actions__title-wrapper {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- min-width: 0;
- }
- .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown {
- display: inline-flex;
- margin-left: 4px;
- }
- .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button {
- min-width: 0;
- padding: 0;
- }
- .edit-site-document-actions .edit-site-document-actions__title-wrapper > h1 {
- margin: 0;
- min-width: 0;
- }
- .edit-site-document-actions .edit-site-document-actions__title {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .edit-site-document-actions .edit-site-document-actions__secondary-item {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 0;
- opacity: 0;
- padding: 0;
- transition: all ease 0.2s;
- background: #e0e0e0;
- border-radius: 2px;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-document-actions .edit-site-document-actions__secondary-item {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item {
- opacity: 1;
- padding: 0 4px;
- max-width: 180px;
- margin-left: 6px;
- }
- .edit-site-document-actions__info-dropdown > .components-popover__content > div {
- padding: 0;
- min-width: 240px;
- }
- .edit-site-navigation-toggle {
- align-items: center;
- background: #1e1e1e;
- border-radius: 0;
- display: flex;
- position: absolute;
- z-index: 31;
- height: 60px;
- width: 60px;
- }
- .edit-site-navigation-toggle__button.components-button {
- align-items: center;
- background: #1e1e1e;
- border-radius: 0;
- color: #fff;
- height: 61px;
- width: 60px;
- z-index: 1;
- margin-bottom: -1px;
- min-width: 60px;
- }
- .edit-site-navigation-toggle__button.components-button:hover, .edit-site-navigation-toggle__button.components-button:active {
- color: #fff;
- }
- .edit-site-navigation-toggle__button.components-button:focus {
- box-shadow: none;
- }
- .edit-site-navigation-toggle__button.components-button::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) #1e1e1e;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-navigation-toggle__button.components-button::before {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-navigation-toggle__button.components-button:hover::before {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
- }
- .edit-site-navigation-toggle__button.components-button.has-icon:hover::before {
- box-shadow: none;
- }
- .edit-site-navigation-toggle__button.components-button: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-site-navigation-toggle__button.components-button .edit-site-navigation-toggle__site-icon {
- width: 36px;
- height: 36px;
- border-radius: 2px;
- -o-object-fit: cover;
- object-fit: cover;
- margin-top: -1px;
- }
- .edit-site-navigation-panel {
- height: 100%;
- position: relative;
- width: 0;
- overflow: hidden;
- background: #1e1e1e;
- color: #fff;
- transition: width 100ms linear;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-navigation-panel {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 782px) {
- .interface-interface-skeleton.has-footer .edit-site-navigation-panel {
- height: calc(100% - 25px);
- }
- }
- .edit-site-navigation-panel__inner {
- position: relative;
- width: 300px;
- height: 100%;
- overflow: hidden;
- visibility: hidden;
- transition: visibility 100ms linear;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-navigation-panel__inner {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-navigation-panel.is-open {
- width: 300px;
- }
- .edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner {
- visibility: visible;
- }
- .edit-site-navigation-panel__site-title-container {
- height: 60px;
- padding-left: 60px;
- margin: 0 16px 0 8px;
- display: flex;
- align-items: center;
- }
- .edit-site-navigation-panel__site-title {
- font-style: normal;
- font-weight: 600;
- font-size: 14px;
- /* Matches menu items */
- line-height: 20px;
- color: #ddd;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- .edit-site-navigation-panel__scroll-container {
- overflow-x: hidden;
- overflow-y: auto;
- height: calc(100% - 60px);
- }
- .edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary {
- height: 36px;
- margin-top: 24px;
- padding: 8px 16px 8px 8px;
- }
- .edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled) {
- border-bottom-color: transparent;
- }
- .edit-site-navigation-panel__preview {
- display: none;
- border: 1px solid #ccc;
- width: 300px;
- padding: 16px;
- background: #fff;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
- border-radius: 2px;
- position: absolute;
- top: 73px;
- left: 312px;
- color: #1e1e1e;
- z-index: 32;
- }
- @media (min-width: 782px) {
- .edit-site-navigation-panel__preview {
- display: block;
- }
- }
- .edit-site-navigation-panel__template-item {
- display: block;
- }
- .edit-site-navigation-panel__template-item .components-button {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: center;
- height: auto;
- min-height: 36px;
- text-align: left;
- padding-left: 16px;
- padding-right: 16px;
- color: inherit;
- }
- .edit-site-navigation-panel__template-item-title {
- font-size: 14px;
- line-height: 20px;
- }
- .edit-site-navigation-panel__template-item-title em {
- margin-right: 1ch;
- }
- .edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading {
- text-transform: capitalize;
- }
- .edit-site-navigation-panel__template-part-item .components-navigation__item-title {
- text-transform: capitalize;
- }
- .components-navigation__item + .edit-site-navigation-panel__template-item {
- margin-top: 16px;
- }
- .edit-site-navigation-panel__template-item + .edit-site-navigation-panel__template-item {
- margin-top: 8px;
- }
- .edit-site-navigation-panel__info-wrapper {
- padding: 4px 0;
- }
- .edit-site-navigation-panel__template-item-description {
- padding-top: 8px;
- font-size: 12px;
- line-height: 16px;
- }
- .edit-site-navigation-panel__new-template-dropdown {
- margin: 0 0 0 12px;
- }
- .edit-site-navigation-panel__new-template-dropdown button {
- margin: 0;
- }
- @media (min-width: 600px) {
- .edit-site-navigation-panel__new-template-popover {
- min-width: 300px;
- }
- }
- .edit-site-list-header {
- position: relative;
- align-items: center;
- background-color: #fff;
- display: flex;
- height: 60px;
- box-sizing: border-box;
- width: 100%;
- justify-content: flex-end;
- padding-right: 16px;
- }
- body.is-fullscreen-mode .edit-site-list-header {
- padding-left: 60px;
- transition: padding-left 20ms linear;
- transition-delay: 80ms;
- }
- @media (prefers-reduced-motion: reduce) {
- body.is-fullscreen-mode .edit-site-list-header {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-list-header .edit-site-list-header__title {
- position: absolute;
- left: 0;
- width: 100%;
- text-align: center;
- font-size: 20px;
- padding: 0;
- margin: 0;
- }
- .edit-site-list-header__right {
- position: relative;
- }
- .edit-site .edit-site-list .interface-interface-skeleton__editor {
- min-width: 100%;
- }
- @media (min-width: 782px) {
- .edit-site .edit-site-list .interface-interface-skeleton__editor {
- min-width: 0;
- }
- }
- .edit-site .edit-site-list .interface-interface-skeleton__content {
- background: #fff;
- align-items: center;
- padding: 16px;
- }
- @media (min-width: 782px) {
- .edit-site .edit-site-list .interface-interface-skeleton__content {
- padding: 72px;
- }
- }
- .edit-site-list-table {
- width: 100%;
- border: 1px solid #ddd;
- border-radius: 2px;
- margin: 0;
- overflow: hidden;
- border-spacing: 0;
- max-width: 960px;
- }
- .edit-site-list-table tr {
- display: flex;
- align-items: center;
- padding: 16px;
- box-sizing: border-box;
- border-top: 1px solid #f0f0f0;
- margin: 0;
- }
- .edit-site-list-table tr:first-child {
- border-top: 0;
- }
- @media (min-width: 782px) {
- .edit-site-list-table tr {
- padding: 24px 32px;
- }
- }
- .edit-site-list-table tr .edit-site-list-table-column:nth-child(1) {
- width: calc(60% - 18px);
- padding-right: 24px;
- }
- .edit-site-list-table tr .edit-site-list-table-column:nth-child(1) a {
- display: inline-block;
- text-decoration: none;
- font-weight: 500;
- margin-bottom: 4px;
- }
- .edit-site-list-table tr .edit-site-list-table-column:nth-child(2) {
- width: calc(40% - 18px);
- }
- .edit-site-list-table tr .edit-site-list-table-column:nth-child(3) {
- min-width: 36px;
- flex-shrink: 0;
- }
- .edit-site-list-table tr.edit-site-list-table-head {
- font-size: 16px;
- font-weight: 600;
- text-align: left;
- color: #1e1e1e;
- border-top: none;
- border-bottom: 1px solid #ddd;
- }
- .edit-site-list-table tr.edit-site-list-table-head th {
- font-weight: inherit;
- }
- @media (min-width: 782px) {
- .edit-site-list.is-navigation-open .components-snackbar-list {
- margin-left: 300px;
- }
- }
- @media (min-width: 782px) {
- .edit-site-list__rename-modal .components-base-control {
- width: 320px;
- }
- }
- .edit-site-list__rename-modal .components-modal__header {
- border-bottom: none;
- }
- .edit-site-list__rename-modal .components-modal__content::before {
- margin-bottom: 4px;
- }
- .edit-site-list__rename-modal-actions {
- margin-top: 12px;
- }
- .edit-site-template__actions button:not(:last-child) {
- margin-right: 8px;
- }
- .edit-site-list-added-by__icon {
- display: flex;
- flex-shrink: 0;
- position: relative;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- background: #2f2f2f;
- border-radius: 100%;
- }
- .edit-site-list-added-by__icon svg {
- fill: #fff;
- }
- .edit-site-list-added-by__icon.is-customized::after {
- position: absolute;
- content: "";
- background: var(--wp-admin-theme-color);
- height: 8px;
- width: 8px;
- outline: 2px solid #fff;
- border-radius: 100%;
- top: -1px;
- right: -1px;
- }
- .edit-site-list-added-by__avatar {
- flex-shrink: 0;
- overflow: hidden;
- border-radius: 100%;
- background: #2f2f2f;
- width: 32px;
- height: 32px;
- }
- .edit-site-list-added-by__avatar img {
- width: 32px;
- height: 32px;
- -o-object-fit: cover;
- object-fit: cover;
- opacity: 0;
- transition: opacity 0.1s linear;
- }
- @media (prefers-reduced-motion: reduce) {
- .edit-site-list-added-by__avatar img {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .edit-site-list-added-by__avatar.is-loaded img {
- opacity: 1;
- }
- .edit-site-new-template-dropdown .components-dropdown-menu__toggle {
- padding: 6px 12px;
- }
- @media (min-width: 600px) {
- .edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover {
- min-width: 300px;
- }
- }
- .edit-site-sidebar {
- width: 280px;
- }
- .edit-site-sidebar > .components-panel {
- border-left: 0;
- border-right: 0;
- margin-bottom: -1px;
- margin-top: -1px;
- }
- .edit-site-sidebar > .components-panel > .components-panel__header {
- background: #f0f0f0;
- }
- .edit-site-sidebar .block-editor-block-inspector__card {
- margin: 0;
- }
- .edit-site-global-styles-sidebar {
- display: flex;
- flex-direction: column;
- min-height: 100%;
- }
- .edit-site-global-styles-sidebar__panel, .edit-site-global-styles-sidebar__navigator-provider {
- display: flex;
- flex-direction: column;
- flex: 1;
- }
- .edit-site-global-styles-sidebar__navigator-screen {
- flex: 1;
- }
- .edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon {
- margin-left: 0;
- }
- .edit-site-global-styles-sidebar__reset-button.components-button {
- margin-left: auto;
- }
- .edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
- font-size: 15.6px;
- font-weight: 500;
- }
- .edit-site-global-styles-sidebar .components-navigation__item > button span {
- font-weight: 500;
- }
- .edit-site-typography-panel,
- .edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
- border: 0;
- }
- .edit-site-global-styles-sidebar .components-tools-panel-item.single-column {
- grid-column: span 1;
- }
- .edit-site-global-styles-sidebar__blocks-group {
- padding-top: 24px;
- border-top: 1px solid #e0e0e0;
- }
- .edit-site-global-styles-sidebar__blocks-group-help {
- padding: 0 16px;
- }
- .edit-site-global-styles-color-palette-panel,
- .edit-site-global-styles-gradient-palette-panel {
- padding: 16px;
- }
- .edit-site-global-styles-sidebar__beta {
- display: inline-flex;
- margin-left: 8px;
- padding: 0 8px;
- height: 24px;
- border-radius: 2px;
- background-color: #1e1e1e;
- color: #fff;
- align-items: center;
- font-size: 12px;
- line-height: 1;
- }
- .components-panel__header.edit-site-sidebar__panel-tabs {
- justify-content: flex-start;
- padding-left: 0;
- padding-right: 16px;
- border-top: 0;
- margin-top: 0;
- }
- .components-panel__header.edit-site-sidebar__panel-tabs ul {
- display: flex;
- }
- .components-panel__header.edit-site-sidebar__panel-tabs li {
- margin: 0;
- }
- .components-panel__header.edit-site-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-site-sidebar__panel-tabs .components-button.has-icon {
- display: flex;
- }
- }
- .components-button.edit-site-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-site-sidebar__panel-tab::after {
- content: attr(data-label);
- display: block;
- font-weight: 600;
- height: 0;
- overflow: hidden;
- speak: none;
- visibility: hidden;
- }
- .components-button.edit-site-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-site-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-site-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-site-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);
- }
- @keyframes loadingpulse {
- 0% {
- opacity: 1;
- }
- 50% {
- opacity: 0.5;
- }
- 100% {
- opacity: 1;
- }
- }
- .edit-site-navigation-inspector {
- padding: 16px;
- }
- .edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
- align-items: flex-start;
- white-space: normal;
- }
- .edit-site-navigation-inspector .block-editor-list-view-block__title {
- margin-top: 3px;
- }
- .edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
- padding-right: 0;
- }
- .edit-site-navigation-inspector__placeholder {
- padding: 8px;
- margin: 8px;
- background-color: #f0f0f0;
- animation: loadingpulse 1s linear infinite;
- animation-delay: 0.5s;
- }
- .edit-site-navigation-inspector__placeholder.is-child {
- margin-left: 24px;
- width: 50%;
- }
- .edit-site-template-card {
- display: flex;
- align-items: flex-start;
- }
- .edit-site-template-card__content {
- flex-grow: 1;
- margin-bottom: 4px;
- }
- .edit-site-template-card__title {
- font-weight: 500;
- line-height: 24px;
- }
- .edit-site-template-card__title.edit-site-template-card__title {
- margin: 0 0 4px;
- }
- .edit-site-template-card__description {
- font-size: 13px;
- margin: 0 0 16px;
- }
- .edit-site-template-card__icon {
- flex: 0 0 24px;
- margin-right: 12px;
- width: 24px;
- height: 24px;
- }
- h3.edit-site-template-card__template-areas-title {
- font-weight: 500;
- margin: 0 0 8px;
- }
- .edit-site-template-card__template-areas-list {
- margin: 0;
- }
- .edit-site-template-card__template-areas-list > li {
- margin: 0;
- }
- .edit-site-template-card__template-areas-item {
- width: 100%;
- }
- .edit-site-template-card__template-areas-item.components-button.has-icon {
- padding: 0;
- }
- html #wpadminbar {
- display: none;
- }
- html.wp-toolbar {
- padding-top: 0;
- }
- .edit-site-editor__toggle-save-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-site-editor__toggle-save-panel, .interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel {
- top: auto;
- bottom: 0;
- }
- .edit-site-visual-editor {
- position: relative;
- height: 100%;
- display: block;
- }
- .edit-site-visual-editor iframe {
- display: block;
- width: 100%;
- height: 100%;
- background-color: #fff;
- }
- .edit-site .components-editor-notices__snackbar {
- position: fixed;
- right: 0;
- bottom: 40px;
- padding-left: 16px;
- padding-right: 16px;
- }
- .edit-site .components-editor-notices__snackbar {
- /* Set left position when auto-fold is not on the body element. */
- left: 0;
- }
- @media (min-width: 783px) {
- .edit-site .components-editor-notices__snackbar {
- left: 160px;
- }
- }
- .auto-fold .edit-site .components-editor-notices__snackbar {
- /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
- }
- @media (min-width: 783px) {
- .auto-fold .edit-site .components-editor-notices__snackbar {
- left: 36px;
- }
- }
- @media (min-width: 961px) {
- .auto-fold .edit-site .components-editor-notices__snackbar {
- left: 160px;
- }
- }
- /* Sidebar manually collapsed. */
- .folded .edit-site .components-editor-notices__snackbar {
- left: 0;
- }
- @media (min-width: 783px) {
- .folded .edit-site .components-editor-notices__snackbar {
- left: 36px;
- }
- }
- body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
- left: 0 !important;
- }
- .edit-site-template-details .edit-site-template-details__group {
- margin: 0;
- padding: 16px;
- }
- .edit-site-template-details .edit-site-template-details__group + .edit-site-template-details__group {
- border-top: 1px solid #ccc;
- }
- .edit-site-template-details .edit-site-template-details__title {
- margin: 0;
- }
- .edit-site-template-details .edit-site-template-details__description {
- margin: 12px 0 0;
- color: #757575;
- }
- .edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas {
- padding: 8px;
- }
- .edit-site-template-details .edit-site-template-details__template-areas-item {
- position: relative;
- }
- .edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more {
- position: absolute;
- right: 0;
- top: 0;
- bottom: 0;
- margin: auto 0;
- }
- .edit-site-template-details .edit-site-template-details__revert {
- padding: 12px 8px;
- }
- .edit-site-template-details .edit-site-template-details__revert-button {
- height: auto;
- padding: 4px 8px;
- text-align: left;
- }
- .edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled) {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
- }
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button {
- display: flex;
- justify-content: center;
- background: #1e1e1e;
- color: #fff;
- width: 100%;
- height: 44px;
- border-radius: 0;
- }
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover {
- color: #fff;
- }
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:active {
- color: #ccc;
- }
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled) {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
- }
- .edit-site-create-template-part-modal {
- z-index: 1000001;
- }
- @media (min-width: 600px) {
- .edit-site-create-template-part-modal .components-modal__frame {
- max-width: 500px;
- }
- }
- .edit-site-create-template-part-modal__modal-actions {
- padding-top: 12px;
- }
- .edit-site-create-template-part-modal__area-base-control .components-base-control__label {
- margin: 16px 0 8px;
- cursor: auto;
- }
- .edit-site-create-template-part-modal__area-radio-group {
- width: 100%;
- border: 1px solid #757575;
- border-radius: 2px;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio {
- display: block;
- width: 100%;
- height: 100%;
- text-align: left;
- padding: 12px;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover {
- margin: 0;
- background-color: inherit;
- border-bottom: 1px solid #757575;
- border-radius: 0;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus) {
- box-shadow: none;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus {
- border-bottom: 1px solid #fff;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type {
- border-bottom: none;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] {
- color: #1e1e1e;
- cursor: auto;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div {
- color: #949494;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label {
- padding-top: 4px;
- white-space: normal;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div {
- padding-top: 4px;
- font-size: 12px;
- }
- .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox {
- margin-left: auto;
- min-width: 24px;
- }
- .edit-site-editor__inserter-panel,
- .edit-site-editor__list-view-panel {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .edit-site-editor__list-view-panel {
- min-width: 350px;
- }
- .edit-site-editor__inserter-panel-header {
- padding-top: 8px;
- padding-right: 8px;
- display: flex;
- justify-content: flex-end;
- }
- .edit-site-editor__inserter-panel-content,
- .edit-site-editor__list-view-panel-content {
- height: calc(100% - 36px - 8px);
- }
- @media (min-width: 782px) {
- .edit-site-editor__inserter-panel-content {
- height: 100%;
- }
- }
- .edit-site-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-site-editor__list-view-panel-content {
- overflow-y: auto;
- padding: 8px;
- }
- .edit-site-welcome-guide {
- width: 312px;
- }
- .edit-site-welcome-guide__image {
- background: #00a0d2;
- margin: 0 0 16px;
- }
- .edit-site-welcome-guide__image > img {
- display: block;
- max-width: 100%;
- -o-object-fit: cover;
- object-fit: cover;
- }
- .edit-site-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-site-welcome-guide__text {
- font-size: 13px;
- line-height: 1.4;
- margin: 0 0 16px 0;
- padding: 0 32px;
- }
- .edit-site-welcome-guide__text img {
- vertical-align: bottom;
- }
- .edit-site-welcome-guide__inserter-icon {
- margin: 0 4px;
- vertical-align: text-top;
- }
- .edit-site-keyboard-shortcut-help-modal__section {
- margin: 0 0 2rem 0;
- }
- .edit-site-keyboard-shortcut-help-modal__main-shortcuts .edit-site-keyboard-shortcut-help-modal__shortcut-list {
- margin-top: -25px;
- }
- .edit-site-keyboard-shortcut-help-modal__section-title {
- font-size: 0.9rem;
- font-weight: 600;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut {
- display: flex;
- align-items: baseline;
- padding: 0.6rem 0;
- border-top: 1px solid #ddd;
- margin-bottom: 0;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut:last-child {
- border-bottom: 1px solid #ddd;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut:empty {
- display: none;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-term {
- font-weight: 600;
- margin: 0 0 0 1rem;
- text-align: right;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-description {
- flex: 1;
- margin: 0;
- flex-basis: auto;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
- display: block;
- background: none;
- margin: 0;
- padding: 0;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
- margin-top: 10px;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-key {
- padding: 0.25rem 0.5rem;
- border-radius: 8%;
- margin: 0 0.2rem 0 0.2rem;
- }
- .edit-site-keyboard-shortcut-help-modal__shortcut-key:last-child {
- margin: 0 0 0 0.2rem;
- }
- html.wp-toolbar {
- background: #fff;
- }
- body.appearance_page_gutenberg-edit-site,
- body.site-editor-php {
- 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.appearance_page_gutenberg-edit-site #wpcontent,
- body.site-editor-php #wpcontent {
- padding-left: 0;
- }
- body.appearance_page_gutenberg-edit-site #wpbody-content,
- body.site-editor-php #wpbody-content {
- padding-bottom: 0;
- }
- body.appearance_page_gutenberg-edit-site #wpbody-content > div:not(.edit-site):not(#screen-meta),
- body.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
- display: none;
- }
- body.appearance_page_gutenberg-edit-site #wpfooter,
- body.site-editor-php #wpfooter {
- display: none;
- }
- body.appearance_page_gutenberg-edit-site .a11y-speak-region,
- body.site-editor-php .a11y-speak-region {
- left: -1px;
- top: -1px;
- }
- body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu::after,
- body.appearance_page_gutenberg-edit-site ul#adminmenu > li.current > a.current::after,
- body.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
- body.site-editor-php ul#adminmenu > li.current > a.current::after {
- border-right-color: #fff;
- }
- body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,
- body.site-editor-php .media-frame select.attachment-filters:last-of-type {
- width: auto;
- max-width: 100%;
- }
- .edit-site,
- .components-modal__frame {
- box-sizing: border-box;
- }
- .edit-site *,
- .edit-site *::before,
- .edit-site *::after,
- .components-modal__frame *,
- .components-modal__frame *::before,
- .components-modal__frame *::after {
- box-sizing: inherit;
- }
- @media (min-width: 600px) {
- .edit-site {
- bottom: 0;
- left: 0;
- min-height: 100vh;
- position: absolute;
- right: 0;
- top: 0;
- }
- }
- .edit-site .interface-interface-skeleton {
- top: 0;
- }
- .edit-site .interface-complementary-area__pin-unpin-item.components-button {
- display: none;
- }
- .edit-site .interface-interface-skeleton__content {
- background-color: #2f2f2f;
- }
- /**
- * Animations
- */
- @keyframes edit-post__fade-in-animation {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- body.admin-color-light {
- --wp-admin-theme-color: #0085ba;
- --wp-admin-theme-color--rgb: 0, 133, 186;
- --wp-admin-theme-color-darker-10: #0073a1;
- --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
- --wp-admin-theme-color-darker-20: #006187;
- --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
- --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--rgb: 56, 88, 233;
- --wp-admin-theme-color-darker-10: #2145e6;
- --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
- --wp-admin-theme-color-darker-20: #183ad6;
- --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
- --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--rgb: 9, 100, 132;
- --wp-admin-theme-color-darker-10: #07526c;
- --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
- --wp-admin-theme-color-darker-20: #064054;
- --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
- --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--rgb: 70, 64, 60;
- --wp-admin-theme-color-darker-10: #383330;
- --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
- --wp-admin-theme-color-darker-20: #2b2724;
- --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
- --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--rgb: 82, 63, 109;
- --wp-admin-theme-color-darker-10: #46365d;
- --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
- --wp-admin-theme-color-darker-20: #3a2c4d;
- --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
- --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--rgb: 225, 77, 67;
- --wp-admin-theme-color-darker-10: #dd382d;
- --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
- --wp-admin-theme-color-darker-20: #d02c21;
- --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
- --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--rgb: 98, 124, 131;
- --wp-admin-theme-color-darker-10: #576e74;
- --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
- --wp-admin-theme-color-darker-20: #4c6066;
- --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
- --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--rgb: 221, 130, 59;
- --wp-admin-theme-color-darker-10: #d97426;
- --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
- --wp-admin-theme-color-darker-20: #c36922;
- --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
- --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;
- }
- }
|