style.css 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411
  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. .components-panel__header.interface-complementary-area-header__small {
  92. background: #fff;
  93. padding-right: 4px;
  94. }
  95. .components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. white-space: nowrap;
  99. width: 100%;
  100. }
  101. @media (min-width: 782px) {
  102. .components-panel__header.interface-complementary-area-header__small {
  103. display: none;
  104. }
  105. }
  106. .interface-complementary-area-header {
  107. background: #fff;
  108. padding-right: 4px;
  109. }
  110. .interface-complementary-area-header .components-button.has-icon {
  111. display: none;
  112. margin-left: auto;
  113. }
  114. .interface-complementary-area-header .components-button.has-icon ~ .components-button {
  115. margin-left: 0;
  116. }
  117. @media (min-width: 782px) {
  118. .interface-complementary-area-header .components-button.has-icon {
  119. display: flex;
  120. }
  121. }
  122. @media (min-width: 782px) {
  123. .components-panel__header + .interface-complementary-area-header {
  124. margin-top: 0;
  125. }
  126. }
  127. .interface-complementary-area {
  128. background: #fff;
  129. color: #1e1e1e;
  130. }
  131. @media (min-width: 600px) {
  132. .interface-complementary-area {
  133. -webkit-overflow-scrolling: touch;
  134. }
  135. }
  136. @media (min-width: 782px) {
  137. .interface-complementary-area {
  138. width: 280px;
  139. }
  140. }
  141. .interface-complementary-area .components-panel {
  142. border: none;
  143. position: relative;
  144. z-index: 0;
  145. }
  146. .interface-complementary-area .components-panel__header {
  147. position: sticky;
  148. top: 0;
  149. z-index: 1;
  150. }
  151. .interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
  152. top: 48px;
  153. }
  154. @media (min-width: 782px) {
  155. .interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
  156. top: 0;
  157. }
  158. }
  159. .interface-complementary-area p:not(.components-base-control__help) {
  160. margin-top: 0;
  161. }
  162. .interface-complementary-area h2 {
  163. font-size: 13px;
  164. color: #1e1e1e;
  165. margin-bottom: 1.5em;
  166. }
  167. .interface-complementary-area h3 {
  168. font-size: 11px;
  169. text-transform: uppercase;
  170. font-weight: 500;
  171. color: #1e1e1e;
  172. margin-bottom: 1.5em;
  173. }
  174. .interface-complementary-area hr {
  175. border-top: none;
  176. border-bottom: 1px solid #f0f0f0;
  177. margin: 1.5em 0;
  178. }
  179. .interface-complementary-area div.components-toolbar-group,
  180. .interface-complementary-area div.components-toolbar {
  181. box-shadow: none;
  182. margin-bottom: 1.5em;
  183. }
  184. .interface-complementary-area div.components-toolbar-group:last-child,
  185. .interface-complementary-area div.components-toolbar:last-child {
  186. margin-bottom: 0;
  187. }
  188. .interface-complementary-area .block-editor-skip-to-selected-block:focus {
  189. top: auto;
  190. right: 10px;
  191. bottom: 10px;
  192. left: auto;
  193. }
  194. @media (min-width: 782px) {
  195. body.js.is-fullscreen-mode {
  196. margin-top: -32px;
  197. height: calc(100% + 32px);
  198. }
  199. body.js.is-fullscreen-mode #adminmenumain,
  200. body.js.is-fullscreen-mode #wpadminbar {
  201. display: none;
  202. }
  203. body.js.is-fullscreen-mode #wpcontent,
  204. body.js.is-fullscreen-mode #wpfooter {
  205. margin-left: 0;
  206. }
  207. }
  208. html.interface-interface-skeleton__html-container {
  209. position: fixed;
  210. width: 100%;
  211. }
  212. @media (min-width: 782px) {
  213. html.interface-interface-skeleton__html-container {
  214. position: initial;
  215. width: initial;
  216. }
  217. }
  218. .interface-interface-skeleton {
  219. display: flex;
  220. flex-direction: row;
  221. height: auto;
  222. max-height: 100%;
  223. position: fixed;
  224. top: 46px;
  225. left: 0;
  226. right: 0;
  227. bottom: 0;
  228. }
  229. @media (min-width: 783px) {
  230. .interface-interface-skeleton {
  231. top: 32px;
  232. }
  233. .is-fullscreen-mode .interface-interface-skeleton {
  234. top: 0;
  235. }
  236. }
  237. .interface-interface-skeleton__editor {
  238. display: flex;
  239. flex-direction: column;
  240. flex: 0 1 100%;
  241. overflow: hidden;
  242. }
  243. .interface-interface-skeleton {
  244. /* Set left position when auto-fold is not on the body element. */
  245. left: 0;
  246. }
  247. @media (min-width: 783px) {
  248. .interface-interface-skeleton {
  249. left: 160px;
  250. }
  251. }
  252. .auto-fold .interface-interface-skeleton {
  253. /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
  254. }
  255. @media (min-width: 783px) {
  256. .auto-fold .interface-interface-skeleton {
  257. left: 36px;
  258. }
  259. }
  260. @media (min-width: 961px) {
  261. .auto-fold .interface-interface-skeleton {
  262. left: 160px;
  263. }
  264. }
  265. /* Sidebar manually collapsed. */
  266. .folded .interface-interface-skeleton {
  267. left: 0;
  268. }
  269. @media (min-width: 783px) {
  270. .folded .interface-interface-skeleton {
  271. left: 36px;
  272. }
  273. }
  274. body.is-fullscreen-mode .interface-interface-skeleton {
  275. left: 0 !important;
  276. }
  277. .interface-interface-skeleton__body {
  278. flex-grow: 1;
  279. display: flex;
  280. overflow: auto;
  281. overscroll-behavior-y: none;
  282. }
  283. @media (min-width: 782px) {
  284. .has-footer .interface-interface-skeleton__body {
  285. padding-bottom: 25px;
  286. }
  287. }
  288. .interface-interface-skeleton__content {
  289. flex-grow: 1;
  290. display: flex;
  291. flex-direction: column;
  292. overflow: auto;
  293. z-index: 20;
  294. }
  295. .interface-interface-skeleton__secondary-sidebar,
  296. .interface-interface-skeleton__sidebar {
  297. display: block;
  298. flex-shrink: 0;
  299. position: absolute;
  300. z-index: 100000;
  301. top: 0;
  302. right: 0;
  303. bottom: 0;
  304. left: 0;
  305. background: #fff;
  306. color: #1e1e1e;
  307. }
  308. @media (min-width: 782px) {
  309. .interface-interface-skeleton__secondary-sidebar,
  310. .interface-interface-skeleton__sidebar {
  311. position: relative !important;
  312. z-index: 90;
  313. width: auto;
  314. }
  315. }
  316. .interface-interface-skeleton__sidebar {
  317. overflow: auto;
  318. }
  319. @media (min-width: 782px) {
  320. .interface-interface-skeleton__sidebar {
  321. border-left: 1px solid #e0e0e0;
  322. }
  323. }
  324. @media (min-width: 782px) {
  325. .interface-interface-skeleton__secondary-sidebar {
  326. border-right: 1px solid #e0e0e0;
  327. }
  328. }
  329. .interface-interface-skeleton__header {
  330. flex-shrink: 0;
  331. height: auto;
  332. border-bottom: 1px solid #e0e0e0;
  333. z-index: 30;
  334. color: #1e1e1e;
  335. }
  336. .interface-interface-skeleton__footer {
  337. height: auto;
  338. flex-shrink: 0;
  339. border-top: 1px solid #e0e0e0;
  340. color: #1e1e1e;
  341. position: absolute;
  342. bottom: 0;
  343. left: 0;
  344. width: 100%;
  345. background-color: #fff;
  346. z-index: 90;
  347. display: none;
  348. }
  349. @media (min-width: 782px) {
  350. .interface-interface-skeleton__footer {
  351. display: flex;
  352. }
  353. }
  354. .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
  355. z-index: 30;
  356. display: flex;
  357. background: #fff;
  358. height: 24px;
  359. align-items: center;
  360. font-size: 13px;
  361. padding: 0 18px;
  362. }
  363. .interface-interface-skeleton__actions {
  364. z-index: 100000;
  365. position: fixed !important;
  366. top: -9999em;
  367. bottom: auto;
  368. left: auto;
  369. right: 0;
  370. width: 280px;
  371. color: #1e1e1e;
  372. }
  373. .interface-interface-skeleton__actions:focus {
  374. top: auto;
  375. bottom: 0;
  376. }
  377. .interface-more-menu-dropdown {
  378. margin-left: -4px;
  379. }
  380. .interface-more-menu-dropdown .components-button {
  381. width: auto;
  382. padding: 0 2px;
  383. }
  384. @media (min-width: 600px) {
  385. .interface-more-menu-dropdown {
  386. margin-left: 0;
  387. }
  388. .interface-more-menu-dropdown .components-button {
  389. padding: 0 4px;
  390. }
  391. }
  392. .interface-more-menu-dropdown__content .components-popover__content {
  393. min-width: 280px;
  394. }
  395. @media (min-width: 480px) {
  396. .interface-more-menu-dropdown__content .components-popover__content {
  397. max-width: 480px;
  398. }
  399. }
  400. .interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu {
  401. padding: 0;
  402. }
  403. .components-popover.interface-more-menu-dropdown__content {
  404. z-index: 99998;
  405. }
  406. .interface-pinned-items {
  407. display: flex;
  408. gap: 4px;
  409. margin-right: -4px;
  410. }
  411. .interface-pinned-items .components-button:not(:first-child) {
  412. display: none;
  413. }
  414. @media (min-width: 600px) {
  415. .interface-pinned-items .components-button:not(:first-child) {
  416. display: flex;
  417. }
  418. }
  419. .interface-pinned-items .components-button {
  420. margin: 0;
  421. }
  422. .interface-pinned-items .components-button svg {
  423. max-width: 24px;
  424. max-height: 24px;
  425. }
  426. @media (min-width: 600px) {
  427. .interface-preferences-modal {
  428. width: calc(100% - 32px);
  429. height: calc(100% - 120px);
  430. }
  431. }
  432. @media (min-width: 782px) {
  433. .interface-preferences-modal {
  434. width: 750px;
  435. }
  436. }
  437. @media (min-width: 960px) {
  438. .interface-preferences-modal {
  439. height: 70%;
  440. }
  441. }
  442. @media (max-width: 781px) {
  443. .interface-preferences-modal .components-modal__content {
  444. padding: 0;
  445. }
  446. }
  447. .interface-preferences__tabs .components-tab-panel__tabs {
  448. position: absolute;
  449. top: 84px;
  450. left: 16px;
  451. width: 160px;
  452. }
  453. .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
  454. border-radius: 2px;
  455. font-weight: 400;
  456. }
  457. .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
  458. background: #f0f0f0;
  459. box-shadow: none;
  460. font-weight: 500;
  461. }
  462. .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
  463. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  464. }
  465. .interface-preferences__tabs .components-tab-panel__tab-content {
  466. padding-left: 24px;
  467. margin-left: 160px;
  468. }
  469. @media (max-width: 781px) {
  470. .interface-preferences__provider {
  471. height: 100%;
  472. }
  473. }
  474. .interface-preferences-modal__section {
  475. margin: 0 0 2.5rem 0;
  476. }
  477. .interface-preferences-modal__section:last-child {
  478. margin: 0;
  479. }
  480. .interface-preferences-modal__section-legend {
  481. margin-bottom: 8px;
  482. }
  483. .interface-preferences-modal__section-title {
  484. font-size: 0.9rem;
  485. font-weight: 600;
  486. margin-top: 0;
  487. }
  488. .interface-preferences-modal__section-description {
  489. margin: -8px 0 8px 0;
  490. font-size: 12px;
  491. font-style: normal;
  492. color: #757575;
  493. }
  494. .interface-preferences-modal__option + .interface-preferences-modal__option {
  495. margin-top: 16px;
  496. }
  497. .interface-preferences-modal__option .components-base-control__help {
  498. margin-top: 0;
  499. margin-left: 48px;
  500. }
  501. .edit-site-block-editor__editor-styles-wrapper .components-button {
  502. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  503. font-size: 13px;
  504. padding: 6px 12px;
  505. }
  506. .edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary, .edit-site-block-editor__editor-styles-wrapper .components-button.has-icon {
  507. padding: 6px;
  508. }
  509. .edit-site-visual-editor {
  510. position: relative;
  511. background-color: #2f2f2f;
  512. align-items: center;
  513. }
  514. .edit-site-visual-editor.is-focus-mode {
  515. padding: 48px;
  516. }
  517. .edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
  518. border-radius: 2px;
  519. max-height: 100%;
  520. }
  521. .edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
  522. overflow: visible;
  523. }
  524. .edit-site-visual-editor .components-resizable-box__container {
  525. margin: 0 auto;
  526. overflow: auto;
  527. }
  528. .edit-site-visual-editor__back-button {
  529. position: absolute;
  530. top: 8px;
  531. left: 8px;
  532. color: #fff;
  533. }
  534. .edit-site-visual-editor__back-button:active:not([aria-disabled=true]), .edit-site-visual-editor__back-button:focus:not([aria-disabled=true]), .edit-site-visual-editor__back-button:hover {
  535. color: #f0f0f0;
  536. }
  537. .resizable-editor__drag-handle {
  538. position: absolute;
  539. top: 0;
  540. bottom: 0;
  541. padding: 0;
  542. margin: auto 0;
  543. width: 4px;
  544. height: 100px;
  545. -webkit-appearance: none;
  546. appearance: none;
  547. cursor: ew-resize;
  548. outline: none;
  549. background: #949494;
  550. border-radius: 2px;
  551. border: 0;
  552. }
  553. .resizable-editor__drag-handle.is-left {
  554. left: -16px;
  555. }
  556. .resizable-editor__drag-handle.is-right {
  557. right: -16px;
  558. }
  559. .resizable-editor__drag-handle:hover, .resizable-editor__drag-handle:active {
  560. background: #ccc;
  561. }
  562. .resizable-editor__drag-handle:focus {
  563. box-shadow: 0 0 0 1px #2f2f2f, 0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color);
  564. }
  565. .edit-site-code-editor {
  566. position: relative;
  567. width: 100%;
  568. background-color: #fff;
  569. flex-grow: 1;
  570. }
  571. .edit-site-code-editor__body {
  572. width: 100%;
  573. padding: 12px;
  574. max-width: 1080px;
  575. margin-left: auto;
  576. margin-right: auto;
  577. }
  578. @media (min-width: 960px) {
  579. .edit-site-code-editor__body {
  580. padding: 24px;
  581. }
  582. }
  583. .edit-site-code-editor__toolbar {
  584. position: sticky;
  585. z-index: 1;
  586. top: 0;
  587. left: 0;
  588. right: 0;
  589. display: flex;
  590. background: rgba(255, 255, 255, 0.8);
  591. padding: 4px 12px;
  592. }
  593. @media (min-width: 600px) {
  594. .edit-site-code-editor__toolbar {
  595. padding: 12px;
  596. }
  597. }
  598. @media (min-width: 960px) {
  599. .edit-site-code-editor__toolbar {
  600. padding: 12px 24px;
  601. }
  602. }
  603. .edit-site-code-editor__toolbar h2 {
  604. line-height: 36px;
  605. margin: 0 auto 0 0;
  606. font-size: 13px;
  607. color: #1e1e1e;
  608. }
  609. .edit-site-code-editor__toolbar .components-button svg {
  610. order: 1;
  611. }
  612. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
  613. border: 1px solid #949494;
  614. border-radius: 0;
  615. display: block;
  616. margin: 0;
  617. width: 100%;
  618. box-shadow: none;
  619. resize: none;
  620. overflow: hidden;
  621. font-family: Menlo, Consolas, monaco, monospace;
  622. line-height: 2.4;
  623. min-height: 200px;
  624. transition: border 0.1s ease-out, box-shadow 0.1s linear;
  625. padding: 16px;
  626. /* Fonts smaller than 16px causes mobile safari to zoom. */
  627. font-size: 16px !important;
  628. }
  629. @media (prefers-reduced-motion: reduce) {
  630. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
  631. transition-duration: 0s;
  632. transition-delay: 0s;
  633. }
  634. }
  635. @media (min-width: 600px) {
  636. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
  637. padding: 24px;
  638. }
  639. }
  640. @media (min-width: 600px) {
  641. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area {
  642. font-size: 15px !important;
  643. }
  644. }
  645. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:focus {
  646. border-color: var(--wp-admin-theme-color);
  647. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  648. position: relative;
  649. }
  650. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area::-webkit-input-placeholder {
  651. color: rgba(30, 30, 30, 0.62);
  652. }
  653. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area::-moz-placeholder {
  654. color: rgba(30, 30, 30, 0.62);
  655. opacity: 1;
  656. }
  657. textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-input-placeholder {
  658. color: rgba(30, 30, 30, 0.62);
  659. }
  660. .edit-site-global-styles-preview {
  661. display: flex;
  662. align-items: center;
  663. justify-content: center;
  664. line-height: 1;
  665. cursor: pointer;
  666. }
  667. .edit-site-global-styles-preview__iframe {
  668. max-width: 100%;
  669. display: block;
  670. }
  671. .edit-site-typography-panel__preview {
  672. display: flex;
  673. align-items: center;
  674. justify-content: center;
  675. min-height: 100px;
  676. margin-bottom: 16px;
  677. background: #f0f0f0;
  678. border-radius: 2px;
  679. }
  680. .edit-site-typography-panel__full-width-control {
  681. grid-column: 1/-1;
  682. max-width: 100%;
  683. }
  684. .edit-site-global-styles-screen-heading-color,
  685. .edit-site-global-styles-screen-typography {
  686. margin: 16px;
  687. }
  688. .edit-site-global-styles-screen-typography__indicator {
  689. height: 24px;
  690. width: 24px;
  691. font-size: 14px;
  692. display: flex !important;
  693. align-items: center;
  694. justify-content: center;
  695. border-radius: 2px;
  696. }
  697. .edit-site-global-styles-screen-colors {
  698. margin: 16px;
  699. }
  700. .edit-site-global-styles-screen-colors .component-color-indicator {
  701. background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
  702. flex-shrink: 0;
  703. }
  704. .edit-site-global-styles-header__description,
  705. .edit-site-block-types-search {
  706. padding: 0 16px;
  707. }
  708. .edit-site-global-styles-subtitle {
  709. margin-bottom: 0 !important;
  710. text-transform: uppercase;
  711. font-weight: 500 !important;
  712. font-size: 11px !important;
  713. }
  714. .edit-site-global-styles-section-title {
  715. color: #2f2f2f;
  716. font-weight: 600;
  717. line-height: 1.2;
  718. padding: 16px;
  719. padding-bottom: 0;
  720. margin: 0;
  721. }
  722. .edit-site-screen-text-color__control,
  723. .edit-site-screen-link-color__control,
  724. .edit-site-screen-button-color__control {
  725. padding: 16px;
  726. }
  727. .edit-site-global-styles-variations_item {
  728. box-sizing: border-box;
  729. }
  730. .edit-site-global-styles-variations_item .edit-site-global-styles-variations_item-preview {
  731. padding: 2px;
  732. border-radius: 2px;
  733. border: #e0e0e0 1px solid;
  734. }
  735. .edit-site-global-styles-variations_item.is-active .edit-site-global-styles-variations_item-preview {
  736. border: #1e1e1e 1px solid;
  737. }
  738. .edit-site-global-styles-variations_item:hover .edit-site-global-styles-variations_item-preview {
  739. border: var(--wp-admin-theme-color) 1px solid;
  740. }
  741. .edit-site-global-styles-variations_item:focus .edit-site-global-styles-variations_item-preview {
  742. border: var(--wp-admin-theme-color) 1px solid;
  743. }
  744. .edit-site-global-styles-icon-with-current-color {
  745. fill: currentColor;
  746. }
  747. .edit-site-global-styles__color-indicator-wrapper {
  748. height: 24px;
  749. flex-shrink: 0;
  750. }
  751. .edit-site-global-styles__color-label {
  752. white-space: nowrap;
  753. overflow: hidden;
  754. text-overflow: ellipsis;
  755. }
  756. .edit-site-header {
  757. align-items: center;
  758. background-color: #fff;
  759. display: flex;
  760. height: 60px;
  761. box-sizing: border-box;
  762. width: 100%;
  763. justify-content: space-between;
  764. }
  765. body.is-fullscreen-mode .edit-site-header {
  766. padding-left: 60px;
  767. transition: padding-left 20ms linear;
  768. transition-delay: 80ms;
  769. }
  770. @media (prefers-reduced-motion: reduce) {
  771. body.is-fullscreen-mode .edit-site-header {
  772. transition-duration: 0s;
  773. transition-delay: 0s;
  774. }
  775. }
  776. .edit-site-header .edit-site-header_start {
  777. display: flex;
  778. border: none;
  779. }
  780. .edit-site-header .edit-site-header_end {
  781. display: flex;
  782. justify-content: flex-end;
  783. }
  784. .edit-site-header .edit-site-header_center {
  785. display: flex;
  786. align-items: center;
  787. height: 100%;
  788. flex-grow: 1;
  789. justify-content: center;
  790. min-width: 0;
  791. }
  792. body.is-navigation-sidebar-open .edit-site-header {
  793. padding-left: 0;
  794. transition: padding-left 20ms linear;
  795. transition-delay: 0ms;
  796. }
  797. @media (prefers-reduced-motion: reduce) {
  798. body.is-navigation-sidebar-open .edit-site-header {
  799. transition-duration: 0s;
  800. transition-delay: 0s;
  801. }
  802. }
  803. @media (max-width: 959px) {
  804. body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle ~ .components-button,
  805. body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary) {
  806. display: none;
  807. }
  808. body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button {
  809. margin-right: 0;
  810. }
  811. }
  812. .edit-site-header__toolbar {
  813. display: flex;
  814. align-items: center;
  815. padding-left: 8px;
  816. }
  817. @media (min-width: 600px) {
  818. .edit-site-header__toolbar {
  819. padding-left: 24px;
  820. }
  821. }
  822. @media (min-width: 1280px) {
  823. .edit-site-header__toolbar {
  824. padding-right: 8px;
  825. }
  826. }
  827. .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle {
  828. margin-right: 8px;
  829. min-width: 32px;
  830. width: 32px;
  831. height: 32px;
  832. padding: 0;
  833. }
  834. .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
  835. transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
  836. }
  837. @media (prefers-reduced-motion: reduce) {
  838. .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
  839. transition-duration: 0s;
  840. transition-delay: 0s;
  841. }
  842. }
  843. .edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg {
  844. transform: rotate(45deg);
  845. }
  846. .edit-site-header__toolbar-switchers {
  847. align-items: center;
  848. display: flex;
  849. }
  850. .edit-site-header__toolbar-switchers-separator {
  851. margin: 0 -6px 0;
  852. }
  853. /**
  854. * Buttons on the right side
  855. */
  856. .edit-site-header__actions {
  857. display: inline-flex;
  858. align-items: center;
  859. padding-right: 4px;
  860. gap: 4px;
  861. }
  862. @media (min-width: 600px) {
  863. .edit-site-header__actions {
  864. padding-right: 10px;
  865. }
  866. }
  867. @media (min-width: 600px) {
  868. .edit-site-header__actions {
  869. gap: 8px;
  870. }
  871. }
  872. .edit-site-header__actions .interface-pinned-items {
  873. display: none;
  874. }
  875. @media (min-width: 782px) {
  876. .edit-site-header__actions .interface-pinned-items {
  877. display: inline-flex;
  878. }
  879. }
  880. .edit-site-header__actions__preview-options {
  881. opacity: 1;
  882. transition: opacity 0.3s;
  883. }
  884. .edit-site-header__actions__preview-options.is-zoomed-out {
  885. opacity: 0;
  886. }
  887. .edit-site-header__actions-more-menu {
  888. margin-left: -4px;
  889. }
  890. .edit-site-header__actions-more-menu .components-icon-button {
  891. padding: 8px 2px;
  892. width: auto;
  893. }
  894. @media (min-width: 600px) {
  895. .edit-site-header__actions-more-menu {
  896. margin-left: 4px;
  897. }
  898. .edit-site-header__actions-more-menu .components-icon-button {
  899. padding: 8px 4px;
  900. }
  901. }
  902. .edit-site-header_start {
  903. display: flex;
  904. border: none;
  905. }
  906. .edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon,
  907. .edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon {
  908. height: 36px;
  909. min-width: 36px;
  910. padding: 6px;
  911. }
  912. .edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon.is-pressed,
  913. .edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon.is-pressed {
  914. background: #1e1e1e;
  915. }
  916. .edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon:focus:not(:disabled),
  917. .edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
  918. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
  919. outline: 1px solid transparent;
  920. }
  921. .edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon::before,
  922. .edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon::before {
  923. display: none;
  924. }
  925. .edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-icon {
  926. margin-right: 8px;
  927. min-width: 32px;
  928. width: 32px;
  929. height: 32px;
  930. padding: 0;
  931. }
  932. .edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-text.has-icon {
  933. width: auto;
  934. padding: 0 8px;
  935. }
  936. .show-icon-labels .edit-site-header .components-button.has-icon {
  937. width: auto;
  938. }
  939. .show-icon-labels .edit-site-header .components-button.has-icon svg {
  940. display: none;
  941. }
  942. .show-icon-labels .edit-site-header .components-button.has-icon::after {
  943. content: attr(aria-label);
  944. }
  945. .show-icon-labels .edit-site-header .components-button.has-icon[aria-disabled=true] {
  946. background-color: transparent;
  947. }
  948. .show-icon-labels .edit-site-header .is-tertiary:active {
  949. box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
  950. background-color: transparent;
  951. }
  952. .show-icon-labels .edit-site-header .edit-site-save-button__button {
  953. padding-left: 6px;
  954. padding-right: 6px;
  955. }
  956. .show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info::after {
  957. content: none;
  958. }
  959. .show-icon-labels .edit-site-header .edit-site-header-toolbar__inserter-toggle.edit-site-header-toolbar__inserter-toggle,
  960. .show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info {
  961. height: 36px;
  962. padding: 0 8px;
  963. }
  964. .show-icon-labels .edit-site-header .edit-site-header_start .edit-site-header__toolbar > * + * {
  965. margin-left: 8px;
  966. }
  967. .edit-site-document-actions {
  968. display: flex;
  969. flex-direction: column;
  970. justify-content: center;
  971. padding: 0 8px;
  972. height: 100%;
  973. min-width: 0;
  974. }
  975. .edit-site-document-actions .edit-site-document-actions__title-wrapper {
  976. display: flex;
  977. flex-direction: row;
  978. justify-content: center;
  979. align-items: center;
  980. min-width: 0;
  981. }
  982. .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown {
  983. display: inline-flex;
  984. margin-left: 4px;
  985. }
  986. .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button {
  987. min-width: 0;
  988. padding: 0;
  989. }
  990. .edit-site-document-actions .edit-site-document-actions__title-wrapper > h1 {
  991. margin: 0;
  992. min-width: 0;
  993. }
  994. .edit-site-document-actions .edit-site-document-actions__title {
  995. white-space: nowrap;
  996. overflow: hidden;
  997. text-overflow: ellipsis;
  998. }
  999. .edit-site-document-actions .edit-site-document-actions__secondary-item {
  1000. white-space: nowrap;
  1001. overflow: hidden;
  1002. text-overflow: ellipsis;
  1003. max-width: 0;
  1004. opacity: 0;
  1005. padding: 0;
  1006. transition: all ease 0.2s;
  1007. background: #e0e0e0;
  1008. border-radius: 2px;
  1009. }
  1010. @media (prefers-reduced-motion: reduce) {
  1011. .edit-site-document-actions .edit-site-document-actions__secondary-item {
  1012. transition-duration: 0s;
  1013. transition-delay: 0s;
  1014. }
  1015. }
  1016. .edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item {
  1017. opacity: 1;
  1018. padding: 0 4px;
  1019. max-width: 180px;
  1020. margin-left: 6px;
  1021. }
  1022. .edit-site-document-actions__info-dropdown > .components-popover__content {
  1023. padding: 0;
  1024. min-width: 240px;
  1025. }
  1026. .edit-site-navigation-toggle {
  1027. align-items: center;
  1028. background: #1e1e1e;
  1029. border-radius: 0;
  1030. display: flex;
  1031. position: absolute;
  1032. z-index: 31;
  1033. height: 60px;
  1034. width: 60px;
  1035. }
  1036. .edit-site-navigation-toggle__button.components-button {
  1037. align-items: center;
  1038. background: #1e1e1e;
  1039. border-radius: 0;
  1040. color: #fff;
  1041. height: 61px;
  1042. width: 60px;
  1043. z-index: 1;
  1044. margin-bottom: -1px;
  1045. min-width: 60px;
  1046. }
  1047. .edit-site-navigation-toggle__button.components-button:hover, .edit-site-navigation-toggle__button.components-button:active {
  1048. color: #fff;
  1049. }
  1050. .edit-site-navigation-toggle__button.components-button:focus {
  1051. box-shadow: none;
  1052. }
  1053. .edit-site-navigation-toggle__button.components-button::before {
  1054. transition: box-shadow 0.1s ease;
  1055. content: "";
  1056. display: block;
  1057. position: absolute;
  1058. top: 9px;
  1059. right: 9px;
  1060. bottom: 9px;
  1061. left: 9px;
  1062. border-radius: 4px;
  1063. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
  1064. }
  1065. @media (prefers-reduced-motion: reduce) {
  1066. .edit-site-navigation-toggle__button.components-button::before {
  1067. transition-duration: 0s;
  1068. transition-delay: 0s;
  1069. }
  1070. }
  1071. .edit-site-navigation-toggle__button.components-button:hover::before {
  1072. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
  1073. }
  1074. .edit-site-navigation-toggle__button.components-button.has-icon:hover::before {
  1075. box-shadow: none;
  1076. }
  1077. .edit-site-navigation-toggle__button.components-button:focus::before {
  1078. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1079. }
  1080. .edit-site-navigation-toggle__button.components-button .edit-site-navigation-toggle__site-icon {
  1081. width: 36px;
  1082. height: 36px;
  1083. border-radius: 2px;
  1084. object-fit: cover;
  1085. margin-top: -1px;
  1086. }
  1087. .edit-site-navigation-panel {
  1088. height: 100%;
  1089. position: relative;
  1090. width: 0;
  1091. overflow: hidden;
  1092. background: #1e1e1e;
  1093. color: #fff;
  1094. transition: width 100ms linear;
  1095. }
  1096. @media (prefers-reduced-motion: reduce) {
  1097. .edit-site-navigation-panel {
  1098. transition-duration: 0s;
  1099. transition-delay: 0s;
  1100. }
  1101. }
  1102. @media (min-width: 782px) {
  1103. .interface-interface-skeleton.has-footer .edit-site-navigation-panel {
  1104. height: calc(100% - 25px);
  1105. }
  1106. }
  1107. .edit-site-navigation-panel__inner {
  1108. position: relative;
  1109. width: 300px;
  1110. height: 100%;
  1111. overflow: hidden;
  1112. visibility: hidden;
  1113. transition: visibility 100ms linear;
  1114. }
  1115. @media (prefers-reduced-motion: reduce) {
  1116. .edit-site-navigation-panel__inner {
  1117. transition-duration: 0s;
  1118. transition-delay: 0s;
  1119. }
  1120. }
  1121. .edit-site-navigation-panel.is-open {
  1122. width: 300px;
  1123. }
  1124. .edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner {
  1125. visibility: visible;
  1126. }
  1127. .edit-site-navigation-panel__site-title-container {
  1128. height: 60px;
  1129. padding-left: 60px;
  1130. margin: 0 16px 0 8px;
  1131. display: flex;
  1132. align-items: center;
  1133. }
  1134. .edit-site-navigation-panel__site-title {
  1135. font-style: normal;
  1136. font-weight: 600;
  1137. font-size: 14px;
  1138. /* Matches menu items */
  1139. line-height: 20px;
  1140. color: #ddd;
  1141. display: -webkit-box;
  1142. -webkit-line-clamp: 2;
  1143. -webkit-box-orient: vertical;
  1144. overflow: hidden;
  1145. }
  1146. .edit-site-navigation-panel__scroll-container {
  1147. overflow-x: hidden;
  1148. overflow-y: auto;
  1149. height: calc(100% - 60px);
  1150. }
  1151. .edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary {
  1152. height: 36px;
  1153. margin-top: 24px;
  1154. padding: 8px 16px 8px 8px;
  1155. }
  1156. .edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled) {
  1157. border-bottom-color: transparent;
  1158. }
  1159. .edit-site-navigation-panel__preview {
  1160. display: none;
  1161. border: 1px solid #ccc;
  1162. width: 300px;
  1163. padding: 16px;
  1164. background: #fff;
  1165. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  1166. border-radius: 2px;
  1167. position: absolute;
  1168. top: 73px;
  1169. left: 312px;
  1170. color: #1e1e1e;
  1171. z-index: 32;
  1172. }
  1173. @media (min-width: 782px) {
  1174. .edit-site-navigation-panel__preview {
  1175. display: block;
  1176. }
  1177. }
  1178. .edit-site-navigation-panel__template-item {
  1179. display: block;
  1180. }
  1181. .edit-site-navigation-panel__template-item .components-button {
  1182. display: flex;
  1183. flex-direction: column;
  1184. align-items: flex-start;
  1185. justify-content: center;
  1186. height: auto;
  1187. min-height: 36px;
  1188. text-align: left;
  1189. padding-left: 16px;
  1190. padding-right: 16px;
  1191. color: inherit;
  1192. }
  1193. .edit-site-navigation-panel__template-item-title {
  1194. font-size: 14px;
  1195. line-height: 20px;
  1196. }
  1197. .edit-site-navigation-panel__template-item-title em {
  1198. margin-right: 1ch;
  1199. }
  1200. .edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading {
  1201. text-transform: capitalize;
  1202. }
  1203. .edit-site-navigation-panel__template-part-item .components-navigation__item-title {
  1204. text-transform: capitalize;
  1205. }
  1206. .components-navigation__item + .edit-site-navigation-panel__template-item {
  1207. margin-top: 16px;
  1208. }
  1209. .edit-site-navigation-panel__template-item + .edit-site-navigation-panel__template-item {
  1210. margin-top: 8px;
  1211. }
  1212. .edit-site-navigation-panel__info-wrapper {
  1213. padding: 4px 0;
  1214. }
  1215. .edit-site-navigation-panel__template-item-description {
  1216. padding-top: 8px;
  1217. font-size: 12px;
  1218. line-height: 16px;
  1219. }
  1220. .edit-site-navigation-panel__new-template-dropdown {
  1221. margin: 0 0 0 12px;
  1222. }
  1223. .edit-site-navigation-panel__new-template-dropdown button {
  1224. margin: 0;
  1225. }
  1226. @media (min-width: 600px) {
  1227. .edit-site-navigation-panel__new-template-popover {
  1228. min-width: 300px;
  1229. }
  1230. }
  1231. .edit-site-list-header {
  1232. position: relative;
  1233. align-items: center;
  1234. background-color: #fff;
  1235. display: flex;
  1236. height: 60px;
  1237. box-sizing: border-box;
  1238. width: 100%;
  1239. justify-content: flex-end;
  1240. padding-right: 16px;
  1241. }
  1242. body.is-fullscreen-mode .edit-site-list-header {
  1243. padding-left: 60px;
  1244. transition: padding-left 20ms linear;
  1245. transition-delay: 80ms;
  1246. }
  1247. @media (prefers-reduced-motion: reduce) {
  1248. body.is-fullscreen-mode .edit-site-list-header {
  1249. transition-duration: 0s;
  1250. transition-delay: 0s;
  1251. }
  1252. }
  1253. .edit-site-list-header .edit-site-list-header__title {
  1254. position: absolute;
  1255. left: 0;
  1256. width: 100%;
  1257. text-align: center;
  1258. font-size: 20px;
  1259. padding: 0;
  1260. margin: 0;
  1261. }
  1262. .edit-site-list-header__right {
  1263. position: relative;
  1264. }
  1265. .edit-site .edit-site-list .interface-interface-skeleton__editor {
  1266. min-width: 100%;
  1267. }
  1268. @media (min-width: 782px) {
  1269. .edit-site .edit-site-list .interface-interface-skeleton__editor {
  1270. min-width: 0;
  1271. }
  1272. }
  1273. .edit-site .edit-site-list .interface-interface-skeleton__content {
  1274. background: #fff;
  1275. align-items: center;
  1276. padding: 16px;
  1277. }
  1278. @media (min-width: 782px) {
  1279. .edit-site .edit-site-list .interface-interface-skeleton__content {
  1280. padding: 72px;
  1281. }
  1282. }
  1283. .edit-site-list-table {
  1284. width: 100%;
  1285. border: 1px solid #ddd;
  1286. border-radius: 2px;
  1287. margin: 0;
  1288. overflow: hidden;
  1289. border-spacing: 0;
  1290. max-width: 960px;
  1291. }
  1292. .edit-site-list-table tr {
  1293. display: flex;
  1294. align-items: center;
  1295. padding: 16px;
  1296. box-sizing: border-box;
  1297. border-top: 1px solid #f0f0f0;
  1298. margin: 0;
  1299. }
  1300. .edit-site-list-table tr:first-child {
  1301. border-top: 0;
  1302. }
  1303. @media (min-width: 782px) {
  1304. .edit-site-list-table tr {
  1305. padding: 24px 32px;
  1306. }
  1307. }
  1308. .edit-site-list-table tr .edit-site-list-table-column:nth-child(1) {
  1309. width: calc(60% - 18px);
  1310. padding-right: 24px;
  1311. }
  1312. .edit-site-list-table tr .edit-site-list-table-column:nth-child(1) a {
  1313. display: inline-block;
  1314. text-decoration: none;
  1315. font-weight: 500;
  1316. margin-bottom: 4px;
  1317. }
  1318. .edit-site-list-table tr .edit-site-list-table-column:nth-child(2) {
  1319. width: calc(40% - 18px);
  1320. word-break: break-word;
  1321. }
  1322. .edit-site-list-table tr .edit-site-list-table-column:nth-child(3) {
  1323. min-width: 36px;
  1324. flex-shrink: 0;
  1325. }
  1326. .edit-site-list-table tr.edit-site-list-table-head {
  1327. font-size: 16px;
  1328. font-weight: 600;
  1329. text-align: left;
  1330. color: #1e1e1e;
  1331. border-top: none;
  1332. border-bottom: 1px solid #ddd;
  1333. }
  1334. .edit-site-list-table tr.edit-site-list-table-head th {
  1335. font-weight: inherit;
  1336. }
  1337. @media (min-width: 782px) {
  1338. .edit-site-list.is-navigation-open .components-snackbar-list {
  1339. margin-left: 300px;
  1340. }
  1341. }
  1342. @media (min-width: 782px) {
  1343. .edit-site-list__rename-modal .components-base-control {
  1344. width: 320px;
  1345. }
  1346. }
  1347. .edit-site-list__rename-modal-actions {
  1348. margin-top: 12px;
  1349. }
  1350. .edit-site-template__actions button:not(:last-child) {
  1351. margin-right: 8px;
  1352. }
  1353. .edit-site-list-added-by__icon {
  1354. display: flex;
  1355. flex-shrink: 0;
  1356. position: relative;
  1357. align-items: center;
  1358. justify-content: center;
  1359. width: 32px;
  1360. height: 32px;
  1361. background: #2f2f2f;
  1362. border-radius: 100%;
  1363. }
  1364. .edit-site-list-added-by__icon svg {
  1365. fill: #fff;
  1366. }
  1367. .edit-site-list-added-by__icon.is-customized::after {
  1368. position: absolute;
  1369. content: "";
  1370. background: var(--wp-admin-theme-color);
  1371. height: 8px;
  1372. width: 8px;
  1373. outline: 2px solid #fff;
  1374. border-radius: 100%;
  1375. top: -1px;
  1376. right: -1px;
  1377. }
  1378. .edit-site-list-added-by__avatar {
  1379. flex-shrink: 0;
  1380. overflow: hidden;
  1381. border-radius: 100%;
  1382. background: #2f2f2f;
  1383. width: 32px;
  1384. height: 32px;
  1385. }
  1386. .edit-site-list-added-by__avatar img {
  1387. width: 32px;
  1388. height: 32px;
  1389. object-fit: cover;
  1390. opacity: 0;
  1391. transition: opacity 0.1s linear;
  1392. }
  1393. @media (prefers-reduced-motion: reduce) {
  1394. .edit-site-list-added-by__avatar img {
  1395. transition-duration: 0s;
  1396. transition-delay: 0s;
  1397. }
  1398. }
  1399. .edit-site-list-added-by__avatar.is-loaded img {
  1400. opacity: 1;
  1401. }
  1402. .edit-site-new-template-dropdown .components-dropdown-menu__toggle {
  1403. padding: 6px 12px;
  1404. }
  1405. @media (min-width: 600px) {
  1406. .edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover {
  1407. min-width: 300px;
  1408. }
  1409. }
  1410. .edit-site-custom-template-modal__contents > .components-button {
  1411. padding: 24px;
  1412. box-shadow: inset 0 0 0 1px #949494;
  1413. border-radius: 2px;
  1414. width: 256px;
  1415. height: auto;
  1416. display: flex;
  1417. flex-direction: column;
  1418. gap: 8px;
  1419. outline: 1px solid transparent;
  1420. }
  1421. .edit-site-custom-template-modal__contents > .components-button span:first-child {
  1422. color: #1e1e1e;
  1423. }
  1424. .edit-site-custom-template-modal__contents > .components-button span {
  1425. color: #757575;
  1426. }
  1427. .edit-site-custom-template-modal__contents > .components-button:hover {
  1428. color: var(--wp-admin-theme-color-darker-10);
  1429. box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
  1430. }
  1431. .edit-site-custom-template-modal__contents > .components-button:hover span:first-child {
  1432. color: var(--wp-admin-theme-color);
  1433. }
  1434. .edit-site-custom-template-modal__contents > .components-button:focus {
  1435. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1436. outline: 3px solid transparent;
  1437. }
  1438. .edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
  1439. color: var(--wp-admin-theme-color);
  1440. }
  1441. .edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
  1442. background: #fff;
  1443. border: 1px solid #ddd;
  1444. }
  1445. .edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
  1446. border-color: var(--wp-admin-theme-color);
  1447. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  1448. }
  1449. @media (min-width: 782px) {
  1450. .edit-site-custom-template-modal {
  1451. width: 456px;
  1452. }
  1453. }
  1454. .edit-site-custom-template-modal__suggestions_list {
  1455. margin-top: 16px;
  1456. }
  1457. @media (min-width: 600px) {
  1458. .edit-site-custom-template-modal__suggestions_list {
  1459. height: 232px;
  1460. overflow: scroll;
  1461. }
  1462. }
  1463. .edit-site-custom-template-modal__suggestions_list__list-item {
  1464. display: block;
  1465. width: 100%;
  1466. text-align: left;
  1467. white-space: pre-wrap;
  1468. overflow-wrap: break-word;
  1469. height: auto;
  1470. }
  1471. .edit-site-custom-template-modal__suggestions_list__list-item mark {
  1472. font-weight: 700;
  1473. background: none;
  1474. }
  1475. .edit-site-custom-template-modal__suggestions_list__list-item:hover {
  1476. background-color: #f0f0f0;
  1477. }
  1478. .edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
  1479. color: var(--wp-admin-theme-color);
  1480. }
  1481. .edit-site-custom-template-modal__suggestions_list__list-item:focus {
  1482. background-color: #f0f0f0;
  1483. }
  1484. .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
  1485. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
  1486. }
  1487. .edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
  1488. overflow: hidden;
  1489. text-overflow: ellipsis;
  1490. display: block;
  1491. }
  1492. .edit-site-custom-template-modal__suggestions_list__list-item__title {
  1493. font-weight: 500;
  1494. margin-bottom: 0.2em;
  1495. }
  1496. .edit-site-custom-template-modal__suggestions_list__list-item__info {
  1497. color: #757575;
  1498. font-size: 0.9em;
  1499. line-height: 1.3;
  1500. word-break: break-all;
  1501. }
  1502. .edit-site-custom-template-modal__no-results {
  1503. border: 1px solid #ccc;
  1504. border-radius: 2px;
  1505. padding: 16px;
  1506. margin-bottom: 0;
  1507. margin-top: 16px;
  1508. }
  1509. @media (min-width: 782px) {
  1510. .edit-site-custom-generic-template__modal .components-base-control {
  1511. width: 320px;
  1512. }
  1513. }
  1514. .edit-site-custom-generic-template__modal .components-modal__header {
  1515. border-bottom: none;
  1516. }
  1517. .edit-site-custom-generic-template__modal .components-modal__content::before {
  1518. margin-bottom: 4px;
  1519. }
  1520. .edit-site-custom-generic-template__modal-actions {
  1521. margin-top: 12px;
  1522. }
  1523. .edit-site-sidebar {
  1524. width: 280px;
  1525. }
  1526. .edit-site-sidebar > .components-panel {
  1527. border-left: 0;
  1528. border-right: 0;
  1529. margin-bottom: -1px;
  1530. margin-top: -1px;
  1531. }
  1532. .edit-site-sidebar > .components-panel > .components-panel__header {
  1533. background: #f0f0f0;
  1534. }
  1535. .edit-site-sidebar .block-editor-block-inspector__card {
  1536. margin: 0;
  1537. }
  1538. .edit-site-global-styles-sidebar {
  1539. display: flex;
  1540. flex-direction: column;
  1541. min-height: 100%;
  1542. }
  1543. .edit-site-global-styles-sidebar__panel, .edit-site-global-styles-sidebar__navigator-provider {
  1544. display: flex;
  1545. flex-direction: column;
  1546. flex: 1;
  1547. }
  1548. .edit-site-global-styles-sidebar__navigator-screen {
  1549. flex: 1;
  1550. }
  1551. .edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon {
  1552. margin-left: 0;
  1553. }
  1554. .edit-site-global-styles-sidebar__reset-button.components-button {
  1555. margin-left: auto;
  1556. }
  1557. .edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
  1558. font-size: 15.6px;
  1559. font-weight: 500;
  1560. }
  1561. .edit-site-global-styles-sidebar .components-navigation__item > button span {
  1562. font-weight: 500;
  1563. }
  1564. .edit-site-typography-panel,
  1565. .edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
  1566. border: 0;
  1567. }
  1568. .edit-site-global-styles-sidebar .components-tools-panel-item.single-column {
  1569. grid-column: span 1;
  1570. }
  1571. .edit-site-global-styles-sidebar .components-tools-panel .span-columns {
  1572. grid-column: 1/-1;
  1573. }
  1574. .edit-site-global-styles-sidebar__blocks-group {
  1575. padding-top: 24px;
  1576. border-top: 1px solid #e0e0e0;
  1577. }
  1578. .edit-site-global-styles-sidebar__blocks-group-help {
  1579. padding: 0 16px;
  1580. }
  1581. .edit-site-global-styles-color-palette-panel,
  1582. .edit-site-global-styles-gradient-palette-panel {
  1583. padding: 16px;
  1584. }
  1585. .edit-site-navigation-sidebar__beta {
  1586. display: inline-flex;
  1587. margin-left: 8px;
  1588. padding: 0 8px;
  1589. height: 24px;
  1590. border-radius: 2px;
  1591. background-color: #1e1e1e;
  1592. color: #fff;
  1593. align-items: center;
  1594. font-size: 12px;
  1595. line-height: 1;
  1596. }
  1597. .edit-site-global-styles-sidebar hr {
  1598. margin: 0;
  1599. }
  1600. .components-panel__header.edit-site-sidebar__panel-tabs {
  1601. justify-content: flex-start;
  1602. padding-left: 0;
  1603. padding-right: 16px;
  1604. border-top: 0;
  1605. margin-top: 0;
  1606. }
  1607. .components-panel__header.edit-site-sidebar__panel-tabs ul {
  1608. display: flex;
  1609. }
  1610. .components-panel__header.edit-site-sidebar__panel-tabs li {
  1611. margin: 0;
  1612. }
  1613. .components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon {
  1614. display: none;
  1615. margin: 0 0 0 auto;
  1616. padding: 0;
  1617. min-width: 24px;
  1618. height: 24px;
  1619. }
  1620. @media (min-width: 782px) {
  1621. .components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon {
  1622. display: flex;
  1623. }
  1624. }
  1625. .components-button.edit-site-sidebar__panel-tab {
  1626. border-radius: 0;
  1627. height: 48px;
  1628. background: transparent;
  1629. border: none;
  1630. box-shadow: none;
  1631. cursor: pointer;
  1632. display: inline-block;
  1633. padding: 3px 15px;
  1634. margin-left: 0;
  1635. font-weight: 500;
  1636. }
  1637. .components-button.edit-site-sidebar__panel-tab::after {
  1638. content: attr(data-label);
  1639. display: block;
  1640. font-weight: 600;
  1641. height: 0;
  1642. overflow: hidden;
  1643. speak: none;
  1644. visibility: hidden;
  1645. }
  1646. .components-button.edit-site-sidebar__panel-tab.is-active {
  1647. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -1.5px 0 0 var(--wp-admin-theme-color);
  1648. position: relative;
  1649. z-index: 1;
  1650. }
  1651. .components-button.edit-site-sidebar__panel-tab.is-active::before {
  1652. content: "";
  1653. position: absolute;
  1654. top: 0;
  1655. bottom: 1px;
  1656. right: 0;
  1657. left: 0;
  1658. border-bottom: 1.5px solid transparent;
  1659. }
  1660. .components-button.edit-site-sidebar__panel-tab:focus {
  1661. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  1662. position: relative;
  1663. z-index: 1;
  1664. }
  1665. .components-button.edit-site-sidebar__panel-tab.is-active:focus {
  1666. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -1.5px 0 0 var(--wp-admin-theme-color);
  1667. }
  1668. @keyframes loadingpulse {
  1669. 0% {
  1670. opacity: 1;
  1671. }
  1672. 50% {
  1673. opacity: 0.5;
  1674. }
  1675. 100% {
  1676. opacity: 1;
  1677. }
  1678. }
  1679. .edit-site-navigation-inspector {
  1680. padding: 16px;
  1681. }
  1682. .edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
  1683. white-space: normal;
  1684. }
  1685. .edit-site-navigation-inspector .block-editor-list-view-block__title {
  1686. margin-top: 3px;
  1687. }
  1688. .edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
  1689. padding-right: 0;
  1690. }
  1691. .edit-site-navigation-inspector__placeholder {
  1692. padding: 8px;
  1693. margin: 8px;
  1694. background-color: #f0f0f0;
  1695. animation: loadingpulse 1s linear infinite;
  1696. animation-delay: 0.5s;
  1697. }
  1698. .edit-site-navigation-inspector__placeholder.is-child {
  1699. margin-left: 24px;
  1700. width: 50%;
  1701. }
  1702. .edit-site-template-card {
  1703. display: flex;
  1704. align-items: flex-start;
  1705. }
  1706. .edit-site-template-card__content {
  1707. flex-grow: 1;
  1708. margin-bottom: 4px;
  1709. }
  1710. .edit-site-template-card__title {
  1711. font-weight: 500;
  1712. line-height: 24px;
  1713. }
  1714. .edit-site-template-card__title.edit-site-template-card__title {
  1715. margin: 0;
  1716. }
  1717. .edit-site-template-card__description {
  1718. font-size: 13px;
  1719. margin: 0 0 16px;
  1720. }
  1721. .edit-site-template-card__icon {
  1722. flex: 0 0 24px;
  1723. margin-right: 12px;
  1724. width: 24px;
  1725. height: 24px;
  1726. }
  1727. .edit-site-template-card__template-areas-list {
  1728. margin: 0;
  1729. }
  1730. .edit-site-template-card__template-areas-list > li {
  1731. margin: 0;
  1732. }
  1733. .edit-site-template-card__template-areas-item {
  1734. width: 100%;
  1735. }
  1736. .edit-site-template-card__template-areas-item.components-button.has-icon {
  1737. padding: 0;
  1738. }
  1739. .edit-site-template-card__header {
  1740. display: flex;
  1741. justify-content: space-between;
  1742. margin: 0 0 4px;
  1743. }
  1744. .edit-site-template-card__actions {
  1745. line-height: 0;
  1746. }
  1747. .edit-site-template-card__actions > .components-button.is-small.has-icon {
  1748. padding: 0;
  1749. min-width: auto;
  1750. }
  1751. h3.edit-site-template-card__template-areas-title {
  1752. font-weight: 500;
  1753. margin: 0 0 8px;
  1754. }
  1755. html #wpadminbar {
  1756. display: none;
  1757. }
  1758. html.wp-toolbar {
  1759. padding-top: 0;
  1760. }
  1761. .edit-site-editor__toggle-save-panel {
  1762. z-index: 100000;
  1763. position: fixed !important;
  1764. top: -9999em;
  1765. bottom: auto;
  1766. left: auto;
  1767. right: 0;
  1768. width: 280px;
  1769. background-color: #fff;
  1770. border: 1px dotted #ddd;
  1771. height: auto !important;
  1772. padding: 24px;
  1773. display: flex;
  1774. justify-content: center;
  1775. }
  1776. .interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel, .interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel {
  1777. top: auto;
  1778. bottom: 0;
  1779. }
  1780. .edit-site-visual-editor {
  1781. position: relative;
  1782. height: 100%;
  1783. display: block;
  1784. overflow: hidden;
  1785. }
  1786. .edit-site-visual-editor iframe {
  1787. display: block;
  1788. width: 100%;
  1789. height: 100%;
  1790. background-color: #fff;
  1791. }
  1792. .edit-site .components-editor-notices__snackbar {
  1793. position: fixed;
  1794. right: 0;
  1795. bottom: 40px;
  1796. padding-left: 16px;
  1797. padding-right: 16px;
  1798. }
  1799. .edit-site .components-editor-notices__snackbar {
  1800. /* Set left position when auto-fold is not on the body element. */
  1801. left: 0;
  1802. }
  1803. @media (min-width: 783px) {
  1804. .edit-site .components-editor-notices__snackbar {
  1805. left: 160px;
  1806. }
  1807. }
  1808. .auto-fold .edit-site .components-editor-notices__snackbar {
  1809. /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
  1810. }
  1811. @media (min-width: 783px) {
  1812. .auto-fold .edit-site .components-editor-notices__snackbar {
  1813. left: 36px;
  1814. }
  1815. }
  1816. @media (min-width: 961px) {
  1817. .auto-fold .edit-site .components-editor-notices__snackbar {
  1818. left: 160px;
  1819. }
  1820. }
  1821. /* Sidebar manually collapsed. */
  1822. .folded .edit-site .components-editor-notices__snackbar {
  1823. left: 0;
  1824. }
  1825. @media (min-width: 783px) {
  1826. .folded .edit-site .components-editor-notices__snackbar {
  1827. left: 36px;
  1828. }
  1829. }
  1830. body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
  1831. left: 0 !important;
  1832. }
  1833. .edit-site-template-details .edit-site-template-details__group {
  1834. margin: 0;
  1835. padding: 16px;
  1836. }
  1837. .edit-site-template-details .edit-site-template-details__group + .edit-site-template-details__group {
  1838. border-top: 1px solid #ccc;
  1839. }
  1840. .edit-site-template-details .edit-site-template-details__description {
  1841. color: #757575;
  1842. }
  1843. .edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas {
  1844. padding: 8px;
  1845. }
  1846. .edit-site-template-details .edit-site-template-details__template-areas-item {
  1847. position: relative;
  1848. }
  1849. .edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more {
  1850. position: absolute;
  1851. right: 0;
  1852. top: 0;
  1853. bottom: 0;
  1854. margin: auto 0;
  1855. }
  1856. .edit-site-template-details .edit-site-template-details__revert {
  1857. padding: 12px 8px;
  1858. }
  1859. .edit-site-template-details .edit-site-template-details__revert-button {
  1860. height: auto;
  1861. padding: 4px 8px;
  1862. text-align: left;
  1863. }
  1864. .edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled) {
  1865. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
  1866. }
  1867. .edit-site-template-details .edit-site-template-details__show-all-button.components-button {
  1868. display: flex;
  1869. justify-content: center;
  1870. background: #1e1e1e;
  1871. color: #fff;
  1872. width: 100%;
  1873. height: 44px;
  1874. border-radius: 0;
  1875. }
  1876. .edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover {
  1877. color: #fff;
  1878. }
  1879. .edit-site-template-details .edit-site-template-details__show-all-button.components-button:active {
  1880. color: #ccc;
  1881. }
  1882. .edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled) {
  1883. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
  1884. }
  1885. .edit-site-create-template-part-modal {
  1886. z-index: 1000001;
  1887. }
  1888. @media (min-width: 600px) {
  1889. .edit-site-create-template-part-modal .components-modal__frame {
  1890. max-width: 500px;
  1891. }
  1892. }
  1893. .edit-site-create-template-part-modal__modal-actions {
  1894. padding-top: 12px;
  1895. }
  1896. .edit-site-create-template-part-modal__area-base-control .components-base-control__label {
  1897. margin: 16px 0 8px;
  1898. cursor: auto;
  1899. }
  1900. .edit-site-create-template-part-modal__area-radio-group {
  1901. width: 100%;
  1902. border: 1px solid #757575;
  1903. border-radius: 2px;
  1904. }
  1905. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio {
  1906. display: block;
  1907. width: 100%;
  1908. height: 100%;
  1909. text-align: left;
  1910. padding: 12px;
  1911. }
  1912. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover {
  1913. margin: 0;
  1914. background-color: inherit;
  1915. border-bottom: 1px solid #757575;
  1916. border-radius: 0;
  1917. }
  1918. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus) {
  1919. box-shadow: none;
  1920. }
  1921. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus {
  1922. border-bottom: 1px solid #fff;
  1923. }
  1924. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type {
  1925. border-bottom: none;
  1926. }
  1927. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover), .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] {
  1928. color: #1e1e1e;
  1929. cursor: auto;
  1930. }
  1931. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div, .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div {
  1932. color: #949494;
  1933. }
  1934. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label {
  1935. padding-top: 4px;
  1936. white-space: normal;
  1937. }
  1938. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div {
  1939. padding-top: 4px;
  1940. font-size: 12px;
  1941. }
  1942. .edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox {
  1943. margin-left: auto;
  1944. min-width: 24px;
  1945. }
  1946. .edit-site-editor__inserter-panel,
  1947. .edit-site-editor__list-view-panel {
  1948. height: 100%;
  1949. display: flex;
  1950. flex-direction: column;
  1951. }
  1952. .edit-site-editor__list-view-panel {
  1953. min-width: 350px;
  1954. }
  1955. .edit-site-editor__inserter-panel-header {
  1956. padding-top: 8px;
  1957. padding-right: 8px;
  1958. display: flex;
  1959. justify-content: flex-end;
  1960. }
  1961. .edit-site-editor__inserter-panel-content,
  1962. .edit-site-editor__list-view-panel-content {
  1963. height: calc(100% - 36px - 8px);
  1964. }
  1965. @media (min-width: 782px) {
  1966. .edit-site-editor__inserter-panel-content {
  1967. height: 100%;
  1968. }
  1969. }
  1970. .edit-site-editor__list-view-panel-header {
  1971. align-items: center;
  1972. border-bottom: 1px solid #ddd;
  1973. display: flex;
  1974. justify-content: space-between;
  1975. height: 48px;
  1976. padding-left: 16px;
  1977. padding-right: 4px;
  1978. }
  1979. .edit-site-editor__list-view-panel-content {
  1980. overflow-y: auto;
  1981. padding: 8px;
  1982. }
  1983. .edit-site-welcome-guide {
  1984. width: 312px;
  1985. }
  1986. .edit-site-welcome-guide__image {
  1987. background: #00a0d2;
  1988. margin: 0 0 16px;
  1989. }
  1990. .edit-site-welcome-guide__image > img {
  1991. display: block;
  1992. max-width: 100%;
  1993. object-fit: cover;
  1994. }
  1995. .edit-site-welcome-guide__heading {
  1996. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1997. font-size: 24px;
  1998. line-height: 1.4;
  1999. margin: 16px 0 16px 0;
  2000. padding: 0 32px;
  2001. }
  2002. .edit-site-welcome-guide__text {
  2003. font-size: 13px;
  2004. line-height: 1.4;
  2005. margin: 0 0 16px 0;
  2006. padding: 0 32px;
  2007. }
  2008. .edit-site-welcome-guide__text img {
  2009. vertical-align: bottom;
  2010. }
  2011. .edit-site-welcome-guide__inserter-icon {
  2012. margin: 0 4px;
  2013. vertical-align: text-top;
  2014. }
  2015. .edit-site-keyboard-shortcut-help-modal__section {
  2016. margin: 0 0 2rem 0;
  2017. }
  2018. .edit-site-keyboard-shortcut-help-modal__section-title {
  2019. font-size: 0.9rem;
  2020. font-weight: 600;
  2021. }
  2022. .edit-site-keyboard-shortcut-help-modal__shortcut {
  2023. display: flex;
  2024. align-items: baseline;
  2025. padding: 0.6rem 0;
  2026. border-top: 1px solid #ddd;
  2027. margin-bottom: 0;
  2028. }
  2029. .edit-site-keyboard-shortcut-help-modal__shortcut:last-child {
  2030. border-bottom: 1px solid #ddd;
  2031. }
  2032. .edit-site-keyboard-shortcut-help-modal__shortcut:empty {
  2033. display: none;
  2034. }
  2035. .edit-site-keyboard-shortcut-help-modal__shortcut-term {
  2036. font-weight: 600;
  2037. margin: 0 0 0 1rem;
  2038. text-align: right;
  2039. }
  2040. .edit-site-keyboard-shortcut-help-modal__shortcut-description {
  2041. flex: 1;
  2042. margin: 0;
  2043. flex-basis: auto;
  2044. }
  2045. .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
  2046. display: block;
  2047. background: none;
  2048. margin: 0;
  2049. padding: 0;
  2050. }
  2051. .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
  2052. margin-top: 10px;
  2053. }
  2054. .edit-site-keyboard-shortcut-help-modal__shortcut-key {
  2055. padding: 0.25rem 0.5rem;
  2056. border-radius: 8%;
  2057. margin: 0 0.2rem 0 0.2rem;
  2058. }
  2059. .edit-site-keyboard-shortcut-help-modal__shortcut-key:last-child {
  2060. margin: 0 0 0 0.2rem;
  2061. }
  2062. html.wp-toolbar {
  2063. background: #fff;
  2064. }
  2065. body.appearance_page_gutenberg-template-parts,
  2066. body.site-editor-php {
  2067. background: #fff;
  2068. /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
  2069. Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
  2070. }
  2071. body.appearance_page_gutenberg-template-parts #wpcontent,
  2072. body.site-editor-php #wpcontent {
  2073. padding-left: 0;
  2074. }
  2075. body.appearance_page_gutenberg-template-parts #wpbody-content,
  2076. body.site-editor-php #wpbody-content {
  2077. padding-bottom: 0;
  2078. }
  2079. body.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
  2080. body.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
  2081. display: none;
  2082. }
  2083. body.appearance_page_gutenberg-template-parts #wpfooter,
  2084. body.site-editor-php #wpfooter {
  2085. display: none;
  2086. }
  2087. body.appearance_page_gutenberg-template-parts .a11y-speak-region,
  2088. body.site-editor-php .a11y-speak-region {
  2089. left: -1px;
  2090. top: -1px;
  2091. }
  2092. body.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
  2093. body.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
  2094. body.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
  2095. body.site-editor-php ul#adminmenu > li.current > a.current::after {
  2096. border-right-color: #fff;
  2097. }
  2098. body.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
  2099. body.site-editor-php .media-frame select.attachment-filters:last-of-type {
  2100. width: auto;
  2101. max-width: 100%;
  2102. }
  2103. .edit-site,
  2104. .components-modal__frame {
  2105. box-sizing: border-box;
  2106. }
  2107. .edit-site *,
  2108. .edit-site *::before,
  2109. .edit-site *::after,
  2110. .components-modal__frame *,
  2111. .components-modal__frame *::before,
  2112. .components-modal__frame *::after {
  2113. box-sizing: inherit;
  2114. }
  2115. @media (min-width: 600px) {
  2116. .edit-site {
  2117. bottom: 0;
  2118. left: 0;
  2119. min-height: 100vh;
  2120. position: absolute;
  2121. right: 0;
  2122. top: 0;
  2123. }
  2124. }
  2125. .edit-site .interface-interface-skeleton {
  2126. top: 0;
  2127. }
  2128. .edit-site .interface-complementary-area__pin-unpin-item.components-button {
  2129. display: none;
  2130. }
  2131. .edit-site .interface-interface-skeleton__content {
  2132. background-color: #2f2f2f;
  2133. }
  2134. /**
  2135. * Animations
  2136. */
  2137. @keyframes edit-post__fade-in-animation {
  2138. from {
  2139. opacity: 0;
  2140. }
  2141. to {
  2142. opacity: 1;
  2143. }
  2144. }
  2145. body.admin-color-light {
  2146. --wp-admin-theme-color: #0085ba;
  2147. --wp-admin-theme-color--rgb: 0, 133, 186;
  2148. --wp-admin-theme-color-darker-10: #0073a1;
  2149. --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  2150. --wp-admin-theme-color-darker-20: #006187;
  2151. --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  2152. --wp-admin-border-width-focus: 2px;
  2153. }
  2154. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2155. body.admin-color-light {
  2156. --wp-admin-border-width-focus: 1.5px;
  2157. }
  2158. }
  2159. body.admin-color-modern {
  2160. --wp-admin-theme-color: #3858e9;
  2161. --wp-admin-theme-color--rgb: 56, 88, 233;
  2162. --wp-admin-theme-color-darker-10: #2145e6;
  2163. --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  2164. --wp-admin-theme-color-darker-20: #183ad6;
  2165. --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  2166. --wp-admin-border-width-focus: 2px;
  2167. }
  2168. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2169. body.admin-color-modern {
  2170. --wp-admin-border-width-focus: 1.5px;
  2171. }
  2172. }
  2173. body.admin-color-blue {
  2174. --wp-admin-theme-color: #096484;
  2175. --wp-admin-theme-color--rgb: 9, 100, 132;
  2176. --wp-admin-theme-color-darker-10: #07526c;
  2177. --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  2178. --wp-admin-theme-color-darker-20: #064054;
  2179. --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  2180. --wp-admin-border-width-focus: 2px;
  2181. }
  2182. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2183. body.admin-color-blue {
  2184. --wp-admin-border-width-focus: 1.5px;
  2185. }
  2186. }
  2187. body.admin-color-coffee {
  2188. --wp-admin-theme-color: #46403c;
  2189. --wp-admin-theme-color--rgb: 70, 64, 60;
  2190. --wp-admin-theme-color-darker-10: #383330;
  2191. --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  2192. --wp-admin-theme-color-darker-20: #2b2724;
  2193. --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  2194. --wp-admin-border-width-focus: 2px;
  2195. }
  2196. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2197. body.admin-color-coffee {
  2198. --wp-admin-border-width-focus: 1.5px;
  2199. }
  2200. }
  2201. body.admin-color-ectoplasm {
  2202. --wp-admin-theme-color: #523f6d;
  2203. --wp-admin-theme-color--rgb: 82, 63, 109;
  2204. --wp-admin-theme-color-darker-10: #46365d;
  2205. --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  2206. --wp-admin-theme-color-darker-20: #3a2c4d;
  2207. --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  2208. --wp-admin-border-width-focus: 2px;
  2209. }
  2210. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2211. body.admin-color-ectoplasm {
  2212. --wp-admin-border-width-focus: 1.5px;
  2213. }
  2214. }
  2215. body.admin-color-midnight {
  2216. --wp-admin-theme-color: #e14d43;
  2217. --wp-admin-theme-color--rgb: 225, 77, 67;
  2218. --wp-admin-theme-color-darker-10: #dd382d;
  2219. --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  2220. --wp-admin-theme-color-darker-20: #d02c21;
  2221. --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  2222. --wp-admin-border-width-focus: 2px;
  2223. }
  2224. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2225. body.admin-color-midnight {
  2226. --wp-admin-border-width-focus: 1.5px;
  2227. }
  2228. }
  2229. body.admin-color-ocean {
  2230. --wp-admin-theme-color: #627c83;
  2231. --wp-admin-theme-color--rgb: 98, 124, 131;
  2232. --wp-admin-theme-color-darker-10: #576e74;
  2233. --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  2234. --wp-admin-theme-color-darker-20: #4c6066;
  2235. --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  2236. --wp-admin-border-width-focus: 2px;
  2237. }
  2238. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2239. body.admin-color-ocean {
  2240. --wp-admin-border-width-focus: 1.5px;
  2241. }
  2242. }
  2243. body.admin-color-sunrise {
  2244. --wp-admin-theme-color: #dd823b;
  2245. --wp-admin-theme-color--rgb: 221, 130, 59;
  2246. --wp-admin-theme-color-darker-10: #d97426;
  2247. --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  2248. --wp-admin-theme-color-darker-20: #c36922;
  2249. --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  2250. --wp-admin-border-width-focus: 2px;
  2251. }
  2252. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  2253. body.admin-color-sunrise {
  2254. --wp-admin-border-width-focus: 1.5px;
  2255. }
  2256. }