No Description

style-rtl.css 137KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551
  1. /**
  2. * Colors
  3. */
  4. /**
  5. * Breakpoints & Media Queries
  6. */
  7. /**
  8. * SCSS Variables.
  9. *
  10. * Please use variables from this sheet to ensure consistency across the UI.
  11. * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  12. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  13. */
  14. /**
  15. * Colors
  16. */
  17. /**
  18. * Fonts & basic variables.
  19. */
  20. /**
  21. * Grid System.
  22. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  23. */
  24. /**
  25. * Dimensions.
  26. */
  27. /**
  28. * Shadows.
  29. */
  30. /**
  31. * Editor widths.
  32. */
  33. /**
  34. * Block & Editor UI.
  35. */
  36. /**
  37. * Block paddings.
  38. */
  39. /**
  40. * React Native specific.
  41. * These variables do not appear to be used anywhere else.
  42. */
  43. /**
  44. * Converts a hex value into the rgb equivalent.
  45. *
  46. * @param {string} hex - the hexadecimal value to convert
  47. * @return {string} comma separated rgb values
  48. */
  49. /**
  50. * Breakpoint mixins
  51. */
  52. /**
  53. * Long content fade mixin
  54. *
  55. * Creates a fading overlay to signify that the content is longer
  56. * than the space allows.
  57. */
  58. /**
  59. * Focus styles.
  60. */
  61. /**
  62. * Applies editor left position to the selector passed as argument
  63. */
  64. /**
  65. * Styles that are reused verbatim in a few places
  66. */
  67. /**
  68. * Allows users to opt-out of animations via OS-level preferences.
  69. */
  70. /**
  71. * Reset default styles for JavaScript UI based pages.
  72. * This is a WP-admin agnostic reset
  73. */
  74. /**
  75. * Reset the WP Admin page styles for Gutenberg-like pages.
  76. */
  77. :root {
  78. --wp-admin-theme-color: #007cba;
  79. --wp-admin-theme-color--rgb: 0, 124, 186;
  80. --wp-admin-theme-color-darker-10: #006ba1;
  81. --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  82. --wp-admin-theme-color-darker-20: #005a87;
  83. --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  84. --wp-admin-border-width-focus: 2px;
  85. }
  86. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  87. :root {
  88. --wp-admin-border-width-focus: 1.5px;
  89. }
  90. }
  91. .block-editor-autocompleters__block {
  92. white-space: nowrap;
  93. }
  94. .block-editor-autocompleters__block .block-editor-block-icon {
  95. margin-left: 8px;
  96. }
  97. .block-editor-autocompleters__link {
  98. white-space: nowrap;
  99. }
  100. .block-editor-autocompleters__link .block-editor-block-icon {
  101. margin-left: 8px;
  102. }
  103. .block-editor-block-alignment-control__menu-group .components-menu-item__info {
  104. margin-top: 0;
  105. }
  106. .block-editor-block-alignment-matrix-control__popover .components-popover__content {
  107. min-width: 0;
  108. width: auto;
  109. }
  110. .block-editor-block-alignment-matrix-control__popover .components-popover__content > div {
  111. padding: 8px;
  112. }
  113. .block-editor-block-icon {
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. width: 24px;
  118. height: 24px;
  119. }
  120. .block-editor-block-icon.has-colors svg {
  121. fill: currentColor;
  122. }
  123. @media (forced-colors: active) {
  124. .block-editor-block-icon.has-colors svg {
  125. fill: CanvasText;
  126. }
  127. }
  128. .block-editor-block-icon svg {
  129. min-width: 20px;
  130. min-height: 20px;
  131. max-width: 24px;
  132. max-height: 24px;
  133. }
  134. .block-editor-block-inspector p {
  135. margin-top: 0;
  136. }
  137. .block-editor-block-inspector h2,
  138. .block-editor-block-inspector h3 {
  139. font-size: 13px;
  140. color: #1e1e1e;
  141. margin-bottom: 1.5em;
  142. }
  143. .block-editor-block-inspector .components-base-control {
  144. margin-bottom: 24px;
  145. }
  146. .block-editor-block-inspector .components-base-control:last-child {
  147. margin-bottom: 8px;
  148. }
  149. .block-editor-block-inspector .components-panel__body {
  150. border: none;
  151. border-top: 1px solid #e0e0e0;
  152. }
  153. .block-editor-block-inspector .block-editor-block-card {
  154. padding: 16px;
  155. }
  156. .block-editor-block-inspector__no-blocks {
  157. display: block;
  158. font-size: 13px;
  159. background: #fff;
  160. padding: 32px 16px;
  161. text-align: center;
  162. }
  163. .block-editor-block-styles .block-editor-block-list__block {
  164. margin: 0;
  165. }
  166. /**
  167. * Notices & Block Selected/Hover Styles.
  168. */
  169. /**
  170. * Cross-Block Selection
  171. */
  172. .block-editor-block-list__layout {
  173. position: relative;
  174. }
  175. .block-editor-block-list__layout.is-navigate-mode {
  176. cursor: default;
  177. }
  178. .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after,
  179. .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable])::after,
  180. .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
  181. .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after {
  182. position: absolute;
  183. z-index: 1;
  184. pointer-events: none;
  185. content: "";
  186. top: 1px;
  187. bottom: 1px;
  188. right: 1px;
  189. left: 1px;
  190. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  191. border-radius: 1px;
  192. outline: 2px solid transparent;
  193. }
  194. .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after,
  195. .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable])::after,
  196. .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
  197. .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after {
  198. box-shadow: 0 0 0 1px #fff;
  199. }
  200. .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection,
  201. .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable]) .components-placeholder ::selection,
  202. .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,
  203. .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected .components-placeholder ::selection {
  204. background: transparent;
  205. }
  206. .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected)::after {
  207. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  208. }
  209. .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after {
  210. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  211. outline: 1px solid transparent;
  212. }
  213. .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected {
  214. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  215. outline: 2px solid transparent;
  216. }
  217. .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::before {
  218. content: "";
  219. position: absolute;
  220. z-index: 0;
  221. pointer-events: none;
  222. transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
  223. left: 0;
  224. right: 0;
  225. top: -14px;
  226. border-radius: 2px;
  227. border-top: 4px solid #ccc;
  228. }
  229. .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::after {
  230. content: none;
  231. }
  232. .block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected::before {
  233. border-color: var(--wp-admin-theme-color);
  234. }
  235. .is-block-moving-mode.block-editor-block-list__block-selection-button {
  236. opacity: 0;
  237. font-size: 1px;
  238. height: 1px;
  239. padding: 0;
  240. }
  241. .block-editor-block-list__layout .block-editor-block-list__block {
  242. position: relative;
  243. overflow-wrap: break-word;
  244. /**
  245. * Notices
  246. */
  247. /**
  248. * Block Layout
  249. */
  250. /**
  251. * Block styles and alignments
  252. */
  253. }
  254. .block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
  255. z-index: 1;
  256. }
  257. .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui {
  258. margin: -10px 0 12px 0;
  259. }
  260. .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
  261. margin: 0 0 12px 0;
  262. width: 100%;
  263. }
  264. .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice {
  265. margin-right: 0;
  266. margin-left: 0;
  267. }
  268. .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
  269. font-size: 13px;
  270. }
  271. .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus {
  272. outline: none;
  273. }
  274. .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
  275. position: absolute;
  276. z-index: 1;
  277. pointer-events: none;
  278. content: "";
  279. top: 1px;
  280. bottom: 1px;
  281. right: 1px;
  282. left: 1px;
  283. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  284. border-radius: 1px;
  285. outline: 2px solid transparent;
  286. }
  287. .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
  288. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
  289. }
  290. .block-editor-block-list__layout .block-editor-block-list__block::after {
  291. content: "";
  292. pointer-events: none;
  293. position: absolute;
  294. top: 0;
  295. left: 0;
  296. bottom: 0;
  297. right: 0;
  298. border-radius: 2px;
  299. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) transparent;
  300. }
  301. .block-editor-block-list__layout .block-editor-block-list__block.has-warning {
  302. min-height: 48px;
  303. }
  304. .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
  305. pointer-events: none;
  306. -webkit-user-select: none;
  307. user-select: none;
  308. }
  309. .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
  310. pointer-events: all;
  311. }
  312. .block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
  313. content: "";
  314. position: absolute;
  315. top: 0;
  316. left: 0;
  317. bottom: 0;
  318. right: 0;
  319. border-radius: 2px;
  320. background-color: rgba(255, 255, 255, 0.4);
  321. }
  322. .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
  323. background-color: transparent;
  324. }
  325. .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after {
  326. display: none;
  327. }
  328. .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after {
  329. display: block;
  330. }
  331. .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected::after {
  332. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  333. }
  334. .block-editor-block-list__layout .block-editor-block-list__block[data-clear=true] {
  335. float: none;
  336. }
  337. .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered {
  338. cursor: default;
  339. }
  340. .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered::after {
  341. top: 1px;
  342. right: 1px;
  343. left: 1px;
  344. bottom: 1px;
  345. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  346. border-radius: 1px;
  347. }
  348. .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected {
  349. cursor: unset;
  350. }
  351. .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected::after {
  352. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  353. top: 1px;
  354. right: 1px;
  355. left: 1px;
  356. bottom: 1px;
  357. border-radius: 1px;
  358. }
  359. .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected:focus::after {
  360. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  361. }
  362. .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) {
  363. opacity: 0.5;
  364. transition: opacity 0.1s linear;
  365. }
  366. @media (prefers-reduced-motion: reduce) {
  367. .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) {
  368. transition-duration: 0s;
  369. transition-delay: 0s;
  370. }
  371. }
  372. .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected {
  373. opacity: 1;
  374. }
  375. .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity {
  376. opacity: 0.5;
  377. transition: opacity 0.1s linear;
  378. }
  379. @media (prefers-reduced-motion: reduce) {
  380. .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity {
  381. transition-duration: 0s;
  382. transition-delay: 0s;
  383. }
  384. }
  385. .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity, .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.has-child-selected, .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity:not(.has-child-selected) .block-editor-block-list__block, .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity .block-editor-block-list__block,
  386. .is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity .is-active-entity .block-editor-block-list__block {
  387. opacity: 1;
  388. }
  389. .wp-block[data-align=left] > *,
  390. .wp-block[data-align=right] > *,
  391. .wp-block.alignleft,
  392. .wp-block.alignright {
  393. z-index: 21;
  394. }
  395. .wp-site-blocks > [data-align=left] {
  396. float: right;
  397. margin-left: 2em;
  398. }
  399. .wp-site-blocks > [data-align=right] {
  400. float: left;
  401. margin-right: 2em;
  402. }
  403. .wp-site-blocks > [data-align=center] {
  404. justify-content: center;
  405. margin-right: auto;
  406. margin-left: auto;
  407. }
  408. /**
  409. * In-Canvas Inserter
  410. */
  411. .block-editor-block-list .block-editor-inserter {
  412. margin: 8px;
  413. cursor: move;
  414. cursor: grab;
  415. }
  416. @keyframes block-editor-inserter__toggle__fade-in-animation {
  417. from {
  418. opacity: 0;
  419. }
  420. to {
  421. opacity: 1;
  422. }
  423. }
  424. .wp-block .block-list-appender .block-editor-inserter__toggle {
  425. animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease;
  426. animation-fill-mode: forwards;
  427. }
  428. @media (prefers-reduced-motion: reduce) {
  429. .wp-block .block-list-appender .block-editor-inserter__toggle {
  430. animation-duration: 1ms;
  431. animation-delay: 0s;
  432. }
  433. }
  434. .block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
  435. display: none;
  436. }
  437. .block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
  438. opacity: 0;
  439. transform: scale(0);
  440. }
  441. .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
  442. display: block;
  443. margin: 0;
  444. padding: 12px;
  445. width: 100%;
  446. border: none;
  447. outline: none;
  448. border-radius: 2px;
  449. box-shadow: inset 0 0 0 1px #1e1e1e;
  450. resize: none;
  451. overflow: hidden;
  452. font-family: Menlo, Consolas, monaco, monospace;
  453. font-size: 15px;
  454. line-height: 1.5;
  455. transition: padding 0.2s linear;
  456. }
  457. @media (prefers-reduced-motion: reduce) {
  458. .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
  459. transition-duration: 0s;
  460. transition-delay: 0s;
  461. }
  462. }
  463. .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
  464. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  465. }
  466. /**
  467. * Warnings.
  468. */
  469. .block-editor-block-list__block .block-editor-warning {
  470. z-index: 5;
  471. position: relative;
  472. }
  473. .block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
  474. margin-bottom: auto;
  475. }
  476. /**
  477. * Insertion Point.
  478. */
  479. .block-editor-block-list__insertion-point {
  480. position: absolute;
  481. }
  482. .block-editor-block-list__insertion-point-indicator {
  483. position: absolute;
  484. background: var(--wp-admin-theme-color);
  485. }
  486. .block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
  487. top: 50%;
  488. height: 1px;
  489. }
  490. .block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
  491. top: 0;
  492. left: 0;
  493. right: 50%;
  494. width: 1px;
  495. }
  496. .block-editor-block-list__insertion-point-inserter {
  497. display: none;
  498. position: absolute;
  499. justify-content: center;
  500. top: calc(50% - 12px);
  501. right: calc(50% - 12px);
  502. }
  503. @media (min-width: 480px) {
  504. .block-editor-block-list__insertion-point-inserter {
  505. display: flex;
  506. }
  507. }
  508. .block-editor-block-list__block-popover-inserter {
  509. position: absolute;
  510. top: -9999em;
  511. margin-bottom: 14px;
  512. }
  513. .block-editor-block-list__block-popover-inserter.is-visible {
  514. position: static;
  515. }
  516. .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
  517. .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
  518. .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,
  519. .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon {
  520. background: #1e1e1e;
  521. border-radius: 2px;
  522. color: #fff;
  523. padding: 0;
  524. min-width: 24px;
  525. height: 24px;
  526. }
  527. .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
  528. .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
  529. .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
  530. .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
  531. color: #fff;
  532. background: var(--wp-admin-theme-color);
  533. }
  534. .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
  535. background: var(--wp-admin-theme-color);
  536. }
  537. .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
  538. background: #1e1e1e;
  539. }
  540. /**
  541. * Block Toolbar when contextual.
  542. */
  543. .block-editor-block-contextual-toolbar {
  544. display: inline-flex;
  545. border: 1px solid #1e1e1e;
  546. border-radius: 2px;
  547. background-color: #fff;
  548. }
  549. .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,
  550. .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar {
  551. border-left-color: #1e1e1e;
  552. }
  553. .block-editor-block-contextual-toolbar.is-fixed {
  554. position: sticky;
  555. top: 0;
  556. width: 100%;
  557. z-index: 31;
  558. min-height: 48px;
  559. display: block;
  560. border: none;
  561. border-bottom: 1px solid #e0e0e0;
  562. border-radius: 0;
  563. }
  564. .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar-group,
  565. .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar {
  566. border-left-color: #e0e0e0;
  567. }
  568. .block-editor-block-contextual-toolbar .block-editor-block-mover-button {
  569. overflow: hidden;
  570. }
  571. .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
  572. min-width: 24px;
  573. width: 24px;
  574. }
  575. .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button svg {
  576. min-width: 24px;
  577. }
  578. .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before {
  579. right: 0 !important;
  580. min-width: 0;
  581. width: 100%;
  582. }
  583. @media (min-width: 600px) {
  584. .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
  585. top: 5px;
  586. }
  587. .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
  588. bottom: 5px;
  589. }
  590. }
  591. /**
  592. * Block Label for Navigation/Selection Mode
  593. */
  594. .block-editor-block-list__block-selection-button {
  595. display: inline-flex;
  596. padding: 0 12px;
  597. z-index: 22;
  598. border-radius: 2px;
  599. background-color: #1e1e1e;
  600. font-size: 13px;
  601. height: 48px;
  602. }
  603. .block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content {
  604. margin: auto;
  605. display: inline-flex;
  606. align-items: center;
  607. }
  608. .block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content > .components-flex__item {
  609. margin-left: 6px;
  610. }
  611. .block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle {
  612. cursor: grab;
  613. padding: 0;
  614. height: 24px;
  615. min-width: 24px;
  616. margin-right: -2px;
  617. }
  618. .block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg {
  619. min-width: 18px;
  620. min-height: 18px;
  621. }
  622. .block-editor-block-list__block-selection-button .block-editor-block-icon {
  623. font-size: 13px;
  624. color: #fff;
  625. height: 48px;
  626. }
  627. .block-editor-block-list__block-selection-button .components-button {
  628. min-width: 36px;
  629. color: #fff;
  630. height: 48px;
  631. display: flex;
  632. }
  633. .block-editor-block-list__block-selection-button .components-button:focus {
  634. box-shadow: none;
  635. border: none;
  636. }
  637. .block-editor-block-list__block-selection-button .components-button:active {
  638. color: #fff;
  639. }
  640. .block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button {
  641. padding: 0;
  642. }
  643. /**
  644. * Popovers.
  645. */
  646. .block-editor-block-list__insertion-point-popover.is-without-arrow {
  647. z-index: 28;
  648. position: absolute;
  649. pointer-events: none;
  650. }
  651. .block-editor-block-list__insertion-point-popover.is-without-arrow * {
  652. pointer-events: none;
  653. }
  654. .block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter {
  655. pointer-events: all;
  656. }
  657. .block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter * {
  658. pointer-events: all;
  659. }
  660. .block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
  661. background: none;
  662. border: none;
  663. box-shadow: none;
  664. overflow-y: visible;
  665. margin-right: 0;
  666. }
  667. @keyframes hide-during-dragging {
  668. to {
  669. position: fixed;
  670. transform: translate(-9999px, 9999px);
  671. }
  672. }
  673. .components-popover.block-editor-block-list__block-popover {
  674. z-index: 31;
  675. position: absolute;
  676. }
  677. .components-popover.block-editor-block-list__block-popover .components-popover__content {
  678. margin: 0 !important;
  679. min-width: auto;
  680. width: max-content;
  681. background: none;
  682. border: none;
  683. box-shadow: none;
  684. overflow-y: visible;
  685. pointer-events: none;
  686. }
  687. .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,
  688. .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,
  689. .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__empty-block-inserter {
  690. pointer-events: all;
  691. }
  692. .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,
  693. .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar {
  694. margin-top: 12px;
  695. margin-bottom: 12px;
  696. }
  697. .components-popover.block-editor-block-list__block-popover.is-insertion-point-visible {
  698. visibility: hidden;
  699. }
  700. .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
  701. opacity: 0;
  702. animation: hide-during-dragging 1ms linear forwards;
  703. }
  704. .is-dragging-components-draggable .components-tooltip {
  705. display: none;
  706. }
  707. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot,
  708. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar,
  709. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown,
  710. .block-editor-block-toolbar .components-toolbar-group {
  711. padding-right: 6px;
  712. padding-left: 6px;
  713. }
  714. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button,
  715. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon,
  716. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button,
  717. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon,
  718. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
  719. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon,
  720. .block-editor-block-toolbar .components-toolbar-group .components-button,
  721. .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon {
  722. min-width: 36px;
  723. padding-right: 6px;
  724. padding-left: 6px;
  725. }
  726. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button svg,
  727. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon svg,
  728. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button svg,
  729. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon svg,
  730. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
  731. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon svg,
  732. .block-editor-block-toolbar .components-toolbar-group .components-button svg,
  733. .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon svg {
  734. min-width: 24px;
  735. }
  736. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button::before,
  737. .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon::before,
  738. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button::before,
  739. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon::before,
  740. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
  741. .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon::before,
  742. .block-editor-block-toolbar .components-toolbar-group .components-button::before,
  743. .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon::before {
  744. right: 2px;
  745. left: 2px;
  746. }
  747. .is-vertical .block-list-appender {
  748. width: 24px;
  749. margin-left: auto;
  750. margin-top: 12px;
  751. margin-right: 12px;
  752. }
  753. .block-list-appender > .block-editor-inserter {
  754. display: block;
  755. }
  756. .block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle {
  757. opacity: 0;
  758. transform: scale(0);
  759. }
  760. .block-editor-block-lock-modal {
  761. z-index: 1000001;
  762. }
  763. @media (min-width: 600px) {
  764. .block-editor-block-lock-modal .components-modal__frame {
  765. max-width: 480px;
  766. }
  767. }
  768. .block-editor-block-lock-modal__checklist {
  769. margin: 0;
  770. }
  771. .block-editor-block-lock-modal__options-title {
  772. padding: 12px 0;
  773. }
  774. .block-editor-block-lock-modal__options-title .components-checkbox-control__label {
  775. font-weight: 600;
  776. }
  777. .block-editor-block-lock-modal__options-title .components-base-control__field {
  778. align-items: center;
  779. display: flex;
  780. margin: 0;
  781. }
  782. .block-editor-block-lock-modal__checklist-item {
  783. margin-bottom: 0;
  784. padding: 12px 32px 12px 0;
  785. }
  786. .block-editor-block-lock-modal__checklist-item .components-base-control__field {
  787. align-items: center;
  788. display: flex;
  789. margin: 0;
  790. }
  791. .block-editor-block-lock-modal__checklist-item .components-checkbox-control__label {
  792. display: flex;
  793. align-items: center;
  794. justify-content: space-between;
  795. flex-grow: 1;
  796. }
  797. .block-editor-block-lock-modal__checklist-item .components-checkbox-control__label svg {
  798. margin-left: 12px;
  799. fill: #1e1e1e;
  800. }
  801. .block-editor-block-lock-modal__checklist-item:hover {
  802. background-color: #f0f0f0;
  803. border-radius: 2px;
  804. }
  805. .block-editor-block-lock-modal__actions {
  806. margin-top: 24px;
  807. }
  808. .block-editor-block-lock-toolbar .components-button.has-icon {
  809. min-width: 36px !important;
  810. padding-right: 0 !important;
  811. }
  812. .block-editor-block-lock-toolbar .components-button.has-icon:focus::before {
  813. left: 8px !important;
  814. }
  815. .block-editor-block-breadcrumb {
  816. list-style: none;
  817. padding: 0;
  818. margin: 0;
  819. }
  820. .block-editor-block-breadcrumb li {
  821. display: inline-flex;
  822. margin: 0;
  823. }
  824. .block-editor-block-breadcrumb li .block-editor-block-breadcrumb__separator {
  825. fill: currentColor;
  826. margin-right: -4px;
  827. margin-left: -4px;
  828. transform: scaleX(-1);;
  829. }
  830. .block-editor-block-breadcrumb li:last-child .block-editor-block-breadcrumb__separator {
  831. display: none;
  832. }
  833. .block-editor-block-breadcrumb__button.components-button {
  834. height: 24px;
  835. line-height: 24px;
  836. padding: 0;
  837. position: relative;
  838. }
  839. .block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) {
  840. text-decoration: underline;
  841. box-shadow: none;
  842. }
  843. .block-editor-block-breadcrumb__button.components-button:focus {
  844. box-shadow: none;
  845. }
  846. .block-editor-block-breadcrumb__button.components-button:focus::before {
  847. content: "";
  848. display: block;
  849. position: absolute;
  850. border-radius: 2px;
  851. top: 1px;
  852. left: 1px;
  853. bottom: 1px;
  854. right: 1px;
  855. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  856. }
  857. .block-editor-block-breadcrumb__current {
  858. cursor: default;
  859. }
  860. .block-editor-block-breadcrumb__button.components-button,
  861. .block-editor-block-breadcrumb__current {
  862. color: #1e1e1e;
  863. padding: 0 8px;
  864. font-size: inherit;
  865. }
  866. .block-editor-block-card {
  867. display: flex;
  868. align-items: flex-start;
  869. }
  870. .block-editor-block-card__content {
  871. flex-grow: 1;
  872. margin-bottom: 4px;
  873. }
  874. .block-editor-block-card__title {
  875. font-weight: 500;
  876. }
  877. .block-editor-block-card__title.block-editor-block-card__title {
  878. line-height: 24px;
  879. margin: 0 0 4px;
  880. }
  881. .block-editor-block-card__description {
  882. font-size: 13px;
  883. }
  884. .block-editor-block-card .block-editor-block-icon {
  885. flex: 0 0 24px;
  886. margin-right: 0;
  887. margin-left: 12px;
  888. width: 24px;
  889. height: 24px;
  890. }
  891. /**
  892. * Invalid block comparison
  893. */
  894. .block-editor-block-compare {
  895. height: auto;
  896. }
  897. .block-editor-block-compare__wrapper {
  898. display: flex;
  899. padding-bottom: 16px;
  900. }
  901. .block-editor-block-compare__wrapper > div {
  902. display: flex;
  903. justify-content: space-between;
  904. flex-direction: column;
  905. width: 50%;
  906. padding: 0 0 0 16px;
  907. min-width: 200px;
  908. max-width: 600px;
  909. }
  910. .block-editor-block-compare__wrapper > div button {
  911. float: left;
  912. }
  913. .block-editor-block-compare__wrapper .block-editor-block-compare__converted {
  914. border-right: 1px solid #ddd;
  915. padding-right: 15px;
  916. padding-left: 0;
  917. }
  918. .block-editor-block-compare__wrapper .block-editor-block-compare__html {
  919. font-family: Menlo, Consolas, monaco, monospace;
  920. font-size: 12px;
  921. color: #1e1e1e;
  922. border-bottom: 1px solid #ddd;
  923. padding-bottom: 15px;
  924. line-height: 1.7;
  925. }
  926. .block-editor-block-compare__wrapper .block-editor-block-compare__html span {
  927. background-color: #e6ffed;
  928. padding-top: 3px;
  929. padding-bottom: 3px;
  930. }
  931. .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added {
  932. background-color: #acf2bd;
  933. }
  934. .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed {
  935. background-color: #cc1818;
  936. }
  937. .block-editor-block-compare__wrapper .block-editor-block-compare__preview {
  938. padding: 0;
  939. padding-top: 16px;
  940. }
  941. .block-editor-block-compare__wrapper .block-editor-block-compare__preview p {
  942. font-size: 12px;
  943. margin-top: 0;
  944. }
  945. .block-editor-block-compare__wrapper .block-editor-block-compare__action {
  946. margin-top: 16px;
  947. }
  948. .block-editor-block-compare__wrapper .block-editor-block-compare__heading {
  949. font-size: 1em;
  950. font-weight: 400;
  951. margin: 0.67em 0;
  952. }
  953. .block-editor-block-content-overlay.overlay-active::before {
  954. content: "";
  955. position: absolute;
  956. top: 0;
  957. right: 0;
  958. width: 100%;
  959. height: 100%;
  960. background: transparent;
  961. border: none;
  962. border-radius: 2px;
  963. z-index: 10;
  964. }
  965. .block-editor-block-content-overlay:hover:not(.is-dragging-blocks).overlay-active::before, .block-editor-block-content-overlay.parent-highlighted.overlay-active::before {
  966. background: rgba(var(--wp-admin-theme-color--rgb), 0.1);
  967. box-shadow: 0 0 0 1px var(--wp-admin-theme-color) inset;
  968. }
  969. .block-editor-block-content-overlay.overlay-active:not(.is-dragging-blocks) * {
  970. pointer-events: none;
  971. }
  972. .block-editor-block-content-overlay.is-dragging-blocks {
  973. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  974. }
  975. .block-editor-block-draggable-chip-wrapper {
  976. position: absolute;
  977. top: -24px;
  978. right: 0;
  979. }
  980. .block-editor-block-draggable-chip {
  981. background-color: #1e1e1e;
  982. border-radius: 2px;
  983. box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  984. color: #fff;
  985. cursor: grabbing;
  986. display: inline-flex;
  987. height: 48px;
  988. padding: 0 13px;
  989. -webkit-user-select: none;
  990. user-select: none;
  991. }
  992. .block-editor-block-draggable-chip svg {
  993. fill: currentColor;
  994. }
  995. .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
  996. margin: auto;
  997. justify-content: flex-start;
  998. }
  999. .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item {
  1000. margin-left: 6px;
  1001. }
  1002. .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item:last-child {
  1003. margin-left: 0;
  1004. }
  1005. .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg {
  1006. min-width: 18px;
  1007. min-height: 18px;
  1008. }
  1009. .block-editor-block-draggable-chip .components-flex__item {
  1010. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1011. font-size: 13px;
  1012. }
  1013. .block-editor-block-list__layout .is-dragging {
  1014. background-color: currentColor !important;
  1015. opacity: 0.05 !important;
  1016. border-radius: 2px !important;
  1017. pointer-events: none !important;
  1018. }
  1019. .block-editor-block-list__layout .is-dragging::selection {
  1020. background: transparent !important;
  1021. }
  1022. .block-editor-block-list__layout .is-dragging::after {
  1023. content: none !important;
  1024. }
  1025. .block-editor-block-mobile-toolbar {
  1026. display: flex;
  1027. flex-direction: row;
  1028. border-left: 1px solid #ddd;
  1029. }
  1030. .block-editor-block-mobile-toolbar .block-editor-block-mover-button {
  1031. width: 36px;
  1032. height: 36px;
  1033. border-radius: 2px;
  1034. padding: 3px;
  1035. margin: 0;
  1036. justify-content: center;
  1037. align-items: center;
  1038. }
  1039. .block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon {
  1040. margin: auto;
  1041. }
  1042. .block-editor-block-mobile-toolbar .block-editor-block-mover {
  1043. display: flex;
  1044. margin-left: auto;
  1045. }
  1046. .block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button {
  1047. float: right;
  1048. }
  1049. .block-editor-block-mover-button__description {
  1050. display: none;
  1051. }
  1052. .block-editor-block-mover-button.has-icon {
  1053. padding: 0;
  1054. }
  1055. .block-editor-block-mover {
  1056. display: inline-flex;
  1057. flex-direction: row;
  1058. }
  1059. .block-editor-block-mover .block-editor-block-mover__move-button-container,
  1060. .block-editor-block-mover .components-toolbar {
  1061. flex: 1;
  1062. flex-direction: row;
  1063. border-left: none !important;
  1064. padding: 0;
  1065. }
  1066. @media (min-width: 600px) {
  1067. .block-editor-block-mover .block-editor-block-mover__move-button-container,
  1068. .block-editor-block-mover .components-toolbar {
  1069. flex-direction: column;
  1070. }
  1071. }
  1072. .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container, .block-editor-block-mover.is-horizontal .components-toolbar {
  1073. flex-direction: row;
  1074. }
  1075. .block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button {
  1076. padding-left: 0;
  1077. padding-right: 0;
  1078. min-width: 36px;
  1079. }
  1080. @media (min-width: 600px) {
  1081. .block-editor-block-mover .block-editor-block-mover-button {
  1082. height: 24px;
  1083. width: 42px;
  1084. padding-left: 11px !important;
  1085. padding-right: 6px !important;
  1086. }
  1087. .block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button {
  1088. min-width: 42px;
  1089. }
  1090. }
  1091. @media (min-width: 600px) {
  1092. .block-editor-block-mover .block-editor-block-mover-button::before {
  1093. right: 8px !important;
  1094. left: 8px !important;
  1095. }
  1096. }
  1097. .block-editor-block-mover .block-editor-block-mover__drag-handle {
  1098. width: 24px;
  1099. cursor: grab;
  1100. min-width: 24px !important;
  1101. padding: 0 !important;
  1102. }
  1103. .block-editor-block-mover .block-editor-block-mover__drag-handle:focus::before {
  1104. right: 0 !important;
  1105. left: 0 !important;
  1106. }
  1107. @media (min-width: 600px) {
  1108. .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,
  1109. .block-editor-block-mover .components-toolbar .block-editor-block-mover-button {
  1110. margin: 0 0 0 auto;
  1111. }
  1112. .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button::before,
  1113. .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button::before {
  1114. bottom: 0;
  1115. height: calc(100% - 1px);
  1116. }
  1117. .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button::before,
  1118. .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button::before {
  1119. top: 0;
  1120. height: calc(100% - 1px);
  1121. }
  1122. }
  1123. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon {
  1124. height: 48px;
  1125. width: 24px;
  1126. padding-right: 0;
  1127. padding-left: 0;
  1128. }
  1129. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon::before {
  1130. top: 1px;
  1131. bottom: 1px;
  1132. min-width: 0;
  1133. width: auto;
  1134. height: auto;
  1135. }
  1136. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg {
  1137. margin-right: 0;
  1138. margin-left: -8px;
  1139. margin-bottom: 0;
  1140. }
  1141. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon::before {
  1142. right: 0 !important;
  1143. left: 0 !important;
  1144. }
  1145. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg {
  1146. margin-right: -8px;
  1147. margin-left: 0;
  1148. margin-top: 0;
  1149. }
  1150. .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon::before {
  1151. right: 0 !important;
  1152. left: 0 !important;
  1153. width: calc(100% + 1px);
  1154. }
  1155. .block-editor-block-navigation__container {
  1156. min-width: 280px;
  1157. }
  1158. .block-editor-block-navigation__label {
  1159. margin: 0 0 12px;
  1160. color: #757575;
  1161. text-transform: uppercase;
  1162. font-size: 11px;
  1163. font-weight: 500;
  1164. }
  1165. .block-editor-block-parent-selector {
  1166. background: #fff;
  1167. border-radius: 2px;
  1168. }
  1169. .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
  1170. width: 48px;
  1171. height: 48px;
  1172. border: 1px solid #1e1e1e;
  1173. border-radius: 2px;
  1174. }
  1175. .block-editor-block-patterns-list__list-item {
  1176. cursor: pointer;
  1177. margin-bottom: 24px;
  1178. }
  1179. .block-editor-block-patterns-list__list-item.is-placeholder {
  1180. min-height: 100px;
  1181. }
  1182. .block-editor-block-patterns-list__list-item[draggable=true] .block-editor-block-preview__container {
  1183. cursor: grab;
  1184. }
  1185. .block-editor-block-patterns-list__item {
  1186. height: 100%;
  1187. }
  1188. .block-editor-block-patterns-list__item .block-editor-block-preview__container {
  1189. display: flex;
  1190. align-items: center;
  1191. overflow: hidden;
  1192. border-radius: 2px;
  1193. border: 1px solid #f0f0f0;
  1194. }
  1195. .block-editor-block-patterns-list__item .block-editor-block-patterns-list__item-title {
  1196. padding-top: 8px;
  1197. font-size: 12px;
  1198. text-align: center;
  1199. }
  1200. .block-editor-block-patterns-list__item:hover .block-editor-block-preview__container {
  1201. border: 1px solid var(--wp-admin-theme-color);
  1202. }
  1203. .block-editor-block-patterns-list__item:focus .block-editor-block-preview__container {
  1204. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1205. outline: 2px solid transparent;
  1206. }
  1207. .block-editor-block-patterns-list__item:hover .block-editor-block-patterns-list__item-title, .block-editor-block-patterns-list__item:focus .block-editor-block-patterns-list__item-title {
  1208. color: var(--wp-admin-theme-color);
  1209. }
  1210. .block-editor-block-preview__container {
  1211. position: relative;
  1212. width: 100%;
  1213. overflow: hidden;
  1214. }
  1215. .block-editor-block-preview__container .block-editor-block-preview__content {
  1216. top: 0;
  1217. right: 0;
  1218. transform-origin: top right;
  1219. text-align: initial;
  1220. margin: 0;
  1221. overflow: visible;
  1222. min-height: auto;
  1223. }
  1224. .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,
  1225. .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,
  1226. .block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator,
  1227. .block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender {
  1228. display: none;
  1229. }
  1230. .block-editor-block-preview__content-iframe .block-list-appender {
  1231. display: none;
  1232. }
  1233. .block-editor-block-preview__live-content * {
  1234. pointer-events: none;
  1235. }
  1236. .block-editor-block-preview__live-content .block-list-appender {
  1237. display: none;
  1238. }
  1239. .block-editor-block-preview__live-content .components-button:disabled {
  1240. opacity: initial;
  1241. }
  1242. .block-editor-block-preview__live-content .components-placeholder,
  1243. .block-editor-block-preview__live-content .block-editor-block-list__block[data-empty=true] {
  1244. display: none;
  1245. }
  1246. .block-editor-block-settings-menu__popover .components-dropdown-menu__menu {
  1247. padding: 0;
  1248. }
  1249. .block-editor-block-styles + .default-style-picker__default-switcher {
  1250. margin-top: 16px;
  1251. }
  1252. .block-editor-block-styles__preview-panel {
  1253. display: none;
  1254. position: absolute;
  1255. left: 16px;
  1256. right: auto;
  1257. z-index: 90;
  1258. }
  1259. @media (min-width: 782px) {
  1260. .block-editor-block-styles__preview-panel {
  1261. display: block;
  1262. }
  1263. }
  1264. .block-editor-block-styles__preview-panel .block-editor-inserter__preview-container {
  1265. right: auto;
  1266. left: auto;
  1267. top: auto;
  1268. position: static;
  1269. }
  1270. .block-editor-block-styles__preview-panel .block-editor-block-card__title.block-editor-block-card__title {
  1271. margin: 0;
  1272. }
  1273. .block-editor-block-styles__preview-panel .block-editor-block-icon {
  1274. display: none;
  1275. }
  1276. .block-editor-block-styles__variants {
  1277. display: flex;
  1278. flex-wrap: wrap;
  1279. justify-content: space-between;
  1280. gap: 8px;
  1281. }
  1282. .block-editor-block-styles__variants .block-editor-block-styles__item {
  1283. color: #2f2f2f;
  1284. box-shadow: inset 0 0 0 1px #ccc;
  1285. display: inline-block;
  1286. width: calc(50% - 4px);
  1287. }
  1288. .block-editor-block-styles__variants .block-editor-block-styles__item:focus, .block-editor-block-styles__variants .block-editor-block-styles__item:hover {
  1289. color: var(--wp-admin-theme-color);
  1290. box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
  1291. }
  1292. .block-editor-block-styles__variants .block-editor-block-styles__item.is-active, .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:hover {
  1293. background-color: #2f2f2f;
  1294. box-shadow: none;
  1295. }
  1296. .block-editor-block-styles__variants .block-editor-block-styles__item.is-active .block-editor-block-styles__item-text, .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:hover .block-editor-block-styles__item-text {
  1297. color: #fff;
  1298. }
  1299. .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:focus {
  1300. box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px var(--wp-admin-theme-color);
  1301. }
  1302. .block-editor-block-styles__block-preview-container,
  1303. .block-editor-block-styles__block-preview-container * {
  1304. box-sizing: border-box !important;
  1305. }
  1306. .block-editor-block-switcher {
  1307. position: relative;
  1308. padding: 0 6px;
  1309. }
  1310. .block-editor-block-switcher .components-button.components-dropdown-menu__toggle.has-icon.has-icon {
  1311. min-width: 36px;
  1312. }
  1313. .block-editor-block-switcher__no-switcher-icon,
  1314. .block-editor-block-switcher__toggle {
  1315. position: relative;
  1316. }
  1317. .components-button.block-editor-block-switcher__toggle,
  1318. .components-button.block-editor-block-switcher__no-switcher-icon {
  1319. margin: 0;
  1320. display: block;
  1321. height: 48px;
  1322. }
  1323. .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
  1324. .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
  1325. margin: auto;
  1326. }
  1327. .block-editor-block-switcher__toggle-text {
  1328. margin-right: 8px;
  1329. }
  1330. .show-icon-labels .block-editor-block-switcher__toggle-text {
  1331. display: none;
  1332. }
  1333. .show-icon-labels .block-editor-block-toolbar .block-editor-block-switcher .components-button.has-icon::after {
  1334. font-size: 14px;
  1335. }
  1336. .block-editor-block-switcher__popover {
  1337. margin-right: 6px;
  1338. }
  1339. .components-button.block-editor-block-switcher__no-switcher-icon {
  1340. display: flex;
  1341. padding: 6px 12px !important;
  1342. }
  1343. .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
  1344. margin-left: auto;
  1345. margin-right: auto;
  1346. min-width: 24px !important;
  1347. }
  1348. .components-button.block-editor-block-switcher__no-switcher-icon:disabled {
  1349. opacity: 1;
  1350. }
  1351. .components-button.block-editor-block-switcher__no-switcher-icon:disabled,
  1352. .components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
  1353. color: #1e1e1e;
  1354. }
  1355. .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
  1356. .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
  1357. .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
  1358. .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
  1359. height: 100%;
  1360. position: relative;
  1361. margin: 0 auto;
  1362. display: flex;
  1363. align-items: center;
  1364. min-width: 100%;
  1365. }
  1366. .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
  1367. .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
  1368. .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
  1369. .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
  1370. top: 8px;
  1371. left: 8px;
  1372. bottom: 8px;
  1373. right: 8px;
  1374. }
  1375. .components-popover.block-editor-block-switcher__popover .components-popover__content {
  1376. min-width: 300px;
  1377. }
  1378. .components-popover.block-editor-block-switcher__popover .components-popover__content > div {
  1379. min-width: auto;
  1380. display: flex;
  1381. background: #fff;
  1382. padding: 0;
  1383. }
  1384. .components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
  1385. margin: 0;
  1386. }
  1387. .block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
  1388. margin: 0 -3px;
  1389. }
  1390. .block-editor-block-switcher__popover .components-popover__content .components-panel__body {
  1391. border: 0;
  1392. position: relative;
  1393. z-index: 1;
  1394. }
  1395. .block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
  1396. border-top: 1px solid #e0e0e0;
  1397. }
  1398. .block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
  1399. position: absolute;
  1400. top: -12px;
  1401. right: calc(100% + 32px);
  1402. }
  1403. .block-editor-block-switcher__preview__popover {
  1404. display: none;
  1405. }
  1406. .block-editor-block-switcher__preview__popover.components-popover {
  1407. margin-right: 4px;
  1408. margin-top: 11px;
  1409. }
  1410. @media (min-width: 782px) {
  1411. .block-editor-block-switcher__preview__popover {
  1412. display: block;
  1413. }
  1414. }
  1415. .block-editor-block-switcher__preview__popover .components-popover__content {
  1416. box-shadow: none;
  1417. border: 1px solid #1e1e1e;
  1418. background: #fff;
  1419. border-radius: 2px;
  1420. }
  1421. .block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
  1422. width: 300px;
  1423. height: auto;
  1424. max-height: 500px;
  1425. padding: 16px;
  1426. }
  1427. .block-editor-block-switcher__preview-title {
  1428. margin-bottom: 12px;
  1429. color: #757575;
  1430. text-transform: uppercase;
  1431. font-size: 11px;
  1432. font-weight: 500;
  1433. }
  1434. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
  1435. min-width: 36px;
  1436. }
  1437. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,
  1438. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle {
  1439. height: 48px;
  1440. }
  1441. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,
  1442. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
  1443. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
  1444. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
  1445. width: 48px;
  1446. height: 48px;
  1447. }
  1448. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
  1449. .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
  1450. padding: 12px;
  1451. }
  1452. .block-editor-block-switcher__preview-patterns-container {
  1453. padding-bottom: 16px;
  1454. }
  1455. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item {
  1456. margin-top: 16px;
  1457. }
  1458. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container {
  1459. cursor: pointer;
  1460. }
  1461. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
  1462. height: 100%;
  1463. border-radius: 2px;
  1464. transition: all 0.05s ease-in-out;
  1465. position: relative;
  1466. border: 1px solid transparent;
  1467. }
  1468. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover, .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus {
  1469. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1470. outline: 2px solid transparent;
  1471. }
  1472. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover {
  1473. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
  1474. }
  1475. .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title {
  1476. padding: 4px;
  1477. font-size: 12px;
  1478. text-align: center;
  1479. cursor: pointer;
  1480. }
  1481. .block-editor-block-types-list > [role=presentation] {
  1482. overflow: hidden;
  1483. display: flex;
  1484. flex-wrap: wrap;
  1485. }
  1486. .block-editor-block-variation-picker .components-placeholder__instructions {
  1487. margin-bottom: 0;
  1488. }
  1489. .block-editor-block-variation-picker .components-placeholder__fieldset {
  1490. flex-direction: column;
  1491. }
  1492. .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
  1493. max-width: 90%;
  1494. }
  1495. .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations {
  1496. display: flex;
  1497. justify-content: flex-start;
  1498. flex-direction: row;
  1499. flex-wrap: wrap;
  1500. width: 100%;
  1501. margin: 16px 0;
  1502. padding: 0;
  1503. list-style: none;
  1504. }
  1505. .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
  1506. list-style: none;
  1507. margin: 8px 0 0 20px;
  1508. flex-shrink: 1;
  1509. width: 75px;
  1510. text-align: center;
  1511. }
  1512. .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button {
  1513. display: inline-flex;
  1514. margin-left: 0;
  1515. }
  1516. .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation {
  1517. padding: 8px;
  1518. }
  1519. .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label {
  1520. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1521. font-size: 12px;
  1522. display: block;
  1523. line-height: 1.4;
  1524. }
  1525. .block-editor-block-variation-picker__variation {
  1526. width: 100%;
  1527. }
  1528. .block-editor-block-variation-picker__variation.components-button.has-icon {
  1529. justify-content: center;
  1530. width: auto;
  1531. }
  1532. .block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary {
  1533. background-color: #fff;
  1534. }
  1535. .block-editor-block-variation-picker__variation.components-button {
  1536. height: auto;
  1537. padding: 0;
  1538. }
  1539. .block-editor-block-variation-picker__variation::before {
  1540. content: "";
  1541. padding-bottom: 100%;
  1542. }
  1543. .block-editor-block-variation-picker__variation:first-child {
  1544. margin-right: 0;
  1545. }
  1546. .block-editor-block-variation-picker__variation:last-child {
  1547. margin-left: 0;
  1548. }
  1549. .block-editor-block-pattern-setup {
  1550. display: flex;
  1551. flex-direction: column;
  1552. justify-content: center;
  1553. align-items: flex-start;
  1554. width: 100%;
  1555. border-radius: 2px;
  1556. }
  1557. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar {
  1558. justify-content: center;
  1559. }
  1560. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
  1561. column-gap: 24px;
  1562. display: block;
  1563. width: 100%;
  1564. padding: 32px;
  1565. column-count: 2;
  1566. }
  1567. @media (min-width: 1440px) {
  1568. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
  1569. column-count: 3;
  1570. }
  1571. }
  1572. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,
  1573. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button] {
  1574. cursor: pointer;
  1575. }
  1576. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item {
  1577. break-inside: avoid-column;
  1578. margin-bottom: 24px;
  1579. }
  1580. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__container {
  1581. min-height: 100px;
  1582. border-radius: 2px;
  1583. border: 1px solid #ddd;
  1584. }
  1585. .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__content {
  1586. width: 100%;
  1587. }
  1588. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar {
  1589. height: 60px;
  1590. box-sizing: border-box;
  1591. padding: 16px;
  1592. width: 100%;
  1593. text-align: right;
  1594. margin: 0;
  1595. color: #1e1e1e;
  1596. border-radius: 2px 2px 0 0;
  1597. background-color: #fff;
  1598. display: flex;
  1599. flex-direction: row;
  1600. align-items: center;
  1601. justify-content: space-between;
  1602. border-top: 1px solid #ddd;
  1603. align-self: flex-end;
  1604. }
  1605. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls {
  1606. display: flex;
  1607. }
  1608. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation,
  1609. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions {
  1610. width: calc(50% - 36px);
  1611. display: flex;
  1612. }
  1613. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions {
  1614. justify-content: flex-end;
  1615. }
  1616. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container {
  1617. display: flex;
  1618. flex-direction: column;
  1619. width: 100%;
  1620. box-sizing: border-box;
  1621. }
  1622. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container {
  1623. overflow: hidden;
  1624. position: relative;
  1625. padding: 0;
  1626. margin: 0;
  1627. list-style: none;
  1628. transform-style: preserve-3d;
  1629. }
  1630. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container * {
  1631. box-sizing: border-box;
  1632. }
  1633. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide {
  1634. position: absolute;
  1635. top: 0;
  1636. width: 100%;
  1637. margin: auto;
  1638. padding: 0;
  1639. transition: transform 0.5s, z-index 0.5s;
  1640. z-index: 100;
  1641. }
  1642. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide {
  1643. opacity: 1;
  1644. position: relative;
  1645. z-index: 102;
  1646. }
  1647. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide {
  1648. transform: translateX(100%);
  1649. z-index: 101;
  1650. }
  1651. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide {
  1652. transform: translateX(-100%);
  1653. z-index: 101;
  1654. }
  1655. .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender {
  1656. display: none;
  1657. }
  1658. .block-editor-block-pattern-setup__carousel,
  1659. .block-editor-block-pattern-setup__grid {
  1660. width: 100%;
  1661. overflow-y: auto;
  1662. }
  1663. .block-editor-block-variation-transforms {
  1664. padding: 0 52px 16px 16px;
  1665. width: 100%;
  1666. }
  1667. .block-editor-block-variation-transforms .components-dropdown-menu__toggle {
  1668. border: 1px solid #757575;
  1669. border-radius: 2px;
  1670. min-height: 30px;
  1671. width: 100%;
  1672. position: relative;
  1673. text-align: right;
  1674. justify-content: left;
  1675. padding: 6px 12px;
  1676. }
  1677. .block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle {
  1678. padding-left: 24px;
  1679. }
  1680. .block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled) {
  1681. border-color: var(--wp-admin-theme-color);
  1682. box-shadow: 0 0 0 calc(var(--wp-admin-border-width-focus) - 1px) var(--wp-admin-theme-color);
  1683. }
  1684. .block-editor-block-variation-transforms .components-dropdown-menu__toggle svg {
  1685. height: 100%;
  1686. padding: 0;
  1687. position: absolute;
  1688. left: 0;
  1689. top: 0;
  1690. }
  1691. .block-editor-block-variation-transforms__popover .components-popover__content {
  1692. min-width: 230px;
  1693. }
  1694. .components-border-radius-control {
  1695. margin-bottom: 12px;
  1696. }
  1697. .components-border-radius-control legend {
  1698. margin-bottom: 8px;
  1699. }
  1700. .components-border-radius-control .components-border-radius-control__wrapper {
  1701. display: flex;
  1702. justify-content: space-between;
  1703. align-items: flex-start;
  1704. }
  1705. .components-border-radius-control .components-border-radius-control__wrapper > .components-unit-control-wrapper {
  1706. width: calc(50% - 26px);
  1707. margin-bottom: 0;
  1708. }
  1709. .components-border-radius-control .components-border-radius-control__wrapper .components-range-control {
  1710. width: calc(50% - 26px);
  1711. margin-bottom: 0;
  1712. }
  1713. .components-border-radius-control .components-border-radius-control__wrapper .components-range-control .components-base-control__field {
  1714. margin-bottom: 0;
  1715. height: 30px;
  1716. }
  1717. .components-border-radius-control .components-border-radius-control__wrapper .components-range-control .components-range-control__wrapper {
  1718. margin-left: 10px;
  1719. }
  1720. .components-border-radius-control .components-border-radius-control__wrapper > span {
  1721. flex: 0 0 auto;
  1722. }
  1723. .components-border-radius-control .components-border-radius-control__input-controls-wrapper {
  1724. display: flex;
  1725. width: 70%;
  1726. flex-wrap: wrap;
  1727. }
  1728. .components-border-radius-control .components-border-radius-control__input-controls-wrapper .components-unit-control-wrapper {
  1729. width: calc(50% - 8px);
  1730. margin-bottom: 8px;
  1731. margin-left: 8px;
  1732. }
  1733. .components-border-radius-control .component-border-radius-control__linked-button.has-icon {
  1734. display: flex;
  1735. justify-content: center;
  1736. }
  1737. .components-border-radius-control .component-border-radius-control__linked-button.has-icon svg {
  1738. margin-left: 0;
  1739. }
  1740. .components-border-style-control legend {
  1741. line-height: 1.4;
  1742. margin-bottom: 8px;
  1743. padding: 0;
  1744. }
  1745. .components-border-style-control .components-border-style-control__buttons {
  1746. display: inline-flex;
  1747. }
  1748. .components-border-style-control .components-border-style-control__buttons .components-button.has-icon {
  1749. min-width: 30px;
  1750. height: 30px;
  1751. padding: 3px;
  1752. margin-left: 4px;
  1753. }
  1754. .block-editor-button-block-appender {
  1755. display: flex;
  1756. flex-direction: column;
  1757. align-items: center;
  1758. justify-content: center;
  1759. width: 100%;
  1760. height: auto;
  1761. color: #1e1e1e;
  1762. box-shadow: inset 0 0 0 1px #1e1e1e;
  1763. }
  1764. .block-editor-button-block-appender.components-button.components-button {
  1765. padding: 12px;
  1766. }
  1767. .is-dark-theme .block-editor-button-block-appender {
  1768. color: rgba(255, 255, 255, 0.65);
  1769. box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  1770. }
  1771. .block-editor-button-block-appender:hover {
  1772. color: var(--wp-admin-theme-color);
  1773. box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
  1774. }
  1775. .block-editor-button-block-appender:focus {
  1776. box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
  1777. }
  1778. .block-editor-button-block-appender:active {
  1779. color: #000;
  1780. }
  1781. .block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator {
  1782. margin-bottom: 12px;
  1783. }
  1784. .block-editor-color-gradient-control__fieldset {
  1785. min-width: 0;
  1786. }
  1787. .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title {
  1788. display: flex;
  1789. gap: 8px;
  1790. }
  1791. .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
  1792. width: 12px;
  1793. height: 12px;
  1794. align-self: center;
  1795. }
  1796. .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator:first-child {
  1797. margin-right: 12px;
  1798. }
  1799. .block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
  1800. display: none;
  1801. }
  1802. @media screen and (min-width: 782px) {
  1803. .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches {
  1804. display: grid;
  1805. grid-template-columns: repeat(6, 28px);
  1806. justify-content: space-between;
  1807. }
  1808. }
  1809. .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
  1810. margin-bottom: inherit;
  1811. }
  1812. .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown {
  1813. display: block;
  1814. }
  1815. .block-editor-panel-color-gradient-settings__dropdown {
  1816. width: 100%;
  1817. }
  1818. .block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content > div {
  1819. width: 280px;
  1820. }
  1821. @media (min-width: 782px) {
  1822. .block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content {
  1823. margin-left: 156px !important;
  1824. }
  1825. .block-editor-panel-color-gradient-settings__dropdown-content.is-from-top .components-popover__content {
  1826. margin-top: -60px !important;
  1827. }
  1828. .block-editor-panel-color-gradient-settings__dropdown-content.is-from-bottom .components-popover__content {
  1829. margin-bottom: -60px !important;
  1830. }
  1831. }
  1832. .block-editor-panel-color-gradient-settings__dropdown:last-child > div {
  1833. border-bottom-width: 0;
  1834. }
  1835. .block-editor-panel-color-gradient-settings__item {
  1836. padding-top: 12px !important;
  1837. padding-bottom: 12px !important;
  1838. }
  1839. .block-editor-panel-color-gradient-settings__item .block-editor-panel-color-gradient-settings__color-indicator {
  1840. background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
  1841. }
  1842. .block-editor-panel-color-gradient-settings__item.is-open {
  1843. background: #f0f0f0;
  1844. color: var(--wp-admin-theme-color);
  1845. }
  1846. .block-editor-contrast-checker > .components-notice {
  1847. margin: 0;
  1848. }
  1849. /**
  1850. * Default block appender.
  1851. *
  1852. * This component shows up in 3 places:
  1853. * - the black plus that sits at the end of the canvas, if the last block isn't a paragraph
  1854. * - on the right, inside empty paragraphs
  1855. * - absolute positioned and blue inside nesting containers
  1856. */
  1857. .block-editor-default-block-appender {
  1858. clear: both;
  1859. margin-right: auto;
  1860. margin-left: auto;
  1861. position: relative;
  1862. }
  1863. .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
  1864. outline: 1px solid transparent;
  1865. }
  1866. .block-editor-default-block-appender .block-editor-default-block-appender__content {
  1867. opacity: 0.62;
  1868. }
  1869. .block-editor-default-block-appender .components-drop-zone__content-icon {
  1870. display: none;
  1871. }
  1872. .block-editor-default-block-appender .block-editor-inserter,
  1873. .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter {
  1874. position: absolute;
  1875. top: 0;
  1876. left: 0;
  1877. line-height: 0;
  1878. }
  1879. .block-editor-default-block-appender .block-editor-inserter:disabled,
  1880. .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter:disabled {
  1881. display: none;
  1882. }
  1883. /**
  1884. * Fixed position appender.
  1885. * These styles apply to all in-canvas inserters that exist inside nesting containers.
  1886. */
  1887. .block-editor-block-list__block .block-list-appender {
  1888. position: absolute;
  1889. list-style: none;
  1890. padding: 0;
  1891. z-index: 2;
  1892. bottom: 0;
  1893. left: 0;
  1894. }
  1895. .block-editor-block-list__block .block-list-appender.block-list-appender {
  1896. margin: 0;
  1897. line-height: 0;
  1898. }
  1899. .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender {
  1900. height: 24px;
  1901. }
  1902. .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
  1903. .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
  1904. flex-direction: row;
  1905. box-shadow: none;
  1906. height: 24px;
  1907. width: 24px;
  1908. display: none;
  1909. padding: 0 !important;
  1910. background: #1e1e1e;
  1911. color: #fff;
  1912. }
  1913. .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
  1914. .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
  1915. color: #fff;
  1916. background: var(--wp-admin-theme-color);
  1917. }
  1918. .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
  1919. display: none;
  1920. }
  1921. .block-editor-block-list__block .block-list-appender:only-child {
  1922. position: relative;
  1923. left: auto;
  1924. align-self: center;
  1925. list-style: none;
  1926. line-height: inherit;
  1927. }
  1928. .block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content {
  1929. display: block;
  1930. }
  1931. .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
  1932. .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle,
  1933. .block-editor-block-list__block.is-selected > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
  1934. .block-editor-block-list__block.is-selected > .block-list-appender .block-list-appender__toggle {
  1935. display: flex;
  1936. }
  1937. .block-editor-default-block-appender__content {
  1938. cursor: text;
  1939. }
  1940. .block-editor-date-format-picker {
  1941. margin-bottom: 16px;
  1942. }
  1943. .block-editor-date-format-picker__default-format-toggle-control__hint {
  1944. color: #757575;
  1945. display: block;
  1946. }
  1947. .block-editor-date-format-picker__custom-format-select-control.components-base-control {
  1948. margin-bottom: 0;
  1949. }
  1950. .block-editor-date-format-picker__custom-format-select-control .components-custom-select-control__button {
  1951. width: 100%;
  1952. }
  1953. .block-editor-date-format-picker__custom-format-select-control__custom-option {
  1954. border-top: 1px solid #ddd;
  1955. }
  1956. .block-editor-date-format-picker__custom-format-select-control__custom-option.has-hint {
  1957. grid-template-columns: auto 30px;
  1958. }
  1959. .block-editor-date-format-picker__custom-format-select-control__custom-option .components-custom-select-control__item-hint {
  1960. grid-row: 2;
  1961. text-align: right;
  1962. }
  1963. .block-editor-duotone-control__popover > .components-popover__content > div {
  1964. padding: 16px;
  1965. width: 280px;
  1966. }
  1967. .block-editor-duotone-control__popover .components-menu-group__label {
  1968. padding: 0;
  1969. }
  1970. .block-editor-duotone-control__popover .components-custom-gradient-picker__gradient-bar {
  1971. margin: 16px 0 12px;
  1972. }
  1973. .block-editor-duotone-control__popover .components-circular-option-picker__swatches {
  1974. display: grid;
  1975. grid-template-columns: repeat(6, 28px);
  1976. gap: 12px;
  1977. justify-content: space-between;
  1978. }
  1979. .block-editor-duotone-control__description {
  1980. margin: 16px 0;
  1981. font-size: 12px;
  1982. }
  1983. .block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right]) > .components-popover__content {
  1984. margin-right: -14px;
  1985. }
  1986. .components-font-appearance-control {
  1987. margin-bottom: 24px;
  1988. }
  1989. .components-font-appearance-control ul li {
  1990. color: #1e1e1e;
  1991. text-transform: capitalize;
  1992. }
  1993. .block-editor-image-size-control {
  1994. margin-bottom: 1em;
  1995. }
  1996. .block-editor-image-size-control .block-editor-image-size-control__row {
  1997. display: flex;
  1998. justify-content: space-between;
  1999. }
  2000. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width,
  2001. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
  2002. margin-bottom: 0.5em;
  2003. }
  2004. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input,
  2005. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input {
  2006. line-height: 1.25;
  2007. }
  2008. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width {
  2009. margin-left: 5px;
  2010. }
  2011. .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
  2012. margin-right: 5px;
  2013. }
  2014. .block-editor-block-list__layout.has-overlay::after {
  2015. content: "";
  2016. position: absolute;
  2017. top: 0;
  2018. left: 0;
  2019. bottom: 0;
  2020. right: 0;
  2021. z-index: 60;
  2022. }
  2023. .block-editor-block-types-list__list-item {
  2024. display: block;
  2025. width: 33.33%;
  2026. padding: 0;
  2027. margin: 0;
  2028. }
  2029. .components-button.block-editor-block-types-list__item {
  2030. display: flex;
  2031. flex-direction: column;
  2032. width: 100%;
  2033. font-size: 13px;
  2034. color: #1e1e1e;
  2035. padding: 8px;
  2036. align-items: stretch;
  2037. justify-content: center;
  2038. cursor: pointer;
  2039. background: transparent;
  2040. word-break: break-word;
  2041. border-radius: 2px;
  2042. transition: all 0.05s ease-in-out;
  2043. position: relative;
  2044. height: auto;
  2045. }
  2046. @media (prefers-reduced-motion: reduce) {
  2047. .components-button.block-editor-block-types-list__item {
  2048. transition-duration: 0s;
  2049. transition-delay: 0s;
  2050. }
  2051. }
  2052. .components-button.block-editor-block-types-list__item:disabled {
  2053. opacity: 0.6;
  2054. cursor: default;
  2055. }
  2056. .components-button.block-editor-block-types-list__item:not(:disabled):hover {
  2057. color: var(--wp-admin-theme-color) !important;
  2058. }
  2059. .components-button.block-editor-block-types-list__item:not(:disabled):focus {
  2060. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2061. }
  2062. .components-button.block-editor-block-types-list__item:not(:disabled).is-active {
  2063. color: #fff;
  2064. background: #1e1e1e;
  2065. outline: 2px solid transparent;
  2066. outline-offset: -2px;
  2067. }
  2068. .block-editor-block-types-list__item-icon {
  2069. padding: 12px 20px;
  2070. border-radius: 2px;
  2071. color: #1e1e1e;
  2072. transition: all 0.05s ease-in-out;
  2073. }
  2074. @media (prefers-reduced-motion: reduce) {
  2075. .block-editor-block-types-list__item-icon {
  2076. transition-duration: 0s;
  2077. transition-delay: 0s;
  2078. }
  2079. }
  2080. .block-editor-block-types-list__item-icon .block-editor-block-icon {
  2081. margin-right: auto;
  2082. margin-left: auto;
  2083. }
  2084. .block-editor-block-types-list__item-icon svg {
  2085. transition: all 0.15s ease-out;
  2086. }
  2087. @media (prefers-reduced-motion: reduce) {
  2088. .block-editor-block-types-list__item-icon svg {
  2089. transition-duration: 0s;
  2090. transition-delay: 0s;
  2091. }
  2092. }
  2093. .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon {
  2094. cursor: grab;
  2095. }
  2096. .block-editor-block-types-list__item-title {
  2097. padding: 4px 2px 8px;
  2098. font-size: 12px;
  2099. }
  2100. .items-justified-left {
  2101. justify-content: flex-start;
  2102. }
  2103. .items-justified-center {
  2104. justify-content: center;
  2105. }
  2106. .items-justified-right {
  2107. justify-content: flex-end;
  2108. }
  2109. .items-justified-space-between {
  2110. justify-content: space-between;
  2111. }
  2112. @keyframes loadingpulse {
  2113. 0% {
  2114. opacity: 1;
  2115. }
  2116. 50% {
  2117. opacity: 0;
  2118. }
  2119. 100% {
  2120. opacity: 1;
  2121. }
  2122. }
  2123. .block-editor-link-control {
  2124. position: relative;
  2125. min-width: 360px;
  2126. }
  2127. .components-popover__content .block-editor-link-control {
  2128. min-width: auto;
  2129. width: 90vw;
  2130. max-width: 360px;
  2131. }
  2132. .block-editor-link-control__search-input-wrapper {
  2133. position: relative;
  2134. }
  2135. .block-editor-link-control__search-input-container {
  2136. position: relative;
  2137. }
  2138. .block-editor-link-control__search-input.has-no-label .block-editor-url-input__input {
  2139. flex: 1;
  2140. }
  2141. .block-editor-link-control__field {
  2142. margin: 16px;
  2143. }
  2144. .block-editor-link-control__field > .components-base-control__field {
  2145. display: flex;
  2146. align-items: center;
  2147. margin: 0;
  2148. }
  2149. .block-editor-link-control__field .components-base-control__label {
  2150. margin-left: 16px;
  2151. margin-bottom: 0;
  2152. }
  2153. .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
  2154. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2155. padding: 6px 8px;
  2156. box-shadow: 0 0 0 transparent;
  2157. transition: box-shadow 0.1s linear;
  2158. border-radius: 2px;
  2159. border: 1px solid #757575;
  2160. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2161. font-size: 16px;
  2162. /* Override core line-height. To be reviewed. */
  2163. line-height: normal;
  2164. width: calc(100% - 32px);
  2165. display: block;
  2166. padding: 11px 16px;
  2167. padding-left: 36px;
  2168. margin: 0;
  2169. position: relative;
  2170. border: 1px solid #ddd;
  2171. border-radius: 2px;
  2172. }
  2173. @media (prefers-reduced-motion: reduce) {
  2174. .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
  2175. transition-duration: 0s;
  2176. transition-delay: 0s;
  2177. }
  2178. }
  2179. @media (min-width: 600px) {
  2180. .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
  2181. font-size: 13px;
  2182. /* Override core line-height. To be reviewed. */
  2183. line-height: normal;
  2184. }
  2185. }
  2186. .block-editor-link-control__field input[type=text]:focus, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:focus {
  2187. border-color: var(--wp-admin-theme-color);
  2188. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  2189. outline: 2px solid transparent;
  2190. }
  2191. .block-editor-link-control__field input[type=text]::-webkit-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-webkit-input-placeholder {
  2192. color: rgba(30, 30, 30, 0.62);
  2193. }
  2194. .block-editor-link-control__field input[type=text]::-moz-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-moz-placeholder {
  2195. opacity: 1;
  2196. color: rgba(30, 30, 30, 0.62);
  2197. }
  2198. .block-editor-link-control__field input[type=text]:-ms-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:-ms-input-placeholder {
  2199. color: rgba(30, 30, 30, 0.62);
  2200. }
  2201. .block-editor-link-control__search-error {
  2202. margin: -8px 16px 16px;
  2203. }
  2204. .block-editor-link-control__search-actions {
  2205. position: absolute;
  2206. /*
  2207. * Actions must be positioned on top of URLInput, since the input will grow
  2208. * when suggestions are rendered.
  2209. *
  2210. * Compensate for:
  2211. * - Border (1px)
  2212. * - Vertically, for the difference in height between the input (40px) and
  2213. * the icon buttons.
  2214. * - Horizontally, pad to the minimum of: default input padding, or the
  2215. * equivalent of the vertical padding.
  2216. */
  2217. top: 3px;
  2218. left: 19px;
  2219. }
  2220. .components-button .block-editor-link-control__search-submit .has-icon {
  2221. margin: -1px;
  2222. }
  2223. .block-editor-link-control__search-results-wrapper {
  2224. position: relative;
  2225. margin-top: -15px;
  2226. }
  2227. .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
  2228. content: "";
  2229. position: absolute;
  2230. right: -1px;
  2231. left: 16px;
  2232. display: block;
  2233. pointer-events: none;
  2234. z-index: 100;
  2235. }
  2236. .block-editor-link-control__search-results-wrapper::before {
  2237. height: 8px;
  2238. top: 0;
  2239. bottom: auto;
  2240. }
  2241. .block-editor-link-control__search-results-wrapper::after {
  2242. height: 16px;
  2243. bottom: 0;
  2244. top: auto;
  2245. }
  2246. .block-editor-link-control__search-results-label {
  2247. padding: 16px 32px 0;
  2248. display: block;
  2249. font-weight: 600;
  2250. }
  2251. .block-editor-link-control__search-results {
  2252. margin: 0;
  2253. padding: 8px 16px 8px;
  2254. max-height: 200px;
  2255. overflow-y: auto;
  2256. }
  2257. .block-editor-link-control__search-results.is-loading {
  2258. opacity: 0.2;
  2259. }
  2260. .block-editor-link-control__search-item {
  2261. position: relative;
  2262. display: flex;
  2263. align-items: flex-start;
  2264. font-size: 13px;
  2265. cursor: pointer;
  2266. background: #fff;
  2267. width: 100%;
  2268. border: none;
  2269. text-align: right;
  2270. padding: 12px 16px;
  2271. border-radius: 2px;
  2272. height: auto;
  2273. }
  2274. .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
  2275. background-color: #f0f0f0;
  2276. }
  2277. .block-editor-link-control__search-item:hover .block-editor-link-control__search-item-type, .block-editor-link-control__search-item:focus .block-editor-link-control__search-item-type {
  2278. background: #fff;
  2279. }
  2280. .block-editor-link-control__search-item:focus:not(:disabled) {
  2281. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
  2282. }
  2283. .block-editor-link-control__search-item.is-selected {
  2284. background: #f0f0f0;
  2285. }
  2286. .block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type {
  2287. background: #fff;
  2288. }
  2289. .block-editor-link-control__search-item.is-current {
  2290. flex-direction: column;
  2291. background: transparent;
  2292. border: 0;
  2293. width: 100%;
  2294. cursor: default;
  2295. padding: 16px;
  2296. }
  2297. .block-editor-link-control__search-item .block-editor-link-control__search-item-header {
  2298. display: block;
  2299. flex-direction: row;
  2300. align-items: flex-start;
  2301. margin-left: 8px;
  2302. white-space: pre-wrap;
  2303. overflow-wrap: break-word;
  2304. }
  2305. .block-editor-link-control__search-item .block-editor-link-control__search-item-header .block-editor-link-control__search-item-info {
  2306. word-break: break-all;
  2307. }
  2308. .block-editor-link-control__search-item.is-preview .block-editor-link-control__search-item-header {
  2309. display: flex;
  2310. flex: 1;
  2311. }
  2312. .block-editor-link-control__search-item.is-error .block-editor-link-control__search-item-header {
  2313. align-items: center;
  2314. }
  2315. .block-editor-link-control__search-item .block-editor-link-control__search-item-icon {
  2316. position: relative;
  2317. top: 0.2em;
  2318. margin-left: 8px;
  2319. max-height: 24px;
  2320. flex-shrink: 0;
  2321. width: 24px;
  2322. display: flex;
  2323. justify-content: center;
  2324. }
  2325. .block-editor-link-control__search-item .block-editor-link-control__search-item-icon img {
  2326. width: 16px;
  2327. }
  2328. .block-editor-link-control__search-item.is-error .block-editor-link-control__search-item-icon {
  2329. top: 0;
  2330. width: 32px;
  2331. max-height: 32px;
  2332. }
  2333. .block-editor-link-control__search-item .block-editor-link-control__search-item-info,
  2334. .block-editor-link-control__search-item .block-editor-link-control__search-item-title {
  2335. overflow: hidden;
  2336. text-overflow: ellipsis;
  2337. }
  2338. .block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,
  2339. .block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon {
  2340. position: absolute;
  2341. left: 0;
  2342. margin-top: 0;
  2343. }
  2344. .block-editor-link-control__search-item .block-editor-link-control__search-item-title {
  2345. display: block;
  2346. margin-bottom: 0.2em;
  2347. font-weight: 500;
  2348. position: relative;
  2349. }
  2350. .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
  2351. font-weight: 700;
  2352. color: inherit;
  2353. background-color: transparent;
  2354. }
  2355. .block-editor-link-control__search-item .block-editor-link-control__search-item-title span {
  2356. font-weight: normal;
  2357. }
  2358. .block-editor-link-control__search-item .block-editor-link-control__search-item-title svg {
  2359. display: none;
  2360. }
  2361. .block-editor-link-control__search-item .block-editor-link-control__search-item-info {
  2362. display: block;
  2363. color: #757575;
  2364. font-size: 0.9em;
  2365. line-height: 1.3;
  2366. }
  2367. .block-editor-link-control__search-item .block-editor-link-control__search-item-error-notice {
  2368. font-style: italic;
  2369. font-size: 1.1em;
  2370. }
  2371. .block-editor-link-control__search-item .block-editor-link-control__search-item-type {
  2372. display: block;
  2373. padding: 3px 6px;
  2374. margin-right: auto;
  2375. font-size: 0.9em;
  2376. background-color: #f0f0f0;
  2377. border-radius: 2px;
  2378. white-space: nowrap;
  2379. }
  2380. .block-editor-link-control__search-item .block-editor-link-control__search-item-description {
  2381. padding-top: 12px;
  2382. margin: 0;
  2383. }
  2384. .block-editor-link-control__search-item .block-editor-link-control__search-item-description.is-placeholder {
  2385. margin-top: 12px;
  2386. padding-top: 0;
  2387. height: 28px;
  2388. display: flex;
  2389. flex-direction: column;
  2390. justify-content: space-around;
  2391. }
  2392. .block-editor-link-control__search-item .block-editor-link-control__search-item-description.is-placeholder::before, .block-editor-link-control__search-item .block-editor-link-control__search-item-description.is-placeholder::after {
  2393. display: block;
  2394. content: "";
  2395. height: 0.7em;
  2396. width: 100%;
  2397. background-color: #f0f0f0;
  2398. border-radius: 3px;
  2399. }
  2400. .block-editor-link-control__search-item .block-editor-link-control__search-item-description .components-text {
  2401. font-size: 0.9em;
  2402. }
  2403. .block-editor-link-control__search-item .block-editor-link-control__search-item-image {
  2404. display: flex;
  2405. width: 100%;
  2406. background-color: #f0f0f0;
  2407. justify-content: center;
  2408. height: 140px;
  2409. max-height: 140px;
  2410. overflow: hidden;
  2411. border-radius: 2px;
  2412. margin-top: 12px;
  2413. }
  2414. .block-editor-link-control__search-item .block-editor-link-control__search-item-image.is-placeholder {
  2415. background-color: #f0f0f0;
  2416. border-radius: 3px;
  2417. }
  2418. .block-editor-link-control__search-item .block-editor-link-control__search-item-image img {
  2419. display: block;
  2420. max-width: 100%;
  2421. height: 140px;
  2422. max-height: 140px;
  2423. }
  2424. .block-editor-link-control__search-item-top {
  2425. display: flex;
  2426. flex-direction: row;
  2427. width: 100%;
  2428. }
  2429. .block-editor-link-control__search-item-bottom {
  2430. transition: opacity 1.5s;
  2431. width: 100%;
  2432. }
  2433. .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-description::before, .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-description::after {
  2434. animation: loadingpulse 1s linear infinite;
  2435. animation-delay: 0.5s;
  2436. }
  2437. .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-image {
  2438. animation: loadingpulse 1s linear infinite;
  2439. animation-delay: 0.5s;
  2440. }
  2441. .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-icon svg,
  2442. .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-icon img {
  2443. opacity: 0;
  2444. }
  2445. .block-editor-link-control__search-item.is-fetching .block-editor-link-control__search-item-icon::before {
  2446. content: "";
  2447. display: block;
  2448. background-color: #f0f0f0;
  2449. position: absolute;
  2450. top: 0;
  2451. right: 0;
  2452. left: 0;
  2453. bottom: 0;
  2454. border-radius: 100%;
  2455. animation: loadingpulse 1s linear infinite;
  2456. animation-delay: 0.5s;
  2457. }
  2458. .block-editor-link-control__loading {
  2459. margin: 16px;
  2460. display: flex;
  2461. align-items: center;
  2462. }
  2463. .block-editor-link-control__loading .components-spinner {
  2464. margin-top: 0;
  2465. }
  2466. .components-button + .block-editor-link-control__search-create {
  2467. overflow: visible;
  2468. padding: 12px 16px;
  2469. }
  2470. .components-button + .block-editor-link-control__search-create::before {
  2471. content: "";
  2472. position: absolute;
  2473. top: -10px;
  2474. right: 0;
  2475. display: block;
  2476. width: 100%;
  2477. }
  2478. .block-editor-link-control__search-create {
  2479. align-items: center;
  2480. }
  2481. .block-editor-link-control__search-create .block-editor-link-control__search-item-title {
  2482. margin-bottom: 0;
  2483. }
  2484. .block-editor-link-control__search-create .block-editor-link-control__search-item-icon {
  2485. top: 0;
  2486. }
  2487. .block-editor-link-control__search-results div[role=menu] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
  2488. padding: 10px;
  2489. }
  2490. .block-editor-link-control__tools {
  2491. display: flex;
  2492. align-items: center;
  2493. border-top: 1px solid #ddd;
  2494. margin: 0;
  2495. padding: 16px;
  2496. }
  2497. .block-editor-link-control__unlink {
  2498. padding-right: 16px;
  2499. padding-left: 16px;
  2500. }
  2501. .block-editor-link-control__settings {
  2502. flex: 1;
  2503. margin: 0;
  2504. }
  2505. .block-editor-link-control__settings :last-child {
  2506. margin-bottom: 0;
  2507. }
  2508. .is-alternate .block-editor-link-control__settings {
  2509. border-top: 1px solid #1e1e1e;
  2510. }
  2511. .block-editor-link-control__setting {
  2512. margin-bottom: 16px;
  2513. }
  2514. .block-editor-link-control__setting :last-child {
  2515. margin-bottom: 0;
  2516. }
  2517. .block-editor-link-control .block-editor-link-control__search-input .components-spinner {
  2518. display: block;
  2519. }
  2520. .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
  2521. position: absolute;
  2522. right: auto;
  2523. bottom: auto;
  2524. /*
  2525. * Position spinner to the left of the actions.
  2526. *
  2527. * Compensate for:
  2528. * - Input padding right ($button-size)
  2529. */
  2530. top: calc(50% - 16px / 2);
  2531. left: 36px;
  2532. }
  2533. .block-editor-link-control__search-item-action {
  2534. margin-right: auto;
  2535. flex-shrink: 0;
  2536. }
  2537. .block-editor-list-view-tree {
  2538. width: 100%;
  2539. border-collapse: collapse;
  2540. padding: 0;
  2541. margin: 0;
  2542. }
  2543. .components-modal__content .block-editor-list-view-tree {
  2544. margin: -12px -6px 0;
  2545. width: calc(100% + 12px);
  2546. }
  2547. .block-editor-list-view-leaf {
  2548. position: relative;
  2549. }
  2550. .block-editor-list-view-leaf.is-selected td {
  2551. background: var(--wp-admin-theme-color);
  2552. }
  2553. .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
  2554. color: #fff;
  2555. }
  2556. .is-dragging-components-draggable .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents {
  2557. background: none;
  2558. color: #1e1e1e;
  2559. }
  2560. .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
  2561. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2562. }
  2563. .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
  2564. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
  2565. }
  2566. .block-editor-list-view-leaf.is-dragging {
  2567. display: none;
  2568. }
  2569. .block-editor-list-view-leaf.is-first-selected td:first-child {
  2570. border-top-right-radius: 2px;
  2571. }
  2572. .block-editor-list-view-leaf.is-first-selected td:last-child {
  2573. border-top-left-radius: 2px;
  2574. }
  2575. .block-editor-list-view-leaf.is-last-selected td:first-child {
  2576. border-bottom-right-radius: 2px;
  2577. }
  2578. .block-editor-list-view-leaf.is-last-selected td:last-child {
  2579. border-bottom-left-radius: 2px;
  2580. }
  2581. .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) {
  2582. background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(var(--wp-admin-theme-color), var(--wp-admin-theme-color));
  2583. }
  2584. .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child {
  2585. border-top-right-radius: 2px;
  2586. }
  2587. .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:last-child {
  2588. border-top-left-radius: 2px;
  2589. }
  2590. .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-first-selected td:first-child {
  2591. border-top-right-radius: 2px;
  2592. }
  2593. .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-first-selected td:last-child {
  2594. border-top-left-radius: 2px;
  2595. }
  2596. .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-last-selected td:first-child {
  2597. border-bottom-right-radius: 2px;
  2598. }
  2599. .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-last-selected td:last-child {
  2600. border-bottom-left-radius: 2px;
  2601. }
  2602. .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) td {
  2603. border-radius: 0;
  2604. }
  2605. .block-editor-list-view-leaf .block-editor-list-view-block-contents {
  2606. display: flex;
  2607. align-items: center;
  2608. width: 100%;
  2609. height: auto;
  2610. padding: 6px 0 6px 12px;
  2611. text-align: right;
  2612. color: #1e1e1e;
  2613. border-radius: 2px;
  2614. position: relative;
  2615. white-space: nowrap;
  2616. }
  2617. .block-editor-list-view-leaf .block-editor-list-view-block-contents.is-dropping-before::before {
  2618. content: "";
  2619. position: absolute;
  2620. pointer-events: none;
  2621. transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
  2622. top: -2px;
  2623. left: 0;
  2624. right: 0;
  2625. border-top: 4px solid var(--wp-admin-theme-color);
  2626. }
  2627. .components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents {
  2628. padding-right: 0;
  2629. padding-left: 0;
  2630. }
  2631. .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus {
  2632. box-shadow: none;
  2633. }
  2634. .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
  2635. content: "";
  2636. position: absolute;
  2637. top: 0;
  2638. left: -29px;
  2639. bottom: 0;
  2640. right: 0;
  2641. border-radius: inherit;
  2642. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2643. z-index: 2;
  2644. pointer-events: none;
  2645. }
  2646. .is-dragging-components-draggable .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
  2647. box-shadow: none;
  2648. }
  2649. .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
  2650. left: 0;
  2651. }
  2652. .block-editor-list-view-leaf .block-editor-list-view-block__menu:focus {
  2653. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2654. z-index: 1;
  2655. }
  2656. .is-dragging-components-draggable .block-editor-list-view-leaf .block-editor-list-view-block__menu:focus {
  2657. box-shadow: none;
  2658. }
  2659. .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
  2660. opacity: 1;
  2661. animation: edit-post__fade-in-animation 0.2s ease-out 0s;
  2662. animation-fill-mode: forwards;
  2663. }
  2664. @media (prefers-reduced-motion: reduce) {
  2665. .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
  2666. animation-duration: 1ms;
  2667. animation-delay: 0s;
  2668. }
  2669. }
  2670. .block-editor-list-view-leaf .block-editor-block-icon {
  2671. align-self: flex-start;
  2672. margin-left: 8px;
  2673. width: 24px;
  2674. }
  2675. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
  2676. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell,
  2677. .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell {
  2678. padding-top: 0;
  2679. padding-bottom: 0;
  2680. }
  2681. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
  2682. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell {
  2683. line-height: 0;
  2684. width: 36px;
  2685. vertical-align: middle;
  2686. }
  2687. @media (prefers-reduced-motion: reduce) {
  2688. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
  2689. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell {
  2690. transition-duration: 0s;
  2691. transition-delay: 0s;
  2692. }
  2693. }
  2694. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *,
  2695. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * {
  2696. opacity: 0;
  2697. }
  2698. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible,
  2699. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover,
  2700. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible {
  2701. position: relative;
  2702. z-index: 1;
  2703. }
  2704. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *,
  2705. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *,
  2706. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * {
  2707. opacity: 1;
  2708. animation: edit-post__fade-in-animation 0.2s ease-out 0s;
  2709. animation-fill-mode: forwards;
  2710. }
  2711. @media (prefers-reduced-motion: reduce) {
  2712. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *,
  2713. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *,
  2714. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * {
  2715. animation-duration: 1ms;
  2716. animation-delay: 0s;
  2717. }
  2718. }
  2719. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
  2720. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon,
  2721. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell,
  2722. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell .components-button.has-icon {
  2723. width: 24px;
  2724. min-width: 24px;
  2725. padding: 0;
  2726. }
  2727. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell {
  2728. padding-left: 5px;
  2729. }
  2730. .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon {
  2731. height: 24px;
  2732. }
  2733. .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell-alignment-wrapper {
  2734. display: flex;
  2735. height: 100%;
  2736. flex-direction: column;
  2737. align-items: center;
  2738. }
  2739. .block-editor-list-view-leaf .block-editor-block-mover-button {
  2740. position: relative;
  2741. width: 36px;
  2742. height: 24px;
  2743. }
  2744. .block-editor-list-view-leaf .block-editor-block-mover-button svg {
  2745. position: relative;
  2746. height: 24px;
  2747. }
  2748. .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button {
  2749. margin-top: -6px;
  2750. align-items: flex-end;
  2751. }
  2752. .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button svg {
  2753. bottom: -4px;
  2754. }
  2755. .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button {
  2756. margin-bottom: -6px;
  2757. align-items: flex-start;
  2758. }
  2759. .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg {
  2760. top: -4px;
  2761. }
  2762. .block-editor-list-view-leaf .block-editor-block-mover-button:focus:enabled {
  2763. box-shadow: none;
  2764. outline: none;
  2765. }
  2766. .block-editor-list-view-leaf .block-editor-block-mover-button:focus {
  2767. box-shadow: none;
  2768. outline: none;
  2769. }
  2770. .block-editor-list-view-leaf .block-editor-block-mover-button:focus::before {
  2771. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
  2772. outline: 2px solid transparent;
  2773. }
  2774. .block-editor-list-view-leaf .block-editor-block-mover-button::before {
  2775. content: "";
  2776. position: absolute;
  2777. display: block;
  2778. border-radius: 2px;
  2779. height: 16px;
  2780. min-width: 100%;
  2781. right: 0;
  2782. left: 0;
  2783. animation: components-button__appear-animation 0.1s ease;
  2784. animation-fill-mode: forwards;
  2785. }
  2786. @media (prefers-reduced-motion: reduce) {
  2787. .block-editor-list-view-leaf .block-editor-block-mover-button::before {
  2788. animation-duration: 1ms;
  2789. animation-delay: 0s;
  2790. }
  2791. }
  2792. .block-editor-list-view-leaf .block-editor-inserter__toggle {
  2793. background: #1e1e1e;
  2794. color: #fff;
  2795. height: 24px;
  2796. margin: 6px 1px 6px 6px;
  2797. min-width: 24px;
  2798. }
  2799. .block-editor-list-view-leaf .block-editor-inserter__toggle:active {
  2800. color: #fff;
  2801. }
  2802. .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor {
  2803. background: rgba(0, 0, 0, 0.1);
  2804. border-radius: 2px;
  2805. display: inline-block;
  2806. padding: 2px 6px;
  2807. margin: 0 8px;
  2808. max-width: 120px;
  2809. overflow: hidden;
  2810. text-overflow: ellipsis;
  2811. }
  2812. .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor {
  2813. background: rgba(0, 0, 0, 0.3);
  2814. }
  2815. .block-editor-list-view-leaf .block-editor-list-view-block-select-button__lock {
  2816. line-height: 0;
  2817. width: 24px;
  2818. min-width: 24px;
  2819. margin-right: auto;
  2820. padding: 0;
  2821. vertical-align: middle;
  2822. }
  2823. .block-editor-list-view-block-select-button__description,
  2824. .block-editor-list-view-appender__description {
  2825. display: none;
  2826. }
  2827. .block-editor-list-view-block__contents-cell .block-editor-list-view-block__contents-container,
  2828. .block-editor-list-view-block__contents-cell .block-editor-list-view-appender__container,
  2829. .block-editor-list-view-appender__cell .block-editor-list-view-block__contents-container,
  2830. .block-editor-list-view-appender__cell .block-editor-list-view-appender__container {
  2831. display: flex;
  2832. }
  2833. .block-editor-list-view__expander {
  2834. height: 24px;
  2835. margin-right: 4px;
  2836. width: 24px;
  2837. }
  2838. .block-editor-list-view-leaf[aria-level] .block-editor-list-view__expander {
  2839. margin-right: 220px;
  2840. }
  2841. .block-editor-list-view-leaf:not([aria-level="1"]) .block-editor-list-view__expander {
  2842. margin-left: 4px;
  2843. }
  2844. .block-editor-list-view-leaf[aria-level="1"] .block-editor-list-view__expander {
  2845. margin-right: 0px;
  2846. }
  2847. .block-editor-list-view-leaf[aria-level="2"] .block-editor-list-view__expander {
  2848. margin-right: 24px;
  2849. }
  2850. .block-editor-list-view-leaf[aria-level="3"] .block-editor-list-view__expander {
  2851. margin-right: 52px;
  2852. }
  2853. .block-editor-list-view-leaf[aria-level="4"] .block-editor-list-view__expander {
  2854. margin-right: 80px;
  2855. }
  2856. .block-editor-list-view-leaf[aria-level="5"] .block-editor-list-view__expander {
  2857. margin-right: 108px;
  2858. }
  2859. .block-editor-list-view-leaf[aria-level="6"] .block-editor-list-view__expander {
  2860. margin-right: 136px;
  2861. }
  2862. .block-editor-list-view-leaf[aria-level="7"] .block-editor-list-view__expander {
  2863. margin-right: 164px;
  2864. }
  2865. .block-editor-list-view-leaf[aria-level="8"] .block-editor-list-view__expander {
  2866. margin-right: 192px;
  2867. }
  2868. .block-editor-list-view-leaf .block-editor-list-view__expander {
  2869. visibility: hidden;
  2870. }
  2871. .block-editor-list-view-leaf[aria-expanded=true] .block-editor-list-view__expander svg {
  2872. visibility: visible;
  2873. transition: transform 0.2s ease;
  2874. transform: rotate(-90deg);
  2875. }
  2876. @media (prefers-reduced-motion: reduce) {
  2877. .block-editor-list-view-leaf[aria-expanded=true] .block-editor-list-view__expander svg {
  2878. transition-duration: 0s;
  2879. transition-delay: 0s;
  2880. }
  2881. }
  2882. .block-editor-list-view-leaf[aria-expanded=false] .block-editor-list-view__expander svg {
  2883. visibility: visible;
  2884. transform: rotate(0deg);
  2885. transition: transform 0.2s ease;
  2886. }
  2887. @media (prefers-reduced-motion: reduce) {
  2888. .block-editor-list-view-leaf[aria-expanded=false] .block-editor-list-view__expander svg {
  2889. transition-duration: 0s;
  2890. transition-delay: 0s;
  2891. }
  2892. }
  2893. .block-editor-list-view-drop-indicator {
  2894. pointer-events: none;
  2895. }
  2896. .block-editor-list-view-drop-indicator .block-editor-list-view-drop-indicator__line {
  2897. background: var(--wp-admin-theme-color);
  2898. height: 1px;
  2899. }
  2900. .block-editor-list-view-drop-indicator:not([data-y-axis=middle][data-x-axis=right]) > .components-popover__content {
  2901. margin-right: 0;
  2902. border: none;
  2903. box-shadow: none;
  2904. }
  2905. .block-editor-list-view-placeholder {
  2906. padding: 0;
  2907. margin: 0;
  2908. height: 36px;
  2909. }
  2910. .modal-open .block-editor-media-replace-flow__options {
  2911. display: none;
  2912. }
  2913. .block-editor-media-replace-flow__indicator {
  2914. margin-right: 4px;
  2915. }
  2916. .block-editor-media-flow__url-input {
  2917. border-top: 1px solid #1e1e1e;
  2918. margin-top: 8px;
  2919. margin-left: -8px;
  2920. margin-right: -8px;
  2921. padding: 16px;
  2922. }
  2923. .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label {
  2924. display: block;
  2925. top: 16px;
  2926. margin-bottom: 8px;
  2927. }
  2928. .block-editor-media-flow__url-input .block-editor-link-control {
  2929. width: 220px;
  2930. }
  2931. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-url-input {
  2932. padding: 0;
  2933. }
  2934. .block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field {
  2935. margin-bottom: 0;
  2936. }
  2937. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title {
  2938. max-width: 180px;
  2939. white-space: nowrap;
  2940. }
  2941. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-info {
  2942. white-space: nowrap;
  2943. }
  2944. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current {
  2945. width: auto;
  2946. padding: 0;
  2947. }
  2948. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] {
  2949. margin: 0;
  2950. width: 100%;
  2951. }
  2952. .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions {
  2953. top: 0;
  2954. left: 4px;
  2955. }
  2956. .block-editor-media-flow__error {
  2957. padding: 0 20px 20px 20px;
  2958. max-width: 255px;
  2959. }
  2960. .block-editor-media-flow__error .components-with-notices-ui {
  2961. max-width: 255px;
  2962. }
  2963. .block-editor-media-flow__error .components-with-notices-ui .components-notice__content {
  2964. overflow: hidden;
  2965. word-wrap: break-word;
  2966. }
  2967. .block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss {
  2968. position: absolute;
  2969. left: 10px;
  2970. }
  2971. .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
  2972. margin-bottom: 0;
  2973. }
  2974. .block-editor-media-placeholder__url-input-form {
  2975. display: flex;
  2976. }
  2977. .block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field {
  2978. width: 100%;
  2979. min-width: 200px;
  2980. flex-grow: 1;
  2981. border: none;
  2982. border-radius: 0;
  2983. margin: 2px;
  2984. }
  2985. @media (min-width: 600px) {
  2986. .block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field {
  2987. width: 300px;
  2988. }
  2989. }
  2990. .block-editor-media-placeholder__url-input-submit-button {
  2991. flex-shrink: 1;
  2992. }
  2993. .block-editor-media-placeholder__button {
  2994. margin-bottom: 0.5rem;
  2995. }
  2996. .block-editor-media-placeholder__cancel-button.is-link {
  2997. margin: 1em;
  2998. display: block;
  2999. }
  3000. .block-editor-media-placeholder.is-appender {
  3001. min-height: 0;
  3002. }
  3003. .block-editor-media-placeholder.is-appender:hover {
  3004. cursor: pointer;
  3005. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  3006. }
  3007. .block-editor-multi-selection-inspector__card {
  3008. display: flex;
  3009. align-items: flex-start;
  3010. padding: 16px;
  3011. }
  3012. .block-editor-multi-selection-inspector__card-content {
  3013. flex-grow: 1;
  3014. }
  3015. .block-editor-multi-selection-inspector__card-title {
  3016. font-weight: 500;
  3017. margin-bottom: 5px;
  3018. }
  3019. .block-editor-multi-selection-inspector__card-description {
  3020. font-size: 13px;
  3021. }
  3022. .block-editor-multi-selection-inspector__card .block-editor-block-icon {
  3023. margin-right: -2px;
  3024. margin-left: 10px;
  3025. padding: 0 3px;
  3026. width: 36px;
  3027. height: 24px;
  3028. }
  3029. .block-editor-plain-text {
  3030. box-shadow: none;
  3031. font-family: inherit;
  3032. font-size: inherit;
  3033. color: inherit;
  3034. line-height: inherit;
  3035. border: none;
  3036. padding: 0;
  3037. margin: 0;
  3038. width: 100%;
  3039. }
  3040. .block-editor-responsive-block-control {
  3041. margin-bottom: 28px;
  3042. border-bottom: 1px solid #ccc;
  3043. padding-bottom: 14px;
  3044. }
  3045. .block-editor-responsive-block-control:last-child {
  3046. padding-bottom: 0;
  3047. border-bottom: 0;
  3048. }
  3049. .block-editor-responsive-block-control__title {
  3050. margin: 0;
  3051. margin-bottom: 0.6em;
  3052. margin-right: -3px;
  3053. }
  3054. .block-editor-responsive-block-control__label {
  3055. font-weight: 600;
  3056. margin-bottom: 0.6em;
  3057. margin-right: -3px;
  3058. }
  3059. .block-editor-responsive-block-control__inner {
  3060. margin-right: -1px;
  3061. }
  3062. .block-editor-responsive-block-control__toggle {
  3063. margin-right: 1px;
  3064. }
  3065. .block-editor-responsive-block-control .components-base-control__help {
  3066. border: 0;
  3067. clip: rect(1px, 1px, 1px, 1px);
  3068. -webkit-clip-path: inset(50%);
  3069. clip-path: inset(50%);
  3070. height: 1px;
  3071. margin: -1px;
  3072. overflow: hidden;
  3073. padding: 0;
  3074. position: absolute;
  3075. width: 1px;
  3076. word-wrap: normal !important;
  3077. }
  3078. .rich-text [data-rich-text-placeholder] {
  3079. pointer-events: none;
  3080. }
  3081. .rich-text [data-rich-text-placeholder]::after {
  3082. content: attr(data-rich-text-placeholder);
  3083. opacity: 0.62;
  3084. }
  3085. .rich-text:focus {
  3086. outline: none;
  3087. }
  3088. .rich-text:focus [data-rich-text-format-boundary] {
  3089. border-radius: 2px;
  3090. }
  3091. .block-editor-rich-text__editable > p:first-child {
  3092. margin-top: 0;
  3093. }
  3094. figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
  3095. opacity: 0.8;
  3096. }
  3097. .components-popover.block-editor-rich-text__inline-format-toolbar {
  3098. z-index: 99998;
  3099. }
  3100. .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
  3101. width: auto;
  3102. min-width: auto;
  3103. margin-bottom: 8px;
  3104. box-shadow: none;
  3105. border: 1px solid #1e1e1e;
  3106. border-radius: 2px;
  3107. background-color: #fff;
  3108. }
  3109. .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group,
  3110. .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar {
  3111. border: none;
  3112. }
  3113. .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control,
  3114. .components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle {
  3115. min-width: 48px;
  3116. min-height: 48px;
  3117. padding-right: 12px;
  3118. padding-left: 12px;
  3119. }
  3120. .block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle {
  3121. justify-content: center;
  3122. }
  3123. .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon {
  3124. width: auto;
  3125. }
  3126. .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg {
  3127. display: none;
  3128. }
  3129. .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon::after {
  3130. content: attr(aria-label);
  3131. }
  3132. [data-rich-text-script] {
  3133. display: inline;
  3134. }
  3135. [data-rich-text-script]::before {
  3136. content: "</>";
  3137. background: yellow;
  3138. }
  3139. .block-editor-skip-to-selected-block {
  3140. position: absolute;
  3141. top: -9999em;
  3142. }
  3143. .block-editor-skip-to-selected-block:focus {
  3144. height: auto;
  3145. width: auto;
  3146. display: block;
  3147. font-size: 14px;
  3148. font-weight: 600;
  3149. padding: 15px 23px 14px;
  3150. background: #f1f1f1;
  3151. color: var(--wp-admin-theme-color);
  3152. line-height: normal;
  3153. box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  3154. text-decoration: none;
  3155. outline: none;
  3156. z-index: 100000;
  3157. }
  3158. .block-editor-text-transform-control {
  3159. flex: 0 0 50%;
  3160. }
  3161. .block-editor-text-transform-control legend {
  3162. margin-bottom: 8px;
  3163. }
  3164. .block-editor-text-transform-control .block-editor-text-transform-control__buttons {
  3165. display: inline-flex;
  3166. margin-bottom: 24px;
  3167. }
  3168. .block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon {
  3169. min-width: 24px;
  3170. padding: 0;
  3171. margin-left: 4px;
  3172. }
  3173. .block-editor-text-decoration-control {
  3174. flex: 0 0 50%;
  3175. }
  3176. .block-editor-text-decoration-control legend {
  3177. margin-bottom: 8px;
  3178. }
  3179. .block-editor-text-decoration-control .block-editor-text-decoration-control__buttons {
  3180. display: inline-flex;
  3181. margin-bottom: 24px;
  3182. }
  3183. .block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon {
  3184. min-width: 24px;
  3185. padding: 0;
  3186. margin-left: 4px;
  3187. }
  3188. .block-editor-tool-selector__help {
  3189. margin-top: 8px;
  3190. margin-right: -8px;
  3191. margin-left: -8px;
  3192. margin-bottom: -8px;
  3193. padding: 16px;
  3194. border-top: 1px solid #ddd;
  3195. color: #757575;
  3196. min-width: 280px;
  3197. }
  3198. .block-editor-block-list__block .block-editor-url-input,
  3199. .components-popover .block-editor-url-input,
  3200. .block-editor-url-input {
  3201. flex-grow: 1;
  3202. position: relative;
  3203. padding: 1px;
  3204. }
  3205. .block-editor-block-list__block .block-editor-url-input input[type=text],
  3206. .components-popover .block-editor-url-input input[type=text],
  3207. .block-editor-url-input input[type=text] {
  3208. width: 100%;
  3209. padding: 8px 12px 8px 8px;
  3210. border: none;
  3211. border-radius: 0;
  3212. margin-right: 0;
  3213. margin-left: 0;
  3214. /* Fonts smaller than 16px causes mobile safari to zoom. */
  3215. font-size: 16px;
  3216. }
  3217. @media (min-width: 600px) {
  3218. .block-editor-block-list__block .block-editor-url-input input[type=text],
  3219. .components-popover .block-editor-url-input input[type=text],
  3220. .block-editor-url-input input[type=text] {
  3221. width: 300px;
  3222. }
  3223. }
  3224. @media (min-width: 600px) {
  3225. .block-editor-block-list__block .block-editor-url-input input[type=text],
  3226. .components-popover .block-editor-url-input input[type=text],
  3227. .block-editor-url-input input[type=text] {
  3228. font-size: 13px;
  3229. }
  3230. }
  3231. .block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,
  3232. .components-popover .block-editor-url-input input[type=text]::-ms-clear,
  3233. .block-editor-url-input input[type=text]::-ms-clear {
  3234. display: none;
  3235. }
  3236. .block-editor-block-list__block .block-editor-url-input.is-full-width,
  3237. .components-popover .block-editor-url-input.is-full-width,
  3238. .block-editor-url-input.is-full-width {
  3239. width: 100%;
  3240. }
  3241. .block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],
  3242. .components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],
  3243. .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text] {
  3244. width: 100%;
  3245. }
  3246. .block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,
  3247. .components-popover .block-editor-url-input.is-full-width__suggestions,
  3248. .block-editor-url-input.is-full-width__suggestions {
  3249. width: 100%;
  3250. }
  3251. .block-editor-block-list__block .block-editor-url-input .components-spinner,
  3252. .components-popover .block-editor-url-input .components-spinner,
  3253. .block-editor-url-input .components-spinner {
  3254. position: absolute;
  3255. left: 8px 8px 8px 12px;
  3256. bottom: 8px 8px 8px 12px8px1;
  3257. margin: 0;
  3258. }
  3259. .block-editor-url-input__input[type=text] {
  3260. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  3261. padding: 6px 8px;
  3262. box-shadow: 0 0 0 transparent;
  3263. transition: box-shadow 0.1s linear;
  3264. border-radius: 2px;
  3265. border: 1px solid #757575;
  3266. /* Fonts smaller than 16px causes mobile safari to zoom. */
  3267. font-size: 16px;
  3268. /* Override core line-height. To be reviewed. */
  3269. line-height: normal;
  3270. }
  3271. @media (prefers-reduced-motion: reduce) {
  3272. .block-editor-url-input__input[type=text] {
  3273. transition-duration: 0s;
  3274. transition-delay: 0s;
  3275. }
  3276. }
  3277. @media (min-width: 600px) {
  3278. .block-editor-url-input__input[type=text] {
  3279. font-size: 13px;
  3280. /* Override core line-height. To be reviewed. */
  3281. line-height: normal;
  3282. }
  3283. }
  3284. .block-editor-url-input__input[type=text]:focus {
  3285. border-color: var(--wp-admin-theme-color);
  3286. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  3287. outline: 2px solid transparent;
  3288. }
  3289. .block-editor-url-input__input[type=text]::-webkit-input-placeholder {
  3290. color: rgba(30, 30, 30, 0.62);
  3291. }
  3292. .block-editor-url-input__input[type=text]::-moz-placeholder {
  3293. opacity: 1;
  3294. color: rgba(30, 30, 30, 0.62);
  3295. }
  3296. .block-editor-url-input__input[type=text]:-ms-input-placeholder {
  3297. color: rgba(30, 30, 30, 0.62);
  3298. }
  3299. .block-editor-url-input__suggestions {
  3300. max-height: 200px;
  3301. transition: all 0.15s ease-in-out;
  3302. padding: 4px 0;
  3303. width: 302px;
  3304. overflow-y: auto;
  3305. }
  3306. @media (prefers-reduced-motion: reduce) {
  3307. .block-editor-url-input__suggestions {
  3308. transition-duration: 0s;
  3309. transition-delay: 0s;
  3310. }
  3311. }
  3312. .block-editor-url-input__suggestions,
  3313. .block-editor-url-input .components-spinner {
  3314. display: none;
  3315. }
  3316. @media (min-width: 600px) {
  3317. .block-editor-url-input__suggestions,
  3318. .block-editor-url-input .components-spinner {
  3319. display: grid;
  3320. }
  3321. }
  3322. .block-editor-url-input__suggestion {
  3323. min-height: 36px;
  3324. height: auto;
  3325. color: #757575;
  3326. display: block;
  3327. font-size: 13px;
  3328. cursor: pointer;
  3329. background: #fff;
  3330. width: 100%;
  3331. border: none;
  3332. text-align: right;
  3333. box-shadow: none;
  3334. }
  3335. .block-editor-url-input__suggestion:hover {
  3336. background: #ddd;
  3337. }
  3338. .block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
  3339. background: var(--wp-admin-theme-color-darker-20);
  3340. color: #fff;
  3341. outline: none;
  3342. }
  3343. .components-toolbar-group > .block-editor-url-input__button,
  3344. .components-toolbar > .block-editor-url-input__button {
  3345. position: inherit;
  3346. }
  3347. .block-editor-url-input__button .block-editor-url-input__back {
  3348. margin-left: 4px;
  3349. overflow: visible;
  3350. }
  3351. .block-editor-url-input__button .block-editor-url-input__back::after {
  3352. content: "";
  3353. position: absolute;
  3354. display: block;
  3355. width: 1px;
  3356. height: 24px;
  3357. left: -1px;
  3358. background: #ddd;
  3359. }
  3360. .block-editor-url-input__button-modal {
  3361. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  3362. border: 1px solid #ddd;
  3363. background: #fff;
  3364. }
  3365. .block-editor-url-input__button-modal-line {
  3366. display: flex;
  3367. flex-direction: row;
  3368. flex-grow: 1;
  3369. flex-shrink: 1;
  3370. min-width: 0;
  3371. align-items: flex-start;
  3372. }
  3373. .block-editor-url-input__button-modal-line .components-button {
  3374. flex-shrink: 0;
  3375. width: 36px;
  3376. height: 36px;
  3377. }
  3378. .block-editor-url-popover__additional-controls {
  3379. border-top: 1px solid #ddd;
  3380. }
  3381. .block-editor-url-popover__additional-controls > div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) > svg {
  3382. box-shadow: none;
  3383. }
  3384. .block-editor-url-popover__additional-controls div[role=menu] > .components-button {
  3385. padding-right: 12px;
  3386. }
  3387. .block-editor-url-popover__row {
  3388. display: flex;
  3389. }
  3390. .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
  3391. flex-grow: 1;
  3392. }
  3393. .block-editor-url-popover .components-button.has-icon {
  3394. padding: 3px;
  3395. }
  3396. .block-editor-url-popover .components-button.has-icon > svg {
  3397. padding: 5px;
  3398. border-radius: 2px;
  3399. height: 30px;
  3400. width: 30px;
  3401. }
  3402. .block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
  3403. box-shadow: none;
  3404. }
  3405. .block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg {
  3406. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
  3407. outline: 2px solid transparent;
  3408. }
  3409. .block-editor-url-popover__settings-toggle {
  3410. flex-shrink: 0;
  3411. border-radius: 0;
  3412. border-right: 1px solid #ddd;
  3413. margin-right: 1px;
  3414. }
  3415. .block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon {
  3416. transform: rotate(-180deg);
  3417. }
  3418. .block-editor-url-popover__input-container .components-base-control:last-child,
  3419. .block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field {
  3420. margin-bottom: 0;
  3421. }
  3422. .block-editor-url-popover__settings {
  3423. display: block;
  3424. padding: 16px;
  3425. border-top: 1px solid #ddd;
  3426. }
  3427. .block-editor-url-popover__link-editor,
  3428. .block-editor-url-popover__link-viewer {
  3429. display: flex;
  3430. }
  3431. .block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,
  3432. .block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field {
  3433. margin-bottom: 0;
  3434. }
  3435. .block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,
  3436. .block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner {
  3437. bottom: 8px 8px 8px 12px1;
  3438. }
  3439. .block-editor-url-popover__link-viewer-url {
  3440. margin: 7px;
  3441. flex-grow: 1;
  3442. flex-shrink: 1;
  3443. overflow: hidden;
  3444. text-overflow: ellipsis;
  3445. white-space: nowrap;
  3446. min-width: 150px;
  3447. max-width: 500px;
  3448. }
  3449. .block-editor-url-popover__link-viewer-url.has-invalid-link {
  3450. color: #cc1818;
  3451. }
  3452. .block-editor-warning {
  3453. align-items: center;
  3454. display: flex;
  3455. flex-wrap: wrap;
  3456. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  3457. padding: 1em;
  3458. border: 1px solid #1e1e1e;
  3459. border-radius: 2px;
  3460. background-color: #fff;
  3461. }
  3462. .block-editor-warning .block-editor-warning__message {
  3463. line-height: 1.4;
  3464. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  3465. font-size: 13px;
  3466. color: #1e1e1e;
  3467. margin: 0;
  3468. }
  3469. .block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
  3470. min-height: auto;
  3471. }
  3472. .block-editor-warning .block-editor-warning__contents {
  3473. display: flex;
  3474. flex-direction: row;
  3475. justify-content: space-between;
  3476. flex-wrap: wrap;
  3477. align-items: baseline;
  3478. width: 100%;
  3479. }
  3480. .block-editor-warning .block-editor-warning__actions {
  3481. display: flex;
  3482. margin-top: 1em;
  3483. }
  3484. .block-editor-warning .block-editor-warning__action {
  3485. margin: 0 0 0 8px;
  3486. }
  3487. .block-editor-warning__secondary {
  3488. margin: auto 8px auto 0;
  3489. }
  3490. .components-popover.block-editor-warning__dropdown {
  3491. z-index: 99998;
  3492. }
  3493. .html-anchor-control .components-external-link {
  3494. display: block;
  3495. margin-top: 8px;
  3496. }
  3497. .block-editor-hooks__layout-controls {
  3498. display: flex;
  3499. margin-bottom: 16px;
  3500. }
  3501. .block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit {
  3502. display: flex;
  3503. margin-left: 24px;
  3504. }
  3505. .block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit svg {
  3506. margin: auto 8px 4px 0;
  3507. }
  3508. .block-editor-hooks__layout-controls-reset {
  3509. display: flex;
  3510. justify-content: flex-end;
  3511. margin-bottom: 24px;
  3512. }
  3513. .block-editor-hooks__layout-controls-helptext {
  3514. font-size: 12px;
  3515. }
  3516. .block-editor-hooks__flex-layout-justification-controls,
  3517. .block-editor-hooks__flex-layout-orientation-controls {
  3518. margin-bottom: 12px;
  3519. }
  3520. .block-editor-hooks__flex-layout-justification-controls legend,
  3521. .block-editor-hooks__flex-layout-orientation-controls legend {
  3522. margin-bottom: 8px;
  3523. }
  3524. .border-block-support-panel .single-column {
  3525. grid-column: span 1;
  3526. }
  3527. .dimensions-block-support-panel .single-column {
  3528. grid-column: span 1;
  3529. }
  3530. .typography-block-support-panel .components-font-appearance-control,
  3531. .typography-block-support-panel .components-font-size-picker__controls,
  3532. .typography-block-support-panel .block-editor-text-decoration-control__buttons,
  3533. .typography-block-support-panel .block-editor-text-transform-control__buttons {
  3534. margin-bottom: 0;
  3535. }
  3536. .typography-block-support-panel .single-column {
  3537. grid-column: span 1;
  3538. }
  3539. .color-block-support-panel {
  3540. /* Increased specificity required to remove the slot wrapper's row gap */
  3541. /**
  3542. * The following styles replicate the separated border of the
  3543. * `ItemGroup` component but allows for hidden items. This is because
  3544. * to maintain the order of `ToolsPanel` controls, each `ToolsPanelItem`
  3545. * must at least render a placeholder which would otherwise interfere
  3546. * with the `:last-child` styles.
  3547. */
  3548. /**
  3549. * The following few styles fix the layout and spacing for the due to the
  3550. * introduced wrapper element by the `Item` component.
  3551. */
  3552. }
  3553. .color-block-support-panel .block-editor-contrast-checker {
  3554. /**
  3555. * Contrast checkers are forced to the bottom of the panel so all
  3556. * injected color controls can appear as a single item group without
  3557. * the contrast checkers suddenly appearing between items.
  3558. */
  3559. order: 9999;
  3560. grid-column: span 2;
  3561. margin-top: 16px;
  3562. }
  3563. .color-block-support-panel .block-editor-contrast-checker .components-notice__content {
  3564. margin-left: 0;
  3565. }
  3566. .color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper {
  3567. row-gap: 0;
  3568. }
  3569. .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item {
  3570. padding: 0;
  3571. border-right: 1px solid rgba(0, 0, 0, 0.1);
  3572. border-left: 1px solid rgba(0, 0, 0, 0.1);
  3573. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  3574. }
  3575. .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item.first {
  3576. border-top-right-radius: 2px;
  3577. border-top-left-radius: 2px;
  3578. border-top: 1px solid rgba(0, 0, 0, 0.1);
  3579. }
  3580. .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item.last {
  3581. border-bottom-right-radius: 2px;
  3582. border-bottom-left-radius: 2px;
  3583. }
  3584. .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item > div,
  3585. .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item > div > button {
  3586. border-radius: inherit;
  3587. }
  3588. .color-block-support-panel .block-editor-panel-color-gradient-settings__color-indicator {
  3589. background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
  3590. }
  3591. .color-block-support-panel .block-editor-tools-panel-color-dropdown {
  3592. display: block;
  3593. padding: 0;
  3594. }
  3595. .color-block-support-panel .block-editor-tools-panel-color-dropdown > button {
  3596. height: 46px;
  3597. }
  3598. .color-block-support-panel .block-editor-tools-panel-color-dropdown > button.is-open {
  3599. background: #f0f0f0;
  3600. color: var(--wp-admin-theme-color);
  3601. }
  3602. .color-block-support-panel .color-block-support-panel__item-group > div {
  3603. grid-column: span 2;
  3604. border-radius: inherit;
  3605. }
  3606. /**
  3607. * Block Toolbar
  3608. */
  3609. .block-editor-block-toolbar {
  3610. display: flex;
  3611. flex-grow: 1;
  3612. width: 100%;
  3613. position: relative;
  3614. overflow-y: hidden;
  3615. overflow-x: auto;
  3616. transition: border-color 0.1s linear, box-shadow 0.1s linear;
  3617. }
  3618. @media (prefers-reduced-motion: reduce) {
  3619. .block-editor-block-toolbar {
  3620. transition-duration: 0s;
  3621. transition-delay: 0s;
  3622. }
  3623. }
  3624. @media (min-width: 600px) {
  3625. .block-editor-block-toolbar {
  3626. overflow: inherit;
  3627. }
  3628. }
  3629. .block-editor-block-toolbar .components-toolbar-group,
  3630. .block-editor-block-toolbar .components-toolbar {
  3631. background: none;
  3632. line-height: 0;
  3633. margin-top: -1px;
  3634. margin-bottom: -1px;
  3635. border: 0;
  3636. border-left: 1px solid #ddd;
  3637. }
  3638. .block-editor-block-toolbar > :last-child,
  3639. .block-editor-block-toolbar > :last-child .components-toolbar-group,
  3640. .block-editor-block-toolbar > :last-child .components-toolbar {
  3641. border-left: none;
  3642. }
  3643. .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed) {
  3644. margin-right: calc(48px + 8px);
  3645. }
  3646. .show-icon-labels .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed) {
  3647. margin-right: 0;
  3648. }
  3649. .block-editor-block-parent-selector {
  3650. position: absolute;
  3651. top: -1px;
  3652. right: calc(-48px - 8px - 1px);
  3653. }
  3654. .show-icon-labels .block-editor-block-parent-selector {
  3655. position: relative;
  3656. right: auto;
  3657. top: auto;
  3658. margin-top: -1px;
  3659. margin-right: -1px;
  3660. margin-bottom: -1px;
  3661. }
  3662. .block-editor-block-toolbar__block-controls {
  3663. height: auto !important;
  3664. padding: 0 !important;
  3665. margin-right: -1px;
  3666. }
  3667. .block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
  3668. .block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
  3669. width: 24px !important;
  3670. margin: 0 !important;
  3671. }
  3672. .block-editor-block-toolbar__block-controls .block-editor-block-mover {
  3673. margin-right: -6px;
  3674. }
  3675. .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar {
  3676. margin-right: -6px !important;
  3677. }
  3678. .block-editor-block-toolbar__block-controls .components-toolbar-group {
  3679. padding: 0;
  3680. }
  3681. .block-editor-block-toolbar .components-toolbar-group,
  3682. .block-editor-block-toolbar .components-toolbar,
  3683. .block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group,
  3684. .block-editor-rich-text__inline-format-toolbar-group .components-toolbar {
  3685. display: flex;
  3686. flex-wrap: nowrap;
  3687. }
  3688. .block-editor-block-toolbar__slot {
  3689. display: inline-block;
  3690. line-height: 0;
  3691. }
  3692. @supports (position: sticky) {
  3693. .block-editor-block-toolbar__slot {
  3694. display: inline-flex;
  3695. }
  3696. }
  3697. .show-icon-labels .block-editor-block-toolbar .components-button.has-icon {
  3698. width: auto;
  3699. }
  3700. .show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg {
  3701. display: none;
  3702. }
  3703. .show-icon-labels .block-editor-block-toolbar .components-button.has-icon::after {
  3704. content: attr(aria-label);
  3705. font-size: 12px;
  3706. }
  3707. .show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon {
  3708. padding-right: 6px;
  3709. padding-left: 6px;
  3710. }
  3711. .show-icon-labels .block-editor-block-switcher {
  3712. border-left: 1px solid #1e1e1e;
  3713. }
  3714. .show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle {
  3715. margin-right: 0;
  3716. }
  3717. .show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
  3718. .show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
  3719. width: 0 !important;
  3720. height: 0 !important;
  3721. }
  3722. .show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon {
  3723. width: 0;
  3724. }
  3725. .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
  3726. margin-right: 0;
  3727. white-space: nowrap;
  3728. }
  3729. .show-icon-labels .block-editor-block-mover-button {
  3730. padding-right: 8px !important;
  3731. padding-left: 8px !important;
  3732. }
  3733. .show-icon-labels .block-editor-block-mover__drag-handle.has-icon {
  3734. padding-right: 6px !important;
  3735. padding-left: 6px !important;
  3736. border-left: 1px solid #1e1e1e;
  3737. }
  3738. @media (min-width: 600px) {
  3739. .show-icon-labels .is-up-button.is-up-button.is-up-button {
  3740. border-bottom: 1px solid #1e1e1e;
  3741. margin-left: 0;
  3742. border-radius: 0;
  3743. }
  3744. }
  3745. .show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
  3746. width: auto;
  3747. }
  3748. .show-icon-labels .components-toolbar,
  3749. .show-icon-labels .components-toolbar-group {
  3750. flex-shrink: 1;
  3751. }
  3752. .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button + .components-button {
  3753. margin-right: 6px;
  3754. }
  3755. .block-editor-inserter {
  3756. display: inline-block;
  3757. background: none;
  3758. border: none;
  3759. padding: 0;
  3760. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  3761. font-size: 13px;
  3762. line-height: 0;
  3763. }
  3764. @media (min-width: 782px) {
  3765. .block-editor-inserter {
  3766. position: relative;
  3767. }
  3768. }
  3769. .block-editor-inserter__content {
  3770. position: relative;
  3771. }
  3772. .block-editor-inserter__popover.is-quick .components-popover__content {
  3773. border: none;
  3774. }
  3775. .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
  3776. border-right: 1px solid #ccc;
  3777. border-left: 1px solid #ccc;
  3778. }
  3779. .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child {
  3780. border-top: 1px solid #ccc;
  3781. }
  3782. .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child {
  3783. border-bottom: 1px solid #ccc;
  3784. }
  3785. .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button {
  3786. border: 1px solid #1e1e1e;
  3787. }
  3788. .block-editor-inserter__popover .block-editor-inserter__menu {
  3789. margin: -12px;
  3790. }
  3791. .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs {
  3792. top: 60px;
  3793. }
  3794. .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area {
  3795. overflow: visible;
  3796. height: auto;
  3797. }
  3798. .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container {
  3799. display: none;
  3800. }
  3801. .block-editor-inserter__toggle.components-button {
  3802. display: inline-flex;
  3803. align-items: center;
  3804. cursor: pointer;
  3805. border: none;
  3806. outline: none;
  3807. padding: 0;
  3808. transition: color 0.2s ease;
  3809. }
  3810. @media (prefers-reduced-motion: reduce) {
  3811. .block-editor-inserter__toggle.components-button {
  3812. transition-duration: 0s;
  3813. transition-delay: 0s;
  3814. }
  3815. }
  3816. .block-editor-inserter__menu {
  3817. height: 100%;
  3818. position: relative;
  3819. overflow: visible;
  3820. }
  3821. .block-editor-inserter__main-area {
  3822. width: auto;
  3823. overflow-y: auto;
  3824. height: 100%;
  3825. }
  3826. @media (min-width: 782px) {
  3827. .block-editor-inserter__main-area {
  3828. width: 350px;
  3829. }
  3830. }
  3831. .block-editor-inserter__inline-elements {
  3832. margin-top: -1px;
  3833. }
  3834. .block-editor-inserter__menu.is-bottom::after {
  3835. border-bottom-color: #fff;
  3836. }
  3837. .components-popover.block-editor-inserter__popover {
  3838. z-index: 99999;
  3839. }
  3840. .block-editor-inserter__search {
  3841. background: #fff;
  3842. padding: 16px 16px 0 16px;
  3843. position: sticky;
  3844. top: 0;
  3845. z-index: 1;
  3846. }
  3847. .block-editor-inserter__search .components-search-control__icon {
  3848. left: 20px;
  3849. }
  3850. .block-editor-inserter__search .components-base-control__field {
  3851. margin-bottom: 0;
  3852. }
  3853. .block-editor-inserter__tabs {
  3854. display: flex;
  3855. flex-direction: column;
  3856. }
  3857. .block-editor-inserter__tabs .components-tab-panel__tabs {
  3858. position: sticky;
  3859. top: 64px;
  3860. background: #fff;
  3861. z-index: 1;
  3862. border-bottom: 1px solid #ddd;
  3863. }
  3864. .block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
  3865. flex-grow: 1;
  3866. margin-bottom: -1px;
  3867. }
  3868. .block-editor-inserter__tabs .components-tab-panel__tab-content {
  3869. display: flex;
  3870. flex-grow: 1;
  3871. flex-direction: column;
  3872. position: relative;
  3873. z-index: 0;
  3874. }
  3875. .block-editor-inserter__panel-header {
  3876. display: inline-flex;
  3877. align-items: center;
  3878. padding: 16px 16px 0;
  3879. }
  3880. .block-editor-inserter__panel-header-patterns {
  3881. padding: 16px 16px 0;
  3882. }
  3883. .block-editor-inserter__panel-content {
  3884. padding: 16px;
  3885. }
  3886. .block-editor-inserter__panel-title,
  3887. .block-editor-inserter__panel-title button {
  3888. margin: 0 0 0 12px;
  3889. color: #757575;
  3890. text-transform: uppercase;
  3891. font-size: 11px;
  3892. font-weight: 500;
  3893. }
  3894. .block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input {
  3895. height: 36px;
  3896. line-height: 36px;
  3897. }
  3898. .block-editor-inserter__panel-dropdown select {
  3899. border: none;
  3900. }
  3901. .block-editor-inserter__block-list {
  3902. flex-grow: 1;
  3903. position: relative;
  3904. }
  3905. .block-editor-inserter__reusable-blocks-panel {
  3906. position: relative;
  3907. text-align: left;
  3908. }
  3909. .block-editor-inserter__manage-reusable-blocks {
  3910. display: inline-block;
  3911. margin: 16px;
  3912. }
  3913. .block-editor-inserter__no-results {
  3914. padding: 32px;
  3915. text-align: center;
  3916. }
  3917. .block-editor-inserter__no-results-icon {
  3918. fill: #949494;
  3919. }
  3920. .block-editor-inserter__child-blocks {
  3921. padding: 0 16px;
  3922. }
  3923. .block-editor-inserter__parent-block-header {
  3924. display: flex;
  3925. align-items: center;
  3926. }
  3927. .block-editor-inserter__parent-block-header h2 {
  3928. font-size: 13px;
  3929. }
  3930. .block-editor-inserter__parent-block-header .block-editor-block-icon {
  3931. margin-left: 8px;
  3932. }
  3933. .block-editor-inserter__preview-container {
  3934. display: none;
  3935. width: 300px;
  3936. background: #fff;
  3937. border-radius: 2px;
  3938. border: 1px solid #ddd;
  3939. position: absolute;
  3940. top: 16px;
  3941. right: calc(100% + 16px);
  3942. max-height: calc(100% - 32px);
  3943. overflow-y: hidden;
  3944. }
  3945. @media (min-width: 782px) {
  3946. .block-editor-inserter__preview-container {
  3947. display: block;
  3948. }
  3949. }
  3950. .block-editor-inserter__preview-container .block-editor-block-card {
  3951. padding: 16px;
  3952. }
  3953. .block-editor-inserter__preview-container .block-editor-block-card__title {
  3954. font-size: 13px;
  3955. }
  3956. .block-editor-inserter__preview-content {
  3957. min-height: 144px;
  3958. background: #f0f0f0;
  3959. display: grid;
  3960. flex-grow: 1;
  3961. align-items: center;
  3962. }
  3963. .block-editor-inserter__preview-content-missing {
  3964. flex: 1;
  3965. display: flex;
  3966. justify-content: center;
  3967. align-items: center;
  3968. min-height: 144px;
  3969. color: #757575;
  3970. background: #f0f0f0;
  3971. }
  3972. .block-editor-inserter__tips {
  3973. border-top: 1px solid #ddd;
  3974. padding: 16px;
  3975. flex-shrink: 0;
  3976. position: relative;
  3977. }
  3978. .block-editor-inserter__manage-reusable-blocks-container {
  3979. padding: 16px;
  3980. }
  3981. .block-editor-inserter__quick-inserter {
  3982. width: 100%;
  3983. max-width: 100%;
  3984. }
  3985. @media (min-width: 782px) {
  3986. .block-editor-inserter__quick-inserter {
  3987. width: 350px;
  3988. }
  3989. }
  3990. .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
  3991. height: 0;
  3992. padding: 0;
  3993. float: right;
  3994. }
  3995. .block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content,
  3996. .block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content {
  3997. padding: 16px;
  3998. }
  3999. .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list {
  4000. display: grid;
  4001. grid-template-columns: 1fr 1fr;
  4002. grid-gap: 8px;
  4003. }
  4004. .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
  4005. margin-bottom: 0;
  4006. }
  4007. .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-preview__container {
  4008. min-height: 100px;
  4009. }
  4010. .block-editor-inserter__quick-inserter-separator {
  4011. border-top: 1px solid #ddd;
  4012. }
  4013. .block-editor-inserter__popover.is-quick > .components-popover__content > div {
  4014. padding: 0;
  4015. }
  4016. .block-editor-inserter__quick-inserter-expand.components-button {
  4017. display: block;
  4018. background: #1e1e1e;
  4019. color: #fff;
  4020. width: 100%;
  4021. height: 44px;
  4022. border-radius: 0;
  4023. }
  4024. .block-editor-inserter__quick-inserter-expand.components-button:hover {
  4025. color: #fff;
  4026. }
  4027. .block-editor-inserter__quick-inserter-expand.components-button:active {
  4028. color: #ccc;
  4029. }
  4030. .block-editor-inserter__quick-inserter-expand.components-button.components-button:focus:not(:disabled) {
  4031. box-shadow: none;
  4032. background: var(--wp-admin-theme-color);
  4033. border-color: var(--wp-admin-theme-color);
  4034. }
  4035. .block-editor-block-patterns-explorer__sidebar {
  4036. position: absolute;
  4037. top: 60px;
  4038. right: 0;
  4039. bottom: 0;
  4040. width: 280px;
  4041. padding: 24px 32px 32px;
  4042. overflow-x: visible;
  4043. overflow-y: scroll;
  4044. }
  4045. .block-editor-block-patterns-explorer__sidebar__categories-list__item {
  4046. display: block;
  4047. width: 100%;
  4048. height: 48px;
  4049. text-align: right;
  4050. }
  4051. .block-editor-block-patterns-explorer__search {
  4052. margin-bottom: 32px;
  4053. }
  4054. .block-editor-block-patterns-explorer__search-results-count {
  4055. padding-bottom: 32px;
  4056. }
  4057. .block-editor-block-patterns-explorer__list {
  4058. margin-right: 248px;
  4059. }
  4060. .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
  4061. display: grid;
  4062. grid-gap: 32px;
  4063. grid-template-columns: repeat(1, 1fr);
  4064. }
  4065. @media (min-width: 1080px) {
  4066. .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
  4067. grid-template-columns: repeat(2, 1fr);
  4068. }
  4069. }
  4070. @media (min-width: 1440px) {
  4071. .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
  4072. grid-template-columns: repeat(3, 1fr);
  4073. }
  4074. }
  4075. .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
  4076. min-height: 240px;
  4077. }
  4078. .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-preview__container {
  4079. height: inherit;
  4080. min-height: 100px;
  4081. max-height: 800px;
  4082. }
  4083. .block-editor-post-preview__dropdown {
  4084. padding: 0;
  4085. }
  4086. .block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
  4087. padding-right: 40px;
  4088. }
  4089. .block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
  4090. padding-right: 8px;
  4091. }
  4092. .block-editor-post-preview__dropdown-content .components-popover__content {
  4093. overflow-y: visible;
  4094. }
  4095. .block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child {
  4096. padding-bottom: 8px;
  4097. }
  4098. .block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child {
  4099. margin-bottom: 0;
  4100. }
  4101. .block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group {
  4102. padding: 8px;
  4103. }
  4104. @media (min-width: 600px) {
  4105. .edit-post-header__settings .editor-post-preview,
  4106. .edit-site-header__actions .editor-post-preview {
  4107. display: none;
  4108. }
  4109. }
  4110. @media (min-width: 600px) {
  4111. .edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,
  4112. .edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state,
  4113. .edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle {
  4114. transition: opacity 0.1s linear;
  4115. }
  4116. }
  4117. @media (min-width: 600px) and (prefers-reduced-motion: reduce) {
  4118. .edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,
  4119. .edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state,
  4120. .edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle {
  4121. transition-duration: 0s;
  4122. transition-delay: 0s;
  4123. }
  4124. }
  4125. @media (min-width: 600px) {
  4126. .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,
  4127. .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state,
  4128. .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle {
  4129. opacity: 0;
  4130. }
  4131. .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened {
  4132. opacity: 1;
  4133. }
  4134. }
  4135. body.admin-color-light {
  4136. --wp-admin-theme-color: #0085ba;
  4137. --wp-admin-theme-color--rgb: 0, 133, 186;
  4138. --wp-admin-theme-color-darker-10: #0073a1;
  4139. --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  4140. --wp-admin-theme-color-darker-20: #006187;
  4141. --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  4142. --wp-admin-border-width-focus: 2px;
  4143. }
  4144. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4145. body.admin-color-light {
  4146. --wp-admin-border-width-focus: 1.5px;
  4147. }
  4148. }
  4149. body.admin-color-modern {
  4150. --wp-admin-theme-color: #3858e9;
  4151. --wp-admin-theme-color--rgb: 56, 88, 233;
  4152. --wp-admin-theme-color-darker-10: #2145e6;
  4153. --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  4154. --wp-admin-theme-color-darker-20: #183ad6;
  4155. --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  4156. --wp-admin-border-width-focus: 2px;
  4157. }
  4158. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4159. body.admin-color-modern {
  4160. --wp-admin-border-width-focus: 1.5px;
  4161. }
  4162. }
  4163. body.admin-color-blue {
  4164. --wp-admin-theme-color: #096484;
  4165. --wp-admin-theme-color--rgb: 9, 100, 132;
  4166. --wp-admin-theme-color-darker-10: #07526c;
  4167. --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  4168. --wp-admin-theme-color-darker-20: #064054;
  4169. --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  4170. --wp-admin-border-width-focus: 2px;
  4171. }
  4172. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4173. body.admin-color-blue {
  4174. --wp-admin-border-width-focus: 1.5px;
  4175. }
  4176. }
  4177. body.admin-color-coffee {
  4178. --wp-admin-theme-color: #46403c;
  4179. --wp-admin-theme-color--rgb: 70, 64, 60;
  4180. --wp-admin-theme-color-darker-10: #383330;
  4181. --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  4182. --wp-admin-theme-color-darker-20: #2b2724;
  4183. --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  4184. --wp-admin-border-width-focus: 2px;
  4185. }
  4186. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4187. body.admin-color-coffee {
  4188. --wp-admin-border-width-focus: 1.5px;
  4189. }
  4190. }
  4191. body.admin-color-ectoplasm {
  4192. --wp-admin-theme-color: #523f6d;
  4193. --wp-admin-theme-color--rgb: 82, 63, 109;
  4194. --wp-admin-theme-color-darker-10: #46365d;
  4195. --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  4196. --wp-admin-theme-color-darker-20: #3a2c4d;
  4197. --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  4198. --wp-admin-border-width-focus: 2px;
  4199. }
  4200. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4201. body.admin-color-ectoplasm {
  4202. --wp-admin-border-width-focus: 1.5px;
  4203. }
  4204. }
  4205. body.admin-color-midnight {
  4206. --wp-admin-theme-color: #e14d43;
  4207. --wp-admin-theme-color--rgb: 225, 77, 67;
  4208. --wp-admin-theme-color-darker-10: #dd382d;
  4209. --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  4210. --wp-admin-theme-color-darker-20: #d02c21;
  4211. --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  4212. --wp-admin-border-width-focus: 2px;
  4213. }
  4214. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4215. body.admin-color-midnight {
  4216. --wp-admin-border-width-focus: 1.5px;
  4217. }
  4218. }
  4219. body.admin-color-ocean {
  4220. --wp-admin-theme-color: #627c83;
  4221. --wp-admin-theme-color--rgb: 98, 124, 131;
  4222. --wp-admin-theme-color-darker-10: #576e74;
  4223. --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  4224. --wp-admin-theme-color-darker-20: #4c6066;
  4225. --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  4226. --wp-admin-border-width-focus: 2px;
  4227. }
  4228. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4229. body.admin-color-ocean {
  4230. --wp-admin-border-width-focus: 1.5px;
  4231. }
  4232. }
  4233. body.admin-color-sunrise {
  4234. --wp-admin-theme-color: #dd823b;
  4235. --wp-admin-theme-color--rgb: 221, 130, 59;
  4236. --wp-admin-theme-color-darker-10: #d97426;
  4237. --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  4238. --wp-admin-theme-color-darker-20: #c36922;
  4239. --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  4240. --wp-admin-border-width-focus: 2px;
  4241. }
  4242. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  4243. body.admin-color-sunrise {
  4244. --wp-admin-border-width-focus: 1.5px;
  4245. }
  4246. }