暫無描述

editor-rtl.css 65KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490
  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. * Breakpoint mixins
  45. */
  46. /**
  47. * Long content fade mixin
  48. *
  49. * Creates a fading overlay to signify that the content is longer
  50. * than the space allows.
  51. */
  52. /**
  53. * Focus styles.
  54. */
  55. /**
  56. * Applies editor left position to the selector passed as argument
  57. */
  58. /**
  59. * Styles that are reused verbatim in a few places
  60. */
  61. /**
  62. * Allows users to opt-out of animations via OS-level preferences.
  63. */
  64. /**
  65. * Reset default styles for JavaScript UI based pages.
  66. * This is a WP-admin agnostic reset
  67. */
  68. /**
  69. * Reset the WP Admin page styles for Gutenberg-like pages.
  70. */
  71. #start-resizable-editor-section {
  72. display: none;
  73. }
  74. ul.wp-block-archives {
  75. padding-right: 2.5em;
  76. }
  77. .wp-block-audio {
  78. margin-right: 0;
  79. margin-left: 0;
  80. }
  81. .edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container {
  82. padding-right: 0;
  83. padding-left: 0;
  84. }
  85. .edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow {
  86. display: block;
  87. }
  88. .edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender {
  89. display: none;
  90. }
  91. .wp-block[data-align=center] > .wp-block-button {
  92. text-align: center;
  93. margin-right: auto;
  94. margin-left: auto;
  95. }
  96. .wp-block[data-align=right] > .wp-block-button {
  97. text-align: right;
  98. }
  99. .wp-block-button {
  100. position: relative;
  101. cursor: text;
  102. }
  103. .wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]::after {
  104. color: #fff;
  105. }
  106. .wp-block-button:focus {
  107. box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
  108. outline: 2px solid transparent;
  109. outline-offset: -2px;
  110. }
  111. .wp-block-button[data-rich-text-placeholder]::after {
  112. opacity: 0.8;
  113. }
  114. .wp-block-button__inline-link {
  115. color: #757575;
  116. height: 0;
  117. overflow: hidden;
  118. max-width: 290px;
  119. }
  120. .wp-block-button__inline-link-input__suggestions {
  121. max-width: 290px;
  122. }
  123. @media (min-width: 782px) {
  124. .wp-block-button__inline-link {
  125. max-width: 260px;
  126. }
  127. .wp-block-button__inline-link-input__suggestions {
  128. max-width: 260px;
  129. }
  130. }
  131. @media (min-width: 960px) {
  132. .wp-block-button__inline-link {
  133. max-width: 290px;
  134. }
  135. .wp-block-button__inline-link-input__suggestions {
  136. max-width: 290px;
  137. }
  138. }
  139. .is-selected .wp-block-button__inline-link {
  140. height: auto;
  141. overflow: visible;
  142. margin-top: 16px;
  143. }
  144. .wp-button-label__width .components-button-group {
  145. display: block;
  146. }
  147. .wp-button-label__width .components-base-control__field {
  148. margin-bottom: 12px;
  149. }
  150. div[data-type="core/button"] {
  151. display: table;
  152. }
  153. .wp-block > .wp-block-buttons {
  154. display: flex;
  155. flex-wrap: wrap;
  156. }
  157. .wp-block-buttons {
  158. /* stylelint-disable indentation */
  159. }
  160. .wp-block-buttons > .wp-block {
  161. margin-right: 0;
  162. margin-top: 0.5em;
  163. margin-left: 0.5em;
  164. }
  165. .wp-block-buttons > .block-list-appender {
  166. display: inline-flex;
  167. align-items: center;
  168. }
  169. .wp-block-buttons.is-vertical > .block-list-appender .block-list-appender__toggle {
  170. justify-content: flex-start;
  171. }
  172. .wp-block-buttons > .wp-block-button:focus {
  173. box-shadow: none;
  174. }
  175. .wp-block-buttons:not(.is-content-justification-space-between,
  176. .is-content-justification-right,
  177. .is-content-justification-left,
  178. .is-content-justification-center) .wp-block[data-align=center] {
  179. /* stylelint-enable indentation */
  180. margin-right: auto;
  181. margin-left: auto;
  182. margin-top: 0;
  183. width: 100%;
  184. }
  185. .wp-block-buttons:not(.is-content-justification-space-between,
  186. .is-content-justification-right,
  187. .is-content-justification-left,
  188. .is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
  189. margin-bottom: 0;
  190. }
  191. .wp-block[data-align=center] > .wp-block-buttons {
  192. align-items: center;
  193. justify-content: center;
  194. }
  195. .wp-block[data-align=right] > .wp-block-buttons {
  196. justify-content: flex-end;
  197. }
  198. .wp-block-categories ul {
  199. padding-right: 2.5em;
  200. }
  201. .wp-block-categories ul ul {
  202. margin-top: 6px;
  203. }
  204. .wp-block-columns .wp-block {
  205. max-width: none;
  206. margin-right: 0;
  207. margin-left: 0;
  208. }
  209. @media (min-width: 600px) {
  210. .editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(even) {
  211. margin-right: 32px;
  212. }
  213. }
  214. @media (min-width: 782px) {
  215. .editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child) {
  216. margin-right: 32px;
  217. }
  218. }
  219. .block-editor-block-list__block.wp-block-column.wp-block-column {
  220. margin-top: 0;
  221. margin-bottom: 0;
  222. }
  223. .wp-block-cover.is-placeholder {
  224. min-height: auto !important;
  225. padding: 0 !important;
  226. }
  227. .wp-block-cover.components-placeholder h2 {
  228. color: inherit;
  229. }
  230. .wp-block-cover.is-transient::before {
  231. background-color: #fff;
  232. opacity: 0.3;
  233. }
  234. .wp-block-cover .components-spinner {
  235. position: absolute;
  236. z-index: 1;
  237. top: 50%;
  238. right: 50%;
  239. transform: translate(50%, -50%);
  240. margin: 0;
  241. }
  242. .wp-block-cover .block-editor-block-list__layout {
  243. width: 100%;
  244. }
  245. .wp-block-cover .wp-block-cover__inner-container {
  246. text-align: right;
  247. margin-right: 0;
  248. margin-left: 0;
  249. }
  250. .wp-block-cover .wp-block-cover__placeholder-background-options {
  251. width: 100%;
  252. }
  253. [data-align=left] > .wp-block-cover,
  254. [data-align=right] > .wp-block-cover {
  255. max-width: 420px;
  256. width: 100%;
  257. }
  258. .block-library-cover__reset-button {
  259. margin-right: auto;
  260. }
  261. .block-library-cover__resize-container {
  262. position: absolute !important;
  263. top: 0;
  264. right: 0;
  265. left: 0;
  266. bottom: 0;
  267. }
  268. .block-library-cover__resize-container:not(.is-resizing) {
  269. height: auto !important;
  270. }
  271. .wp-block-cover > .components-drop-zone.is-active {
  272. transition: 0.2s opacity, 0.2s border;
  273. }
  274. @media (prefers-reduced-motion: reduce) {
  275. .wp-block-cover > .components-drop-zone.is-active {
  276. transition-duration: 0s;
  277. transition-delay: 0s;
  278. }
  279. }
  280. .wp-block-cover > .components-drop-zone.is-dragging-over-element {
  281. background-color: transparent;
  282. border: 48px solid var(--wp-admin-theme-color);
  283. }
  284. .wp-block-cover > .components-drop-zone.is-dragging-over-element .components-drop-zone__content {
  285. transform: none;
  286. }
  287. .wp-block-cover > .components-drop-zone .components-drop-zone__content {
  288. display: flex;
  289. align-items: center;
  290. top: -36px;
  291. right: -36px;
  292. transform: none;
  293. }
  294. .wp-block-cover > .components-drop-zone .components-drop-zone__content-icon,
  295. .wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
  296. display: inline;
  297. }
  298. .wp-block-cover > .components-drop-zone .components-drop-zone__content-icon {
  299. margin: 0;
  300. margin-left: 8px;
  301. }
  302. .wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
  303. font-size: 13px;
  304. }
  305. .block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover {
  306. background-attachment: scroll;
  307. }
  308. .wp-block-embed {
  309. margin-right: 0;
  310. margin-left: 0;
  311. clear: both;
  312. }
  313. .wp-block-embed.is-loading {
  314. display: flex;
  315. flex-direction: column;
  316. align-items: center;
  317. justify-content: center;
  318. padding: 1em;
  319. min-height: 200px;
  320. text-align: center;
  321. border-radius: 2px;
  322. background-color: #fff;
  323. box-shadow: inset 0 0 0 1px #1e1e1e;
  324. }
  325. .wp-block-embed.is-loading p {
  326. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  327. font-size: 13px;
  328. }
  329. .wp-block-embed .components-placeholder__error {
  330. word-break: break-word;
  331. }
  332. .wp-block-embed .components-placeholder__learn-more {
  333. margin-top: 1em;
  334. }
  335. .block-library-embed__interactive-overlay {
  336. position: absolute;
  337. top: 0;
  338. right: 0;
  339. left: 0;
  340. bottom: 0;
  341. opacity: 0;
  342. }
  343. .wp-block[data-align=left] > .wp-block-embed,
  344. .wp-block[data-align=right] > .wp-block-embed {
  345. max-width: 360px;
  346. width: 100%;
  347. }
  348. .wp-block[data-align=left] > .wp-block-embed .wp-block-embed__wrapper,
  349. .wp-block[data-align=right] > .wp-block-embed .wp-block-embed__wrapper {
  350. min-width: 280px;
  351. }
  352. .wp-block-file {
  353. display: flex;
  354. flex-wrap: wrap;
  355. justify-content: space-between;
  356. align-items: center;
  357. margin-bottom: 0;
  358. }
  359. .wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
  360. height: auto;
  361. }
  362. .wp-block-file .components-resizable-box__container {
  363. margin-bottom: 1em;
  364. }
  365. .wp-block-file .wp-block-file__preview {
  366. margin-bottom: 1em;
  367. width: 100%;
  368. height: 100%;
  369. }
  370. .wp-block-file .wp-block-file__preview-overlay {
  371. position: absolute;
  372. top: 0;
  373. left: 0;
  374. bottom: 0;
  375. right: 0;
  376. }
  377. .wp-block-file .wp-block-file__content-wrapper {
  378. flex-grow: 1;
  379. }
  380. .wp-block-file a {
  381. min-width: 1em;
  382. }
  383. .wp-block-file .wp-block-file__button-richtext-wrapper {
  384. display: inline-block;
  385. margin-right: 0.75em;
  386. }
  387. .wp-block-freeform.block-library-rich-text__tinymce {
  388. height: auto;
  389. /* Allow height of embed iframes to be calculated properly */
  390. /* Remove blue highlighting of selected images in WebKit */
  391. /* Image captions */
  392. /* WP Views */
  393. }
  394. .wp-block-freeform.block-library-rich-text__tinymce p,
  395. .wp-block-freeform.block-library-rich-text__tinymce li {
  396. line-height: 1.8;
  397. }
  398. .wp-block-freeform.block-library-rich-text__tinymce ul,
  399. .wp-block-freeform.block-library-rich-text__tinymce ol {
  400. padding-right: 2.5em;
  401. margin-right: 0;
  402. }
  403. .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  404. margin: 0;
  405. box-shadow: inset 0 0 0 0 #ddd;
  406. border-right: 4px solid #000;
  407. padding-right: 1em;
  408. }
  409. .wp-block-freeform.block-library-rich-text__tinymce pre {
  410. white-space: pre-wrap;
  411. font-family: Menlo, Consolas, monaco, monospace;
  412. font-size: 15px;
  413. color: #1e1e1e;
  414. }
  415. .wp-block-freeform.block-library-rich-text__tinymce > *:first-child {
  416. margin-top: 0;
  417. }
  418. .wp-block-freeform.block-library-rich-text__tinymce > *:last-child {
  419. margin-bottom: 0;
  420. }
  421. .wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
  422. outline: none;
  423. }
  424. .wp-block-freeform.block-library-rich-text__tinymce a {
  425. color: var(--wp-admin-theme-color);
  426. }
  427. .wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
  428. padding: 0 2px;
  429. margin: 0 -2px;
  430. border-radius: 2px;
  431. box-shadow: 0 0 0 1px #e5f5fa;
  432. background: #e5f5fa;
  433. }
  434. .wp-block-freeform.block-library-rich-text__tinymce code {
  435. padding: 2px;
  436. border-radius: 2px;
  437. color: #1e1e1e;
  438. background: #f0f0f0;
  439. font-family: Menlo, Consolas, monaco, monospace;
  440. font-size: 14px;
  441. }
  442. .wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] {
  443. background: #ddd;
  444. }
  445. .wp-block-freeform.block-library-rich-text__tinymce .alignright {
  446. float: right;
  447. margin: 0.5em 0 0.5em 1em;
  448. }
  449. .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
  450. float: left;
  451. margin: 0.5em 1em 0.5em 0;
  452. }
  453. .wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
  454. display: block;
  455. margin-right: auto;
  456. margin-left: auto;
  457. }
  458. .wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
  459. width: 96%;
  460. height: 20px;
  461. display: block;
  462. margin: 15px auto;
  463. outline: 0;
  464. cursor: default;
  465. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);
  466. background-size: 1900px 20px;
  467. background-repeat: no-repeat;
  468. background-position: center;
  469. }
  470. .wp-block-freeform.block-library-rich-text__tinymce img::selection {
  471. background-color: transparent;
  472. }
  473. .wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
  474. -ms-user-select: element;
  475. }
  476. .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
  477. margin: 0;
  478. /* dl browser reset */
  479. max-width: 100%;
  480. }
  481. .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
  482. .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
  483. display: block;
  484. }
  485. .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption, .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
  486. -webkit-user-drag: none;
  487. }
  488. .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
  489. padding-top: 0.5em;
  490. margin: 0;
  491. /* browser dd reset */
  492. }
  493. .wp-block-freeform.block-library-rich-text__tinymce .wpview {
  494. width: 99.99%;
  495. /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
  496. position: relative;
  497. clear: both;
  498. margin-bottom: 16px;
  499. border: 1px solid transparent;
  500. }
  501. .wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
  502. display: block;
  503. max-width: 100%;
  504. background: transparent;
  505. }
  506. .wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
  507. position: absolute;
  508. top: 0;
  509. left: 0;
  510. bottom: 0;
  511. right: 0;
  512. }
  513. .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
  514. display: none;
  515. }
  516. .wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
  517. border: 1px dashed #ddd;
  518. padding: 10px;
  519. }
  520. .wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
  521. border: 1px solid #ddd;
  522. padding: 1em 0;
  523. margin: 0;
  524. word-wrap: break-word;
  525. }
  526. .wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
  527. margin: 0;
  528. text-align: center;
  529. }
  530. .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder, .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
  531. border-color: transparent;
  532. }
  533. .wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
  534. display: block;
  535. margin: 0 auto;
  536. width: 32px;
  537. height: 32px;
  538. font-size: 32px;
  539. }
  540. .wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
  541. content: "";
  542. display: table;
  543. clear: both;
  544. }
  545. .wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
  546. outline: none;
  547. }
  548. .wp-block-freeform.block-library-rich-text__tinymce .gallery a {
  549. cursor: default;
  550. }
  551. .wp-block-freeform.block-library-rich-text__tinymce .gallery {
  552. margin: auto -6px;
  553. padding: 6px 0;
  554. line-height: 1;
  555. overflow-x: hidden;
  556. }
  557. .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item {
  558. float: right;
  559. margin: 0;
  560. text-align: center;
  561. padding: 6px;
  562. box-sizing: border-box;
  563. }
  564. .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,
  565. .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon {
  566. margin: 0;
  567. }
  568. .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption {
  569. font-size: 13px;
  570. margin: 4px 0;
  571. }
  572. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item {
  573. width: 100%;
  574. }
  575. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item {
  576. width: 50%;
  577. }
  578. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item {
  579. width: 33.3333333333%;
  580. }
  581. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item {
  582. width: 25%;
  583. }
  584. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item {
  585. width: 20%;
  586. }
  587. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item {
  588. width: 16.6666666667%;
  589. }
  590. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item {
  591. width: 14.2857142857%;
  592. }
  593. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item {
  594. width: 12.5%;
  595. }
  596. .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item {
  597. width: 11.1111111111%;
  598. }
  599. .wp-block-freeform.block-library-rich-text__tinymce .gallery img {
  600. max-width: 100%;
  601. height: auto;
  602. border: none;
  603. padding: 0;
  604. }
  605. div[data-type="core/freeform"]::before {
  606. transition: border-color 0.1s linear, box-shadow 0.1s linear;
  607. border: 1px solid #ddd;
  608. outline: 1px solid transparent;
  609. }
  610. @media (prefers-reduced-motion: reduce) {
  611. div[data-type="core/freeform"]::before {
  612. transition-duration: 0s;
  613. transition-delay: 0s;
  614. }
  615. }
  616. div[data-type="core/freeform"].is-selected::before {
  617. border-color: #1e1e1e;
  618. }
  619. div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div {
  620. margin-top: 0;
  621. padding-top: 0;
  622. }
  623. div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
  624. content: "";
  625. display: table;
  626. clear: both;
  627. }
  628. .mce-toolbar-grp .mce-btn.mce-active button,
  629. .mce-toolbar-grp .mce-btn.mce-active:hover button,
  630. .mce-toolbar-grp .mce-btn.mce-active i,
  631. .mce-toolbar-grp .mce-btn.mce-active:hover i {
  632. color: #1e1e1e;
  633. }
  634. .mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
  635. margin-left: 0;
  636. margin-right: 8px;
  637. }
  638. .mce-toolbar-grp .mce-btn i {
  639. font-style: normal;
  640. }
  641. .block-library-classic__toolbar {
  642. display: none;
  643. width: auto;
  644. margin: 0;
  645. position: sticky;
  646. z-index: 31;
  647. top: 0;
  648. border: 1px solid #ddd;
  649. border-bottom: none;
  650. border-radius: 2px;
  651. margin-bottom: 8px;
  652. padding: 0;
  653. }
  654. div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
  655. display: block;
  656. border-color: #1e1e1e;
  657. }
  658. .block-library-classic__toolbar .mce-tinymce {
  659. box-shadow: none;
  660. }
  661. @media (min-width: 600px) {
  662. .block-library-classic__toolbar {
  663. padding: 0;
  664. }
  665. }
  666. .block-library-classic__toolbar:empty {
  667. display: block;
  668. background: #f5f5f5;
  669. border-bottom: 1px solid #e2e4e7;
  670. }
  671. .block-library-classic__toolbar:empty::before {
  672. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  673. font-size: 13px;
  674. content: attr(data-placeholder);
  675. color: #555d66;
  676. line-height: 37px;
  677. padding: 14px;
  678. }
  679. .block-library-classic__toolbar div.mce-toolbar-grp {
  680. border-bottom: 1px solid #1e1e1e;
  681. }
  682. .block-library-classic__toolbar .mce-tinymce-inline,
  683. .block-library-classic__toolbar .mce-tinymce-inline > div,
  684. .block-library-classic__toolbar div.mce-toolbar-grp,
  685. .block-library-classic__toolbar div.mce-toolbar-grp > div,
  686. .block-library-classic__toolbar .mce-menubar,
  687. .block-library-classic__toolbar .mce-menubar > div {
  688. height: auto !important;
  689. width: 100% !important;
  690. }
  691. .block-library-classic__toolbar .mce-container-body.mce-abs-layout {
  692. overflow: visible;
  693. }
  694. .block-library-classic__toolbar .mce-menubar,
  695. .block-library-classic__toolbar div.mce-toolbar-grp {
  696. position: static;
  697. }
  698. .block-library-classic__toolbar .mce-toolbar-grp > div {
  699. padding: 1px 3px;
  700. }
  701. .block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
  702. display: none;
  703. }
  704. .block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
  705. display: block;
  706. }
  707. .wp-block-gallery li {
  708. list-style-type: none;
  709. }
  710. .wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label {
  711. display: none;
  712. }
  713. .wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button {
  714. margin-bottom: 0;
  715. }
  716. figure.wp-block-gallery {
  717. display: block;
  718. margin: 0;
  719. }
  720. .blocks-gallery-grid.blocks-gallery-grid {
  721. padding-right: 0;
  722. margin-right: 0;
  723. margin-bottom: 0;
  724. }
  725. .blocks-gallery-item figure:not(.is-selected):focus,
  726. .blocks-gallery-item img:focus {
  727. outline: none;
  728. }
  729. .blocks-gallery-item figure.is-selected::before {
  730. box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
  731. content: "";
  732. outline: 2px solid transparent;
  733. position: absolute;
  734. top: 0;
  735. left: 0;
  736. bottom: 0;
  737. right: 0;
  738. z-index: 1;
  739. pointer-events: none;
  740. }
  741. .blocks-gallery-item figure.is-selected figcaption {
  742. z-index: 2;
  743. }
  744. .blocks-gallery-item figure.is-transient img {
  745. opacity: 0.3;
  746. }
  747. .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
  748. display: inline-flex;
  749. }
  750. .blocks-gallery-item .block-editor-media-placeholder {
  751. margin: 0;
  752. height: 100%;
  753. }
  754. .blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label {
  755. display: flex;
  756. }
  757. .block-library-gallery-item__inline-menu {
  758. display: none;
  759. position: absolute;
  760. top: -2px;
  761. margin: 8px;
  762. z-index: 20;
  763. transition: box-shadow 0.2s ease-out;
  764. border-radius: 2px;
  765. background: #fff;
  766. border: 1px solid #1e1e1e;
  767. }
  768. @media (prefers-reduced-motion: reduce) {
  769. .block-library-gallery-item__inline-menu {
  770. transition-duration: 0s;
  771. transition-delay: 0s;
  772. }
  773. }
  774. .block-library-gallery-item__inline-menu:hover {
  775. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  776. }
  777. @media (min-width: 600px) {
  778. .columns-7 .block-library-gallery-item__inline-menu, .columns-8 .block-library-gallery-item__inline-menu {
  779. padding: 2px;
  780. }
  781. }
  782. .block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) {
  783. border: none;
  784. box-shadow: none;
  785. }
  786. @media (min-width: 600px) {
  787. .columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon {
  788. padding: 0;
  789. width: inherit;
  790. height: inherit;
  791. }
  792. }
  793. .block-library-gallery-item__inline-menu.is-left {
  794. right: -2px;
  795. }
  796. .block-library-gallery-item__inline-menu.is-right {
  797. left: -2px;
  798. }
  799. .blocks-gallery-item .components-spinner {
  800. position: absolute;
  801. top: 50%;
  802. right: 50%;
  803. margin-top: -9px;
  804. margin-right: -9px;
  805. }
  806. /**
  807. * Group: All Alignment Settings
  808. */
  809. .wp-block-group .block-editor-block-list__insertion-point {
  810. right: 0;
  811. left: 0;
  812. }
  813. [data-type="core/group"].is-selected .block-list-appender {
  814. margin-right: 0;
  815. margin-left: 0;
  816. }
  817. [data-type="core/group"].is-selected .has-background .block-list-appender {
  818. margin-top: 18px;
  819. margin-bottom: 18px;
  820. }
  821. .block-library-heading-level-dropdown .components-popover__content {
  822. min-width: 230px;
  823. }
  824. .block-library-heading-level-dropdown .components-popover__content > div {
  825. padding: 0;
  826. }
  827. .block-library-heading-level-toolbar {
  828. border: none;
  829. }
  830. .block-library-html__edit {
  831. margin-bottom: 28px;
  832. }
  833. .block-library-html__edit .block-library-html__preview-overlay {
  834. position: absolute;
  835. width: 100%;
  836. height: 100%;
  837. top: 0;
  838. right: 0;
  839. }
  840. .block-library-html__edit .block-editor-plain-text {
  841. font-family: Menlo, Consolas, monaco, monospace;
  842. color: #1e1e1e;
  843. padding: 0.8em 1em;
  844. border: 1px solid #ddd;
  845. border-radius: 4px;
  846. max-height: 250px;
  847. /* Fonts smaller than 16px causes mobile safari to zoom. */
  848. font-size: 16px;
  849. }
  850. @media (min-width: 600px) {
  851. .block-library-html__edit .block-editor-plain-text {
  852. font-size: 13px;
  853. }
  854. }
  855. .block-library-html__edit .block-editor-plain-text:focus {
  856. box-shadow: none;
  857. }
  858. figure.wp-block-image:not(.wp-block) {
  859. margin: 0;
  860. }
  861. .wp-block-image {
  862. position: relative;
  863. }
  864. .wp-block-image .is-applying img, .wp-block-image.is-transient img {
  865. opacity: 0.3;
  866. }
  867. .wp-block-image figcaption img {
  868. display: inline;
  869. }
  870. .wp-block-image .components-spinner {
  871. position: absolute;
  872. top: 50%;
  873. right: 50%;
  874. margin-top: -9px;
  875. margin-right: -9px;
  876. }
  877. .wp-block-image:not(.is-style-rounded) > div {
  878. border-radius: inherit;
  879. }
  880. .wp-block-image .components-resizable-box__container {
  881. display: inline-block;
  882. }
  883. .wp-block-image .components-resizable-box__container img {
  884. display: block;
  885. width: inherit;
  886. height: inherit;
  887. }
  888. .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
  889. position: absolute;
  890. right: 0;
  891. left: 0;
  892. margin: -1px 0;
  893. }
  894. @media (min-width: 600px) {
  895. .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
  896. margin: -1px;
  897. }
  898. }
  899. [data-align=wide] > .wp-block-image img,
  900. [data-align=full] > .wp-block-image img {
  901. width: 100%;
  902. }
  903. .wp-block[data-align=left] > .wp-block-image,
  904. .wp-block[data-align=center] > .wp-block-image,
  905. .wp-block[data-align=right] > .wp-block-image {
  906. display: table;
  907. }
  908. .wp-block[data-align=left] > .wp-block-image > figcaption,
  909. .wp-block[data-align=center] > .wp-block-image > figcaption,
  910. .wp-block[data-align=right] > .wp-block-image > figcaption {
  911. display: table-caption;
  912. caption-side: bottom;
  913. }
  914. .wp-block[data-align=left] > .wp-block-image {
  915. margin-left: 1em;
  916. margin-right: 0;
  917. margin-top: 0.5em;
  918. margin-bottom: 0.5em;
  919. }
  920. .wp-block[data-align=right] > .wp-block-image {
  921. margin-right: 1em;
  922. margin-left: 0;
  923. margin-top: 0.5em;
  924. margin-bottom: 0.5em;
  925. }
  926. .wp-block[data-align=center] > .wp-block-image {
  927. margin-right: auto;
  928. margin-left: auto;
  929. text-align: center;
  930. }
  931. .wp-block-image__crop-area {
  932. position: relative;
  933. max-width: 100%;
  934. width: 100%;
  935. }
  936. .wp-block-image__crop-icon {
  937. padding: 0 8px;
  938. min-width: 48px;
  939. display: flex;
  940. justify-content: center;
  941. align-items: center;
  942. }
  943. .wp-block-image__crop-icon svg {
  944. fill: currentColor;
  945. }
  946. .wp-block-image__zoom .components-popover__content {
  947. overflow: visible;
  948. min-width: 260px;
  949. }
  950. .wp-block-image__zoom .components-range-control {
  951. flex: 1;
  952. }
  953. .wp-block-image__zoom .components-base-control__field {
  954. display: flex;
  955. margin-bottom: 0;
  956. flex-direction: column;
  957. align-items: flex-start;
  958. }
  959. .wp-block-image__aspect-ratio {
  960. height: 46px;
  961. margin-bottom: -8px;
  962. display: flex;
  963. align-items: center;
  964. }
  965. .wp-block-image__aspect-ratio .components-button {
  966. width: 36px;
  967. padding-right: 0;
  968. padding-left: 0;
  969. }
  970. .wp-block-latest-posts {
  971. padding-right: 2.5em;
  972. }
  973. .wp-block-latest-posts.is-grid {
  974. padding-right: 0;
  975. }
  976. .wp-block-latest-posts li a > div {
  977. display: inline;
  978. }
  979. .edit-post-visual-editor .wp-block-latest-posts.is-grid li {
  980. margin-bottom: 20px;
  981. }
  982. .wp-block-media-text .__resizable_base__ {
  983. grid-column: 1/span 2;
  984. grid-row: 2;
  985. }
  986. .wp-block-media-text .editor-media-container__resizer {
  987. width: 100% !important;
  988. }
  989. .wp-block-media-text.is-image-fill .editor-media-container__resizer {
  990. height: 100% !important;
  991. }
  992. .wp-block-media-text > .block-editor-block-list__layout > .block-editor-block-list__block {
  993. max-width: unset;
  994. }
  995. .block-editor-block-list__block[data-type="core/more"] {
  996. max-width: 100%;
  997. text-align: center;
  998. margin-top: 28px;
  999. margin-bottom: 28px;
  1000. }
  1001. .wp-block-more {
  1002. display: block;
  1003. text-align: center;
  1004. white-space: nowrap;
  1005. }
  1006. .wp-block-more input[type=text] {
  1007. position: relative;
  1008. font-size: 13px;
  1009. text-transform: uppercase;
  1010. font-weight: 600;
  1011. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1012. color: #757575;
  1013. border: none;
  1014. box-shadow: none;
  1015. white-space: nowrap;
  1016. text-align: center;
  1017. margin: 0;
  1018. border-radius: 4px;
  1019. background: #fff;
  1020. padding: 6px 8px;
  1021. height: 24px;
  1022. max-width: 100%;
  1023. }
  1024. .wp-block-more input[type=text]:focus {
  1025. box-shadow: none;
  1026. }
  1027. .wp-block-more::before {
  1028. content: "";
  1029. position: absolute;
  1030. top: calc(50%);
  1031. right: 0;
  1032. left: 0;
  1033. border-top: 3px dashed #ccc;
  1034. }
  1035. /**
  1036. * Editor only CSS.
  1037. */
  1038. .editor-styles-wrapper .wp-block-navigation ul {
  1039. margin-top: 0;
  1040. margin-bottom: 0;
  1041. margin-right: 0;
  1042. padding-right: 0;
  1043. }
  1044. /**
  1045. * Submenus.
  1046. */
  1047. .wp-block-navigation__container.is-parent-of-selected-block {
  1048. visibility: visible;
  1049. opacity: 1;
  1050. }
  1051. .wp-block-navigation__container,
  1052. .wp-block-navigation-link {
  1053. background-color: inherit;
  1054. }
  1055. .wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover > .wp-block-navigation-link__container {
  1056. opacity: 0;
  1057. visibility: hidden;
  1058. }
  1059. .has-child.is-selected > .wp-block-navigation-link__container, .has-child.has-child-selected > .wp-block-navigation-link__container {
  1060. display: flex;
  1061. opacity: 1;
  1062. visibility: visible;
  1063. }
  1064. .is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation-link__container {
  1065. opacity: 1;
  1066. visibility: visible;
  1067. }
  1068. .is-editing > .wp-block-navigation__container {
  1069. visibility: visible;
  1070. opacity: 1;
  1071. display: flex;
  1072. flex-direction: column;
  1073. }
  1074. .is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container {
  1075. opacity: 1;
  1076. visibility: hidden;
  1077. }
  1078. .is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container .block-editor-block-draggable-chip-wrapper {
  1079. visibility: visible;
  1080. }
  1081. /**
  1082. * Colors Selector component
  1083. */
  1084. .block-library-colors-selector {
  1085. width: auto;
  1086. }
  1087. .block-library-colors-selector .block-library-colors-selector__toggle {
  1088. display: block;
  1089. margin: 0 auto;
  1090. padding: 3px;
  1091. width: auto;
  1092. }
  1093. .block-library-colors-selector .block-library-colors-selector__icon-container {
  1094. height: 30px;
  1095. position: relative;
  1096. margin: 0 auto;
  1097. padding: 3px;
  1098. display: flex;
  1099. align-items: center;
  1100. border-radius: 4px;
  1101. }
  1102. .block-library-colors-selector .block-library-colors-selector__state-selection {
  1103. margin-right: auto;
  1104. margin-left: auto;
  1105. border-radius: 11px;
  1106. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  1107. width: 22px;
  1108. min-width: 22px;
  1109. height: 22px;
  1110. min-height: 22px;
  1111. line-height: 20px;
  1112. padding: 2px;
  1113. }
  1114. .block-library-colors-selector .block-library-colors-selector__state-selection > svg {
  1115. min-width: auto !important;
  1116. }
  1117. .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg,
  1118. .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path {
  1119. color: inherit;
  1120. }
  1121. .block-library-colors-selector__popover .color-palette-controller-container {
  1122. padding: 16px;
  1123. }
  1124. .block-library-colors-selector__popover .components-base-control__label {
  1125. height: 20px;
  1126. line-height: 20px;
  1127. }
  1128. .block-library-colors-selector__popover .component-color-indicator {
  1129. float: left;
  1130. margin-top: 2px;
  1131. }
  1132. .block-library-colors-selector__popover .components-panel__body-title {
  1133. display: none;
  1134. }
  1135. .wp-block-navigation .block-editor-button-block-appender {
  1136. justify-content: flex-start;
  1137. }
  1138. /**
  1139. * Setup state
  1140. */
  1141. .components-placeholder.wp-block-navigation-placeholder {
  1142. outline: none;
  1143. padding: 0;
  1144. box-shadow: none;
  1145. background: none;
  1146. min-height: 0;
  1147. color: inherit;
  1148. }
  1149. .components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset {
  1150. font-size: inherit;
  1151. }
  1152. .components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button {
  1153. margin-bottom: 0;
  1154. }
  1155. .is-selected .components-placeholder.wp-block-navigation-placeholder {
  1156. color: #1e1e1e;
  1157. }
  1158. .wp-block-navigation-placeholder .components-spinner {
  1159. margin-top: -4px;
  1160. margin-right: 4px;
  1161. vertical-align: middle;
  1162. margin-left: 7px;
  1163. }
  1164. .wp-block-navigation-placeholder__preview {
  1165. display: flex;
  1166. flex-direction: row;
  1167. align-items: center;
  1168. flex-wrap: nowrap;
  1169. width: 100%;
  1170. overflow: hidden;
  1171. }
  1172. .wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link {
  1173. position: relative;
  1174. min-width: 72px;
  1175. }
  1176. .wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link::before {
  1177. display: block;
  1178. content: "";
  1179. border-radius: 2px;
  1180. background: currentColor;
  1181. height: 16px;
  1182. width: 100%;
  1183. }
  1184. .wp-block-navigation-placeholder__preview svg {
  1185. fill: currentColor;
  1186. }
  1187. .wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,
  1188. .wp-block-navigation-placeholder__preview svg {
  1189. opacity: 0.3;
  1190. }
  1191. .wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview {
  1192. display: flex;
  1193. opacity: 0;
  1194. width: 0;
  1195. overflow: hidden;
  1196. flex-wrap: nowrap;
  1197. }
  1198. .wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview {
  1199. display: none;
  1200. }
  1201. .wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview {
  1202. display: none;
  1203. }
  1204. .wp-block-navigation-placeholder__controls {
  1205. padding: 8px;
  1206. border-radius: 2px;
  1207. background-color: #fff;
  1208. box-shadow: inset 0 0 0 1px #1e1e1e;
  1209. flex-direction: row;
  1210. align-items: center;
  1211. display: none;
  1212. position: relative;
  1213. z-index: 1;
  1214. float: right;
  1215. width: 100%;
  1216. }
  1217. .is-large .wp-block-navigation-placeholder__controls {
  1218. padding: 4px 8px;
  1219. }
  1220. .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls {
  1221. display: flex;
  1222. }
  1223. .is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions {
  1224. flex-direction: column;
  1225. }
  1226. .is-selected.is-vertical .wp-block-navigation-placeholder__controls {
  1227. display: inline-flex;
  1228. padding: 12px;
  1229. }
  1230. .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon {
  1231. margin-left: 12px;
  1232. height: 36px;
  1233. }
  1234. .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
  1235. margin-left: 12px;
  1236. padding: 0;
  1237. align-items: center;
  1238. justify-content: flex-start;
  1239. line-height: 0;
  1240. margin-right: 5px;
  1241. display: none;
  1242. }
  1243. .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg {
  1244. margin-left: 4px;
  1245. }
  1246. .is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
  1247. margin-bottom: 4px;
  1248. margin-right: 0;
  1249. }
  1250. .is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
  1251. display: inline-flex;
  1252. }
  1253. .is-vertical .wp-block-navigation-placeholder,
  1254. .is-vertical .wp-block-navigation-placeholder__preview,
  1255. .is-vertical .wp-block-navigation-placeholder__controls {
  1256. min-height: 156px;
  1257. }
  1258. .is-vertical .wp-block-navigation-placeholder__preview,
  1259. .is-vertical .wp-block-navigation-placeholder__controls {
  1260. flex-direction: column;
  1261. align-items: flex-start;
  1262. }
  1263. .wp-block-navigation-placeholder__actions {
  1264. display: flex;
  1265. font-size: 13px;
  1266. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1267. }
  1268. .wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon {
  1269. padding: 6px 12px 6px 4px;
  1270. display: flex;
  1271. flex-direction: row-reverse;
  1272. }
  1273. .wp-block-navigation-placeholder__actions .components-dropdown,
  1274. .wp-block-navigation-placeholder__actions > .components-button {
  1275. margin-left: 12px;
  1276. }
  1277. /**
  1278. * Mobile menu.
  1279. */
  1280. @media (min-width: 600px) {
  1281. .wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close {
  1282. display: none;
  1283. }
  1284. }
  1285. @media (min-width: 600px) {
  1286. .components-button.wp-block-navigation__responsive-container-open {
  1287. display: none;
  1288. }
  1289. }
  1290. .wp-block-navigation__responsive-container.is-menu-open {
  1291. position: fixed;
  1292. }
  1293. body.admin-bar .wp-block-navigation__responsive-container.is-menu-open {
  1294. top: 155px;
  1295. }
  1296. @media (min-width: 782px) {
  1297. body.admin-bar .wp-block-navigation__responsive-container.is-menu-open {
  1298. top: 61px;
  1299. }
  1300. }
  1301. @media (min-width: 600px) {
  1302. .wp-block-navigation__responsive-close {
  1303. pointer-events: none;
  1304. }
  1305. .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close,
  1306. .wp-block-navigation__responsive-close .block-editor-block-list__layout * {
  1307. pointer-events: all;
  1308. }
  1309. }
  1310. .wp-block-navigation__responsive-close .wp-block-pages-list__item__link {
  1311. pointer-events: none;
  1312. }
  1313. .components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open,
  1314. .components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
  1315. padding: 0;
  1316. height: auto;
  1317. color: inherit;
  1318. }
  1319. .is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender {
  1320. margin-top: 16px;
  1321. }
  1322. .wp-block-navigation-link__container {
  1323. border-radius: 0;
  1324. min-height: 36px;
  1325. }
  1326. /**
  1327. * Submenus.
  1328. */
  1329. .wp-block-navigation .has-child {
  1330. cursor: pointer;
  1331. }
  1332. .wp-block-navigation .has-child .submenu-container,
  1333. .wp-block-navigation .has-child .wp-block-navigation-link__container {
  1334. z-index: 28;
  1335. }
  1336. .wp-block-navigation .has-child:hover .submenu-container,
  1337. .wp-block-navigation .has-child:hover .wp-block-navigation-link__container {
  1338. z-index: 29;
  1339. }
  1340. .wp-block-navigation .has-child.is-selected > .wp-block-navigation-link__container, .wp-block-navigation .has-child.has-child-selected > .wp-block-navigation-link__container {
  1341. visibility: visible !important;
  1342. opacity: 1 !important;
  1343. }
  1344. /**
  1345. * Navigation Items.
  1346. */
  1347. .wp-block-navigation-link .wp-block-navigation-link__container {
  1348. display: block;
  1349. }
  1350. .wp-block-navigation-link .wp-block-navigation-link__content {
  1351. cursor: text;
  1352. }
  1353. .wp-block-navigation-link.is-editing, .wp-block-navigation-link.is-selected {
  1354. min-width: 20px;
  1355. }
  1356. .wp-block-navigation-link .block-list-appender {
  1357. margin-top: 16px;
  1358. margin-left: auto;
  1359. margin-bottom: 16px;
  1360. margin-right: 16px;
  1361. }
  1362. .wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] > .block-editor-block-list__insertion-point {
  1363. display: none;
  1364. }
  1365. /**
  1366. * Menu item setup state. Is shown when a menu item has no URL configured.
  1367. */
  1368. .wp-block-navigation-link__placeholder {
  1369. position: relative;
  1370. margin: 2px;
  1371. }
  1372. .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text {
  1373. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1374. font-size: 13px;
  1375. padding-right: 4px;
  1376. padding-left: 4px;
  1377. }
  1378. .wp-block-navigation-link__placeholder.wp-block-navigation-link__content {
  1379. cursor: pointer;
  1380. }
  1381. .wp-block-navigation-link__placeholder::before {
  1382. content: "";
  1383. display: block;
  1384. position: absolute;
  1385. top: 0;
  1386. left: 0;
  1387. bottom: 0;
  1388. right: 0;
  1389. border-radius: 2px;
  1390. opacity: 0.1;
  1391. }
  1392. .is-dark-theme .wp-block-navigation-link__placeholder::before {
  1393. opacity: 0.2;
  1394. }
  1395. .is-editing .wp-block-navigation-link__placeholder::before {
  1396. background: currentColor;
  1397. }
  1398. .wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder {
  1399. box-shadow: inset 0 0 0 1px #757575;
  1400. border-radius: 2px;
  1401. color: var(--wp-admin-theme-color);
  1402. }
  1403. .block-editor-block-list__block[data-type="core/nextpage"] {
  1404. max-width: 100%;
  1405. text-align: center;
  1406. margin-top: 28px;
  1407. margin-bottom: 28px;
  1408. }
  1409. .wp-block-nextpage {
  1410. display: block;
  1411. text-align: center;
  1412. white-space: nowrap;
  1413. }
  1414. .wp-block-nextpage > span {
  1415. font-size: 13px;
  1416. position: relative;
  1417. text-transform: uppercase;
  1418. font-weight: 600;
  1419. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1420. color: #757575;
  1421. border-radius: 4px;
  1422. background: #fff;
  1423. padding: 6px 8px;
  1424. height: 24px;
  1425. }
  1426. .wp-block-nextpage::before {
  1427. content: "";
  1428. position: absolute;
  1429. top: calc(50%);
  1430. right: 0;
  1431. left: 0;
  1432. border-top: 3px dashed #ccc;
  1433. }
  1434. .wp-block-navigation .wp-block-page-list > div,
  1435. .wp-block-navigation .wp-block-page-list {
  1436. background-color: inherit;
  1437. }
  1438. .wp-block-navigation.items-justified-space-between .wp-block-page-list > div,
  1439. .wp-block-navigation.items-justified-space-between .wp-block-page-list {
  1440. display: contents;
  1441. flex: 1;
  1442. }
  1443. .wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list {
  1444. flex: inherit;
  1445. }
  1446. .wp-block-pages-list__item__link {
  1447. pointer-events: none;
  1448. }
  1449. .wp-block-page-list .components-placeholder {
  1450. min-height: 0;
  1451. padding: 0;
  1452. background-color: inherit;
  1453. }
  1454. .wp-block-page-list .components-placeholder .components-spinner {
  1455. margin: 0.5em;
  1456. }
  1457. .wp-block-page-list-modal {
  1458. max-width: 400px;
  1459. }
  1460. .wp-block-page-list-modal-buttons {
  1461. display: flex;
  1462. justify-content: flex-end;
  1463. }
  1464. .wp-block-page-list-modal-buttons .components-button {
  1465. margin-right: 12px;
  1466. }
  1467. .block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
  1468. min-height: auto !important;
  1469. }
  1470. .block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
  1471. opacity: 1;
  1472. }
  1473. .block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
  1474. opacity: 0;
  1475. }
  1476. .wp-block-post-content__placeholder {
  1477. height: 100px;
  1478. border: 1px dashed;
  1479. display: flex;
  1480. justify-content: center;
  1481. align-items: center;
  1482. }
  1483. .wp-block-post-content__placeholder span {
  1484. font-style: italic;
  1485. }
  1486. .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
  1487. display: inline-block;
  1488. }
  1489. .wp-block-post-author {
  1490. display: flex;
  1491. flex-wrap: wrap;
  1492. }
  1493. .wp-block-post-author .wp-block-post-author__byline {
  1494. font-size: 0.5em;
  1495. margin-top: 0;
  1496. position: relative;
  1497. font-style: normal;
  1498. }
  1499. .wp-block-post-author .wp-block-post-author__content {
  1500. flex-grow: 1;
  1501. flex-basis: 0;
  1502. }
  1503. .wp-block-post-author .wp-block-post-author__avatar img {
  1504. margin: 0;
  1505. }
  1506. .wp-block-post-author .wp-block-post-author__avatar {
  1507. margin-bottom: -8px;
  1508. }
  1509. .wp-block-post-author .wp-block-post-author__name {
  1510. margin: 0;
  1511. font-weight: bold;
  1512. }
  1513. .wp-block-post-author .wp-block-post-author__bio {
  1514. margin: 0 0 8px;
  1515. font-size: 0.7em;
  1516. }
  1517. .wp-block[data-align=left] > .wp-block-pullquote p,
  1518. .wp-block[data-align=right] > .wp-block-pullquote p {
  1519. font-size: 20px;
  1520. }
  1521. .wp-block-pullquote blockquote p {
  1522. font-size: 28px;
  1523. line-height: 1.6;
  1524. }
  1525. .wp-block-pullquote.is-style-solid-color blockquote p {
  1526. font-size: 32px;
  1527. }
  1528. .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
  1529. text-transform: none;
  1530. font-style: normal;
  1531. }
  1532. .wp-block-pullquote .wp-block-pullquote__citation {
  1533. color: inherit;
  1534. }
  1535. .wp-block-rss li a > div {
  1536. display: inline;
  1537. }
  1538. .wp-block-rss__placeholder-form {
  1539. display: flex;
  1540. align-items: stretch;
  1541. }
  1542. .wp-block-rss__placeholder-form > * {
  1543. margin-bottom: 8px;
  1544. }
  1545. @media (min-width: 782px) {
  1546. .wp-block-rss__placeholder-form > * {
  1547. margin-bottom: 0;
  1548. }
  1549. }
  1550. .wp-block-rss__placeholder-input {
  1551. display: flex;
  1552. align-items: stretch;
  1553. flex-grow: 1;
  1554. }
  1555. .wp-block-rss__placeholder-input .components-base-control__field {
  1556. margin: 0;
  1557. display: flex;
  1558. align-items: stretch;
  1559. flex-grow: 1;
  1560. margin-left: 8px;
  1561. }
  1562. .wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper {
  1563. margin: auto;
  1564. }
  1565. .wp-block-search .wp-block-search__input {
  1566. padding: 8px;
  1567. }
  1568. .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  1569. padding: 4px;
  1570. }
  1571. .wp-block-search .wp-block-search__button {
  1572. height: auto;
  1573. border-radius: initial;
  1574. }
  1575. .wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button {
  1576. padding: 6px 10px;
  1577. }
  1578. .wp-block-search__components-button-group {
  1579. margin-top: 10px;
  1580. }
  1581. .block-editor-block-list__block[data-type="core/separator"] {
  1582. padding-top: 0.1px;
  1583. padding-bottom: 0.1px;
  1584. }
  1585. [data-type="core/shortcode"] .block-editor-plain-text {
  1586. max-height: 250px;
  1587. }
  1588. [data-type="core/shortcode"].components-placeholder {
  1589. min-height: 0;
  1590. }
  1591. .blocks-shortcode__textarea {
  1592. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1593. padding: 6px 8px;
  1594. box-shadow: 0 0 0 transparent;
  1595. transition: box-shadow 0.1s linear;
  1596. border-radius: 2px;
  1597. border: 1px solid #757575;
  1598. /* Fonts smaller than 16px causes mobile safari to zoom. */
  1599. font-size: 16px;
  1600. /* Override core line-height. To be reviewed. */
  1601. line-height: normal;
  1602. }
  1603. @media (prefers-reduced-motion: reduce) {
  1604. .blocks-shortcode__textarea {
  1605. transition-duration: 0s;
  1606. transition-delay: 0s;
  1607. }
  1608. }
  1609. @media (min-width: 600px) {
  1610. .blocks-shortcode__textarea {
  1611. font-size: 13px;
  1612. /* Override core line-height. To be reviewed. */
  1613. line-height: normal;
  1614. }
  1615. }
  1616. .blocks-shortcode__textarea:focus {
  1617. border-color: var(--wp-admin-theme-color);
  1618. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  1619. outline: 2px solid transparent;
  1620. }
  1621. .blocks-shortcode__textarea::-webkit-input-placeholder {
  1622. color: rgba(30, 30, 30, 0.62);
  1623. }
  1624. .blocks-shortcode__textarea::-moz-placeholder {
  1625. opacity: 1;
  1626. color: rgba(30, 30, 30, 0.62);
  1627. }
  1628. .blocks-shortcode__textarea:-ms-input-placeholder {
  1629. color: rgba(30, 30, 30, 0.62);
  1630. }
  1631. .wp-block[data-align=center] > .wp-block-site-logo {
  1632. margin-right: auto;
  1633. margin-left: auto;
  1634. text-align: center;
  1635. }
  1636. .wp-block-site-logo a {
  1637. pointer-events: none;
  1638. }
  1639. .wp-block-site-logo:not(.is-default-size) {
  1640. display: table;
  1641. }
  1642. .wp-block-site-logo.is-default-size {
  1643. width: 120px;
  1644. }
  1645. .wp-block-site-logo.is-default-size img {
  1646. width: 100%;
  1647. }
  1648. .wp-block-site-logo .custom-logo-link {
  1649. cursor: inherit;
  1650. }
  1651. .wp-block-site-logo .custom-logo-link:focus {
  1652. box-shadow: none;
  1653. }
  1654. .wp-block-site-logo .custom-logo-link.is-transient img {
  1655. opacity: 0.3;
  1656. }
  1657. .wp-block-site-logo img {
  1658. display: block;
  1659. max-width: 100%;
  1660. }
  1661. .wp-block-site-logo .components-placeholder {
  1662. justify-content: flex-start;
  1663. min-height: auto;
  1664. height: 120px;
  1665. padding: 12px;
  1666. }
  1667. .wp-block-site-logo .components-placeholder .components-placeholder__label {
  1668. margin-top: 12px;
  1669. white-space: nowrap;
  1670. }
  1671. .wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon,
  1672. .wp-block-site-logo .components-placeholder .components-placeholder__label > svg {
  1673. margin-left: 4px;
  1674. }
  1675. .wp-block-site-logo .components-placeholder .components-form-file-upload {
  1676. display: none;
  1677. }
  1678. .wp-block-site-logo .components-placeholder .components-placeholder__preview {
  1679. position: absolute;
  1680. top: 4px;
  1681. left: 4px;
  1682. bottom: 4px;
  1683. right: 4px;
  1684. background: rgba(255, 255, 255, 0.8);
  1685. display: flex;
  1686. align-items: center;
  1687. justify-content: center;
  1688. }
  1689. .wp-block-site-logo .components-placeholder .components-drop-zone__content-text {
  1690. display: none;
  1691. }
  1692. .wp-block-site-tagline__placeholder {
  1693. padding: 1em 0;
  1694. border: 1px dashed;
  1695. }
  1696. .wp-block-site-title__placeholder {
  1697. padding: 1em 0;
  1698. border: 1px dashed;
  1699. }
  1700. .wp-block-social-links .wp-social-link {
  1701. line-height: 0;
  1702. }
  1703. .wp-block-social-links .wp-social-link button {
  1704. font-size: inherit;
  1705. color: currentColor;
  1706. height: auto;
  1707. line-height: 0;
  1708. padding: 0.25em;
  1709. }
  1710. .wp-block-social-links.is-style-pill-shape .wp-social-link button {
  1711. padding-right: calc((2/3) * 1em);
  1712. padding-left: calc((2/3) * 1em);
  1713. }
  1714. .wp-block-social-links div.block-editor-url-input {
  1715. display: inline-block;
  1716. margin-right: 8px;
  1717. }
  1718. .wp-social-link:hover {
  1719. transform: none;
  1720. }
  1721. .editor-styles-wrapper .wp-block-social-links {
  1722. padding: 0;
  1723. }
  1724. .wp-block-social-links__social-placeholder {
  1725. display: flex;
  1726. opacity: 0.8;
  1727. list-style: none;
  1728. }
  1729. .wp-block-social-links__social-placeholder > .wp-social-link {
  1730. padding-right: 0 !important;
  1731. margin-right: 0 !important;
  1732. padding-left: 0 !important;
  1733. margin-left: 0 !important;
  1734. width: 0 !important;
  1735. visibility: hidden;
  1736. }
  1737. .wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
  1738. display: flex;
  1739. }
  1740. .wp-block-social-links__social-placeholder + .block-list-appender,
  1741. .wp-block-social-links__social-placeholder .wp-social-link {
  1742. padding: 0.25em;
  1743. }
  1744. .is-style-pill-shape .wp-block-social-links__social-placeholder + .block-list-appender,
  1745. .is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link {
  1746. padding-right: calc((2/3) * 1em);
  1747. padding-left: calc((2/3) * 1em);
  1748. }
  1749. .wp-block-social-links__social-placeholder .wp-social-link::before {
  1750. content: "";
  1751. display: block;
  1752. width: 1em;
  1753. height: 1em;
  1754. border-radius: 50%;
  1755. }
  1756. .is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before {
  1757. background: currentColor;
  1758. }
  1759. .wp-block-social-links .wp-block-social-links__social-prompt {
  1760. list-style: none;
  1761. order: 2;
  1762. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1763. font-size: 13px;
  1764. line-height: 24px;
  1765. margin-top: auto;
  1766. margin-bottom: auto;
  1767. cursor: default;
  1768. padding-left: 8px;
  1769. }
  1770. .wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender {
  1771. margin-left: 8px;
  1772. padding: 0.25em;
  1773. }
  1774. .wp-block-social-links .block-list-appender {
  1775. margin: 4px 0 4px auto;
  1776. border-radius: 9999px;
  1777. }
  1778. .wp-block-social-links .block-list-appender .block-editor-inserter {
  1779. display: flex;
  1780. align-items: center;
  1781. justify-content: center;
  1782. font-size: inherit;
  1783. width: 1em;
  1784. height: 1em;
  1785. }
  1786. .has-small-icon-size .wp-block-social-links .block-list-appender {
  1787. font-size: 16px;
  1788. }
  1789. .has-normal-icon-size .wp-block-social-links .block-list-appender {
  1790. font-size: 24px;
  1791. }
  1792. .has-large-icon-size .wp-block-social-links .block-list-appender {
  1793. font-size: 36px;
  1794. }
  1795. .has-huge-icon-size .wp-block-social-links .block-list-appender {
  1796. font-size: 48px;
  1797. }
  1798. .wp-block-social-links .block-list-appender::before {
  1799. content: none;
  1800. }
  1801. .wp-block[data-align=center] > .wp-block-social-links {
  1802. justify-content: center;
  1803. }
  1804. .block-editor-block-preview__content .components-button:disabled {
  1805. opacity: 1;
  1806. }
  1807. .wp-social-link.wp-social-link__is-incomplete {
  1808. opacity: 0.5;
  1809. }
  1810. @media (prefers-reduced-motion: reduce) {
  1811. .wp-social-link.wp-social-link__is-incomplete {
  1812. transition-duration: 0s;
  1813. transition-delay: 0s;
  1814. }
  1815. }
  1816. .wp-block-social-links .is-selected .wp-social-link__is-incomplete,
  1817. .wp-social-link.wp-social-link__is-incomplete:hover,
  1818. .wp-social-link.wp-social-link__is-incomplete:focus {
  1819. opacity: 1;
  1820. }
  1821. .block-editor-block-list__block[data-type="core/spacer"]::before {
  1822. content: "";
  1823. display: block;
  1824. position: absolute;
  1825. width: 100%;
  1826. height: 24px;
  1827. transform: translateY(-12px);
  1828. }
  1829. .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
  1830. .block-library-spacer__resize-container.has-show-handle {
  1831. background: rgba(0, 0, 0, 0.1);
  1832. }
  1833. .is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
  1834. .is-dark-theme .block-library-spacer__resize-container.has-show-handle {
  1835. background: rgba(255, 255, 255, 0.15);
  1836. }
  1837. .block-library-spacer__resize-container {
  1838. clear: both;
  1839. }
  1840. .block-library-spacer__resize-container .components-resizable-box__handle::before {
  1841. content: none;
  1842. }
  1843. .block-library-spacer__resize-container.resize-horizontal {
  1844. margin-bottom: 0;
  1845. }
  1846. .wp-block-table {
  1847. margin: 0;
  1848. }
  1849. .wp-block[data-align=left] > .wp-block-table, .wp-block[data-align=right] > .wp-block-table, .wp-block[data-align=center] > .wp-block-table {
  1850. height: auto;
  1851. }
  1852. .wp-block[data-align=left] > .wp-block-table table, .wp-block[data-align=right] > .wp-block-table table, .wp-block[data-align=center] > .wp-block-table table {
  1853. width: auto;
  1854. }
  1855. .wp-block[data-align=left] > .wp-block-table td,
  1856. .wp-block[data-align=left] > .wp-block-table th, .wp-block[data-align=right] > .wp-block-table td,
  1857. .wp-block[data-align=right] > .wp-block-table th, .wp-block[data-align=center] > .wp-block-table td,
  1858. .wp-block[data-align=center] > .wp-block-table th {
  1859. word-break: break-word;
  1860. }
  1861. .wp-block[data-align=center] > .wp-block-table {
  1862. text-align: initial;
  1863. }
  1864. .wp-block[data-align=center] > .wp-block-table table {
  1865. margin: 0 auto;
  1866. }
  1867. .wp-block-table td,
  1868. .wp-block-table th {
  1869. border: 1px solid;
  1870. }
  1871. .wp-block-table td.is-selected,
  1872. .wp-block-table th.is-selected {
  1873. border-color: var(--wp-admin-theme-color);
  1874. box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
  1875. border-style: double;
  1876. }
  1877. .wp-block-table figcaption {
  1878. color: #555;
  1879. font-size: 13px;
  1880. text-align: center;
  1881. }
  1882. .is-dark-theme .wp-block-table figcaption {
  1883. color: rgba(255, 255, 255, 0.65);
  1884. }
  1885. .blocks-table__placeholder-form.blocks-table__placeholder-form {
  1886. display: flex;
  1887. flex-direction: column;
  1888. align-items: flex-start;
  1889. }
  1890. .blocks-table__placeholder-form.blocks-table__placeholder-form > * {
  1891. margin-bottom: 8px;
  1892. }
  1893. @media (min-width: 782px) {
  1894. .blocks-table__placeholder-form.blocks-table__placeholder-form {
  1895. flex-direction: row;
  1896. align-items: flex-end;
  1897. }
  1898. .blocks-table__placeholder-form.blocks-table__placeholder-form > * {
  1899. margin-bottom: 0;
  1900. }
  1901. }
  1902. .blocks-table__placeholder-input {
  1903. width: 112px;
  1904. margin-left: 8px;
  1905. margin-bottom: 0;
  1906. }
  1907. .blocks-table__placeholder-input input {
  1908. height: 36px;
  1909. }
  1910. .blocks-table__placeholder-input .components-base-control__field {
  1911. margin-bottom: 0;
  1912. }
  1913. .wp-block-tag-cloud a {
  1914. display: inline-block;
  1915. margin-left: 5px;
  1916. }
  1917. .wp-block-tag-cloud span {
  1918. display: inline-block;
  1919. margin-right: 5px;
  1920. color: #757575;
  1921. text-decoration: none;
  1922. }
  1923. .wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,
  1924. .wp-block-template-part__preview-dropdown-content .components-popover__content {
  1925. min-width: 320px;
  1926. padding: 0;
  1927. }
  1928. .wp-block-template-part__selection-preview-search-form {
  1929. border-bottom: 1px solid #ddd;
  1930. }
  1931. .wp-block-template-part__selection-preview-container {
  1932. background: #fff;
  1933. padding-bottom: 16px;
  1934. }
  1935. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item {
  1936. border-radius: 2px;
  1937. cursor: pointer;
  1938. margin-top: 16px;
  1939. transition: all 0.05s ease-in-out;
  1940. border: 1px solid transparent;
  1941. width: 100%;
  1942. background-color: #fff;
  1943. }
  1944. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover {
  1945. border: 1px solid var(--wp-admin-theme-color);
  1946. }
  1947. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus {
  1948. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1949. outline: 2px solid transparent;
  1950. }
  1951. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder {
  1952. min-height: 100px;
  1953. }
  1954. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title {
  1955. padding: 4px;
  1956. font-size: 12px;
  1957. text-align: right;
  1958. }
  1959. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header {
  1960. padding: 16px 16px 0;
  1961. }
  1962. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content {
  1963. padding: 0 16px;
  1964. }
  1965. .wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title {
  1966. color: var(--wp-admin-theme-color);
  1967. text-transform: uppercase;
  1968. font-size: 11px;
  1969. font-weight: 500;
  1970. }
  1971. .block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
  1972. border: 1px dotted var(--wp-admin-theme-color);
  1973. }
  1974. .block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted::after {
  1975. border: none;
  1976. }
  1977. .wp-block-text-columns .block-editor-rich-text__editable:focus {
  1978. outline: 1px solid #ddd;
  1979. }
  1980. .wp-block[data-align=center] > .wp-block-video {
  1981. text-align: center;
  1982. }
  1983. .wp-block-video {
  1984. position: relative;
  1985. }
  1986. .wp-block-video.is-transient video {
  1987. opacity: 0.3;
  1988. }
  1989. .wp-block-video .components-spinner {
  1990. position: absolute;
  1991. top: 50%;
  1992. right: 50%;
  1993. margin-top: -9px;
  1994. margin-right: -9px;
  1995. }
  1996. .editor-video-poster-control .components-base-control__label {
  1997. display: block;
  1998. }
  1999. .editor-video-poster-control .components-button {
  2000. margin-left: 8px;
  2001. }
  2002. .block-library-video-tracks-editor {
  2003. z-index: 159990;
  2004. }
  2005. .block-library-video-tracks-editor > .components-popover__content {
  2006. width: 360px;
  2007. }
  2008. .block-library-video-tracks-editor__track-list-track {
  2009. display: flex;
  2010. place-content: space-between;
  2011. align-items: baseline;
  2012. padding-right: 12px;
  2013. }
  2014. .block-library-video-tracks-editor__single-track-editor-label-language {
  2015. display: flex;
  2016. margin-top: 12px;
  2017. }
  2018. .block-library-video-tracks-editor__single-track-editor-label-language > .components-base-control {
  2019. width: 50%;
  2020. }
  2021. .block-library-video-tracks-editor__single-track-editor-label-language > .components-base-control:first-child {
  2022. margin-left: 16px;
  2023. }
  2024. .block-library-video-tracks-editor__single-track-editor-kind-select {
  2025. max-width: 240px;
  2026. }
  2027. .block-library-video-tracks-editor__single-track-editor-buttons-container {
  2028. display: flex;
  2029. place-content: space-between;
  2030. margin-top: 32px;
  2031. }
  2032. .block-library-video-tracks-editor__single-track-editor-edit-track-label {
  2033. margin-top: 4px;
  2034. margin-bottom: 12px;
  2035. color: #757575;
  2036. text-transform: uppercase;
  2037. font-size: 11px;
  2038. font-weight: 500;
  2039. display: block;
  2040. }
  2041. .block-library-video-tracks-editor > .components-popover__content > div {
  2042. padding: 0;
  2043. }
  2044. .block-library-video-tracks-editor__track-list .components-menu-group__label,
  2045. .block-library-video-tracks-editor__add-tracks-container .components-menu-group__label {
  2046. padding: 0;
  2047. }
  2048. .block-library-video-tracks-editor__single-track-editor,
  2049. .block-library-video-tracks-editor__track-list,
  2050. .block-library-video-tracks-editor__add-tracks-container {
  2051. padding: 12px;
  2052. }
  2053. .block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label {
  2054. margin-bottom: 4px;
  2055. }
  2056. .block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field {
  2057. margin-bottom: 12px;
  2058. }
  2059. .block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input {
  2060. margin-right: 0;
  2061. }
  2062. .block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label {
  2063. margin-bottom: 4px;
  2064. }
  2065. .wp-block-query-title__placeholder {
  2066. padding: 1em 0;
  2067. border: 1px dashed;
  2068. }
  2069. .editor-styles-wrapper ul.wp-block-post-template {
  2070. padding-right: 0;
  2071. margin-right: 0;
  2072. list-style: none;
  2073. }
  2074. .block-library-query-toolbar__popover .components-popover__content {
  2075. min-width: 230px;
  2076. }
  2077. .wp-block-query__create-new-link {
  2078. padding: 0 56px 16px 16px;
  2079. }
  2080. .wp-block > .wp-block-query-pagination {
  2081. display: flex;
  2082. flex-wrap: wrap;
  2083. flex-direction: row;
  2084. }
  2085. .editor-styles-wrapper .wp-block-query-pagination {
  2086. max-width: 100%;
  2087. }
  2088. .editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
  2089. margin: 0;
  2090. }
  2091. .block-library-query-pagination-toolbar__popover .components-popover__content {
  2092. min-width: 230px;
  2093. }
  2094. .wp-block-query-pagination > .wp-block-query-pagination-next,
  2095. .wp-block-query-pagination > .wp-block-query-pagination-previous,
  2096. .wp-block-query-pagination > .wp-block-query-pagination-numbers {
  2097. display: inline-block;
  2098. margin-right: 0;
  2099. margin-top: 0.5em;
  2100. margin-right: 0.5em;
  2101. margin-bottom: 0.5em;
  2102. }
  2103. .wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
  2104. .wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
  2105. .wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
  2106. margin-right: 0;
  2107. }
  2108. .wp-block-query-pagination-numbers a {
  2109. text-decoration: underline;
  2110. }
  2111. .wp-block-query-pagination-numbers .page-numbers {
  2112. margin-left: 2px;
  2113. }
  2114. .wp-block-query-pagination-numbers .page-numbers:last-child {
  2115. margin-right: 0;
  2116. }
  2117. div[data-type="core/post-featured-image"] img {
  2118. max-width: 100%;
  2119. height: auto;
  2120. display: block;
  2121. }
  2122. .editor-styles-wrapper .post-featured-image_placeholder {
  2123. display: flex;
  2124. flex-direction: row;
  2125. align-items: flex-start;
  2126. border-radius: 2px;
  2127. background-color: #fff;
  2128. box-shadow: inset 0 0 0 1px #1e1e1e;
  2129. padding: 12px;
  2130. }
  2131. .editor-styles-wrapper .post-featured-image_placeholder svg {
  2132. margin-left: 12px;
  2133. }
  2134. .editor-styles-wrapper .post-featured-image_placeholder p {
  2135. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2136. font-size: 13px;
  2137. margin: 0;
  2138. }
  2139. .wp-block-term-description__placeholder {
  2140. padding: 1em 0;
  2141. border: 1px dashed;
  2142. }
  2143. :root .editor-styles-wrapper {
  2144. /* stylelint-disable function-comma-space-after */
  2145. /* stylelint-enable function-comma-space-after */
  2146. }
  2147. :root .editor-styles-wrapper .has-pale-pink-background-color {
  2148. background-color: #f78da7;
  2149. }
  2150. :root .editor-styles-wrapper .has-vivid-red-background-color {
  2151. background-color: #cf2e2e;
  2152. }
  2153. :root .editor-styles-wrapper .has-luminous-vivid-orange-background-color {
  2154. background-color: #ff6900;
  2155. }
  2156. :root .editor-styles-wrapper .has-luminous-vivid-amber-background-color {
  2157. background-color: #fcb900;
  2158. }
  2159. :root .editor-styles-wrapper .has-light-green-cyan-background-color {
  2160. background-color: #7bdcb5;
  2161. }
  2162. :root .editor-styles-wrapper .has-vivid-green-cyan-background-color {
  2163. background-color: #00d084;
  2164. }
  2165. :root .editor-styles-wrapper .has-pale-cyan-blue-background-color {
  2166. background-color: #8ed1fc;
  2167. }
  2168. :root .editor-styles-wrapper .has-vivid-cyan-blue-background-color {
  2169. background-color: #0693e3;
  2170. }
  2171. :root .editor-styles-wrapper .has-vivid-purple-background-color {
  2172. background-color: #9b51e0;
  2173. }
  2174. :root .editor-styles-wrapper .has-white-background-color {
  2175. background-color: #fff;
  2176. }
  2177. :root .editor-styles-wrapper .has-very-light-gray-background-color {
  2178. background-color: #eee;
  2179. }
  2180. :root .editor-styles-wrapper .has-cyan-bluish-gray-background-color {
  2181. background-color: #abb8c3;
  2182. }
  2183. :root .editor-styles-wrapper .has-very-dark-gray-background-color {
  2184. background-color: #313131;
  2185. }
  2186. :root .editor-styles-wrapper .has-black-background-color {
  2187. background-color: #000;
  2188. }
  2189. :root .editor-styles-wrapper .has-pale-pink-color {
  2190. color: #f78da7;
  2191. }
  2192. :root .editor-styles-wrapper .has-vivid-red-color {
  2193. color: #cf2e2e;
  2194. }
  2195. :root .editor-styles-wrapper .has-luminous-vivid-orange-color {
  2196. color: #ff6900;
  2197. }
  2198. :root .editor-styles-wrapper .has-luminous-vivid-amber-color {
  2199. color: #fcb900;
  2200. }
  2201. :root .editor-styles-wrapper .has-light-green-cyan-color {
  2202. color: #7bdcb5;
  2203. }
  2204. :root .editor-styles-wrapper .has-vivid-green-cyan-color {
  2205. color: #00d084;
  2206. }
  2207. :root .editor-styles-wrapper .has-pale-cyan-blue-color {
  2208. color: #8ed1fc;
  2209. }
  2210. :root .editor-styles-wrapper .has-vivid-cyan-blue-color {
  2211. color: #0693e3;
  2212. }
  2213. :root .editor-styles-wrapper .has-vivid-purple-color {
  2214. color: #9b51e0;
  2215. }
  2216. :root .editor-styles-wrapper .has-white-color {
  2217. color: #fff;
  2218. }
  2219. :root .editor-styles-wrapper .has-very-light-gray-color {
  2220. color: #eee;
  2221. }
  2222. :root .editor-styles-wrapper .has-cyan-bluish-gray-color {
  2223. color: #abb8c3;
  2224. }
  2225. :root .editor-styles-wrapper .has-very-dark-gray-color {
  2226. color: #313131;
  2227. }
  2228. :root .editor-styles-wrapper .has-black-color {
  2229. color: #000;
  2230. }
  2231. :root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background {
  2232. background: linear-gradient(-135deg, #0693e3 0%, #9b51e0 100%);
  2233. }
  2234. :root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
  2235. background: linear-gradient(-135deg, #00d084 0%, #0693e3 100%);
  2236. }
  2237. :root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background {
  2238. background: linear-gradient(-135deg, #7adcb4 0%, #00d082 100%);
  2239. }
  2240. :root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
  2241. background: linear-gradient(-135deg, #fcb900 0%, #ff6900 100%);
  2242. }
  2243. :root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background {
  2244. background: linear-gradient(-135deg, #ff6900 0%, #cf2e2e 100%);
  2245. }
  2246. :root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background {
  2247. background: linear-gradient(-135deg, #eeeeee 0%, #a9b8c3 100%);
  2248. }
  2249. :root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background {
  2250. background: linear-gradient(-135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);
  2251. }
  2252. :root .editor-styles-wrapper .has-blush-light-purple-gradient-background {
  2253. background: linear-gradient(-135deg, #ffceec 0%, #9896f0 100%);
  2254. }
  2255. :root .editor-styles-wrapper .has-blush-bordeaux-gradient-background {
  2256. background: linear-gradient(-135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%);
  2257. }
  2258. :root .editor-styles-wrapper .has-purple-crush-gradient-background {
  2259. background: linear-gradient(-135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
  2260. }
  2261. :root .editor-styles-wrapper .has-luminous-dusk-gradient-background {
  2262. background: linear-gradient(-135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%);
  2263. }
  2264. :root .editor-styles-wrapper .has-hazy-dawn-gradient-background {
  2265. background: linear-gradient(-135deg, #faaca8 0%, #dad0ec 100%);
  2266. }
  2267. :root .editor-styles-wrapper .has-pale-ocean-gradient-background {
  2268. background: linear-gradient(-135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%);
  2269. }
  2270. :root .editor-styles-wrapper .has-electric-grass-gradient-background {
  2271. background: linear-gradient(-135deg, #caf880 0%, #71ce7e 100%);
  2272. }
  2273. :root .editor-styles-wrapper .has-subdued-olive-gradient-background {
  2274. background: linear-gradient(-135deg, #fafae1 0%, #67a671 100%);
  2275. }
  2276. :root .editor-styles-wrapper .has-atomic-cream-gradient-background {
  2277. background: linear-gradient(-135deg, #fdd79a 0%, #004a59 100%);
  2278. }
  2279. :root .editor-styles-wrapper .has-nightshade-gradient-background {
  2280. background: linear-gradient(-135deg, #330968 0%, #31cdcf 100%);
  2281. }
  2282. :root .editor-styles-wrapper .has-midnight-gradient-background {
  2283. background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
  2284. }
  2285. .editor-styles-wrapper .has-small-font-size {
  2286. font-size: 13px;
  2287. }
  2288. .editor-styles-wrapper .has-regular-font-size,
  2289. .editor-styles-wrapper .has-normal-font-size {
  2290. font-size: 16px;
  2291. }
  2292. .editor-styles-wrapper .has-medium-font-size {
  2293. font-size: 20px;
  2294. }
  2295. .editor-styles-wrapper .has-large-font-size {
  2296. font-size: 36px;
  2297. }
  2298. .editor-styles-wrapper .has-larger-font-size,
  2299. .editor-styles-wrapper .has-huge-font-size {
  2300. font-size: 42px;
  2301. }
  2302. /**
  2303. * Editor Normalization Styles
  2304. *
  2305. * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
  2306. * This allows us to create normalization styles that are easily overridden by editor styles.
  2307. */
  2308. #end-resizable-editor-section {
  2309. display: none;
  2310. }