style-rtl.css 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468
  1. @charset "UTF-8";
  2. /**
  3. * Colors
  4. */
  5. /**
  6. * Breakpoints & Media Queries
  7. */
  8. /**
  9. * SCSS Variables.
  10. *
  11. * Please use variables from this sheet to ensure consistency across the UI.
  12. * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  13. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  14. */
  15. /**
  16. * Colors
  17. */
  18. /**
  19. * Fonts & basic variables.
  20. */
  21. /**
  22. * Grid System.
  23. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  24. */
  25. /**
  26. * Dimensions.
  27. */
  28. /**
  29. * Shadows.
  30. */
  31. /**
  32. * Editor widths.
  33. */
  34. /**
  35. * Block & Editor UI.
  36. */
  37. /**
  38. * Block paddings.
  39. */
  40. /**
  41. * React Native specific.
  42. * These variables do not appear to be used anywhere else.
  43. */
  44. /**
  45. * Converts a hex value into the rgb equivalent.
  46. *
  47. * @param {string} hex - the hexadecimal value to convert
  48. * @return {string} comma separated rgb values
  49. */
  50. /**
  51. * Breakpoint mixins
  52. */
  53. /**
  54. * Long content fade mixin
  55. *
  56. * Creates a fading overlay to signify that the content is longer
  57. * than the space allows.
  58. */
  59. /**
  60. * Focus styles.
  61. */
  62. /**
  63. * Applies editor left position to the selector passed as argument
  64. */
  65. /**
  66. * Styles that are reused verbatim in a few places
  67. */
  68. /**
  69. * Allows users to opt-out of animations via OS-level preferences.
  70. */
  71. /**
  72. * Reset default styles for JavaScript UI based pages.
  73. * This is a WP-admin agnostic reset
  74. */
  75. /**
  76. * Reset the WP Admin page styles for Gutenberg-like pages.
  77. */
  78. :root {
  79. --wp-admin-theme-color: #007cba;
  80. --wp-admin-theme-color--rgb: 0, 124, 186;
  81. --wp-admin-theme-color-darker-10: #006ba1;
  82. --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  83. --wp-admin-theme-color-darker-20: #005a87;
  84. --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  85. --wp-admin-border-width-focus: 2px;
  86. }
  87. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  88. :root {
  89. --wp-admin-border-width-focus: 1.5px;
  90. }
  91. }
  92. .components-animate__appear {
  93. animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
  94. animation-fill-mode: forwards;
  95. }
  96. @media (prefers-reduced-motion: reduce) {
  97. .components-animate__appear {
  98. animation-duration: 1ms;
  99. animation-delay: 0s;
  100. }
  101. }
  102. .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
  103. transform-origin: top right;
  104. }
  105. .components-animate__appear.is-from-top.is-from-right {
  106. transform-origin: top left;
  107. }
  108. .components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {
  109. transform-origin: bottom right;
  110. }
  111. .components-animate__appear.is-from-bottom.is-from-right {
  112. transform-origin: bottom left;
  113. }
  114. @keyframes components-animate__appear-animation {
  115. from {
  116. transform: translateY(-2em) scaleY(0) scaleX(0);
  117. }
  118. to {
  119. transform: translateY(0%) scaleY(1) scaleX(1);
  120. }
  121. }
  122. .components-animate__slide-in {
  123. animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
  124. animation-fill-mode: forwards;
  125. }
  126. @media (prefers-reduced-motion: reduce) {
  127. .components-animate__slide-in {
  128. animation-duration: 1ms;
  129. animation-delay: 0s;
  130. }
  131. }
  132. .components-animate__slide-in.is-from-left {
  133. transform: translateX(-100%);
  134. }
  135. .components-animate__slide-in.is-from-right {
  136. transform: translateX(100%);
  137. }
  138. @keyframes components-animate__slide-in-animation {
  139. 100% {
  140. transform: translateX(0%);
  141. }
  142. }
  143. .components-animate__loading {
  144. animation: components-animate__loading 1.6s ease-in-out infinite;
  145. }
  146. @keyframes components-animate__loading {
  147. 0% {
  148. opacity: 0.5;
  149. }
  150. 50% {
  151. opacity: 1;
  152. }
  153. 100% {
  154. opacity: 0.5;
  155. }
  156. }
  157. .components-autocomplete__popover .components-popover__content {
  158. padding: 16px;
  159. min-width: 220px;
  160. }
  161. .components-autocomplete__result.components-button {
  162. display: flex;
  163. height: auto;
  164. min-height: 36px;
  165. text-align: right;
  166. width: 100%;
  167. }
  168. .components-autocomplete__result.components-button.is-selected {
  169. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  170. }
  171. .components-button-group {
  172. display: inline-block;
  173. }
  174. .components-button-group .components-button {
  175. border-radius: 0;
  176. display: inline-flex;
  177. color: #1e1e1e;
  178. box-shadow: inset 0 0 0 1px #1e1e1e;
  179. }
  180. .components-button-group .components-button + .components-button {
  181. margin-right: -1px;
  182. }
  183. .components-button-group .components-button:first-child {
  184. border-radius: 0 2px 2px 0;
  185. }
  186. .components-button-group .components-button:last-child {
  187. border-radius: 2px 0 0 2px;
  188. }
  189. .components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
  190. position: relative;
  191. z-index: 1;
  192. }
  193. .components-button-group .components-button.is-primary {
  194. box-shadow: inset 0 0 0 1px #1e1e1e;
  195. }
  196. .components-button {
  197. display: inline-flex;
  198. text-decoration: none;
  199. font-family: inherit;
  200. font-weight: normal;
  201. font-size: 13px;
  202. margin: 0;
  203. border: 0;
  204. cursor: pointer;
  205. -webkit-appearance: none;
  206. background: none;
  207. transition: box-shadow 0.1s linear;
  208. height: 36px;
  209. align-items: center;
  210. box-sizing: border-box;
  211. padding: 6px 12px;
  212. border-radius: 2px;
  213. color: #1e1e1e;
  214. /**
  215. * Primary button style.
  216. */
  217. /**
  218. * Secondary and tertiary buttons.
  219. */
  220. /**
  221. * Secondary button style.
  222. */
  223. /**
  224. * Tertiary buttons.
  225. */
  226. /**
  227. * Destructive buttons.
  228. */
  229. /**
  230. * Link buttons.
  231. */
  232. }
  233. @media (prefers-reduced-motion: reduce) {
  234. .components-button {
  235. transition-duration: 0s;
  236. transition-delay: 0s;
  237. }
  238. }
  239. .components-button[aria-expanded=true], .components-button:hover {
  240. color: var(--wp-admin-theme-color);
  241. }
  242. .components-button[aria-disabled=true]:hover {
  243. color: initial;
  244. }
  245. .components-button:focus:not(:disabled) {
  246. box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  247. outline: 3px solid transparent;
  248. }
  249. .components-button.is-primary {
  250. white-space: nowrap;
  251. background: var(--wp-admin-theme-color);
  252. color: #fff;
  253. text-decoration: none;
  254. text-shadow: none;
  255. outline: 1px solid transparent;
  256. }
  257. .components-button.is-primary:hover:not(:disabled) {
  258. background: var(--wp-admin-theme-color-darker-10);
  259. color: #fff;
  260. }
  261. .components-button.is-primary:active:not(:disabled) {
  262. background: var(--wp-admin-theme-color-darker-20);
  263. border-color: var(--wp-admin-theme-color-darker-20);
  264. color: #fff;
  265. }
  266. .components-button.is-primary:focus:not(:disabled) {
  267. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  268. }
  269. .components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {
  270. color: rgba(255, 255, 255, 0.4);
  271. background: var(--wp-admin-theme-color);
  272. border-color: var(--wp-admin-theme-color);
  273. opacity: 1;
  274. outline: none;
  275. }
  276. .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {
  277. box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
  278. }
  279. .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
  280. color: #fff;
  281. background-size: 100px 100%;
  282. /* stylelint-disable */
  283. background-image: linear-gradient(45deg, var(--wp-admin-theme-color) 33%, var(--wp-admin-theme-color-darker-20) 33%, var(--wp-admin-theme-color-darker-20) 70%, var(--wp-admin-theme-color) 70%);
  284. /* stylelint-enable */
  285. border-color: var(--wp-admin-theme-color);
  286. }
  287. .components-button.is-secondary, .components-button.is-tertiary {
  288. outline: 1px solid transparent;
  289. }
  290. .components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
  291. background: #ddd;
  292. color: var(--wp-admin-theme-color-darker-10);
  293. box-shadow: none;
  294. }
  295. .components-button.is-secondary:hover:not(:disabled), .components-button.is-tertiary:hover:not(:disabled) {
  296. color: var(--wp-admin-theme-color-darker-10);
  297. box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
  298. }
  299. .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {
  300. color: #828282;
  301. background: #eaeaea;
  302. transform: none;
  303. opacity: 1;
  304. box-shadow: none;
  305. outline: none;
  306. }
  307. .components-button.is-secondary {
  308. box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
  309. outline: 1px solid transparent;
  310. white-space: nowrap;
  311. color: var(--wp-admin-theme-color);
  312. background: transparent;
  313. }
  314. .components-button.is-tertiary {
  315. white-space: nowrap;
  316. color: var(--wp-admin-theme-color);
  317. background: transparent;
  318. padding: 6px;
  319. }
  320. .components-button.is-tertiary .dashicon {
  321. display: inline-block;
  322. flex: 0 0 auto;
  323. }
  324. p + .components-button.is-tertiary {
  325. margin-right: -6px;
  326. }
  327. .components-button.is-destructive {
  328. color: #cc1818;
  329. box-shadow: inset 0 0 0 1px #cc1818;
  330. }
  331. .components-button.is-destructive:hover:not(:disabled) {
  332. color: #710d0d;
  333. box-shadow: inset 0 0 0 1px #710d0d;
  334. }
  335. .components-button.is-destructive:focus:not(:disabled) {
  336. color: var(--wp-admin-theme-color);
  337. }
  338. .components-button.is-destructive:active:not(:disabled) {
  339. background: #ccc;
  340. }
  341. .components-button.is-destructive.is-primary {
  342. color: #fff;
  343. background: #cc1818;
  344. box-shadow: inset 0 0 0 1px #cc1818;
  345. }
  346. .components-button.is-destructive.is-primary:hover:not(:disabled) {
  347. color: #fff;
  348. background: #710d0d;
  349. box-shadow: inset 0 0 0 1px #710d0d;
  350. }
  351. .components-button.is-destructive.is-tertiary {
  352. box-shadow: none;
  353. }
  354. .components-button.is-destructive.is-tertiary:hover:not(:disabled) {
  355. box-shadow: inset 0 0 0 1px #cc1818;
  356. color: #cc1818;
  357. }
  358. .components-button.is-destructive.is-tertiary:focus:not(:disabled) {
  359. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
  360. color: #cc1818;
  361. }
  362. .components-button.is-link {
  363. margin: 0;
  364. padding: 0;
  365. box-shadow: none;
  366. border: 0;
  367. border-radius: 0;
  368. background: none;
  369. outline: none;
  370. text-align: right;
  371. color: var(--wp-admin-theme-color);
  372. text-decoration: underline;
  373. transition-property: border, background, color;
  374. transition-duration: 0.05s;
  375. transition-timing-function: ease-in-out;
  376. height: auto;
  377. }
  378. @media (prefers-reduced-motion: reduce) {
  379. .components-button.is-link {
  380. transition-duration: 0s;
  381. transition-delay: 0s;
  382. }
  383. }
  384. .components-button.is-link:focus {
  385. border-radius: 2px;
  386. }
  387. .components-button.is-link.is-destructive {
  388. color: #cc1818;
  389. }
  390. .components-button.is-link.is-destructive:active:not(:disabled), .components-button.is-link.is-destructive:hover:not(:disabled) {
  391. color: #710d0d;
  392. background: none;
  393. }
  394. .components-button.is-link.is-destructive:focus:not(:disabled) {
  395. color: var(--wp-admin-theme-color);
  396. }
  397. .components-button:not([aria-disabled=true]):active {
  398. color: inherit;
  399. }
  400. .components-button:disabled, .components-button[aria-disabled=true] {
  401. cursor: default;
  402. opacity: 0.3;
  403. }
  404. .components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {
  405. animation: components-button__busy-animation 2500ms infinite linear;
  406. opacity: 1;
  407. background-size: 100px 100%;
  408. /* stylelint-disable */
  409. background-image: linear-gradient(45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
  410. /* stylelint-enable */
  411. }
  412. .components-button.is-small {
  413. height: 24px;
  414. line-height: 22px;
  415. padding: 0 8px;
  416. font-size: 11px;
  417. }
  418. .components-button.is-small.has-icon:not(.has-text) {
  419. padding: 0;
  420. width: 24px;
  421. min-width: 24px;
  422. }
  423. .components-button.has-icon {
  424. padding: 6px;
  425. min-width: 36px;
  426. justify-content: center;
  427. }
  428. .components-button.has-icon .dashicon {
  429. display: inline-block;
  430. flex: 0 0 auto;
  431. margin-right: 2px;
  432. margin-left: 2px;
  433. }
  434. .components-button.has-icon.has-text {
  435. justify-content: left;
  436. }
  437. .components-button.has-icon.has-text svg {
  438. margin-left: 8px;
  439. }
  440. .components-button.has-icon.has-text .dashicon {
  441. margin-left: 10px;
  442. }
  443. .components-button.is-pressed {
  444. color: #fff;
  445. background: #1e1e1e;
  446. }
  447. .components-button.is-pressed:focus:not(:disabled) {
  448. box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  449. outline: 2px solid transparent;
  450. }
  451. .components-button.is-pressed:hover:not(:disabled) {
  452. color: #fff;
  453. background: #1e1e1e;
  454. }
  455. .components-button svg {
  456. fill: currentColor;
  457. outline: none;
  458. }
  459. @media (forced-colors: active) {
  460. .components-button svg {
  461. fill: CanvasText;
  462. }
  463. }
  464. .components-button .components-visually-hidden {
  465. height: auto;
  466. }
  467. @keyframes components-button__busy-animation {
  468. 0% {
  469. background-position: 200px 0;
  470. }
  471. }
  472. .components-checkbox-control__input[type=checkbox] {
  473. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  474. padding: 6px 8px;
  475. box-shadow: 0 0 0 transparent;
  476. transition: box-shadow 0.1s linear;
  477. border-radius: 2px;
  478. border: 1px solid #757575;
  479. /* Fonts smaller than 16px causes mobile safari to zoom. */
  480. font-size: 16px;
  481. /* Override core line-height. To be reviewed. */
  482. line-height: normal;
  483. border: 1px solid #1e1e1e;
  484. margin-left: 12px;
  485. transition: none;
  486. border-radius: 2px;
  487. background: #fff;
  488. color: #1e1e1e;
  489. clear: none;
  490. cursor: pointer;
  491. display: inline-block;
  492. line-height: 0;
  493. margin: 0 0 0 4px;
  494. outline: 0;
  495. padding: 0 !important;
  496. text-align: center;
  497. vertical-align: top;
  498. width: 24px;
  499. height: 24px;
  500. -webkit-appearance: none;
  501. appearance: none;
  502. transition: 0.1s border-color ease-in-out;
  503. }
  504. @media (prefers-reduced-motion: reduce) {
  505. .components-checkbox-control__input[type=checkbox] {
  506. transition-duration: 0s;
  507. transition-delay: 0s;
  508. }
  509. }
  510. @media (min-width: 600px) {
  511. .components-checkbox-control__input[type=checkbox] {
  512. font-size: 13px;
  513. /* Override core line-height. To be reviewed. */
  514. line-height: normal;
  515. }
  516. }
  517. .components-checkbox-control__input[type=checkbox]:focus {
  518. border-color: var(--wp-admin-theme-color);
  519. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  520. outline: 2px solid transparent;
  521. }
  522. .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {
  523. color: rgba(30, 30, 30, 0.62);
  524. }
  525. .components-checkbox-control__input[type=checkbox]::-moz-placeholder {
  526. opacity: 1;
  527. color: rgba(30, 30, 30, 0.62);
  528. }
  529. .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {
  530. color: rgba(30, 30, 30, 0.62);
  531. }
  532. .components-checkbox-control__input[type=checkbox]:focus {
  533. box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
  534. outline: 2px solid transparent;
  535. }
  536. .components-checkbox-control__input[type=checkbox]:checked {
  537. background: var(--wp-admin-theme-color);
  538. border-color: var(--wp-admin-theme-color);
  539. }
  540. .components-checkbox-control__input[type=checkbox]:checked::-ms-check {
  541. opacity: 0;
  542. }
  543. .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
  544. margin: -3px -5px;
  545. color: #fff;
  546. }
  547. @media (min-width: 782px) {
  548. .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
  549. margin: -4px -5px 0 0;
  550. }
  551. }
  552. .components-checkbox-control__input[type=checkbox][aria-checked=mixed] {
  553. background: var(--wp-admin-theme-color);
  554. border-color: var(--wp-admin-theme-color);
  555. }
  556. .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
  557. content: "";
  558. float: right;
  559. display: inline-block;
  560. vertical-align: middle;
  561. width: 16px;
  562. /* stylelint-disable */
  563. font: normal 30px/1 dashicons;
  564. /* stylelint-enable */
  565. speak: none;
  566. -webkit-font-smoothing: antialiased;
  567. -moz-osx-font-smoothing: grayscale;
  568. }
  569. @media (min-width: 782px) {
  570. .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
  571. float: none;
  572. font-size: 21px;
  573. }
  574. }
  575. @media (min-width: 600px) {
  576. .components-checkbox-control__input[type=checkbox] {
  577. height: 20px;
  578. width: 20px;
  579. }
  580. }
  581. @media (prefers-reduced-motion: reduce) {
  582. .components-checkbox-control__input[type=checkbox] {
  583. transition-duration: 0s;
  584. transition-delay: 0s;
  585. }
  586. }
  587. .components-checkbox-control__input[type=checkbox]:focus {
  588. box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
  589. outline: 2px solid transparent;
  590. }
  591. .components-checkbox-control__input[type=checkbox]:checked, .components-checkbox-control__input[type=checkbox]:indeterminate {
  592. background: var(--wp-admin-theme-color);
  593. border-color: var(--wp-admin-theme-color);
  594. }
  595. .components-checkbox-control__input[type=checkbox]:checked::-ms-check, .components-checkbox-control__input[type=checkbox]:indeterminate::-ms-check {
  596. opacity: 0;
  597. }
  598. .components-checkbox-control__input[type=checkbox]:checked::before {
  599. content: none;
  600. }
  601. .components-checkbox-control__input-container {
  602. position: relative;
  603. display: inline-block;
  604. margin-left: 12px;
  605. vertical-align: middle;
  606. width: 24px;
  607. height: 24px;
  608. }
  609. @media (min-width: 600px) {
  610. .components-checkbox-control__input-container {
  611. width: 20px;
  612. height: 20px;
  613. }
  614. }
  615. svg.components-checkbox-control__checked,
  616. svg.components-checkbox-control__indeterminate {
  617. fill: #fff;
  618. cursor: pointer;
  619. position: absolute;
  620. right: 0;
  621. top: 0;
  622. width: 24px;
  623. height: 24px;
  624. -webkit-user-select: none;
  625. user-select: none;
  626. pointer-events: none;
  627. }
  628. @media (min-width: 600px) {
  629. svg.components-checkbox-control__checked,
  630. svg.components-checkbox-control__indeterminate {
  631. right: -2px;
  632. top: -2px;
  633. }
  634. }
  635. .components-circular-option-picker {
  636. display: inline-block;
  637. width: 100%;
  638. min-width: 188px;
  639. }
  640. .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {
  641. display: flex;
  642. justify-content: flex-end;
  643. margin-top: 12px;
  644. }
  645. .components-circular-option-picker .components-circular-option-picker__swatches {
  646. display: flex;
  647. flex-wrap: wrap;
  648. gap: 12px;
  649. }
  650. .components-circular-option-picker__option-wrapper {
  651. display: inline-block;
  652. height: 28px;
  653. width: 28px;
  654. vertical-align: top;
  655. transform: scale(1);
  656. transition: 100ms transform ease;
  657. }
  658. @media (prefers-reduced-motion: reduce) {
  659. .components-circular-option-picker__option-wrapper {
  660. transition-duration: 0s;
  661. transition-delay: 0s;
  662. }
  663. }
  664. .components-circular-option-picker__option-wrapper:hover {
  665. transform: scale(1.2);
  666. }
  667. .components-circular-option-picker__option-wrapper > div {
  668. height: 100%;
  669. width: 100%;
  670. }
  671. .components-circular-option-picker__option-wrapper::before {
  672. content: "";
  673. position: absolute;
  674. top: 1px;
  675. right: 1px;
  676. bottom: 1px;
  677. left: 1px;
  678. border-radius: 50%;
  679. z-index: -1;
  680. /* stylelint-disable-next-line function-url-quotes */
  681. background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E');
  682. }
  683. .components-circular-option-picker__option {
  684. display: inline-block;
  685. vertical-align: top;
  686. height: 100%;
  687. width: 100%;
  688. border: none;
  689. border-radius: 50%;
  690. background: transparent;
  691. box-shadow: inset 0 0 0 14px;
  692. transition: 100ms box-shadow ease;
  693. cursor: pointer;
  694. }
  695. @media (prefers-reduced-motion: reduce) {
  696. .components-circular-option-picker__option {
  697. transition-duration: 0s;
  698. transition-delay: 0s;
  699. }
  700. }
  701. .components-circular-option-picker__option:hover {
  702. box-shadow: inset 0 0 0 14px !important;
  703. }
  704. .components-circular-option-picker__option.is-pressed {
  705. box-shadow: inset 0 0 0 4px;
  706. position: relative;
  707. z-index: 1;
  708. overflow: visible;
  709. }
  710. .components-circular-option-picker__option.is-pressed + svg {
  711. position: absolute;
  712. right: 2px;
  713. top: 2px;
  714. border-radius: 50%;
  715. z-index: 2;
  716. pointer-events: none;
  717. }
  718. .components-circular-option-picker__option::after {
  719. content: "";
  720. position: absolute;
  721. top: -1px;
  722. right: -1px;
  723. bottom: -1px;
  724. left: -1px;
  725. border-radius: 50%;
  726. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  727. border: 1px solid transparent;
  728. box-sizing: inherit;
  729. }
  730. .components-circular-option-picker__option:focus::after {
  731. content: "";
  732. border: 2px solid #757575;
  733. width: 32px;
  734. height: 32px;
  735. position: absolute;
  736. top: -2px;
  737. right: -2px;
  738. border-radius: 50%;
  739. box-shadow: inset 0 0 0 2px #fff;
  740. }
  741. .components-circular-option-picker__option.components-button:focus {
  742. background-color: transparent;
  743. box-shadow: inset 0 0 0 14px;
  744. outline: none;
  745. }
  746. .components-circular-option-picker__button-action .components-circular-option-picker__option {
  747. color: #fff;
  748. background: #fff;
  749. }
  750. .components-circular-option-picker__dropdown-link-action {
  751. margin-left: 16px;
  752. }
  753. .components-circular-option-picker__dropdown-link-action .components-button {
  754. line-height: 22px;
  755. }
  756. .components-palette-edit__popover-gradient-picker {
  757. width: 280px;
  758. padding: 8px;
  759. }
  760. .components-dropdown-menu__menu .components-palette-edit__menu-button {
  761. width: 100%;
  762. }
  763. .component-color-indicator {
  764. width: 20px;
  765. height: 20px;
  766. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  767. border-radius: 50%;
  768. display: inline-block;
  769. padding: 0;
  770. }
  771. .components-combobox-control {
  772. width: 100%;
  773. }
  774. input.components-combobox-control__input[type=text] {
  775. width: 100%;
  776. border: none;
  777. box-shadow: none;
  778. font-family: inherit;
  779. font-size: 16px;
  780. padding: 2px;
  781. margin: 0;
  782. line-height: inherit;
  783. min-height: auto;
  784. }
  785. @media (min-width: 600px) {
  786. input.components-combobox-control__input[type=text] {
  787. font-size: 13px;
  788. }
  789. }
  790. input.components-combobox-control__input[type=text]:focus {
  791. outline: none;
  792. box-shadow: none;
  793. }
  794. .components-combobox-control__suggestions-container {
  795. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  796. padding: 6px 8px;
  797. box-shadow: 0 0 0 transparent;
  798. transition: box-shadow 0.1s linear;
  799. border-radius: 2px;
  800. border: 1px solid #757575;
  801. /* Fonts smaller than 16px causes mobile safari to zoom. */
  802. font-size: 16px;
  803. /* Override core line-height. To be reviewed. */
  804. line-height: normal;
  805. display: flex;
  806. flex-wrap: wrap;
  807. align-items: flex-start;
  808. width: 100%;
  809. padding: 0;
  810. }
  811. @media (prefers-reduced-motion: reduce) {
  812. .components-combobox-control__suggestions-container {
  813. transition-duration: 0s;
  814. transition-delay: 0s;
  815. }
  816. }
  817. @media (min-width: 600px) {
  818. .components-combobox-control__suggestions-container {
  819. font-size: 13px;
  820. /* Override core line-height. To be reviewed. */
  821. line-height: normal;
  822. }
  823. }
  824. .components-combobox-control__suggestions-container:focus {
  825. border-color: var(--wp-admin-theme-color);
  826. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  827. outline: 2px solid transparent;
  828. }
  829. .components-combobox-control__suggestions-container::-webkit-input-placeholder {
  830. color: rgba(30, 30, 30, 0.62);
  831. }
  832. .components-combobox-control__suggestions-container::-moz-placeholder {
  833. opacity: 1;
  834. color: rgba(30, 30, 30, 0.62);
  835. }
  836. .components-combobox-control__suggestions-container:-ms-input-placeholder {
  837. color: rgba(30, 30, 30, 0.62);
  838. }
  839. .components-combobox-control__suggestions-container:focus-within {
  840. border-color: var(--wp-admin-theme-color);
  841. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  842. outline: 2px solid transparent;
  843. }
  844. .components-combobox-control__reset.components-button {
  845. display: flex;
  846. height: 16px;
  847. min-width: 16px;
  848. padding: 0;
  849. }
  850. .components-color-list-picker,
  851. .components-color-list-picker__swatch-button {
  852. width: 100%;
  853. }
  854. .components-color-list-picker__color-picker {
  855. margin: 8px 0;
  856. }
  857. .components-color-list-picker__swatch-button {
  858. padding: 6px;
  859. }
  860. .components-color-list-picker__swatch-color {
  861. margin: 2px;
  862. }
  863. .components-color-palette__custom-color {
  864. position: relative;
  865. border: none;
  866. background: none;
  867. border-radius: 2px;
  868. height: 64px;
  869. padding: 12px;
  870. font-family: inherit;
  871. width: 100%;
  872. background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
  873. background-position: 0 0, 25px 25px;
  874. background-size: calc(2 * 25px) calc(2 * 25px);
  875. box-sizing: border-box;
  876. color: #fff;
  877. cursor: pointer;
  878. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  879. outline: 1px solid transparent;
  880. }
  881. .components-color-palette__custom-color:focus {
  882. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  883. outline-width: 2px;
  884. }
  885. .components-color-palette__custom-color-name {
  886. text-align: right;
  887. }
  888. .components-color-palette__custom-color-value {
  889. margin-right: 16px;
  890. text-transform: uppercase;
  891. }
  892. .components-custom-gradient-picker:not(.is-next-has-no-margin) {
  893. margin-top: 12px;
  894. margin-bottom: 24px;
  895. }
  896. .components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
  897. opacity: 0.4;
  898. }
  899. .components-custom-gradient-picker__gradient-bar {
  900. border-radius: 2px;
  901. width: 100%;
  902. height: 48px;
  903. }
  904. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container {
  905. position: relative;
  906. width: calc(100% - 48px);
  907. margin-right: auto;
  908. margin-left: auto;
  909. }
  910. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown {
  911. position: absolute;
  912. height: 16px;
  913. width: 16px;
  914. top: 16px;
  915. display: flex;
  916. }
  917. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown {
  918. position: relative;
  919. height: inherit;
  920. width: inherit;
  921. min-width: 16px;
  922. border-radius: 50%;
  923. background: #fff;
  924. padding: 2px;
  925. color: #1e1e1e;
  926. }
  927. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg {
  928. height: 100%;
  929. width: 100%;
  930. }
  931. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {
  932. height: inherit;
  933. width: inherit;
  934. border-radius: 50%;
  935. padding: 0;
  936. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
  937. outline: 2px solid transparent;
  938. }
  939. .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
  940. box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
  941. outline: 1.5px solid transparent;
  942. }
  943. .components-custom-gradient-picker__remove-control-point-wrapper {
  944. padding-bottom: 8px;
  945. }
  946. .components-custom-gradient-picker__inserter {
  947. direction: ltr;
  948. }
  949. .components-custom-gradient-picker__liner-gradient-indicator {
  950. display: inline-block;
  951. flex: 0 auto;
  952. width: 20px;
  953. height: 20px;
  954. }
  955. .components-custom-gradient-picker .components-custom-gradient-picker__toolbar {
  956. border: none;
  957. }
  958. .components-custom-gradient-picker .components-custom-gradient-picker__toolbar > div + div {
  959. margin-right: 1px;
  960. }
  961. .components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed > svg {
  962. background: #fff;
  963. border: 1px solid #949494;
  964. border-radius: 2px;
  965. }
  966. .components-custom-select-control {
  967. position: relative;
  968. font-size: 13px;
  969. }
  970. .components-custom-select-control__button {
  971. position: relative;
  972. text-align: right;
  973. outline: 0;
  974. }
  975. .components-custom-select-control__menu {
  976. border: 1px solid #1e1e1e;
  977. background-color: #fff;
  978. border-radius: 2px;
  979. outline: none;
  980. transition: none;
  981. max-height: 400px;
  982. min-width: 100%;
  983. overflow: auto;
  984. padding: 0;
  985. position: absolute;
  986. z-index: 1000000;
  987. }
  988. .components-custom-select-control__menu[aria-hidden=true] {
  989. display: none;
  990. }
  991. .components-custom-select-control__item {
  992. align-items: center;
  993. display: grid;
  994. grid-template-columns: auto auto;
  995. list-style-type: none;
  996. padding: 8px 16px;
  997. cursor: default;
  998. line-height: 28px;
  999. }
  1000. .components-custom-select-control__item:not(.is-next-36px-default-size) {
  1001. padding: 8px;
  1002. }
  1003. .components-custom-select-control__item.has-hint {
  1004. grid-template-columns: auto auto 30px;
  1005. }
  1006. .components-custom-select-control__item.is-highlighted {
  1007. background: #ddd;
  1008. }
  1009. .components-custom-select-control__item .components-custom-select-control__item-hint {
  1010. color: #757575;
  1011. text-align: left;
  1012. padding-left: 4px;
  1013. }
  1014. .components-custom-select-control__item .components-custom-select-control__item-icon {
  1015. margin-right: auto;
  1016. }
  1017. .components-custom-select-control__item:last-child {
  1018. margin-bottom: 0;
  1019. }
  1020. .block-editor-dimension-control .components-base-control__field {
  1021. display: flex;
  1022. align-items: center;
  1023. }
  1024. .block-editor-dimension-control .components-base-control__label {
  1025. display: flex;
  1026. align-items: center;
  1027. margin-left: 1em;
  1028. margin-bottom: 0;
  1029. }
  1030. .block-editor-dimension-control .components-base-control__label .dashicon {
  1031. margin-left: 0.5em;
  1032. }
  1033. .block-editor-dimension-control.is-manual .components-base-control__label {
  1034. width: 10em;
  1035. }
  1036. body.is-dragging-components-draggable {
  1037. cursor: move;
  1038. /* Fallback for IE/Edge < 14 */
  1039. cursor: grabbing !important;
  1040. }
  1041. .components-draggable__invisible-drag-image {
  1042. position: fixed;
  1043. right: -1000px;
  1044. height: 50px;
  1045. width: 50px;
  1046. }
  1047. .components-draggable__clone {
  1048. position: fixed;
  1049. padding: 0;
  1050. background: transparent;
  1051. pointer-events: none;
  1052. z-index: 1000000000;
  1053. }
  1054. .components-drop-zone {
  1055. position: absolute;
  1056. top: 0;
  1057. left: 0;
  1058. bottom: 0;
  1059. right: 0;
  1060. z-index: 40;
  1061. visibility: hidden;
  1062. opacity: 0;
  1063. border-radius: 2px;
  1064. }
  1065. .components-drop-zone.is-active {
  1066. opacity: 1;
  1067. visibility: visible;
  1068. }
  1069. .components-drop-zone__content {
  1070. position: absolute;
  1071. top: 0;
  1072. bottom: 0;
  1073. right: 0;
  1074. left: 0;
  1075. height: 100%;
  1076. width: 100%;
  1077. display: flex;
  1078. background-color: var(--wp-admin-theme-color);
  1079. align-items: center;
  1080. justify-content: center;
  1081. z-index: 50;
  1082. text-align: center;
  1083. color: #fff;
  1084. }
  1085. .components-drop-zone__content-icon,
  1086. .components-drop-zone__content-text {
  1087. display: block;
  1088. }
  1089. .components-drop-zone__content-icon {
  1090. margin: 0 auto;
  1091. line-height: 0;
  1092. fill: currentColor;
  1093. pointer-events: none;
  1094. }
  1095. .components-drop-zone__content-text {
  1096. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1097. font-size: 13px;
  1098. }
  1099. .components-dropdown {
  1100. display: inline-block;
  1101. }
  1102. .components-dropdown__content .components-popover__content {
  1103. padding: 8px;
  1104. }
  1105. .components-dropdown__content [role=menuitem] {
  1106. white-space: nowrap;
  1107. }
  1108. .components-dropdown-menu__menu {
  1109. width: 100%;
  1110. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1111. font-size: 13px;
  1112. line-height: 1.4;
  1113. }
  1114. .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
  1115. .components-dropdown-menu__menu .components-menu-item {
  1116. width: 100%;
  1117. padding: 6px;
  1118. outline: none;
  1119. cursor: pointer;
  1120. white-space: nowrap;
  1121. }
  1122. .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
  1123. .components-dropdown-menu__menu .components-menu-item.has-separator {
  1124. margin-top: 6px;
  1125. position: relative;
  1126. overflow: visible;
  1127. }
  1128. .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before,
  1129. .components-dropdown-menu__menu .components-menu-item.has-separator::before {
  1130. display: block;
  1131. content: "";
  1132. box-sizing: content-box;
  1133. background-color: #ddd;
  1134. position: absolute;
  1135. top: -3px;
  1136. right: 0;
  1137. left: 0;
  1138. height: 1px;
  1139. }
  1140. .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,
  1141. .components-dropdown-menu__menu .components-menu-item.is-active svg {
  1142. color: #fff;
  1143. background: #1e1e1e;
  1144. box-shadow: 0 0 0 1px #1e1e1e;
  1145. border-radius: 1px;
  1146. }
  1147. .components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
  1148. .components-dropdown-menu__menu .components-menu-item > svg {
  1149. border-radius: 2px;
  1150. width: 24px;
  1151. height: 24px;
  1152. }
  1153. .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only,
  1154. .components-dropdown-menu__menu .components-menu-item.is-icon-only {
  1155. width: auto;
  1156. }
  1157. .components-dropdown-menu__menu .components-menu-item__button,
  1158. .components-dropdown-menu__menu .components-menu-item__button.components-button {
  1159. min-height: 36px;
  1160. height: auto;
  1161. text-align: right;
  1162. padding-right: 8px;
  1163. padding-left: 8px;
  1164. }
  1165. .components-dropdown-menu__menu .components-menu-group {
  1166. padding: 8px;
  1167. margin-top: 0;
  1168. margin-bottom: 0;
  1169. margin-right: -8px;
  1170. margin-left: -8px;
  1171. }
  1172. .components-dropdown-menu__menu .components-menu-group:first-child {
  1173. margin-top: -8px;
  1174. }
  1175. .components-dropdown-menu__menu .components-menu-group:last-child {
  1176. margin-bottom: -8px;
  1177. }
  1178. .components-dropdown-menu__menu .components-menu-group + .components-menu-group {
  1179. margin-top: 0;
  1180. border-top: 1px solid #ccc;
  1181. padding: 8px;
  1182. }
  1183. .is-alternate .components-dropdown-menu__menu .components-menu-group + .components-menu-group {
  1184. border-color: #1e1e1e;
  1185. }
  1186. .components-duotone-picker__color-indicator::before {
  1187. background: transparent;
  1188. }
  1189. .components-duotone-picker__color-indicator > .components-button {
  1190. background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
  1191. color: transparent;
  1192. }
  1193. .components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) {
  1194. background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
  1195. color: transparent;
  1196. }
  1197. .components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active {
  1198. color: transparent;
  1199. }
  1200. .components-font-size-picker__header__hint {
  1201. margin-right: 4px;
  1202. color: #757575;
  1203. }
  1204. .components-font-size-picker__header .components-base-control__label {
  1205. margin-bottom: 0;
  1206. }
  1207. .components-font-size-picker__header .components-button.is-small.has-icon:not(.has-text) {
  1208. min-width: 24px;
  1209. padding: 0;
  1210. }
  1211. .components-font-size-picker__controls {
  1212. max-width: 248px;
  1213. align-items: center;
  1214. margin-top: 8px;
  1215. }
  1216. .components-font-size-picker__controls:not(.is-next-has-no-margin-bottom) {
  1217. margin-bottom: 24px;
  1218. }
  1219. .components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label {
  1220. font-weight: 300;
  1221. padding-bottom: 0 !important;
  1222. margin-bottom: 8px !important;
  1223. }
  1224. .components-font-size-picker__controls .components-font-size-picker__number {
  1225. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1226. padding: 6px 8px;
  1227. box-shadow: 0 0 0 transparent;
  1228. transition: box-shadow 0.1s linear;
  1229. border-radius: 2px;
  1230. border: 1px solid #757575;
  1231. /* Fonts smaller than 16px causes mobile safari to zoom. */
  1232. font-size: 16px;
  1233. /* Override core line-height. To be reviewed. */
  1234. line-height: normal;
  1235. display: inline-block;
  1236. font-weight: 500;
  1237. height: 30px;
  1238. margin-bottom: 0;
  1239. margin-right: 0;
  1240. margin-left: 8px;
  1241. margin-top: 8px;
  1242. width: 54px;
  1243. }
  1244. @media (prefers-reduced-motion: reduce) {
  1245. .components-font-size-picker__controls .components-font-size-picker__number {
  1246. transition-duration: 0s;
  1247. transition-delay: 0s;
  1248. }
  1249. }
  1250. @media (min-width: 600px) {
  1251. .components-font-size-picker__controls .components-font-size-picker__number {
  1252. font-size: 13px;
  1253. /* Override core line-height. To be reviewed. */
  1254. line-height: normal;
  1255. }
  1256. }
  1257. .components-font-size-picker__controls .components-font-size-picker__number:focus {
  1258. border-color: var(--wp-admin-theme-color);
  1259. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  1260. outline: 2px solid transparent;
  1261. }
  1262. .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
  1263. color: rgba(30, 30, 30, 0.62);
  1264. }
  1265. .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
  1266. opacity: 1;
  1267. color: rgba(30, 30, 30, 0.62);
  1268. }
  1269. .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
  1270. color: rgba(30, 30, 30, 0.62);
  1271. }
  1272. .components-font-size-picker__controls .components-font-size-picker__number[value=""] + .components-button {
  1273. cursor: default;
  1274. opacity: 0.3;
  1275. pointer-events: none;
  1276. }
  1277. .components-font-size-picker__controls .components-font-size-picker__number-container {
  1278. display: flex;
  1279. flex-direction: column;
  1280. }
  1281. .components-font-size-picker__controls .components-color-palette__clear {
  1282. height: 30px;
  1283. }
  1284. .components-font-size-picker__custom-input .components-range-control__slider + .dashicon {
  1285. width: 30px;
  1286. height: 30px;
  1287. }
  1288. .components-font-size-picker {
  1289. border: 0;
  1290. padding: 0;
  1291. margin: 0;
  1292. }
  1293. .components-form-toggle {
  1294. position: relative;
  1295. display: inline-block;
  1296. }
  1297. .components-form-toggle .components-form-toggle__track {
  1298. content: "";
  1299. display: inline-block;
  1300. box-sizing: border-box;
  1301. vertical-align: top;
  1302. background-color: #fff;
  1303. border: 1px solid #1e1e1e;
  1304. width: 36px;
  1305. height: 18px;
  1306. border-radius: 9px;
  1307. transition: 0.2s background ease;
  1308. }
  1309. @media (prefers-reduced-motion: reduce) {
  1310. .components-form-toggle .components-form-toggle__track {
  1311. transition-duration: 0s;
  1312. transition-delay: 0s;
  1313. }
  1314. }
  1315. .components-form-toggle .components-form-toggle__thumb {
  1316. display: block;
  1317. position: absolute;
  1318. box-sizing: border-box;
  1319. top: 3px;
  1320. right: 3px;
  1321. width: 12px;
  1322. height: 12px;
  1323. border-radius: 50%;
  1324. transition: 0.1s transform ease;
  1325. background-color: #1e1e1e;
  1326. border: 5px solid #1e1e1e;
  1327. }
  1328. @media (prefers-reduced-motion: reduce) {
  1329. .components-form-toggle .components-form-toggle__thumb {
  1330. transition-duration: 0s;
  1331. transition-delay: 0s;
  1332. }
  1333. }
  1334. .components-form-toggle.is-checked .components-form-toggle__track {
  1335. background-color: var(--wp-admin-theme-color);
  1336. border: 1px solid var(--wp-admin-theme-color);
  1337. border: 9px solid transparent;
  1338. }
  1339. .components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
  1340. box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
  1341. outline: 2px solid transparent;
  1342. outline-offset: 2px;
  1343. }
  1344. .components-form-toggle.is-checked .components-form-toggle__thumb {
  1345. background-color: #fff;
  1346. border-width: 0;
  1347. transform: translateX(-18px);
  1348. }
  1349. .components-form-toggle.is-disabled, .components-disabled .components-form-toggle {
  1350. opacity: 0.3;
  1351. }
  1352. .components-form-toggle input.components-form-toggle__input[type=checkbox] {
  1353. position: absolute;
  1354. top: 0;
  1355. right: 0;
  1356. width: 100%;
  1357. height: 100%;
  1358. opacity: 0;
  1359. margin: 0;
  1360. padding: 0;
  1361. z-index: 1;
  1362. border: none;
  1363. }
  1364. .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {
  1365. background: none;
  1366. }
  1367. .components-form-toggle input.components-form-toggle__input[type=checkbox]::before {
  1368. content: "";
  1369. }
  1370. .components-form-token-field__input-container {
  1371. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1372. padding: 6px 8px;
  1373. box-shadow: 0 0 0 transparent;
  1374. transition: box-shadow 0.1s linear;
  1375. border-radius: 2px;
  1376. border: 1px solid #757575;
  1377. /* Fonts smaller than 16px causes mobile safari to zoom. */
  1378. font-size: 16px;
  1379. /* Override core line-height. To be reviewed. */
  1380. line-height: normal;
  1381. width: 100%;
  1382. margin: 0 0 8px 0;
  1383. padding: 0;
  1384. cursor: text;
  1385. }
  1386. @media (prefers-reduced-motion: reduce) {
  1387. .components-form-token-field__input-container {
  1388. transition-duration: 0s;
  1389. transition-delay: 0s;
  1390. }
  1391. }
  1392. @media (min-width: 600px) {
  1393. .components-form-token-field__input-container {
  1394. font-size: 13px;
  1395. /* Override core line-height. To be reviewed. */
  1396. line-height: normal;
  1397. }
  1398. }
  1399. .components-form-token-field__input-container:focus {
  1400. border-color: var(--wp-admin-theme-color);
  1401. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  1402. outline: 2px solid transparent;
  1403. }
  1404. .components-form-token-field__input-container::-webkit-input-placeholder {
  1405. color: rgba(30, 30, 30, 0.62);
  1406. }
  1407. .components-form-token-field__input-container::-moz-placeholder {
  1408. opacity: 1;
  1409. color: rgba(30, 30, 30, 0.62);
  1410. }
  1411. .components-form-token-field__input-container:-ms-input-placeholder {
  1412. color: rgba(30, 30, 30, 0.62);
  1413. }
  1414. .components-form-token-field__input-container.is-disabled {
  1415. background: #ddd;
  1416. border-color: #ddd;
  1417. }
  1418. .components-form-token-field__input-container.is-active {
  1419. border-color: var(--wp-admin-theme-color);
  1420. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  1421. outline: 2px solid transparent;
  1422. }
  1423. .components-form-token-field__input-container input[type=text].components-form-token-field__input {
  1424. display: inline-block;
  1425. flex: 1;
  1426. font-family: inherit;
  1427. font-size: 16px;
  1428. width: 100%;
  1429. max-width: 100%;
  1430. margin-right: 4px;
  1431. padding: 0;
  1432. min-height: 24px;
  1433. min-width: 50px;
  1434. background: inherit;
  1435. border: 0;
  1436. color: #1e1e1e;
  1437. box-shadow: none;
  1438. }
  1439. @media (min-width: 600px) {
  1440. .components-form-token-field__input-container input[type=text].components-form-token-field__input {
  1441. font-size: 13px;
  1442. }
  1443. }
  1444. .components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input {
  1445. outline: none;
  1446. box-shadow: none;
  1447. }
  1448. .components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input {
  1449. width: auto;
  1450. }
  1451. .components-form-token-field__help {
  1452. font-size: 12px;
  1453. font-style: normal;
  1454. color: #757575;
  1455. }
  1456. .components-form-token-field__token {
  1457. font-size: 13px;
  1458. display: flex;
  1459. color: #1e1e1e;
  1460. max-width: 100%;
  1461. }
  1462. .components-form-token-field__token.is-success .components-form-token-field__token-text,
  1463. .components-form-token-field__token.is-success .components-form-token-field__remove-token {
  1464. background: #4ab866;
  1465. }
  1466. .components-form-token-field__token.is-error .components-form-token-field__token-text,
  1467. .components-form-token-field__token.is-error .components-form-token-field__remove-token {
  1468. background: #cc1818;
  1469. }
  1470. .components-form-token-field__token.is-validating .components-form-token-field__token-text,
  1471. .components-form-token-field__token.is-validating .components-form-token-field__remove-token {
  1472. color: #757575;
  1473. }
  1474. .components-form-token-field__token.is-borderless {
  1475. position: relative;
  1476. padding: 0 0 0 24px;
  1477. }
  1478. .components-form-token-field__token.is-borderless .components-form-token-field__token-text {
  1479. background: transparent;
  1480. color: var(--wp-admin-theme-color);
  1481. }
  1482. .components-form-token-field__token.is-borderless .components-form-token-field__remove-token {
  1483. background: transparent;
  1484. color: #757575;
  1485. position: absolute;
  1486. top: 1px;
  1487. left: 0;
  1488. padding: 0;
  1489. }
  1490. .components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text {
  1491. color: #4ab866;
  1492. }
  1493. .components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text {
  1494. color: #cc1818;
  1495. border-radius: 0 4px 4px 0;
  1496. padding: 0 6px 0 4px;
  1497. }
  1498. .components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {
  1499. color: #1e1e1e;
  1500. }
  1501. .components-form-token-field__token.is-disabled .components-form-token-field__remove-token {
  1502. cursor: default;
  1503. }
  1504. .components-form-token-field__token-text,
  1505. .components-form-token-field__remove-token.components-button {
  1506. display: inline-block;
  1507. line-height: 24px;
  1508. height: auto;
  1509. background: #ddd;
  1510. min-width: unset;
  1511. transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
  1512. }
  1513. @media (prefers-reduced-motion: reduce) {
  1514. .components-form-token-field__token-text,
  1515. .components-form-token-field__remove-token.components-button {
  1516. transition-duration: 0s;
  1517. transition-delay: 0s;
  1518. animation-duration: 1ms;
  1519. animation-delay: 0s;
  1520. }
  1521. }
  1522. .components-form-token-field__token-text {
  1523. border-radius: 0 2px 2px 0;
  1524. padding: 0 8px 0 0;
  1525. white-space: nowrap;
  1526. overflow: hidden;
  1527. text-overflow: ellipsis;
  1528. }
  1529. .components-form-token-field__remove-token.components-button {
  1530. cursor: pointer;
  1531. border-radius: 2px 0 0 2px;
  1532. padding: 0 2px;
  1533. color: #1e1e1e;
  1534. line-height: 10px;
  1535. overflow: initial;
  1536. }
  1537. .components-form-token-field__remove-token.components-button:hover {
  1538. color: #1e1e1e;
  1539. }
  1540. .components-form-token-field__suggestions-list {
  1541. flex: 1 0 100%;
  1542. min-width: 100%;
  1543. max-height: 9em;
  1544. overflow-y: auto;
  1545. transition: all 0.15s ease-in-out;
  1546. list-style: none;
  1547. border-top: 1px solid #757575;
  1548. margin: 0;
  1549. padding: 0;
  1550. }
  1551. @media (prefers-reduced-motion: reduce) {
  1552. .components-form-token-field__suggestions-list {
  1553. transition-duration: 0s;
  1554. transition-delay: 0s;
  1555. }
  1556. }
  1557. .components-form-token-field__suggestion {
  1558. color: #757575;
  1559. display: block;
  1560. font-size: 13px;
  1561. padding: 4px 8px;
  1562. margin: 0;
  1563. cursor: pointer;
  1564. }
  1565. .components-form-token-field__suggestion.is-selected {
  1566. background: var(--wp-admin-theme-color);
  1567. color: #fff;
  1568. }
  1569. .components-form-token-field__suggestion-match {
  1570. text-decoration: underline;
  1571. }
  1572. @media (min-width: 600px) {
  1573. .components-guide {
  1574. width: 600px;
  1575. }
  1576. }
  1577. .components-guide .components-modal__content {
  1578. padding: 0;
  1579. margin-top: 0;
  1580. border-radius: 2px;
  1581. }
  1582. .components-guide .components-modal__content::before {
  1583. content: none;
  1584. }
  1585. .components-guide .components-modal__header {
  1586. border-bottom: none;
  1587. padding: 0;
  1588. position: sticky;
  1589. height: 60px;
  1590. }
  1591. .components-guide .components-modal__header .components-button {
  1592. align-self: flex-start;
  1593. margin: 8px 0 0 8px;
  1594. position: static;
  1595. }
  1596. .components-guide .components-modal__header .components-button:hover svg {
  1597. fill: #fff;
  1598. }
  1599. .components-guide__container {
  1600. display: flex;
  1601. flex-direction: column;
  1602. justify-content: space-between;
  1603. margin-top: -60px;
  1604. min-height: 100%;
  1605. }
  1606. .components-guide__page {
  1607. display: flex;
  1608. flex-direction: column;
  1609. justify-content: center;
  1610. position: relative;
  1611. }
  1612. @media (min-width: 600px) {
  1613. .components-guide__page {
  1614. min-height: 300px;
  1615. }
  1616. }
  1617. .components-guide__footer {
  1618. align-content: center;
  1619. display: flex;
  1620. height: 30px;
  1621. justify-content: center;
  1622. margin: 0 0 24px 0;
  1623. padding: 0 32px;
  1624. position: relative;
  1625. width: 100%;
  1626. }
  1627. .components-guide__page-control {
  1628. margin: 0;
  1629. text-align: center;
  1630. }
  1631. .components-guide__page-control li {
  1632. display: inline-block;
  1633. margin: 0;
  1634. }
  1635. .components-guide__page-control .components-button {
  1636. height: 30px;
  1637. min-width: 20px;
  1638. margin: -6px 0;
  1639. }
  1640. .components-modal__frame.components-guide {
  1641. border: none;
  1642. min-width: 312px;
  1643. height: 80vh;
  1644. max-height: 575px;
  1645. }
  1646. @media (max-width: 600px) {
  1647. .components-modal__frame.components-guide {
  1648. margin: auto;
  1649. max-width: calc(100vw - 16px * 2);
  1650. }
  1651. }
  1652. .components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {
  1653. height: 30px;
  1654. position: absolute;
  1655. }
  1656. .components-button.components-guide__back-button, .components-button.components-guide__forward-button {
  1657. font-size: 13px;
  1658. padding: 4px 2px;
  1659. }
  1660. .components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {
  1661. margin: 0;
  1662. }
  1663. .components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {
  1664. text-decoration: underline;
  1665. }
  1666. .components-button.components-guide__back-button {
  1667. right: 32px;
  1668. }
  1669. .components-button.components-guide__forward-button {
  1670. left: 32px;
  1671. color: #1386bf;
  1672. font-weight: bold;
  1673. }
  1674. .components-button.components-guide__finish-button {
  1675. left: 32px;
  1676. }
  1677. [role=region] {
  1678. position: relative;
  1679. }
  1680. .is-focusing-regions [role=region]:focus::after {
  1681. content: "";
  1682. position: absolute;
  1683. top: 0;
  1684. bottom: 0;
  1685. right: 0;
  1686. left: 0;
  1687. pointer-events: none;
  1688. outline: 4px solid transparent;
  1689. box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color);
  1690. }
  1691. @supports (outline-offset: 1px) {
  1692. .is-focusing-regions [role=region]:focus::after {
  1693. content: none;
  1694. }
  1695. .is-focusing-regions [role=region]:focus {
  1696. outline-style: solid;
  1697. outline-color: var(--wp-admin-theme-color);
  1698. outline-width: 4px;
  1699. outline-offset: -4px;
  1700. }
  1701. }
  1702. .components-menu-group + .components-menu-group {
  1703. margin-top: 8px;
  1704. padding-top: 8px;
  1705. border-top: 1px solid #1e1e1e;
  1706. }
  1707. .components-menu-group + .components-menu-group.has-hidden-separator {
  1708. border-top: none;
  1709. margin-top: 0;
  1710. padding-top: 0;
  1711. }
  1712. .components-menu-group__label {
  1713. padding: 0 8px;
  1714. margin-top: 4px;
  1715. margin-bottom: 12px;
  1716. color: #757575;
  1717. text-transform: uppercase;
  1718. font-size: 11px;
  1719. font-weight: 500;
  1720. white-space: nowrap;
  1721. }
  1722. .components-menu-item__button,
  1723. .components-menu-item__button.components-button {
  1724. width: 100%;
  1725. }
  1726. .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
  1727. .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
  1728. .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
  1729. padding-left: 48px;
  1730. }
  1731. .components-menu-item__button .components-menu-items__item-icon,
  1732. .components-menu-item__button.components-button .components-menu-items__item-icon {
  1733. display: inline-block;
  1734. flex: 0 0 auto;
  1735. }
  1736. .components-menu-item__button .components-menu-items__item-icon.has-icon-right,
  1737. .components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right {
  1738. margin-left: -2px;
  1739. margin-right: 24px;
  1740. }
  1741. .components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right,
  1742. .components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right {
  1743. margin-right: 8px;
  1744. }
  1745. .components-menu-item__button .block-editor-block-icon,
  1746. .components-menu-item__button.components-button .block-editor-block-icon {
  1747. margin-right: -2px;
  1748. margin-left: 8px;
  1749. }
  1750. .components-menu-item__button.is-primary,
  1751. .components-menu-item__button.components-button.is-primary {
  1752. justify-content: center;
  1753. }
  1754. .components-menu-item__button.is-primary .components-menu-item__item,
  1755. .components-menu-item__button.components-button.is-primary .components-menu-item__item {
  1756. margin-left: 0;
  1757. }
  1758. .components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary,
  1759. .components-menu-item__button.components-button:disabled.is-tertiary,
  1760. .components-menu-item__button.components-button[aria-disabled=true].is-tertiary {
  1761. background: none;
  1762. color: var(--wp-admin-theme-color-darker-10);
  1763. opacity: 0.3;
  1764. }
  1765. .components-menu-item__info-wrapper {
  1766. display: flex;
  1767. flex-direction: column;
  1768. margin-left: auto;
  1769. }
  1770. .components-menu-item__info {
  1771. margin-top: 4px;
  1772. font-size: 12px;
  1773. color: #757575;
  1774. white-space: normal;
  1775. }
  1776. .components-menu-item__item {
  1777. white-space: nowrap;
  1778. min-width: 160px;
  1779. margin-left: auto;
  1780. display: inline-flex;
  1781. align-items: center;
  1782. }
  1783. .components-menu-item__shortcut {
  1784. align-self: center;
  1785. margin-left: 0;
  1786. margin-right: auto;
  1787. padding-right: 24px;
  1788. color: currentColor;
  1789. display: none;
  1790. }
  1791. @media (min-width: 480px) {
  1792. .components-menu-item__shortcut {
  1793. display: inline;
  1794. }
  1795. }
  1796. .components-menu-items-choice svg,
  1797. .components-menu-items-choice.components-button svg {
  1798. margin-left: 12px;
  1799. }
  1800. .components-menu-items-choice.has-icon,
  1801. .components-menu-items-choice.components-button.has-icon {
  1802. padding-right: 12px;
  1803. }
  1804. .components-modal__screen-overlay {
  1805. position: fixed;
  1806. top: 0;
  1807. left: 0;
  1808. bottom: 0;
  1809. right: 0;
  1810. background-color: rgba(0, 0, 0, 0.35);
  1811. z-index: 100000;
  1812. display: flex;
  1813. animation: edit-post__fade-in-animation 0.2s ease-out 0s;
  1814. animation-fill-mode: forwards;
  1815. }
  1816. @media (prefers-reduced-motion: reduce) {
  1817. .components-modal__screen-overlay {
  1818. animation-duration: 1ms;
  1819. animation-delay: 0s;
  1820. }
  1821. }
  1822. .components-modal__frame {
  1823. margin: 0;
  1824. width: 100%;
  1825. background: #fff;
  1826. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
  1827. border-radius: 2px;
  1828. overflow: hidden;
  1829. display: flex;
  1830. }
  1831. @media (min-width: 600px) {
  1832. .components-modal__frame {
  1833. margin: auto;
  1834. width: auto;
  1835. min-width: 360px;
  1836. max-width: calc(100% - 32px);
  1837. max-height: calc(100% - 120px);
  1838. animation: components-modal__appear-animation 0.1s ease-out;
  1839. animation-fill-mode: forwards;
  1840. }
  1841. }
  1842. @media (min-width: 600px) and (prefers-reduced-motion: reduce) {
  1843. .components-modal__frame {
  1844. animation-duration: 1ms;
  1845. animation-delay: 0s;
  1846. }
  1847. }
  1848. @media (min-width: 600px) {
  1849. .components-modal__frame.is-full-screen {
  1850. width: 90vw;
  1851. min-height: 90vh;
  1852. }
  1853. }
  1854. @media (min-width: 960px) {
  1855. .components-modal__frame {
  1856. max-height: 70%;
  1857. }
  1858. }
  1859. @keyframes components-modal__appear-animation {
  1860. from {
  1861. transform: translateY(32px);
  1862. }
  1863. to {
  1864. transform: translateY(0);
  1865. }
  1866. }
  1867. .components-modal__header {
  1868. box-sizing: border-box;
  1869. border-bottom: 1px solid transparent;
  1870. padding: 0 32px;
  1871. display: flex;
  1872. flex-direction: row;
  1873. justify-content: space-between;
  1874. align-items: center;
  1875. height: 76px;
  1876. width: 100%;
  1877. z-index: 10;
  1878. position: absolute;
  1879. top: 0;
  1880. right: 0;
  1881. }
  1882. .components-modal__header .components-modal__header-heading {
  1883. font-size: 1.2rem;
  1884. font-weight: 600;
  1885. }
  1886. .components-modal__header h1 {
  1887. line-height: 1;
  1888. margin: 0;
  1889. }
  1890. .components-modal__header .components-button {
  1891. position: relative;
  1892. right: 8px;
  1893. }
  1894. .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {
  1895. border-bottom-color: #ddd;
  1896. }
  1897. .components-modal__header + p {
  1898. margin-top: 0;
  1899. }
  1900. .components-modal__header-heading-container {
  1901. align-items: center;
  1902. flex-grow: 1;
  1903. display: flex;
  1904. flex-direction: row;
  1905. justify-content: left;
  1906. }
  1907. .components-modal__header-icon-container {
  1908. display: inline-block;
  1909. }
  1910. .components-modal__header-icon-container svg {
  1911. max-width: 36px;
  1912. max-height: 36px;
  1913. padding: 8px;
  1914. }
  1915. .components-modal__content {
  1916. flex: 1;
  1917. margin-top: 76px;
  1918. padding: 0 32px 32px;
  1919. overflow: auto;
  1920. }
  1921. .components-modal__content.hide-header {
  1922. margin-top: 0;
  1923. padding-top: 24px;
  1924. }
  1925. .components-notice {
  1926. display: flex;
  1927. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1928. font-size: 13px;
  1929. background-color: #fff;
  1930. border-right: 4px solid var(--wp-admin-theme-color);
  1931. margin: 5px 15px 2px;
  1932. padding: 8px 12px;
  1933. align-items: center;
  1934. }
  1935. .components-notice.is-dismissible {
  1936. padding-left: 36px;
  1937. position: relative;
  1938. }
  1939. .components-notice.is-success {
  1940. border-right-color: #4ab866;
  1941. background-color: #eff9f1;
  1942. }
  1943. .components-notice.is-warning {
  1944. border-right-color: #f0b849;
  1945. background-color: #fef8ee;
  1946. }
  1947. .components-notice.is-error {
  1948. border-right-color: #cc1818;
  1949. background-color: #f4a2a2;
  1950. }
  1951. .components-notice__content {
  1952. flex-grow: 1;
  1953. margin: 4px 0 4px 25px;
  1954. }
  1955. .components-notice__actions {
  1956. display: flex;
  1957. flex-wrap: wrap;
  1958. }
  1959. .components-notice__action.components-button {
  1960. margin-left: 8px;
  1961. }
  1962. .components-notice__action.components-button, .components-notice__action.components-button.is-link {
  1963. margin-right: 12px;
  1964. }
  1965. .components-notice__action.components-button.is-secondary {
  1966. vertical-align: initial;
  1967. }
  1968. .components-notice__dismiss {
  1969. color: #757575;
  1970. align-self: flex-start;
  1971. flex-shrink: 0;
  1972. }
  1973. .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {
  1974. color: #1e1e1e;
  1975. background-color: transparent;
  1976. }
  1977. .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
  1978. box-shadow: none;
  1979. }
  1980. .components-notice-list {
  1981. max-width: 100vw;
  1982. box-sizing: border-box;
  1983. }
  1984. .components-notice-list .components-notice__content {
  1985. margin-top: 12px;
  1986. margin-bottom: 12px;
  1987. line-height: 2;
  1988. }
  1989. .components-notice-list .components-notice__action.components-button {
  1990. display: block;
  1991. margin-right: 0;
  1992. margin-top: 8px;
  1993. }
  1994. .components-panel {
  1995. background: #fff;
  1996. border: 1px solid #e0e0e0;
  1997. }
  1998. .components-panel > .components-panel__header:first-child,
  1999. .components-panel > .components-panel__body:first-child {
  2000. margin-top: -1px;
  2001. }
  2002. .components-panel > .components-panel__header:last-child,
  2003. .components-panel > .components-panel__body:last-child {
  2004. border-bottom-width: 0;
  2005. }
  2006. .components-panel + .components-panel {
  2007. margin-top: -1px;
  2008. }
  2009. .components-panel__body {
  2010. border-top: 1px solid #e0e0e0;
  2011. border-bottom: 1px solid #e0e0e0;
  2012. }
  2013. .components-panel__body h3 {
  2014. margin: 0 0 0.5em;
  2015. }
  2016. .components-panel__body.is-opened {
  2017. padding: 16px;
  2018. }
  2019. .components-panel__header {
  2020. display: flex;
  2021. justify-content: space-between;
  2022. align-items: center;
  2023. padding: 0 16px;
  2024. border-bottom: 1px solid #ddd;
  2025. box-sizing: content-box;
  2026. height: 47px;
  2027. }
  2028. .components-panel__header h2 {
  2029. margin: 0;
  2030. font-size: inherit;
  2031. color: inherit;
  2032. }
  2033. .components-panel__body + .components-panel__body,
  2034. .components-panel__body + .components-panel__header,
  2035. .components-panel__header + .components-panel__body,
  2036. .components-panel__header + .components-panel__header {
  2037. margin-top: -1px;
  2038. }
  2039. .components-panel__body > .components-panel__body-title {
  2040. display: block;
  2041. padding: 0;
  2042. font-size: inherit;
  2043. margin-top: 0;
  2044. margin-bottom: 0;
  2045. transition: 0.1s background ease-in-out;
  2046. }
  2047. @media (prefers-reduced-motion: reduce) {
  2048. .components-panel__body > .components-panel__body-title {
  2049. transition-duration: 0s;
  2050. transition-delay: 0s;
  2051. }
  2052. }
  2053. .components-panel__body.is-opened > .components-panel__body-title {
  2054. margin: -16px;
  2055. margin-bottom: 5px;
  2056. }
  2057. .components-panel__body > .components-panel__body-title:hover {
  2058. background: #f0f0f0;
  2059. border: none;
  2060. }
  2061. .components-panel__body-toggle.components-button {
  2062. position: relative;
  2063. padding: 16px 16px 16px 48px;
  2064. outline: none;
  2065. width: 100%;
  2066. font-weight: 500;
  2067. text-align: right;
  2068. color: #1e1e1e;
  2069. border: none;
  2070. box-shadow: none;
  2071. transition: 0.1s background ease-in-out;
  2072. height: auto;
  2073. }
  2074. @media (prefers-reduced-motion: reduce) {
  2075. .components-panel__body-toggle.components-button {
  2076. transition-duration: 0s;
  2077. transition-delay: 0s;
  2078. }
  2079. }
  2080. .components-panel__body-toggle.components-button:focus {
  2081. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2082. border-radius: 0;
  2083. }
  2084. .components-panel__body-toggle.components-button .components-panel__arrow {
  2085. position: absolute;
  2086. left: 16px;
  2087. top: 50%;
  2088. transform: translateY(-50%);
  2089. color: #1e1e1e;
  2090. fill: currentColor;
  2091. transition: 0.1s color ease-in-out;
  2092. }
  2093. @media (prefers-reduced-motion: reduce) {
  2094. .components-panel__body-toggle.components-button .components-panel__arrow {
  2095. transition-duration: 0s;
  2096. transition-delay: 0s;
  2097. }
  2098. }
  2099. body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
  2100. transform: scaleX(-1);
  2101. -ms-filter: fliph;
  2102. filter: FlipH;
  2103. margin-top: -10px;
  2104. }
  2105. .components-panel__icon {
  2106. color: #757575;
  2107. margin: -2px 6px -2px 0;
  2108. }
  2109. .components-panel__body-toggle-icon {
  2110. margin-left: -5px;
  2111. }
  2112. .components-panel__color-title {
  2113. float: right;
  2114. height: 19px;
  2115. }
  2116. .components-panel__row {
  2117. display: flex;
  2118. justify-content: space-between;
  2119. align-items: center;
  2120. margin-top: 8px;
  2121. min-height: 36px;
  2122. }
  2123. .components-panel__row select {
  2124. min-width: 0;
  2125. }
  2126. .components-panel__row label {
  2127. margin-left: 12px;
  2128. flex-shrink: 0;
  2129. max-width: 75%;
  2130. }
  2131. .components-panel__row:empty, .components-panel__row:first-of-type {
  2132. margin-top: 0;
  2133. }
  2134. .components-panel .circle-picker {
  2135. padding-bottom: 20px;
  2136. }
  2137. .components-placeholder.components-placeholder {
  2138. box-sizing: border-box;
  2139. position: relative;
  2140. padding: 1em;
  2141. min-height: 200px;
  2142. width: 100%;
  2143. text-align: right;
  2144. margin: 0;
  2145. color: #1e1e1e;
  2146. -moz-font-smoothing: subpixel-antialiased;
  2147. -webkit-font-smoothing: subpixel-antialiased;
  2148. border-radius: 2px;
  2149. background-color: #fff;
  2150. box-shadow: inset 0 0 0 1px #1e1e1e;
  2151. outline: 1px solid transparent;
  2152. }
  2153. @supports (position: sticky) {
  2154. .components-placeholder.components-placeholder {
  2155. display: flex;
  2156. flex-direction: column;
  2157. justify-content: center;
  2158. align-items: flex-start;
  2159. }
  2160. }
  2161. .components-placeholder__error,
  2162. .components-placeholder__instructions,
  2163. .components-placeholder__label,
  2164. .components-placeholder__fieldset {
  2165. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2166. font-size: 13px;
  2167. }
  2168. .components-placeholder__label {
  2169. display: flex;
  2170. font-weight: 600;
  2171. margin-bottom: 16px;
  2172. align-items: center;
  2173. }
  2174. .components-placeholder__label > svg,
  2175. .components-placeholder__label .dashicon,
  2176. .components-placeholder__label .block-editor-block-icon {
  2177. margin-left: 1ch;
  2178. fill: currentColor;
  2179. }
  2180. @media (forced-colors: active) {
  2181. .components-placeholder__label > svg,
  2182. .components-placeholder__label .dashicon,
  2183. .components-placeholder__label .block-editor-block-icon {
  2184. fill: CanvasText;
  2185. }
  2186. }
  2187. .components-placeholder__label:empty {
  2188. display: none;
  2189. }
  2190. .components-placeholder__fieldset,
  2191. .components-placeholder__fieldset form {
  2192. display: flex;
  2193. flex-direction: row;
  2194. width: 100%;
  2195. flex-wrap: wrap;
  2196. }
  2197. .components-placeholder__fieldset p,
  2198. .components-placeholder__fieldset form p {
  2199. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2200. font-size: 13px;
  2201. }
  2202. .components-placeholder__fieldset.components-placeholder__fieldset {
  2203. border: none;
  2204. padding: 0;
  2205. }
  2206. .components-placeholder__fieldset.components-placeholder__fieldset .components-placeholder__instructions {
  2207. padding: 0;
  2208. font-weight: normal;
  2209. font-size: 1em;
  2210. }
  2211. .components-placeholder__fieldset.is-column-layout,
  2212. .components-placeholder__fieldset.is-column-layout form {
  2213. flex-direction: column;
  2214. }
  2215. .components-placeholder__input[type=url] {
  2216. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2217. padding: 6px 8px;
  2218. box-shadow: 0 0 0 transparent;
  2219. transition: box-shadow 0.1s linear;
  2220. border-radius: 2px;
  2221. border: 1px solid #757575;
  2222. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2223. font-size: 16px;
  2224. /* Override core line-height. To be reviewed. */
  2225. line-height: normal;
  2226. margin: 0 0 0 8px;
  2227. flex: 1 1 auto;
  2228. }
  2229. @media (prefers-reduced-motion: reduce) {
  2230. .components-placeholder__input[type=url] {
  2231. transition-duration: 0s;
  2232. transition-delay: 0s;
  2233. }
  2234. }
  2235. @media (min-width: 600px) {
  2236. .components-placeholder__input[type=url] {
  2237. font-size: 13px;
  2238. /* Override core line-height. To be reviewed. */
  2239. line-height: normal;
  2240. }
  2241. }
  2242. .components-placeholder__input[type=url]:focus {
  2243. border-color: var(--wp-admin-theme-color);
  2244. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  2245. outline: 2px solid transparent;
  2246. }
  2247. .components-placeholder__input[type=url]::-webkit-input-placeholder {
  2248. color: rgba(30, 30, 30, 0.62);
  2249. }
  2250. .components-placeholder__input[type=url]::-moz-placeholder {
  2251. opacity: 1;
  2252. color: rgba(30, 30, 30, 0.62);
  2253. }
  2254. .components-placeholder__input[type=url]:-ms-input-placeholder {
  2255. color: rgba(30, 30, 30, 0.62);
  2256. }
  2257. .components-placeholder__instructions {
  2258. margin-bottom: 1em;
  2259. }
  2260. .components-placeholder__error {
  2261. margin-top: 1em;
  2262. width: 100%;
  2263. }
  2264. .components-placeholder__fieldset .components-button {
  2265. margin-left: 12px;
  2266. margin-bottom: 12px;
  2267. }
  2268. .components-placeholder__fieldset .components-button:last-child {
  2269. margin-bottom: 0;
  2270. margin-left: 0;
  2271. }
  2272. .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link {
  2273. margin-right: 10px;
  2274. margin-left: 10px;
  2275. }
  2276. .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child {
  2277. margin-left: 0;
  2278. }
  2279. .components-placeholder.is-large .components-placeholder__label {
  2280. font-size: 18pt;
  2281. font-weight: normal;
  2282. }
  2283. .components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions {
  2284. display: none;
  2285. }
  2286. .components-placeholder.is-medium .components-placeholder__fieldset,
  2287. .components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset,
  2288. .components-placeholder.is-small .components-placeholder__fieldset form {
  2289. flex-direction: column;
  2290. }
  2291. .components-placeholder.is-medium .components-placeholder__fieldset .components-button, .components-placeholder.is-small .components-placeholder__fieldset .components-button {
  2292. margin-left: auto;
  2293. }
  2294. .components-placeholder.is-small .components-button {
  2295. padding: 0 8px 2px;
  2296. }
  2297. /**
  2298. * Dashed style placeholders
  2299. */
  2300. .components-placeholder.has-illustration {
  2301. color: inherit;
  2302. display: flex;
  2303. box-shadow: none;
  2304. min-width: 100px;
  2305. -webkit-backdrop-filter: blur(100px);
  2306. backdrop-filter: blur(100px);
  2307. background-color: rgba(255, 255, 255, 0.1);
  2308. border: 1px dashed currentColor;
  2309. border-radius: 2px;
  2310. overflow: hidden;
  2311. }
  2312. .is-dark-theme .components-placeholder.has-illustration {
  2313. background-color: rgba(0, 0, 0, 0.1);
  2314. }
  2315. .components-placeholder.has-illustration .components-placeholder__fieldset {
  2316. width: auto;
  2317. margin-right: 0;
  2318. margin-left: 0;
  2319. }
  2320. .components-placeholder.has-illustration .components-placeholder__label,
  2321. .components-placeholder.has-illustration .components-placeholder__instructions,
  2322. .components-placeholder.has-illustration .components-button {
  2323. opacity: 0;
  2324. transition: opacity 0.1s linear;
  2325. }
  2326. @media (prefers-reduced-motion: reduce) {
  2327. .components-placeholder.has-illustration .components-placeholder__label,
  2328. .components-placeholder.has-illustration .components-placeholder__instructions,
  2329. .components-placeholder.has-illustration .components-button {
  2330. transition-duration: 0s;
  2331. transition-delay: 0s;
  2332. }
  2333. }
  2334. .is-selected > .components-placeholder.has-illustration .components-placeholder__label,
  2335. .is-selected > .components-placeholder.has-illustration .components-placeholder__instructions,
  2336. .is-selected > .components-placeholder.has-illustration .components-button {
  2337. opacity: 1;
  2338. }
  2339. .components-placeholder__preview {
  2340. display: flex;
  2341. justify-content: center;
  2342. }
  2343. .components-placeholder__illustration {
  2344. box-sizing: content-box;
  2345. position: absolute;
  2346. top: 50%;
  2347. right: 50%;
  2348. transform: translate(50%, -50%);
  2349. width: 100%;
  2350. height: 100%;
  2351. stroke: currentColor;
  2352. stroke-dasharray: 3;
  2353. }
  2354. .components-popover {
  2355. z-index: 1000000;
  2356. }
  2357. .components-popover.is-expanded {
  2358. position: fixed;
  2359. top: 0;
  2360. right: 0;
  2361. left: 0;
  2362. bottom: 0;
  2363. z-index: 1000000 !important;
  2364. }
  2365. .components-popover__content {
  2366. background: #fff;
  2367. outline: 1px solid #ccc;
  2368. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  2369. border-radius: 2px;
  2370. box-sizing: border-box;
  2371. width: min-content;
  2372. }
  2373. .is-alternate .components-popover__content {
  2374. outline: 1px solid #1e1e1e;
  2375. box-shadow: none;
  2376. }
  2377. .components-popover.is-expanded .components-popover__content {
  2378. position: static;
  2379. height: calc(100% - 48px);
  2380. overflow-y: visible;
  2381. width: auto;
  2382. border: none;
  2383. outline: none;
  2384. border-top: 1px solid #1e1e1e;
  2385. }
  2386. .components-popover__header {
  2387. align-items: center;
  2388. background: #fff;
  2389. display: flex;
  2390. height: 48px;
  2391. justify-content: space-between;
  2392. padding: 0 16px 0 8px;
  2393. }
  2394. .components-popover__header-title {
  2395. overflow: hidden;
  2396. text-overflow: ellipsis;
  2397. white-space: nowrap;
  2398. width: 100%;
  2399. }
  2400. .components-popover__close.components-button {
  2401. z-index: 5;
  2402. }
  2403. .components-popover__arrow {
  2404. position: absolute;
  2405. width: 14px;
  2406. height: 14px;
  2407. pointer-events: none;
  2408. display: flex;
  2409. }
  2410. .components-popover__arrow::before {
  2411. content: "";
  2412. position: absolute;
  2413. top: -1px;
  2414. right: 1px;
  2415. height: 2px;
  2416. left: 1px;
  2417. background-color: #fff;
  2418. }
  2419. .components-popover__arrow.is-top {
  2420. bottom: -14px !important;
  2421. transform: rotate(0);
  2422. }
  2423. .components-popover__arrow.is-right {
  2424. left: -14px !important;
  2425. transform: rotate(90deg);
  2426. }
  2427. .components-popover__arrow.is-bottom {
  2428. top: -14px !important;
  2429. transform: rotate(180deg);
  2430. }
  2431. .components-popover__arrow.is-left {
  2432. /*rtl:begin:ignore*/
  2433. right: -14px !important;
  2434. transform: rotate(-90deg);
  2435. }
  2436. .components-popover__triangle {
  2437. display: block;
  2438. flex: 1;
  2439. }
  2440. .components-popover__triangle-bg {
  2441. fill: #fff;
  2442. }
  2443. .components-popover__triangle-border {
  2444. fill: transparent;
  2445. stroke-width: 1px;
  2446. stroke: #ccc;
  2447. }
  2448. .is-alternate .components-popover__triangle-border {
  2449. stroke: #1e1e1e;
  2450. }
  2451. .components-radio-control__input[type=radio] {
  2452. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2453. padding: 6px 8px;
  2454. box-shadow: 0 0 0 transparent;
  2455. transition: box-shadow 0.1s linear;
  2456. border-radius: 2px;
  2457. border: 1px solid #757575;
  2458. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2459. font-size: 16px;
  2460. /* Override core line-height. To be reviewed. */
  2461. line-height: normal;
  2462. border: 1px solid #1e1e1e;
  2463. margin-left: 12px;
  2464. transition: none;
  2465. border-radius: 50%;
  2466. width: 24px;
  2467. height: 24px;
  2468. margin-top: 0;
  2469. margin-left: 6px;
  2470. }
  2471. @media (prefers-reduced-motion: reduce) {
  2472. .components-radio-control__input[type=radio] {
  2473. transition-duration: 0s;
  2474. transition-delay: 0s;
  2475. }
  2476. }
  2477. @media (min-width: 600px) {
  2478. .components-radio-control__input[type=radio] {
  2479. font-size: 13px;
  2480. /* Override core line-height. To be reviewed. */
  2481. line-height: normal;
  2482. }
  2483. }
  2484. .components-radio-control__input[type=radio]:focus {
  2485. border-color: var(--wp-admin-theme-color);
  2486. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  2487. outline: 2px solid transparent;
  2488. }
  2489. .components-radio-control__input[type=radio]::-webkit-input-placeholder {
  2490. color: rgba(30, 30, 30, 0.62);
  2491. }
  2492. .components-radio-control__input[type=radio]::-moz-placeholder {
  2493. opacity: 1;
  2494. color: rgba(30, 30, 30, 0.62);
  2495. }
  2496. .components-radio-control__input[type=radio]:-ms-input-placeholder {
  2497. color: rgba(30, 30, 30, 0.62);
  2498. }
  2499. @media (min-width: 600px) {
  2500. .components-radio-control__input[type=radio] {
  2501. height: 20px;
  2502. width: 20px;
  2503. }
  2504. }
  2505. .components-radio-control__input[type=radio]:checked::before {
  2506. box-sizing: inherit;
  2507. width: 8px;
  2508. height: 8px;
  2509. transform: translate(-7px, 7px);
  2510. margin: 0;
  2511. background-color: #fff;
  2512. border: 4px solid #fff;
  2513. }
  2514. @media (min-width: 600px) {
  2515. .components-radio-control__input[type=radio]:checked::before {
  2516. transform: translate(-5px, 5px);
  2517. }
  2518. }
  2519. .components-radio-control__input[type=radio]:focus {
  2520. box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
  2521. outline: 2px solid transparent;
  2522. }
  2523. .components-radio-control__input[type=radio]:checked {
  2524. background: var(--wp-admin-theme-color);
  2525. border-color: var(--wp-admin-theme-color);
  2526. }
  2527. .components-resizable-box__handle {
  2528. display: none;
  2529. width: 23px;
  2530. height: 23px;
  2531. z-index: 2;
  2532. }
  2533. .components-resizable-box__container.has-show-handle .components-resizable-box__handle {
  2534. display: block;
  2535. }
  2536. .components-resizable-box__container > img {
  2537. width: inherit;
  2538. }
  2539. .components-resizable-box__handle::after {
  2540. display: block;
  2541. content: "";
  2542. width: 15px;
  2543. height: 15px;
  2544. border-radius: 50%;
  2545. background: #fff;
  2546. cursor: inherit;
  2547. position: absolute;
  2548. top: calc(50% - 8px);
  2549. left: calc(50% - 8px);
  2550. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2551. outline: 2px solid transparent;
  2552. }
  2553. .components-resizable-box__side-handle::before {
  2554. display: block;
  2555. border-radius: 2px;
  2556. content: "";
  2557. width: 3px;
  2558. height: 3px;
  2559. background: var(--wp-admin-theme-color);
  2560. cursor: inherit;
  2561. position: absolute;
  2562. top: calc(50% - 1px);
  2563. left: calc(50% - 1px);
  2564. transition: transform 0.1s ease-in;
  2565. opacity: 0;
  2566. }
  2567. @media (prefers-reduced-motion: reduce) {
  2568. .components-resizable-box__side-handle::before {
  2569. transition-duration: 0s;
  2570. transition-delay: 0s;
  2571. }
  2572. }
  2573. .components-resizable-box__side-handle {
  2574. z-index: 2;
  2575. }
  2576. .components-resizable-box__corner-handle {
  2577. z-index: 2;
  2578. }
  2579. .components-resizable-box__side-handle.components-resizable-box__handle-top,
  2580. .components-resizable-box__side-handle.components-resizable-box__handle-bottom,
  2581. .components-resizable-box__side-handle.components-resizable-box__handle-top::before,
  2582. .components-resizable-box__side-handle.components-resizable-box__handle-bottom::before {
  2583. width: 100%;
  2584. right: 0;
  2585. border-right: 0;
  2586. border-left: 0;
  2587. }
  2588. .components-resizable-box__side-handle.components-resizable-box__handle-left,
  2589. .components-resizable-box__side-handle.components-resizable-box__handle-right,
  2590. .components-resizable-box__side-handle.components-resizable-box__handle-left::before,
  2591. .components-resizable-box__side-handle.components-resizable-box__handle-right::before {
  2592. height: 100%;
  2593. top: 0;
  2594. border-top: 0;
  2595. border-bottom: 0;
  2596. }
  2597. .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
  2598. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
  2599. .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
  2600. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
  2601. animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
  2602. animation-fill-mode: forwards;
  2603. }
  2604. @media (prefers-reduced-motion: reduce) {
  2605. .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
  2606. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
  2607. .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
  2608. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
  2609. animation-duration: 1ms;
  2610. animation-delay: 0s;
  2611. }
  2612. }
  2613. .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
  2614. .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
  2615. .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
  2616. .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
  2617. animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
  2618. animation-fill-mode: forwards;
  2619. }
  2620. @media (prefers-reduced-motion: reduce) {
  2621. .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
  2622. .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
  2623. .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
  2624. .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
  2625. animation-duration: 1ms;
  2626. animation-delay: 0s;
  2627. }
  2628. }
  2629. /* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.
  2630. See https://bugs.webkit.org/show_bug.cgi?id=187903. */
  2631. @media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {
  2632. @supports (-webkit-appearance: none) {
  2633. .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
  2634. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
  2635. .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
  2636. .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
  2637. animation: none;
  2638. }
  2639. .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
  2640. .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
  2641. .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
  2642. .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
  2643. animation: none;
  2644. }
  2645. }
  2646. }
  2647. @keyframes components-resizable-box__top-bottom-animation {
  2648. from {
  2649. transform: scaleX(0);
  2650. opacity: 0;
  2651. }
  2652. to {
  2653. transform: scaleX(1);
  2654. opacity: 1;
  2655. }
  2656. }
  2657. @keyframes components-resizable-box__left-right-animation {
  2658. from {
  2659. transform: scaleY(0);
  2660. opacity: 0;
  2661. }
  2662. to {
  2663. transform: scaleY(1);
  2664. opacity: 1;
  2665. }
  2666. }
  2667. .components-resizable-box__handle-right {
  2668. right: calc(11.5px * -1);
  2669. }
  2670. .components-resizable-box__handle-left {
  2671. left: calc(11.5px * -1);
  2672. }
  2673. .components-resizable-box__handle-top {
  2674. top: calc(11.5px * -1);
  2675. }
  2676. .components-resizable-box__handle-bottom {
  2677. bottom: calc(11.5px * -1);
  2678. }
  2679. .components-responsive-wrapper {
  2680. position: relative;
  2681. max-width: 100%;
  2682. }
  2683. .components-responsive-wrapper, .components-responsive-wrapper > span {
  2684. display: block;
  2685. }
  2686. .components-responsive-wrapper__content {
  2687. position: absolute;
  2688. top: 0;
  2689. left: 0;
  2690. bottom: 0;
  2691. right: 0;
  2692. width: 100%;
  2693. height: 100%;
  2694. margin: auto;
  2695. }
  2696. .components-sandbox {
  2697. overflow: hidden;
  2698. }
  2699. iframe.components-sandbox {
  2700. width: 100%;
  2701. }
  2702. html.lockscroll,
  2703. body.lockscroll {
  2704. overflow: hidden;
  2705. }
  2706. .components-search-control {
  2707. position: relative;
  2708. }
  2709. .components-search-control input[type=search].components-search-control__input {
  2710. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2711. padding: 6px 8px;
  2712. box-shadow: 0 0 0 transparent;
  2713. transition: box-shadow 0.1s linear;
  2714. border-radius: 2px;
  2715. border: 1px solid #757575;
  2716. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2717. font-size: 16px;
  2718. /* Override core line-height. To be reviewed. */
  2719. line-height: normal;
  2720. display: block;
  2721. padding: 16px 16px 16px 48px;
  2722. background: #f0f0f0;
  2723. border: none;
  2724. width: 100%;
  2725. height: 48px;
  2726. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2727. font-size: 16px;
  2728. }
  2729. @media (prefers-reduced-motion: reduce) {
  2730. .components-search-control input[type=search].components-search-control__input {
  2731. transition-duration: 0s;
  2732. transition-delay: 0s;
  2733. }
  2734. }
  2735. @media (min-width: 600px) {
  2736. .components-search-control input[type=search].components-search-control__input {
  2737. font-size: 13px;
  2738. /* Override core line-height. To be reviewed. */
  2739. line-height: normal;
  2740. }
  2741. }
  2742. .components-search-control input[type=search].components-search-control__input:focus {
  2743. border-color: var(--wp-admin-theme-color);
  2744. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  2745. outline: 2px solid transparent;
  2746. }
  2747. .components-search-control input[type=search].components-search-control__input::-webkit-input-placeholder {
  2748. color: rgba(30, 30, 30, 0.62);
  2749. }
  2750. .components-search-control input[type=search].components-search-control__input::-moz-placeholder {
  2751. opacity: 1;
  2752. color: rgba(30, 30, 30, 0.62);
  2753. }
  2754. .components-search-control input[type=search].components-search-control__input:-ms-input-placeholder {
  2755. color: rgba(30, 30, 30, 0.62);
  2756. }
  2757. @media (min-width: 600px) {
  2758. .components-search-control input[type=search].components-search-control__input {
  2759. font-size: 13px;
  2760. }
  2761. }
  2762. .components-search-control input[type=search].components-search-control__input:focus {
  2763. background: #fff;
  2764. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2765. }
  2766. .components-search-control input[type=search].components-search-control__input::placeholder {
  2767. color: #757575;
  2768. }
  2769. .components-search-control input[type=search].components-search-control__input::-webkit-search-decoration, .components-search-control input[type=search].components-search-control__input::-webkit-search-cancel-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-decoration {
  2770. -webkit-appearance: none;
  2771. }
  2772. .components-search-control__icon {
  2773. position: absolute;
  2774. top: 0;
  2775. left: 12px;
  2776. bottom: 0;
  2777. display: flex;
  2778. align-items: center;
  2779. }
  2780. .components-search-control__icon > svg {
  2781. margin: 8px 0;
  2782. }
  2783. .components-search-control__input-wrapper {
  2784. position: relative;
  2785. }
  2786. .components-select-control__input {
  2787. background: #fff;
  2788. height: 36px;
  2789. line-height: 36px;
  2790. margin: 1px;
  2791. outline: 0;
  2792. width: 100%;
  2793. -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  2794. }
  2795. @media (min-width: 782px) {
  2796. .components-select-control__input {
  2797. height: 28px;
  2798. line-height: 28px;
  2799. }
  2800. }
  2801. @media (max-width: 782px) {
  2802. .components-base-control .components-base-control__field .components-select-control__input {
  2803. font-size: 16px;
  2804. }
  2805. }
  2806. .components-snackbar {
  2807. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2808. font-size: 13px;
  2809. background-color: #1e1e1e;
  2810. border-radius: 2px;
  2811. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  2812. color: #fff;
  2813. padding: 16px 24px;
  2814. width: 100%;
  2815. max-width: 600px;
  2816. box-sizing: border-box;
  2817. cursor: pointer;
  2818. pointer-events: auto;
  2819. }
  2820. @media (min-width: 600px) {
  2821. .components-snackbar {
  2822. width: -moz-fit-content;
  2823. width: fit-content;
  2824. }
  2825. }
  2826. .components-snackbar:focus {
  2827. box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
  2828. }
  2829. .components-snackbar.components-snackbar-explicit-dismiss {
  2830. cursor: default;
  2831. }
  2832. .components-snackbar .components-snackbar__content-with-icon {
  2833. margin-right: 24px;
  2834. }
  2835. .components-snackbar .components-snackbar__icon {
  2836. position: absolute;
  2837. top: 24px;
  2838. right: 28px;
  2839. }
  2840. .components-snackbar .components-snackbar__dismiss-button {
  2841. margin-right: 32px;
  2842. cursor: pointer;
  2843. }
  2844. .components-snackbar__action.components-button {
  2845. margin-right: 32px;
  2846. color: #fff;
  2847. height: auto;
  2848. flex-shrink: 0;
  2849. line-height: 1.4;
  2850. padding: 0;
  2851. }
  2852. .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) {
  2853. text-decoration: underline;
  2854. background-color: transparent;
  2855. }
  2856. .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus {
  2857. color: #fff;
  2858. box-shadow: none;
  2859. outline: 1px dotted #fff;
  2860. }
  2861. .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
  2862. color: var(--wp-admin-theme-color);
  2863. }
  2864. .components-snackbar__content {
  2865. display: flex;
  2866. align-items: baseline;
  2867. justify-content: space-between;
  2868. line-height: 1.4;
  2869. }
  2870. .components-snackbar-list {
  2871. position: absolute;
  2872. z-index: 100000;
  2873. width: 100%;
  2874. box-sizing: border-box;
  2875. pointer-events: none;
  2876. }
  2877. .components-snackbar-list__notice-container {
  2878. position: relative;
  2879. padding-top: 8px;
  2880. }
  2881. .components-tab-panel__tabs {
  2882. display: flex;
  2883. align-items: stretch;
  2884. flex-direction: row;
  2885. }
  2886. .components-tab-panel__tabs[aria-orientation=vertical] {
  2887. flex-direction: column;
  2888. }
  2889. .components-tab-panel__tabs-item {
  2890. background: transparent;
  2891. border: none;
  2892. box-shadow: none;
  2893. border-radius: 0;
  2894. cursor: pointer;
  2895. height: 48px;
  2896. padding: 3px 16px;
  2897. margin-right: 0;
  2898. font-weight: 500;
  2899. transition: box-shadow 0.1s linear;
  2900. box-sizing: border-box;
  2901. }
  2902. .components-tab-panel__tabs-item::after {
  2903. content: attr(data-label);
  2904. display: block;
  2905. height: 0;
  2906. overflow: hidden;
  2907. speak: none;
  2908. visibility: hidden;
  2909. }
  2910. .components-tab-panel__tabs-item:focus:not(:disabled) {
  2911. box-shadow: inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2912. }
  2913. .components-tab-panel__tabs-item.is-active {
  2914. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -1.5px 0 0 var(--wp-admin-theme-color);
  2915. position: relative;
  2916. }
  2917. .components-tab-panel__tabs-item.is-active::before {
  2918. content: "";
  2919. position: absolute;
  2920. top: 0;
  2921. bottom: 1px;
  2922. left: 0;
  2923. right: 0;
  2924. border-bottom: 1.5px solid transparent;
  2925. }
  2926. .components-tab-panel__tabs-item:focus {
  2927. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  2928. }
  2929. .components-tab-panel__tabs-item.is-active:focus {
  2930. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -3px 0 0 var(--wp-admin-theme-color);
  2931. }
  2932. .components-text-control__input,
  2933. .components-text-control__input[type=text],
  2934. .components-text-control__input[type=tel],
  2935. .components-text-control__input[type=time],
  2936. .components-text-control__input[type=url],
  2937. .components-text-control__input[type=week],
  2938. .components-text-control__input[type=password],
  2939. .components-text-control__input[type=color],
  2940. .components-text-control__input[type=date],
  2941. .components-text-control__input[type=datetime],
  2942. .components-text-control__input[type=datetime-local],
  2943. .components-text-control__input[type=email],
  2944. .components-text-control__input[type=month],
  2945. .components-text-control__input[type=number] {
  2946. width: 100%;
  2947. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2948. padding: 6px 8px;
  2949. box-shadow: 0 0 0 transparent;
  2950. transition: box-shadow 0.1s linear;
  2951. border-radius: 2px;
  2952. border: 1px solid #757575;
  2953. /* Fonts smaller than 16px causes mobile safari to zoom. */
  2954. font-size: 16px;
  2955. /* Override core line-height. To be reviewed. */
  2956. line-height: normal;
  2957. }
  2958. @media (prefers-reduced-motion: reduce) {
  2959. .components-text-control__input,
  2960. .components-text-control__input[type=text],
  2961. .components-text-control__input[type=tel],
  2962. .components-text-control__input[type=time],
  2963. .components-text-control__input[type=url],
  2964. .components-text-control__input[type=week],
  2965. .components-text-control__input[type=password],
  2966. .components-text-control__input[type=color],
  2967. .components-text-control__input[type=date],
  2968. .components-text-control__input[type=datetime],
  2969. .components-text-control__input[type=datetime-local],
  2970. .components-text-control__input[type=email],
  2971. .components-text-control__input[type=month],
  2972. .components-text-control__input[type=number] {
  2973. transition-duration: 0s;
  2974. transition-delay: 0s;
  2975. }
  2976. }
  2977. @media (min-width: 600px) {
  2978. .components-text-control__input,
  2979. .components-text-control__input[type=text],
  2980. .components-text-control__input[type=tel],
  2981. .components-text-control__input[type=time],
  2982. .components-text-control__input[type=url],
  2983. .components-text-control__input[type=week],
  2984. .components-text-control__input[type=password],
  2985. .components-text-control__input[type=color],
  2986. .components-text-control__input[type=date],
  2987. .components-text-control__input[type=datetime],
  2988. .components-text-control__input[type=datetime-local],
  2989. .components-text-control__input[type=email],
  2990. .components-text-control__input[type=month],
  2991. .components-text-control__input[type=number] {
  2992. font-size: 13px;
  2993. /* Override core line-height. To be reviewed. */
  2994. line-height: normal;
  2995. }
  2996. }
  2997. .components-text-control__input:focus,
  2998. .components-text-control__input[type=text]:focus,
  2999. .components-text-control__input[type=tel]:focus,
  3000. .components-text-control__input[type=time]:focus,
  3001. .components-text-control__input[type=url]:focus,
  3002. .components-text-control__input[type=week]:focus,
  3003. .components-text-control__input[type=password]:focus,
  3004. .components-text-control__input[type=color]:focus,
  3005. .components-text-control__input[type=date]:focus,
  3006. .components-text-control__input[type=datetime]:focus,
  3007. .components-text-control__input[type=datetime-local]:focus,
  3008. .components-text-control__input[type=email]:focus,
  3009. .components-text-control__input[type=month]:focus,
  3010. .components-text-control__input[type=number]:focus {
  3011. border-color: var(--wp-admin-theme-color);
  3012. box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
  3013. outline: 2px solid transparent;
  3014. }
  3015. .components-text-control__input::-webkit-input-placeholder,
  3016. .components-text-control__input[type=text]::-webkit-input-placeholder,
  3017. .components-text-control__input[type=tel]::-webkit-input-placeholder,
  3018. .components-text-control__input[type=time]::-webkit-input-placeholder,
  3019. .components-text-control__input[type=url]::-webkit-input-placeholder,
  3020. .components-text-control__input[type=week]::-webkit-input-placeholder,
  3021. .components-text-control__input[type=password]::-webkit-input-placeholder,
  3022. .components-text-control__input[type=color]::-webkit-input-placeholder,
  3023. .components-text-control__input[type=date]::-webkit-input-placeholder,
  3024. .components-text-control__input[type=datetime]::-webkit-input-placeholder,
  3025. .components-text-control__input[type=datetime-local]::-webkit-input-placeholder,
  3026. .components-text-control__input[type=email]::-webkit-input-placeholder,
  3027. .components-text-control__input[type=month]::-webkit-input-placeholder,
  3028. .components-text-control__input[type=number]::-webkit-input-placeholder {
  3029. color: rgba(30, 30, 30, 0.62);
  3030. }
  3031. .components-text-control__input::-moz-placeholder,
  3032. .components-text-control__input[type=text]::-moz-placeholder,
  3033. .components-text-control__input[type=tel]::-moz-placeholder,
  3034. .components-text-control__input[type=time]::-moz-placeholder,
  3035. .components-text-control__input[type=url]::-moz-placeholder,
  3036. .components-text-control__input[type=week]::-moz-placeholder,
  3037. .components-text-control__input[type=password]::-moz-placeholder,
  3038. .components-text-control__input[type=color]::-moz-placeholder,
  3039. .components-text-control__input[type=date]::-moz-placeholder,
  3040. .components-text-control__input[type=datetime]::-moz-placeholder,
  3041. .components-text-control__input[type=datetime-local]::-moz-placeholder,
  3042. .components-text-control__input[type=email]::-moz-placeholder,
  3043. .components-text-control__input[type=month]::-moz-placeholder,
  3044. .components-text-control__input[type=number]::-moz-placeholder {
  3045. opacity: 1;
  3046. color: rgba(30, 30, 30, 0.62);
  3047. }
  3048. .components-text-control__input:-ms-input-placeholder,
  3049. .components-text-control__input[type=text]:-ms-input-placeholder,
  3050. .components-text-control__input[type=tel]:-ms-input-placeholder,
  3051. .components-text-control__input[type=time]:-ms-input-placeholder,
  3052. .components-text-control__input[type=url]:-ms-input-placeholder,
  3053. .components-text-control__input[type=week]:-ms-input-placeholder,
  3054. .components-text-control__input[type=password]:-ms-input-placeholder,
  3055. .components-text-control__input[type=color]:-ms-input-placeholder,
  3056. .components-text-control__input[type=date]:-ms-input-placeholder,
  3057. .components-text-control__input[type=datetime]:-ms-input-placeholder,
  3058. .components-text-control__input[type=datetime-local]:-ms-input-placeholder,
  3059. .components-text-control__input[type=email]:-ms-input-placeholder,
  3060. .components-text-control__input[type=month]:-ms-input-placeholder,
  3061. .components-text-control__input[type=number]:-ms-input-placeholder {
  3062. color: rgba(30, 30, 30, 0.62);
  3063. }
  3064. .components-tip {
  3065. display: flex;
  3066. color: #757575;
  3067. }
  3068. .components-tip svg {
  3069. align-self: center;
  3070. fill: #f0b849;
  3071. flex-shrink: 0;
  3072. margin-left: 16px;
  3073. }
  3074. .components-tip p {
  3075. margin: 0;
  3076. }
  3077. .components-accessible-toolbar {
  3078. display: inline-flex;
  3079. border: 1px solid #1e1e1e;
  3080. border-radius: 2px;
  3081. flex-shrink: 0;
  3082. }
  3083. .components-accessible-toolbar > .components-toolbar-group:last-child {
  3084. border-left: none;
  3085. }
  3086. .components-accessible-toolbar .components-button,
  3087. .components-toolbar .components-button {
  3088. position: relative;
  3089. height: 48px;
  3090. z-index: 1;
  3091. padding-right: 16px;
  3092. padding-left: 16px;
  3093. }
  3094. .components-accessible-toolbar .components-button:focus:enabled,
  3095. .components-toolbar .components-button:focus:enabled {
  3096. box-shadow: none;
  3097. outline: none;
  3098. }
  3099. .components-accessible-toolbar .components-button::before,
  3100. .components-toolbar .components-button::before {
  3101. content: "";
  3102. position: absolute;
  3103. display: block;
  3104. border-radius: 2px;
  3105. height: 32px;
  3106. right: 8px;
  3107. left: 8px;
  3108. z-index: -1;
  3109. animation: components-button__appear-animation 0.1s ease;
  3110. animation-fill-mode: forwards;
  3111. }
  3112. @media (prefers-reduced-motion: reduce) {
  3113. .components-accessible-toolbar .components-button::before,
  3114. .components-toolbar .components-button::before {
  3115. animation-duration: 1ms;
  3116. animation-delay: 0s;
  3117. }
  3118. }
  3119. .components-accessible-toolbar .components-button svg,
  3120. .components-toolbar .components-button svg {
  3121. position: relative;
  3122. margin-right: auto;
  3123. margin-left: auto;
  3124. }
  3125. .components-accessible-toolbar .components-button.is-pressed,
  3126. .components-toolbar .components-button.is-pressed {
  3127. background: transparent;
  3128. }
  3129. .components-accessible-toolbar .components-button.is-pressed:hover,
  3130. .components-toolbar .components-button.is-pressed:hover {
  3131. background: transparent;
  3132. }
  3133. .components-accessible-toolbar .components-button.is-pressed::before,
  3134. .components-toolbar .components-button.is-pressed::before {
  3135. background: #1e1e1e;
  3136. }
  3137. .components-accessible-toolbar .components-button:focus::before,
  3138. .components-toolbar .components-button:focus::before {
  3139. box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
  3140. outline: 2px solid transparent;
  3141. }
  3142. .components-accessible-toolbar .components-button.has-icon.has-icon,
  3143. .components-toolbar .components-button.has-icon.has-icon {
  3144. padding-right: 12px;
  3145. padding-left: 12px;
  3146. min-width: 48px;
  3147. }
  3148. .components-accessible-toolbar .components-button.components-tab-button,
  3149. .components-toolbar .components-button.components-tab-button {
  3150. font-weight: 500;
  3151. }
  3152. .components-accessible-toolbar .components-button.components-tab-button span,
  3153. .components-toolbar .components-button.components-tab-button span {
  3154. display: inline-block;
  3155. padding-right: 0;
  3156. padding-left: 0;
  3157. position: relative;
  3158. }
  3159. @keyframes components-button__appear-animation {
  3160. from {
  3161. transform: scaleY(0);
  3162. }
  3163. to {
  3164. transform: scaleY(1);
  3165. }
  3166. }
  3167. .components-toolbar__control.components-button {
  3168. position: relative;
  3169. }
  3170. .components-toolbar__control.components-button[data-subscript] svg {
  3171. padding: 5px 0 5px 10px;
  3172. }
  3173. .components-toolbar__control.components-button[data-subscript]::after {
  3174. content: attr(data-subscript);
  3175. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  3176. font-size: 13px;
  3177. font-weight: 600;
  3178. line-height: 12px;
  3179. position: absolute;
  3180. left: 8px;
  3181. bottom: 10px;
  3182. }
  3183. .components-toolbar__control.components-button:active::before {
  3184. display: none;
  3185. }
  3186. .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after {
  3187. color: #fff;
  3188. }
  3189. .components-toolbar-group {
  3190. min-height: 48px;
  3191. border-left: 1px solid #1e1e1e;
  3192. background-color: #fff;
  3193. display: inline-flex;
  3194. flex-shrink: 0;
  3195. flex-wrap: wrap;
  3196. padding-right: 6px;
  3197. padding-left: 6px;
  3198. line-height: 0;
  3199. }
  3200. .components-toolbar-group .components-toolbar-group.components-toolbar-group {
  3201. border-width: 0;
  3202. margin: 0;
  3203. }
  3204. .components-toolbar-group .components-button.components-button,
  3205. .components-toolbar-group .components-button.has-icon.has-icon {
  3206. min-width: 36px;
  3207. padding-right: 6px;
  3208. padding-left: 6px;
  3209. }
  3210. .components-toolbar-group .components-button.components-button svg,
  3211. .components-toolbar-group .components-button.has-icon.has-icon svg {
  3212. min-width: 24px;
  3213. }
  3214. .components-toolbar-group .components-button.components-button::before,
  3215. .components-toolbar-group .components-button.has-icon.has-icon::before {
  3216. right: 2px;
  3217. left: 2px;
  3218. }
  3219. .components-toolbar {
  3220. min-height: 48px;
  3221. margin: 0;
  3222. border: 1px solid #1e1e1e;
  3223. background-color: #fff;
  3224. display: inline-flex;
  3225. flex-shrink: 0;
  3226. flex-wrap: wrap;
  3227. }
  3228. .components-toolbar .components-toolbar.components-toolbar {
  3229. border-width: 0;
  3230. margin: 0;
  3231. }
  3232. div.components-toolbar > div {
  3233. display: block;
  3234. margin: 0;
  3235. }
  3236. @supports (position: sticky) {
  3237. div.components-toolbar > div {
  3238. display: flex;
  3239. }
  3240. }
  3241. div.components-toolbar > div + div.has-left-divider {
  3242. margin-right: 6px;
  3243. position: relative;
  3244. overflow: visible;
  3245. }
  3246. div.components-toolbar > div + div.has-left-divider::before {
  3247. display: inline-block;
  3248. content: "";
  3249. box-sizing: content-box;
  3250. background-color: #ddd;
  3251. position: absolute;
  3252. top: 8px;
  3253. right: -3px;
  3254. width: 1px;
  3255. height: 20px;
  3256. }
  3257. .components-tooltip.components-popover {
  3258. z-index: 1000002;
  3259. }
  3260. .components-tooltip.components-popover .components-popover__content {
  3261. min-width: min-content;
  3262. }
  3263. .components-tooltip .components-popover__content {
  3264. background: #1e1e1e;
  3265. border-radius: 2px;
  3266. border-width: 0;
  3267. outline: none;
  3268. color: #fff;
  3269. white-space: nowrap;
  3270. text-align: center;
  3271. line-height: 1.4;
  3272. font-size: 12px;
  3273. box-shadow: none;
  3274. padding: 4px 8px;
  3275. }
  3276. .components-tooltip__shortcut {
  3277. display: inline-block;
  3278. margin-right: 8px;
  3279. }
  3280. .disabled-element-wrapper {
  3281. position: relative;
  3282. }
  3283. .disabled-element-wrapper .event-catcher {
  3284. z-index: 100002;
  3285. position: absolute;
  3286. width: 100%;
  3287. height: 100%;
  3288. top: 0;
  3289. right: 0;
  3290. bottom: 0;
  3291. left: 0;
  3292. }