123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468 |
- @charset "UTF-8";
- /**
- * Colors
- */
- /**
- * Breakpoints & Media Queries
- */
- /**
- * SCSS Variables.
- *
- * Please use variables from this sheet to ensure consistency across the UI.
- * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
- * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
- */
- /**
- * Colors
- */
- /**
- * Fonts & basic variables.
- */
- /**
- * Grid System.
- * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
- */
- /**
- * Dimensions.
- */
- /**
- * Shadows.
- */
- /**
- * Editor widths.
- */
- /**
- * Block & Editor UI.
- */
- /**
- * Block paddings.
- */
- /**
- * React Native specific.
- * These variables do not appear to be used anywhere else.
- */
- /**
- * Converts a hex value into the rgb equivalent.
- *
- * @param {string} hex - the hexadecimal value to convert
- * @return {string} comma separated rgb values
- */
- /**
- * Breakpoint mixins
- */
- /**
- * Long content fade mixin
- *
- * Creates a fading overlay to signify that the content is longer
- * than the space allows.
- */
- /**
- * Focus styles.
- */
- /**
- * Applies editor left position to the selector passed as argument
- */
- /**
- * Styles that are reused verbatim in a few places
- */
- /**
- * Allows users to opt-out of animations via OS-level preferences.
- */
- /**
- * Reset default styles for JavaScript UI based pages.
- * This is a WP-admin agnostic reset
- */
- /**
- * Reset the WP Admin page styles for Gutenberg-like pages.
- */
- :root {
- --wp-admin-theme-color: #007cba;
- --wp-admin-theme-color--rgb: 0, 124, 186;
- --wp-admin-theme-color-darker-10: #006ba1;
- --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
- --wp-admin-theme-color-darker-20: #005a87;
- --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
- --wp-admin-border-width-focus: 2px;
- }
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
- :root {
- --wp-admin-border-width-focus: 1.5px;
- }
- }
- .components-animate__appear {
- animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-animate__appear {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
- transform-origin: top right;
- }
- .components-animate__appear.is-from-top.is-from-right {
- transform-origin: top left;
- }
- .components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {
- transform-origin: bottom right;
- }
- .components-animate__appear.is-from-bottom.is-from-right {
- transform-origin: bottom left;
- }
- @keyframes components-animate__appear-animation {
- from {
- transform: translateY(-2em) scaleY(0) scaleX(0);
- }
- to {
- transform: translateY(0%) scaleY(1) scaleX(1);
- }
- }
- .components-animate__slide-in {
- animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-animate__slide-in {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-animate__slide-in.is-from-left {
- transform: translateX(-100%);
- }
- .components-animate__slide-in.is-from-right {
- transform: translateX(100%);
- }
- @keyframes components-animate__slide-in-animation {
- 100% {
- transform: translateX(0%);
- }
- }
- .components-animate__loading {
- animation: components-animate__loading 1.6s ease-in-out infinite;
- }
- @keyframes components-animate__loading {
- 0% {
- opacity: 0.5;
- }
- 50% {
- opacity: 1;
- }
- 100% {
- opacity: 0.5;
- }
- }
- .components-autocomplete__popover .components-popover__content {
- padding: 16px;
- min-width: 220px;
- }
- .components-autocomplete__result.components-button {
- display: flex;
- height: auto;
- min-height: 36px;
- text-align: right;
- width: 100%;
- }
- .components-autocomplete__result.components-button.is-selected {
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- .components-button-group {
- display: inline-block;
- }
- .components-button-group .components-button {
- border-radius: 0;
- display: inline-flex;
- color: #1e1e1e;
- box-shadow: inset 0 0 0 1px #1e1e1e;
- }
- .components-button-group .components-button + .components-button {
- margin-right: -1px;
- }
- .components-button-group .components-button:first-child {
- border-radius: 0 2px 2px 0;
- }
- .components-button-group .components-button:last-child {
- border-radius: 2px 0 0 2px;
- }
- .components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
- position: relative;
- z-index: 1;
- }
- .components-button-group .components-button.is-primary {
- box-shadow: inset 0 0 0 1px #1e1e1e;
- }
- .components-button {
- display: inline-flex;
- text-decoration: none;
- font-family: inherit;
- font-weight: normal;
- font-size: 13px;
- margin: 0;
- border: 0;
- cursor: pointer;
- -webkit-appearance: none;
- background: none;
- transition: box-shadow 0.1s linear;
- height: 36px;
- align-items: center;
- box-sizing: border-box;
- padding: 6px 12px;
- border-radius: 2px;
- color: #1e1e1e;
- /**
- * Primary button style.
- */
- /**
- * Secondary and tertiary buttons.
- */
- /**
- * Secondary button style.
- */
- /**
- * Tertiary buttons.
- */
- /**
- * Destructive buttons.
- */
- /**
- * Link buttons.
- */
- }
- @media (prefers-reduced-motion: reduce) {
- .components-button {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-button[aria-expanded=true], .components-button:hover {
- color: var(--wp-admin-theme-color);
- }
- .components-button[aria-disabled=true]:hover {
- color: initial;
- }
- .components-button:focus:not(:disabled) {
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- outline: 3px solid transparent;
- }
- .components-button.is-primary {
- white-space: nowrap;
- background: var(--wp-admin-theme-color);
- color: #fff;
- text-decoration: none;
- text-shadow: none;
- outline: 1px solid transparent;
- }
- .components-button.is-primary:hover:not(:disabled) {
- background: var(--wp-admin-theme-color-darker-10);
- color: #fff;
- }
- .components-button.is-primary:active:not(:disabled) {
- background: var(--wp-admin-theme-color-darker-20);
- border-color: var(--wp-admin-theme-color-darker-20);
- color: #fff;
- }
- .components-button.is-primary:focus:not(:disabled) {
- box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- .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 {
- color: rgba(255, 255, 255, 0.4);
- background: var(--wp-admin-theme-color);
- border-color: var(--wp-admin-theme-color);
- opacity: 1;
- outline: none;
- }
- .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 {
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
- }
- .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
- color: #fff;
- background-size: 100px 100%;
- /* stylelint-disable */
- 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%);
- /* stylelint-enable */
- border-color: var(--wp-admin-theme-color);
- }
- .components-button.is-secondary, .components-button.is-tertiary {
- outline: 1px solid transparent;
- }
- .components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
- background: #ddd;
- color: var(--wp-admin-theme-color-darker-10);
- box-shadow: none;
- }
- .components-button.is-secondary:hover:not(:disabled), .components-button.is-tertiary:hover:not(:disabled) {
- color: var(--wp-admin-theme-color-darker-10);
- box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
- }
- .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 {
- color: #828282;
- background: #eaeaea;
- transform: none;
- opacity: 1;
- box-shadow: none;
- outline: none;
- }
- .components-button.is-secondary {
- box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
- outline: 1px solid transparent;
- white-space: nowrap;
- color: var(--wp-admin-theme-color);
- background: transparent;
- }
- .components-button.is-tertiary {
- white-space: nowrap;
- color: var(--wp-admin-theme-color);
- background: transparent;
- padding: 6px;
- }
- .components-button.is-tertiary .dashicon {
- display: inline-block;
- flex: 0 0 auto;
- }
- p + .components-button.is-tertiary {
- margin-right: -6px;
- }
- .components-button.is-destructive {
- color: #cc1818;
- box-shadow: inset 0 0 0 1px #cc1818;
- }
- .components-button.is-destructive:hover:not(:disabled) {
- color: #710d0d;
- box-shadow: inset 0 0 0 1px #710d0d;
- }
- .components-button.is-destructive:focus:not(:disabled) {
- color: var(--wp-admin-theme-color);
- }
- .components-button.is-destructive:active:not(:disabled) {
- background: #ccc;
- }
- .components-button.is-destructive.is-primary {
- color: #fff;
- background: #cc1818;
- box-shadow: inset 0 0 0 1px #cc1818;
- }
- .components-button.is-destructive.is-primary:hover:not(:disabled) {
- color: #fff;
- background: #710d0d;
- box-shadow: inset 0 0 0 1px #710d0d;
- }
- .components-button.is-destructive.is-tertiary {
- box-shadow: none;
- }
- .components-button.is-destructive.is-tertiary:hover:not(:disabled) {
- box-shadow: inset 0 0 0 1px #cc1818;
- color: #cc1818;
- }
- .components-button.is-destructive.is-tertiary:focus:not(:disabled) {
- box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
- color: #cc1818;
- }
- .components-button.is-link {
- margin: 0;
- padding: 0;
- box-shadow: none;
- border: 0;
- border-radius: 0;
- background: none;
- outline: none;
- text-align: right;
- color: var(--wp-admin-theme-color);
- text-decoration: underline;
- transition-property: border, background, color;
- transition-duration: 0.05s;
- transition-timing-function: ease-in-out;
- height: auto;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-button.is-link {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-button.is-link:focus {
- border-radius: 2px;
- }
- .components-button.is-link.is-destructive {
- color: #cc1818;
- }
- .components-button.is-link.is-destructive:active:not(:disabled), .components-button.is-link.is-destructive:hover:not(:disabled) {
- color: #710d0d;
- background: none;
- }
- .components-button.is-link.is-destructive:focus:not(:disabled) {
- color: var(--wp-admin-theme-color);
- }
- .components-button:not([aria-disabled=true]):active {
- color: inherit;
- }
- .components-button:disabled, .components-button[aria-disabled=true] {
- cursor: default;
- opacity: 0.3;
- }
- .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] {
- animation: components-button__busy-animation 2500ms infinite linear;
- opacity: 1;
- background-size: 100px 100%;
- /* stylelint-disable */
- background-image: linear-gradient(45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
- /* stylelint-enable */
- }
- .components-button.is-small {
- height: 24px;
- line-height: 22px;
- padding: 0 8px;
- font-size: 11px;
- }
- .components-button.is-small.has-icon:not(.has-text) {
- padding: 0;
- width: 24px;
- min-width: 24px;
- }
- .components-button.has-icon {
- padding: 6px;
- min-width: 36px;
- justify-content: center;
- }
- .components-button.has-icon .dashicon {
- display: inline-block;
- flex: 0 0 auto;
- margin-right: 2px;
- margin-left: 2px;
- }
- .components-button.has-icon.has-text {
- justify-content: left;
- }
- .components-button.has-icon.has-text svg {
- margin-left: 8px;
- }
- .components-button.has-icon.has-text .dashicon {
- margin-left: 10px;
- }
- .components-button.is-pressed {
- color: #fff;
- background: #1e1e1e;
- }
- .components-button.is-pressed:focus:not(:disabled) {
- box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-button.is-pressed:hover:not(:disabled) {
- color: #fff;
- background: #1e1e1e;
- }
- .components-button svg {
- fill: currentColor;
- outline: none;
- }
- @media (forced-colors: active) {
- .components-button svg {
- fill: CanvasText;
- }
- }
- .components-button .components-visually-hidden {
- height: auto;
- }
- @keyframes components-button__busy-animation {
- 0% {
- background-position: 200px 0;
- }
- }
- .components-checkbox-control__input[type=checkbox] {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- border: 1px solid #1e1e1e;
- margin-left: 12px;
- transition: none;
- border-radius: 2px;
- background: #fff;
- color: #1e1e1e;
- clear: none;
- cursor: pointer;
- display: inline-block;
- line-height: 0;
- margin: 0 0 0 4px;
- outline: 0;
- padding: 0 !important;
- text-align: center;
- vertical-align: top;
- width: 24px;
- height: 24px;
- -webkit-appearance: none;
- appearance: none;
- transition: 0.1s border-color ease-in-out;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-checkbox-control__input[type=checkbox] {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-checkbox-control__input[type=checkbox] {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-checkbox-control__input[type=checkbox]:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-checkbox-control__input[type=checkbox]::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-checkbox-control__input[type=checkbox]:focus {
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-checkbox-control__input[type=checkbox]:checked {
- background: var(--wp-admin-theme-color);
- border-color: var(--wp-admin-theme-color);
- }
- .components-checkbox-control__input[type=checkbox]:checked::-ms-check {
- opacity: 0;
- }
- .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
- margin: -3px -5px;
- color: #fff;
- }
- @media (min-width: 782px) {
- .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
- margin: -4px -5px 0 0;
- }
- }
- .components-checkbox-control__input[type=checkbox][aria-checked=mixed] {
- background: var(--wp-admin-theme-color);
- border-color: var(--wp-admin-theme-color);
- }
- .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
- content: "";
- float: right;
- display: inline-block;
- vertical-align: middle;
- width: 16px;
- /* stylelint-disable */
- font: normal 30px/1 dashicons;
- /* stylelint-enable */
- speak: none;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- @media (min-width: 782px) {
- .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
- float: none;
- font-size: 21px;
- }
- }
- @media (min-width: 600px) {
- .components-checkbox-control__input[type=checkbox] {
- height: 20px;
- width: 20px;
- }
- }
- @media (prefers-reduced-motion: reduce) {
- .components-checkbox-control__input[type=checkbox] {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-checkbox-control__input[type=checkbox]:focus {
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-checkbox-control__input[type=checkbox]:checked, .components-checkbox-control__input[type=checkbox]:indeterminate {
- background: var(--wp-admin-theme-color);
- border-color: var(--wp-admin-theme-color);
- }
- .components-checkbox-control__input[type=checkbox]:checked::-ms-check, .components-checkbox-control__input[type=checkbox]:indeterminate::-ms-check {
- opacity: 0;
- }
- .components-checkbox-control__input[type=checkbox]:checked::before {
- content: none;
- }
- .components-checkbox-control__input-container {
- position: relative;
- display: inline-block;
- margin-left: 12px;
- vertical-align: middle;
- width: 24px;
- height: 24px;
- }
- @media (min-width: 600px) {
- .components-checkbox-control__input-container {
- width: 20px;
- height: 20px;
- }
- }
- svg.components-checkbox-control__checked,
- svg.components-checkbox-control__indeterminate {
- fill: #fff;
- cursor: pointer;
- position: absolute;
- right: 0;
- top: 0;
- width: 24px;
- height: 24px;
- -webkit-user-select: none;
- user-select: none;
- pointer-events: none;
- }
- @media (min-width: 600px) {
- svg.components-checkbox-control__checked,
- svg.components-checkbox-control__indeterminate {
- right: -2px;
- top: -2px;
- }
- }
- .components-circular-option-picker {
- display: inline-block;
- width: 100%;
- min-width: 188px;
- }
- .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {
- display: flex;
- justify-content: flex-end;
- margin-top: 12px;
- }
- .components-circular-option-picker .components-circular-option-picker__swatches {
- display: flex;
- flex-wrap: wrap;
- gap: 12px;
- }
- .components-circular-option-picker__option-wrapper {
- display: inline-block;
- height: 28px;
- width: 28px;
- vertical-align: top;
- transform: scale(1);
- transition: 100ms transform ease;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-circular-option-picker__option-wrapper {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-circular-option-picker__option-wrapper:hover {
- transform: scale(1.2);
- }
- .components-circular-option-picker__option-wrapper > div {
- height: 100%;
- width: 100%;
- }
- .components-circular-option-picker__option-wrapper::before {
- content: "";
- position: absolute;
- top: 1px;
- right: 1px;
- bottom: 1px;
- left: 1px;
- border-radius: 50%;
- z-index: -1;
- /* stylelint-disable-next-line function-url-quotes */
- 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');
- }
- .components-circular-option-picker__option {
- display: inline-block;
- vertical-align: top;
- height: 100%;
- width: 100%;
- border: none;
- border-radius: 50%;
- background: transparent;
- box-shadow: inset 0 0 0 14px;
- transition: 100ms box-shadow ease;
- cursor: pointer;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-circular-option-picker__option {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-circular-option-picker__option:hover {
- box-shadow: inset 0 0 0 14px !important;
- }
- .components-circular-option-picker__option.is-pressed {
- box-shadow: inset 0 0 0 4px;
- position: relative;
- z-index: 1;
- overflow: visible;
- }
- .components-circular-option-picker__option.is-pressed + svg {
- position: absolute;
- right: 2px;
- top: 2px;
- border-radius: 50%;
- z-index: 2;
- pointer-events: none;
- }
- .components-circular-option-picker__option::after {
- content: "";
- position: absolute;
- top: -1px;
- right: -1px;
- bottom: -1px;
- left: -1px;
- border-radius: 50%;
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
- border: 1px solid transparent;
- box-sizing: inherit;
- }
- .components-circular-option-picker__option:focus::after {
- content: "";
- border: 2px solid #757575;
- width: 32px;
- height: 32px;
- position: absolute;
- top: -2px;
- right: -2px;
- border-radius: 50%;
- box-shadow: inset 0 0 0 2px #fff;
- }
- .components-circular-option-picker__option.components-button:focus {
- background-color: transparent;
- box-shadow: inset 0 0 0 14px;
- outline: none;
- }
- .components-circular-option-picker__button-action .components-circular-option-picker__option {
- color: #fff;
- background: #fff;
- }
- .components-circular-option-picker__dropdown-link-action {
- margin-left: 16px;
- }
- .components-circular-option-picker__dropdown-link-action .components-button {
- line-height: 22px;
- }
- .components-palette-edit__popover-gradient-picker {
- width: 280px;
- padding: 8px;
- }
- .components-dropdown-menu__menu .components-palette-edit__menu-button {
- width: 100%;
- }
- .component-color-indicator {
- width: 20px;
- height: 20px;
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
- border-radius: 50%;
- display: inline-block;
- padding: 0;
- }
- .components-combobox-control {
- width: 100%;
- }
- input.components-combobox-control__input[type=text] {
- width: 100%;
- border: none;
- box-shadow: none;
- font-family: inherit;
- font-size: 16px;
- padding: 2px;
- margin: 0;
- line-height: inherit;
- min-height: auto;
- }
- @media (min-width: 600px) {
- input.components-combobox-control__input[type=text] {
- font-size: 13px;
- }
- }
- input.components-combobox-control__input[type=text]:focus {
- outline: none;
- box-shadow: none;
- }
- .components-combobox-control__suggestions-container {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- display: flex;
- flex-wrap: wrap;
- align-items: flex-start;
- width: 100%;
- padding: 0;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-combobox-control__suggestions-container {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-combobox-control__suggestions-container {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-combobox-control__suggestions-container:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-combobox-control__suggestions-container::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-combobox-control__suggestions-container::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-combobox-control__suggestions-container:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-combobox-control__suggestions-container:focus-within {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-combobox-control__reset.components-button {
- display: flex;
- height: 16px;
- min-width: 16px;
- padding: 0;
- }
- .components-color-list-picker,
- .components-color-list-picker__swatch-button {
- width: 100%;
- }
- .components-color-list-picker__color-picker {
- margin: 8px 0;
- }
- .components-color-list-picker__swatch-button {
- padding: 6px;
- }
- .components-color-list-picker__swatch-color {
- margin: 2px;
- }
- .components-color-palette__custom-color {
- position: relative;
- border: none;
- background: none;
- border-radius: 2px;
- height: 64px;
- padding: 12px;
- font-family: inherit;
- width: 100%;
- 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);
- background-position: 0 0, 25px 25px;
- background-size: calc(2 * 25px) calc(2 * 25px);
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
- outline: 1px solid transparent;
- }
- .components-color-palette__custom-color:focus {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- outline-width: 2px;
- }
- .components-color-palette__custom-color-name {
- text-align: right;
- }
- .components-color-palette__custom-color-value {
- margin-right: 16px;
- text-transform: uppercase;
- }
- .components-custom-gradient-picker:not(.is-next-has-no-margin) {
- margin-top: 12px;
- margin-bottom: 24px;
- }
- .components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
- opacity: 0.4;
- }
- .components-custom-gradient-picker__gradient-bar {
- border-radius: 2px;
- width: 100%;
- height: 48px;
- }
- .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container {
- position: relative;
- width: calc(100% - 48px);
- margin-right: auto;
- margin-left: auto;
- }
- .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown {
- position: absolute;
- height: 16px;
- width: 16px;
- top: 16px;
- display: flex;
- }
- .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown {
- position: relative;
- height: inherit;
- width: inherit;
- min-width: 16px;
- border-radius: 50%;
- background: #fff;
- padding: 2px;
- color: #1e1e1e;
- }
- .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg {
- height: 100%;
- width: 100%;
- }
- .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {
- height: inherit;
- width: inherit;
- border-radius: 50%;
- padding: 0;
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
- outline: 2px solid transparent;
- }
- .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 {
- 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);
- outline: 1.5px solid transparent;
- }
- .components-custom-gradient-picker__remove-control-point-wrapper {
- padding-bottom: 8px;
- }
- .components-custom-gradient-picker__inserter {
- direction: ltr;
- }
- .components-custom-gradient-picker__liner-gradient-indicator {
- display: inline-block;
- flex: 0 auto;
- width: 20px;
- height: 20px;
- }
- .components-custom-gradient-picker .components-custom-gradient-picker__toolbar {
- border: none;
- }
- .components-custom-gradient-picker .components-custom-gradient-picker__toolbar > div + div {
- margin-right: 1px;
- }
- .components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed > svg {
- background: #fff;
- border: 1px solid #949494;
- border-radius: 2px;
- }
- .components-custom-select-control {
- position: relative;
- font-size: 13px;
- }
- .components-custom-select-control__button {
- position: relative;
- text-align: right;
- outline: 0;
- }
- .components-custom-select-control__menu {
- border: 1px solid #1e1e1e;
- background-color: #fff;
- border-radius: 2px;
- outline: none;
- transition: none;
- max-height: 400px;
- min-width: 100%;
- overflow: auto;
- padding: 0;
- position: absolute;
- z-index: 1000000;
- }
- .components-custom-select-control__menu[aria-hidden=true] {
- display: none;
- }
- .components-custom-select-control__item {
- align-items: center;
- display: grid;
- grid-template-columns: auto auto;
- list-style-type: none;
- padding: 8px 16px;
- cursor: default;
- line-height: 28px;
- }
- .components-custom-select-control__item:not(.is-next-36px-default-size) {
- padding: 8px;
- }
- .components-custom-select-control__item.has-hint {
- grid-template-columns: auto auto 30px;
- }
- .components-custom-select-control__item.is-highlighted {
- background: #ddd;
- }
- .components-custom-select-control__item .components-custom-select-control__item-hint {
- color: #757575;
- text-align: left;
- padding-left: 4px;
- }
- .components-custom-select-control__item .components-custom-select-control__item-icon {
- margin-right: auto;
- }
- .components-custom-select-control__item:last-child {
- margin-bottom: 0;
- }
- .block-editor-dimension-control .components-base-control__field {
- display: flex;
- align-items: center;
- }
- .block-editor-dimension-control .components-base-control__label {
- display: flex;
- align-items: center;
- margin-left: 1em;
- margin-bottom: 0;
- }
- .block-editor-dimension-control .components-base-control__label .dashicon {
- margin-left: 0.5em;
- }
- .block-editor-dimension-control.is-manual .components-base-control__label {
- width: 10em;
- }
- body.is-dragging-components-draggable {
- cursor: move;
- /* Fallback for IE/Edge < 14 */
- cursor: grabbing !important;
- }
- .components-draggable__invisible-drag-image {
- position: fixed;
- right: -1000px;
- height: 50px;
- width: 50px;
- }
- .components-draggable__clone {
- position: fixed;
- padding: 0;
- background: transparent;
- pointer-events: none;
- z-index: 1000000000;
- }
- .components-drop-zone {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 40;
- visibility: hidden;
- opacity: 0;
- border-radius: 2px;
- }
- .components-drop-zone.is-active {
- opacity: 1;
- visibility: visible;
- }
- .components-drop-zone__content {
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- height: 100%;
- width: 100%;
- display: flex;
- background-color: var(--wp-admin-theme-color);
- align-items: center;
- justify-content: center;
- z-index: 50;
- text-align: center;
- color: #fff;
- }
- .components-drop-zone__content-icon,
- .components-drop-zone__content-text {
- display: block;
- }
- .components-drop-zone__content-icon {
- margin: 0 auto;
- line-height: 0;
- fill: currentColor;
- pointer-events: none;
- }
- .components-drop-zone__content-text {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- }
- .components-dropdown {
- display: inline-block;
- }
- .components-dropdown__content .components-popover__content {
- padding: 8px;
- }
- .components-dropdown__content [role=menuitem] {
- white-space: nowrap;
- }
- .components-dropdown-menu__menu {
- width: 100%;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- line-height: 1.4;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
- .components-dropdown-menu__menu .components-menu-item {
- width: 100%;
- padding: 6px;
- outline: none;
- cursor: pointer;
- white-space: nowrap;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
- .components-dropdown-menu__menu .components-menu-item.has-separator {
- margin-top: 6px;
- position: relative;
- overflow: visible;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before,
- .components-dropdown-menu__menu .components-menu-item.has-separator::before {
- display: block;
- content: "";
- box-sizing: content-box;
- background-color: #ddd;
- position: absolute;
- top: -3px;
- right: 0;
- left: 0;
- height: 1px;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,
- .components-dropdown-menu__menu .components-menu-item.is-active svg {
- color: #fff;
- background: #1e1e1e;
- box-shadow: 0 0 0 1px #1e1e1e;
- border-radius: 1px;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
- .components-dropdown-menu__menu .components-menu-item > svg {
- border-radius: 2px;
- width: 24px;
- height: 24px;
- }
- .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only,
- .components-dropdown-menu__menu .components-menu-item.is-icon-only {
- width: auto;
- }
- .components-dropdown-menu__menu .components-menu-item__button,
- .components-dropdown-menu__menu .components-menu-item__button.components-button {
- min-height: 36px;
- height: auto;
- text-align: right;
- padding-right: 8px;
- padding-left: 8px;
- }
- .components-dropdown-menu__menu .components-menu-group {
- padding: 8px;
- margin-top: 0;
- margin-bottom: 0;
- margin-right: -8px;
- margin-left: -8px;
- }
- .components-dropdown-menu__menu .components-menu-group:first-child {
- margin-top: -8px;
- }
- .components-dropdown-menu__menu .components-menu-group:last-child {
- margin-bottom: -8px;
- }
- .components-dropdown-menu__menu .components-menu-group + .components-menu-group {
- margin-top: 0;
- border-top: 1px solid #ccc;
- padding: 8px;
- }
- .is-alternate .components-dropdown-menu__menu .components-menu-group + .components-menu-group {
- border-color: #1e1e1e;
- }
- .components-duotone-picker__color-indicator::before {
- background: transparent;
- }
- .components-duotone-picker__color-indicator > .components-button {
- background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
- color: transparent;
- }
- .components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) {
- background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
- color: transparent;
- }
- .components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active {
- color: transparent;
- }
- .components-font-size-picker__header__hint {
- margin-right: 4px;
- color: #757575;
- }
- .components-font-size-picker__header .components-base-control__label {
- margin-bottom: 0;
- }
- .components-font-size-picker__header .components-button.is-small.has-icon:not(.has-text) {
- min-width: 24px;
- padding: 0;
- }
- .components-font-size-picker__controls {
- max-width: 248px;
- align-items: center;
- margin-top: 8px;
- }
- .components-font-size-picker__controls:not(.is-next-has-no-margin-bottom) {
- margin-bottom: 24px;
- }
- .components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label {
- font-weight: 300;
- padding-bottom: 0 !important;
- margin-bottom: 8px !important;
- }
- .components-font-size-picker__controls .components-font-size-picker__number {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- display: inline-block;
- font-weight: 500;
- height: 30px;
- margin-bottom: 0;
- margin-right: 0;
- margin-left: 8px;
- margin-top: 8px;
- width: 54px;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-font-size-picker__controls .components-font-size-picker__number {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-font-size-picker__controls .components-font-size-picker__number {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-font-size-picker__controls .components-font-size-picker__number:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-font-size-picker__controls .components-font-size-picker__number[value=""] + .components-button {
- cursor: default;
- opacity: 0.3;
- pointer-events: none;
- }
- .components-font-size-picker__controls .components-font-size-picker__number-container {
- display: flex;
- flex-direction: column;
- }
- .components-font-size-picker__controls .components-color-palette__clear {
- height: 30px;
- }
- .components-font-size-picker__custom-input .components-range-control__slider + .dashicon {
- width: 30px;
- height: 30px;
- }
- .components-font-size-picker {
- border: 0;
- padding: 0;
- margin: 0;
- }
- .components-form-toggle {
- position: relative;
- display: inline-block;
- }
- .components-form-toggle .components-form-toggle__track {
- content: "";
- display: inline-block;
- box-sizing: border-box;
- vertical-align: top;
- background-color: #fff;
- border: 1px solid #1e1e1e;
- width: 36px;
- height: 18px;
- border-radius: 9px;
- transition: 0.2s background ease;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-form-toggle .components-form-toggle__track {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-form-toggle .components-form-toggle__thumb {
- display: block;
- position: absolute;
- box-sizing: border-box;
- top: 3px;
- right: 3px;
- width: 12px;
- height: 12px;
- border-radius: 50%;
- transition: 0.1s transform ease;
- background-color: #1e1e1e;
- border: 5px solid #1e1e1e;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-form-toggle .components-form-toggle__thumb {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-form-toggle.is-checked .components-form-toggle__track {
- background-color: var(--wp-admin-theme-color);
- border: 1px solid var(--wp-admin-theme-color);
- border: 9px solid transparent;
- }
- .components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- outline-offset: 2px;
- }
- .components-form-toggle.is-checked .components-form-toggle__thumb {
- background-color: #fff;
- border-width: 0;
- transform: translateX(-18px);
- }
- .components-form-toggle.is-disabled, .components-disabled .components-form-toggle {
- opacity: 0.3;
- }
- .components-form-toggle input.components-form-toggle__input[type=checkbox] {
- position: absolute;
- top: 0;
- right: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- margin: 0;
- padding: 0;
- z-index: 1;
- border: none;
- }
- .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {
- background: none;
- }
- .components-form-toggle input.components-form-toggle__input[type=checkbox]::before {
- content: "";
- }
- .components-form-token-field__input-container {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- width: 100%;
- margin: 0 0 8px 0;
- padding: 0;
- cursor: text;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-form-token-field__input-container {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-form-token-field__input-container {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-form-token-field__input-container:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-form-token-field__input-container::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-form-token-field__input-container::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-form-token-field__input-container:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-form-token-field__input-container.is-disabled {
- background: #ddd;
- border-color: #ddd;
- }
- .components-form-token-field__input-container.is-active {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-form-token-field__input-container input[type=text].components-form-token-field__input {
- display: inline-block;
- flex: 1;
- font-family: inherit;
- font-size: 16px;
- width: 100%;
- max-width: 100%;
- margin-right: 4px;
- padding: 0;
- min-height: 24px;
- min-width: 50px;
- background: inherit;
- border: 0;
- color: #1e1e1e;
- box-shadow: none;
- }
- @media (min-width: 600px) {
- .components-form-token-field__input-container input[type=text].components-form-token-field__input {
- font-size: 13px;
- }
- }
- .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 {
- outline: none;
- box-shadow: none;
- }
- .components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input {
- width: auto;
- }
- .components-form-token-field__help {
- font-size: 12px;
- font-style: normal;
- color: #757575;
- }
- .components-form-token-field__token {
- font-size: 13px;
- display: flex;
- color: #1e1e1e;
- max-width: 100%;
- }
- .components-form-token-field__token.is-success .components-form-token-field__token-text,
- .components-form-token-field__token.is-success .components-form-token-field__remove-token {
- background: #4ab866;
- }
- .components-form-token-field__token.is-error .components-form-token-field__token-text,
- .components-form-token-field__token.is-error .components-form-token-field__remove-token {
- background: #cc1818;
- }
- .components-form-token-field__token.is-validating .components-form-token-field__token-text,
- .components-form-token-field__token.is-validating .components-form-token-field__remove-token {
- color: #757575;
- }
- .components-form-token-field__token.is-borderless {
- position: relative;
- padding: 0 0 0 24px;
- }
- .components-form-token-field__token.is-borderless .components-form-token-field__token-text {
- background: transparent;
- color: var(--wp-admin-theme-color);
- }
- .components-form-token-field__token.is-borderless .components-form-token-field__remove-token {
- background: transparent;
- color: #757575;
- position: absolute;
- top: 1px;
- left: 0;
- padding: 0;
- }
- .components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text {
- color: #4ab866;
- }
- .components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text {
- color: #cc1818;
- border-radius: 0 4px 4px 0;
- padding: 0 6px 0 4px;
- }
- .components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {
- color: #1e1e1e;
- }
- .components-form-token-field__token.is-disabled .components-form-token-field__remove-token {
- cursor: default;
- }
- .components-form-token-field__token-text,
- .components-form-token-field__remove-token.components-button {
- display: inline-block;
- line-height: 24px;
- height: auto;
- background: #ddd;
- min-width: unset;
- transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
- }
- @media (prefers-reduced-motion: reduce) {
- .components-form-token-field__token-text,
- .components-form-token-field__remove-token.components-button {
- transition-duration: 0s;
- transition-delay: 0s;
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-form-token-field__token-text {
- border-radius: 0 2px 2px 0;
- padding: 0 8px 0 0;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .components-form-token-field__remove-token.components-button {
- cursor: pointer;
- border-radius: 2px 0 0 2px;
- padding: 0 2px;
- color: #1e1e1e;
- line-height: 10px;
- overflow: initial;
- }
- .components-form-token-field__remove-token.components-button:hover {
- color: #1e1e1e;
- }
- .components-form-token-field__suggestions-list {
- flex: 1 0 100%;
- min-width: 100%;
- max-height: 9em;
- overflow-y: auto;
- transition: all 0.15s ease-in-out;
- list-style: none;
- border-top: 1px solid #757575;
- margin: 0;
- padding: 0;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-form-token-field__suggestions-list {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-form-token-field__suggestion {
- color: #757575;
- display: block;
- font-size: 13px;
- padding: 4px 8px;
- margin: 0;
- cursor: pointer;
- }
- .components-form-token-field__suggestion.is-selected {
- background: var(--wp-admin-theme-color);
- color: #fff;
- }
- .components-form-token-field__suggestion-match {
- text-decoration: underline;
- }
- @media (min-width: 600px) {
- .components-guide {
- width: 600px;
- }
- }
- .components-guide .components-modal__content {
- padding: 0;
- margin-top: 0;
- border-radius: 2px;
- }
- .components-guide .components-modal__content::before {
- content: none;
- }
- .components-guide .components-modal__header {
- border-bottom: none;
- padding: 0;
- position: sticky;
- height: 60px;
- }
- .components-guide .components-modal__header .components-button {
- align-self: flex-start;
- margin: 8px 0 0 8px;
- position: static;
- }
- .components-guide .components-modal__header .components-button:hover svg {
- fill: #fff;
- }
- .components-guide__container {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- margin-top: -60px;
- min-height: 100%;
- }
- .components-guide__page {
- display: flex;
- flex-direction: column;
- justify-content: center;
- position: relative;
- }
- @media (min-width: 600px) {
- .components-guide__page {
- min-height: 300px;
- }
- }
- .components-guide__footer {
- align-content: center;
- display: flex;
- height: 30px;
- justify-content: center;
- margin: 0 0 24px 0;
- padding: 0 32px;
- position: relative;
- width: 100%;
- }
- .components-guide__page-control {
- margin: 0;
- text-align: center;
- }
- .components-guide__page-control li {
- display: inline-block;
- margin: 0;
- }
- .components-guide__page-control .components-button {
- height: 30px;
- min-width: 20px;
- margin: -6px 0;
- }
- .components-modal__frame.components-guide {
- border: none;
- min-width: 312px;
- height: 80vh;
- max-height: 575px;
- }
- @media (max-width: 600px) {
- .components-modal__frame.components-guide {
- margin: auto;
- max-width: calc(100vw - 16px * 2);
- }
- }
- .components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {
- height: 30px;
- position: absolute;
- }
- .components-button.components-guide__back-button, .components-button.components-guide__forward-button {
- font-size: 13px;
- padding: 4px 2px;
- }
- .components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {
- margin: 0;
- }
- .components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {
- text-decoration: underline;
- }
- .components-button.components-guide__back-button {
- right: 32px;
- }
- .components-button.components-guide__forward-button {
- left: 32px;
- color: #1386bf;
- font-weight: bold;
- }
- .components-button.components-guide__finish-button {
- left: 32px;
- }
- [role=region] {
- position: relative;
- }
- .is-focusing-regions [role=region]:focus::after {
- content: "";
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- pointer-events: none;
- outline: 4px solid transparent;
- box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color);
- }
- @supports (outline-offset: 1px) {
- .is-focusing-regions [role=region]:focus::after {
- content: none;
- }
- .is-focusing-regions [role=region]:focus {
- outline-style: solid;
- outline-color: var(--wp-admin-theme-color);
- outline-width: 4px;
- outline-offset: -4px;
- }
- }
- .components-menu-group + .components-menu-group {
- margin-top: 8px;
- padding-top: 8px;
- border-top: 1px solid #1e1e1e;
- }
- .components-menu-group + .components-menu-group.has-hidden-separator {
- border-top: none;
- margin-top: 0;
- padding-top: 0;
- }
- .components-menu-group__label {
- padding: 0 8px;
- margin-top: 4px;
- margin-bottom: 12px;
- color: #757575;
- text-transform: uppercase;
- font-size: 11px;
- font-weight: 500;
- white-space: nowrap;
- }
- .components-menu-item__button,
- .components-menu-item__button.components-button {
- width: 100%;
- }
- .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
- .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
- .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
- padding-left: 48px;
- }
- .components-menu-item__button .components-menu-items__item-icon,
- .components-menu-item__button.components-button .components-menu-items__item-icon {
- display: inline-block;
- flex: 0 0 auto;
- }
- .components-menu-item__button .components-menu-items__item-icon.has-icon-right,
- .components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right {
- margin-left: -2px;
- margin-right: 24px;
- }
- .components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right,
- .components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right {
- margin-right: 8px;
- }
- .components-menu-item__button .block-editor-block-icon,
- .components-menu-item__button.components-button .block-editor-block-icon {
- margin-right: -2px;
- margin-left: 8px;
- }
- .components-menu-item__button.is-primary,
- .components-menu-item__button.components-button.is-primary {
- justify-content: center;
- }
- .components-menu-item__button.is-primary .components-menu-item__item,
- .components-menu-item__button.components-button.is-primary .components-menu-item__item {
- margin-left: 0;
- }
- .components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary,
- .components-menu-item__button.components-button:disabled.is-tertiary,
- .components-menu-item__button.components-button[aria-disabled=true].is-tertiary {
- background: none;
- color: var(--wp-admin-theme-color-darker-10);
- opacity: 0.3;
- }
- .components-menu-item__info-wrapper {
- display: flex;
- flex-direction: column;
- margin-left: auto;
- }
- .components-menu-item__info {
- margin-top: 4px;
- font-size: 12px;
- color: #757575;
- white-space: normal;
- }
- .components-menu-item__item {
- white-space: nowrap;
- min-width: 160px;
- margin-left: auto;
- display: inline-flex;
- align-items: center;
- }
- .components-menu-item__shortcut {
- align-self: center;
- margin-left: 0;
- margin-right: auto;
- padding-right: 24px;
- color: currentColor;
- display: none;
- }
- @media (min-width: 480px) {
- .components-menu-item__shortcut {
- display: inline;
- }
- }
- .components-menu-items-choice svg,
- .components-menu-items-choice.components-button svg {
- margin-left: 12px;
- }
- .components-menu-items-choice.has-icon,
- .components-menu-items-choice.components-button.has-icon {
- padding-right: 12px;
- }
- .components-modal__screen-overlay {
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- background-color: rgba(0, 0, 0, 0.35);
- z-index: 100000;
- display: flex;
- animation: edit-post__fade-in-animation 0.2s ease-out 0s;
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-modal__screen-overlay {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-modal__frame {
- margin: 0;
- width: 100%;
- background: #fff;
- box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
- border-radius: 2px;
- overflow: hidden;
- display: flex;
- }
- @media (min-width: 600px) {
- .components-modal__frame {
- margin: auto;
- width: auto;
- min-width: 360px;
- max-width: calc(100% - 32px);
- max-height: calc(100% - 120px);
- animation: components-modal__appear-animation 0.1s ease-out;
- animation-fill-mode: forwards;
- }
- }
- @media (min-width: 600px) and (prefers-reduced-motion: reduce) {
- .components-modal__frame {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-modal__frame.is-full-screen {
- width: 90vw;
- min-height: 90vh;
- }
- }
- @media (min-width: 960px) {
- .components-modal__frame {
- max-height: 70%;
- }
- }
- @keyframes components-modal__appear-animation {
- from {
- transform: translateY(32px);
- }
- to {
- transform: translateY(0);
- }
- }
- .components-modal__header {
- box-sizing: border-box;
- border-bottom: 1px solid transparent;
- padding: 0 32px;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- height: 76px;
- width: 100%;
- z-index: 10;
- position: absolute;
- top: 0;
- right: 0;
- }
- .components-modal__header .components-modal__header-heading {
- font-size: 1.2rem;
- font-weight: 600;
- }
- .components-modal__header h1 {
- line-height: 1;
- margin: 0;
- }
- .components-modal__header .components-button {
- position: relative;
- right: 8px;
- }
- .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {
- border-bottom-color: #ddd;
- }
- .components-modal__header + p {
- margin-top: 0;
- }
- .components-modal__header-heading-container {
- align-items: center;
- flex-grow: 1;
- display: flex;
- flex-direction: row;
- justify-content: left;
- }
- .components-modal__header-icon-container {
- display: inline-block;
- }
- .components-modal__header-icon-container svg {
- max-width: 36px;
- max-height: 36px;
- padding: 8px;
- }
- .components-modal__content {
- flex: 1;
- margin-top: 76px;
- padding: 0 32px 32px;
- overflow: auto;
- }
- .components-modal__content.hide-header {
- margin-top: 0;
- padding-top: 24px;
- }
- .components-notice {
- display: flex;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- background-color: #fff;
- border-right: 4px solid var(--wp-admin-theme-color);
- margin: 5px 15px 2px;
- padding: 8px 12px;
- align-items: center;
- }
- .components-notice.is-dismissible {
- padding-left: 36px;
- position: relative;
- }
- .components-notice.is-success {
- border-right-color: #4ab866;
- background-color: #eff9f1;
- }
- .components-notice.is-warning {
- border-right-color: #f0b849;
- background-color: #fef8ee;
- }
- .components-notice.is-error {
- border-right-color: #cc1818;
- background-color: #f4a2a2;
- }
- .components-notice__content {
- flex-grow: 1;
- margin: 4px 0 4px 25px;
- }
- .components-notice__actions {
- display: flex;
- flex-wrap: wrap;
- }
- .components-notice__action.components-button {
- margin-left: 8px;
- }
- .components-notice__action.components-button, .components-notice__action.components-button.is-link {
- margin-right: 12px;
- }
- .components-notice__action.components-button.is-secondary {
- vertical-align: initial;
- }
- .components-notice__dismiss {
- color: #757575;
- align-self: flex-start;
- flex-shrink: 0;
- }
- .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 {
- color: #1e1e1e;
- background-color: transparent;
- }
- .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
- box-shadow: none;
- }
- .components-notice-list {
- max-width: 100vw;
- box-sizing: border-box;
- }
- .components-notice-list .components-notice__content {
- margin-top: 12px;
- margin-bottom: 12px;
- line-height: 2;
- }
- .components-notice-list .components-notice__action.components-button {
- display: block;
- margin-right: 0;
- margin-top: 8px;
- }
- .components-panel {
- background: #fff;
- border: 1px solid #e0e0e0;
- }
- .components-panel > .components-panel__header:first-child,
- .components-panel > .components-panel__body:first-child {
- margin-top: -1px;
- }
- .components-panel > .components-panel__header:last-child,
- .components-panel > .components-panel__body:last-child {
- border-bottom-width: 0;
- }
- .components-panel + .components-panel {
- margin-top: -1px;
- }
- .components-panel__body {
- border-top: 1px solid #e0e0e0;
- border-bottom: 1px solid #e0e0e0;
- }
- .components-panel__body h3 {
- margin: 0 0 0.5em;
- }
- .components-panel__body.is-opened {
- padding: 16px;
- }
- .components-panel__header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 16px;
- border-bottom: 1px solid #ddd;
- box-sizing: content-box;
- height: 47px;
- }
- .components-panel__header h2 {
- margin: 0;
- font-size: inherit;
- color: inherit;
- }
- .components-panel__body + .components-panel__body,
- .components-panel__body + .components-panel__header,
- .components-panel__header + .components-panel__body,
- .components-panel__header + .components-panel__header {
- margin-top: -1px;
- }
- .components-panel__body > .components-panel__body-title {
- display: block;
- padding: 0;
- font-size: inherit;
- margin-top: 0;
- margin-bottom: 0;
- transition: 0.1s background ease-in-out;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-panel__body > .components-panel__body-title {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-panel__body.is-opened > .components-panel__body-title {
- margin: -16px;
- margin-bottom: 5px;
- }
- .components-panel__body > .components-panel__body-title:hover {
- background: #f0f0f0;
- border: none;
- }
- .components-panel__body-toggle.components-button {
- position: relative;
- padding: 16px 16px 16px 48px;
- outline: none;
- width: 100%;
- font-weight: 500;
- text-align: right;
- color: #1e1e1e;
- border: none;
- box-shadow: none;
- transition: 0.1s background ease-in-out;
- height: auto;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-panel__body-toggle.components-button {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-panel__body-toggle.components-button:focus {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- border-radius: 0;
- }
- .components-panel__body-toggle.components-button .components-panel__arrow {
- position: absolute;
- left: 16px;
- top: 50%;
- transform: translateY(-50%);
- color: #1e1e1e;
- fill: currentColor;
- transition: 0.1s color ease-in-out;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-panel__body-toggle.components-button .components-panel__arrow {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
- transform: scaleX(-1);
- -ms-filter: fliph;
- filter: FlipH;
- margin-top: -10px;
- }
- .components-panel__icon {
- color: #757575;
- margin: -2px 6px -2px 0;
- }
- .components-panel__body-toggle-icon {
- margin-left: -5px;
- }
- .components-panel__color-title {
- float: right;
- height: 19px;
- }
- .components-panel__row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 8px;
- min-height: 36px;
- }
- .components-panel__row select {
- min-width: 0;
- }
- .components-panel__row label {
- margin-left: 12px;
- flex-shrink: 0;
- max-width: 75%;
- }
- .components-panel__row:empty, .components-panel__row:first-of-type {
- margin-top: 0;
- }
- .components-panel .circle-picker {
- padding-bottom: 20px;
- }
- .components-placeholder.components-placeholder {
- box-sizing: border-box;
- position: relative;
- padding: 1em;
- min-height: 200px;
- width: 100%;
- text-align: right;
- margin: 0;
- color: #1e1e1e;
- -moz-font-smoothing: subpixel-antialiased;
- -webkit-font-smoothing: subpixel-antialiased;
- border-radius: 2px;
- background-color: #fff;
- box-shadow: inset 0 0 0 1px #1e1e1e;
- outline: 1px solid transparent;
- }
- @supports (position: sticky) {
- .components-placeholder.components-placeholder {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: flex-start;
- }
- }
- .components-placeholder__error,
- .components-placeholder__instructions,
- .components-placeholder__label,
- .components-placeholder__fieldset {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- }
- .components-placeholder__label {
- display: flex;
- font-weight: 600;
- margin-bottom: 16px;
- align-items: center;
- }
- .components-placeholder__label > svg,
- .components-placeholder__label .dashicon,
- .components-placeholder__label .block-editor-block-icon {
- margin-left: 1ch;
- fill: currentColor;
- }
- @media (forced-colors: active) {
- .components-placeholder__label > svg,
- .components-placeholder__label .dashicon,
- .components-placeholder__label .block-editor-block-icon {
- fill: CanvasText;
- }
- }
- .components-placeholder__label:empty {
- display: none;
- }
- .components-placeholder__fieldset,
- .components-placeholder__fieldset form {
- display: flex;
- flex-direction: row;
- width: 100%;
- flex-wrap: wrap;
- }
- .components-placeholder__fieldset p,
- .components-placeholder__fieldset form p {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- }
- .components-placeholder__fieldset.components-placeholder__fieldset {
- border: none;
- padding: 0;
- }
- .components-placeholder__fieldset.components-placeholder__fieldset .components-placeholder__instructions {
- padding: 0;
- font-weight: normal;
- font-size: 1em;
- }
- .components-placeholder__fieldset.is-column-layout,
- .components-placeholder__fieldset.is-column-layout form {
- flex-direction: column;
- }
- .components-placeholder__input[type=url] {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- margin: 0 0 0 8px;
- flex: 1 1 auto;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-placeholder__input[type=url] {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-placeholder__input[type=url] {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-placeholder__input[type=url]:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-placeholder__input[type=url]::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-placeholder__input[type=url]::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-placeholder__input[type=url]:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-placeholder__instructions {
- margin-bottom: 1em;
- }
- .components-placeholder__error {
- margin-top: 1em;
- width: 100%;
- }
- .components-placeholder__fieldset .components-button {
- margin-left: 12px;
- margin-bottom: 12px;
- }
- .components-placeholder__fieldset .components-button:last-child {
- margin-bottom: 0;
- margin-left: 0;
- }
- .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link {
- margin-right: 10px;
- margin-left: 10px;
- }
- .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child {
- margin-left: 0;
- }
- .components-placeholder.is-large .components-placeholder__label {
- font-size: 18pt;
- font-weight: normal;
- }
- .components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions {
- display: none;
- }
- .components-placeholder.is-medium .components-placeholder__fieldset,
- .components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset,
- .components-placeholder.is-small .components-placeholder__fieldset form {
- flex-direction: column;
- }
- .components-placeholder.is-medium .components-placeholder__fieldset .components-button, .components-placeholder.is-small .components-placeholder__fieldset .components-button {
- margin-left: auto;
- }
- .components-placeholder.is-small .components-button {
- padding: 0 8px 2px;
- }
- /**
- * Dashed style placeholders
- */
- .components-placeholder.has-illustration {
- color: inherit;
- display: flex;
- box-shadow: none;
- min-width: 100px;
- -webkit-backdrop-filter: blur(100px);
- backdrop-filter: blur(100px);
- background-color: rgba(255, 255, 255, 0.1);
- border: 1px dashed currentColor;
- border-radius: 2px;
- overflow: hidden;
- }
- .is-dark-theme .components-placeholder.has-illustration {
- background-color: rgba(0, 0, 0, 0.1);
- }
- .components-placeholder.has-illustration .components-placeholder__fieldset {
- width: auto;
- margin-right: 0;
- margin-left: 0;
- }
- .components-placeholder.has-illustration .components-placeholder__label,
- .components-placeholder.has-illustration .components-placeholder__instructions,
- .components-placeholder.has-illustration .components-button {
- opacity: 0;
- transition: opacity 0.1s linear;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-placeholder.has-illustration .components-placeholder__label,
- .components-placeholder.has-illustration .components-placeholder__instructions,
- .components-placeholder.has-illustration .components-button {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .is-selected > .components-placeholder.has-illustration .components-placeholder__label,
- .is-selected > .components-placeholder.has-illustration .components-placeholder__instructions,
- .is-selected > .components-placeholder.has-illustration .components-button {
- opacity: 1;
- }
- .components-placeholder__preview {
- display: flex;
- justify-content: center;
- }
- .components-placeholder__illustration {
- box-sizing: content-box;
- position: absolute;
- top: 50%;
- right: 50%;
- transform: translate(50%, -50%);
- width: 100%;
- height: 100%;
- stroke: currentColor;
- stroke-dasharray: 3;
- }
- .components-popover {
- z-index: 1000000;
- }
- .components-popover.is-expanded {
- position: fixed;
- top: 0;
- right: 0;
- left: 0;
- bottom: 0;
- z-index: 1000000 !important;
- }
- .components-popover__content {
- background: #fff;
- outline: 1px solid #ccc;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
- border-radius: 2px;
- box-sizing: border-box;
- width: min-content;
- }
- .is-alternate .components-popover__content {
- outline: 1px solid #1e1e1e;
- box-shadow: none;
- }
- .components-popover.is-expanded .components-popover__content {
- position: static;
- height: calc(100% - 48px);
- overflow-y: visible;
- width: auto;
- border: none;
- outline: none;
- border-top: 1px solid #1e1e1e;
- }
- .components-popover__header {
- align-items: center;
- background: #fff;
- display: flex;
- height: 48px;
- justify-content: space-between;
- padding: 0 16px 0 8px;
- }
- .components-popover__header-title {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 100%;
- }
- .components-popover__close.components-button {
- z-index: 5;
- }
- .components-popover__arrow {
- position: absolute;
- width: 14px;
- height: 14px;
- pointer-events: none;
- display: flex;
- }
- .components-popover__arrow::before {
- content: "";
- position: absolute;
- top: -1px;
- right: 1px;
- height: 2px;
- left: 1px;
- background-color: #fff;
- }
- .components-popover__arrow.is-top {
- bottom: -14px !important;
- transform: rotate(0);
- }
- .components-popover__arrow.is-right {
- left: -14px !important;
- transform: rotate(90deg);
- }
- .components-popover__arrow.is-bottom {
- top: -14px !important;
- transform: rotate(180deg);
- }
- .components-popover__arrow.is-left {
- /*rtl:begin:ignore*/
- right: -14px !important;
- transform: rotate(-90deg);
- }
- .components-popover__triangle {
- display: block;
- flex: 1;
- }
- .components-popover__triangle-bg {
- fill: #fff;
- }
- .components-popover__triangle-border {
- fill: transparent;
- stroke-width: 1px;
- stroke: #ccc;
- }
- .is-alternate .components-popover__triangle-border {
- stroke: #1e1e1e;
- }
- .components-radio-control__input[type=radio] {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- border: 1px solid #1e1e1e;
- margin-left: 12px;
- transition: none;
- border-radius: 50%;
- width: 24px;
- height: 24px;
- margin-top: 0;
- margin-left: 6px;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-radio-control__input[type=radio] {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-radio-control__input[type=radio] {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-radio-control__input[type=radio]:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-radio-control__input[type=radio]::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-radio-control__input[type=radio]::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-radio-control__input[type=radio]:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- @media (min-width: 600px) {
- .components-radio-control__input[type=radio] {
- height: 20px;
- width: 20px;
- }
- }
- .components-radio-control__input[type=radio]:checked::before {
- box-sizing: inherit;
- width: 8px;
- height: 8px;
- transform: translate(-7px, 7px);
- margin: 0;
- background-color: #fff;
- border: 4px solid #fff;
- }
- @media (min-width: 600px) {
- .components-radio-control__input[type=radio]:checked::before {
- transform: translate(-5px, 5px);
- }
- }
- .components-radio-control__input[type=radio]:focus {
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-radio-control__input[type=radio]:checked {
- background: var(--wp-admin-theme-color);
- border-color: var(--wp-admin-theme-color);
- }
- .components-resizable-box__handle {
- display: none;
- width: 23px;
- height: 23px;
- z-index: 2;
- }
- .components-resizable-box__container.has-show-handle .components-resizable-box__handle {
- display: block;
- }
- .components-resizable-box__container > img {
- width: inherit;
- }
- .components-resizable-box__handle::after {
- display: block;
- content: "";
- width: 15px;
- height: 15px;
- border-radius: 50%;
- background: #fff;
- cursor: inherit;
- position: absolute;
- top: calc(50% - 8px);
- left: calc(50% - 8px);
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-resizable-box__side-handle::before {
- display: block;
- border-radius: 2px;
- content: "";
- width: 3px;
- height: 3px;
- background: var(--wp-admin-theme-color);
- cursor: inherit;
- position: absolute;
- top: calc(50% - 1px);
- left: calc(50% - 1px);
- transition: transform 0.1s ease-in;
- opacity: 0;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-resizable-box__side-handle::before {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- .components-resizable-box__side-handle {
- z-index: 2;
- }
- .components-resizable-box__corner-handle {
- z-index: 2;
- }
- .components-resizable-box__side-handle.components-resizable-box__handle-top,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom,
- .components-resizable-box__side-handle.components-resizable-box__handle-top::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom::before {
- width: 100%;
- right: 0;
- border-right: 0;
- border-left: 0;
- }
- .components-resizable-box__side-handle.components-resizable-box__handle-left,
- .components-resizable-box__side-handle.components-resizable-box__handle-right,
- .components-resizable-box__side-handle.components-resizable-box__handle-left::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right::before {
- height: 100%;
- top: 0;
- border-top: 0;
- border-bottom: 0;
- }
- .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
- animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
- animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- /* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.
- See https://bugs.webkit.org/show_bug.cgi?id=187903. */
- @media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {
- @supports (-webkit-appearance: none) {
- .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
- animation: none;
- }
- .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
- .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
- animation: none;
- }
- }
- }
- @keyframes components-resizable-box__top-bottom-animation {
- from {
- transform: scaleX(0);
- opacity: 0;
- }
- to {
- transform: scaleX(1);
- opacity: 1;
- }
- }
- @keyframes components-resizable-box__left-right-animation {
- from {
- transform: scaleY(0);
- opacity: 0;
- }
- to {
- transform: scaleY(1);
- opacity: 1;
- }
- }
- .components-resizable-box__handle-right {
- right: calc(11.5px * -1);
- }
- .components-resizable-box__handle-left {
- left: calc(11.5px * -1);
- }
- .components-resizable-box__handle-top {
- top: calc(11.5px * -1);
- }
- .components-resizable-box__handle-bottom {
- bottom: calc(11.5px * -1);
- }
- .components-responsive-wrapper {
- position: relative;
- max-width: 100%;
- }
- .components-responsive-wrapper, .components-responsive-wrapper > span {
- display: block;
- }
- .components-responsive-wrapper__content {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- width: 100%;
- height: 100%;
- margin: auto;
- }
- .components-sandbox {
- overflow: hidden;
- }
- iframe.components-sandbox {
- width: 100%;
- }
- html.lockscroll,
- body.lockscroll {
- overflow: hidden;
- }
- .components-search-control {
- position: relative;
- }
- .components-search-control input[type=search].components-search-control__input {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- display: block;
- padding: 16px 16px 16px 48px;
- background: #f0f0f0;
- border: none;
- width: 100%;
- height: 48px;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-search-control input[type=search].components-search-control__input {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-search-control input[type=search].components-search-control__input {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-search-control input[type=search].components-search-control__input:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-search-control input[type=search].components-search-control__input::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-search-control input[type=search].components-search-control__input::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-search-control input[type=search].components-search-control__input:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- @media (min-width: 600px) {
- .components-search-control input[type=search].components-search-control__input {
- font-size: 13px;
- }
- }
- .components-search-control input[type=search].components-search-control__input:focus {
- background: #fff;
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- .components-search-control input[type=search].components-search-control__input::placeholder {
- color: #757575;
- }
- .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 {
- -webkit-appearance: none;
- }
- .components-search-control__icon {
- position: absolute;
- top: 0;
- left: 12px;
- bottom: 0;
- display: flex;
- align-items: center;
- }
- .components-search-control__icon > svg {
- margin: 8px 0;
- }
- .components-search-control__input-wrapper {
- position: relative;
- }
- .components-select-control__input {
- background: #fff;
- height: 36px;
- line-height: 36px;
- margin: 1px;
- outline: 0;
- width: 100%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
- }
- @media (min-width: 782px) {
- .components-select-control__input {
- height: 28px;
- line-height: 28px;
- }
- }
- @media (max-width: 782px) {
- .components-base-control .components-base-control__field .components-select-control__input {
- font-size: 16px;
- }
- }
- .components-snackbar {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- background-color: #1e1e1e;
- border-radius: 2px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
- color: #fff;
- padding: 16px 24px;
- width: 100%;
- max-width: 600px;
- box-sizing: border-box;
- cursor: pointer;
- pointer-events: auto;
- }
- @media (min-width: 600px) {
- .components-snackbar {
- width: -moz-fit-content;
- width: fit-content;
- }
- }
- .components-snackbar:focus {
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
- }
- .components-snackbar.components-snackbar-explicit-dismiss {
- cursor: default;
- }
- .components-snackbar .components-snackbar__content-with-icon {
- margin-right: 24px;
- }
- .components-snackbar .components-snackbar__icon {
- position: absolute;
- top: 24px;
- right: 28px;
- }
- .components-snackbar .components-snackbar__dismiss-button {
- margin-right: 32px;
- cursor: pointer;
- }
- .components-snackbar__action.components-button {
- margin-right: 32px;
- color: #fff;
- height: auto;
- flex-shrink: 0;
- line-height: 1.4;
- padding: 0;
- }
- .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) {
- text-decoration: underline;
- background-color: transparent;
- }
- .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus {
- color: #fff;
- box-shadow: none;
- outline: 1px dotted #fff;
- }
- .components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
- color: var(--wp-admin-theme-color);
- }
- .components-snackbar__content {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- line-height: 1.4;
- }
- .components-snackbar-list {
- position: absolute;
- z-index: 100000;
- width: 100%;
- box-sizing: border-box;
- pointer-events: none;
- }
- .components-snackbar-list__notice-container {
- position: relative;
- padding-top: 8px;
- }
- .components-tab-panel__tabs {
- display: flex;
- align-items: stretch;
- flex-direction: row;
- }
- .components-tab-panel__tabs[aria-orientation=vertical] {
- flex-direction: column;
- }
- .components-tab-panel__tabs-item {
- background: transparent;
- border: none;
- box-shadow: none;
- border-radius: 0;
- cursor: pointer;
- height: 48px;
- padding: 3px 16px;
- margin-right: 0;
- font-weight: 500;
- transition: box-shadow 0.1s linear;
- box-sizing: border-box;
- }
- .components-tab-panel__tabs-item::after {
- content: attr(data-label);
- display: block;
- height: 0;
- overflow: hidden;
- speak: none;
- visibility: hidden;
- }
- .components-tab-panel__tabs-item:focus:not(:disabled) {
- box-shadow: inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- .components-tab-panel__tabs-item.is-active {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -1.5px 0 0 var(--wp-admin-theme-color);
- position: relative;
- }
- .components-tab-panel__tabs-item.is-active::before {
- content: "";
- position: absolute;
- top: 0;
- bottom: 1px;
- left: 0;
- right: 0;
- border-bottom: 1.5px solid transparent;
- }
- .components-tab-panel__tabs-item:focus {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
- }
- .components-tab-panel__tabs-item.is-active:focus {
- 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);
- }
- .components-text-control__input,
- .components-text-control__input[type=text],
- .components-text-control__input[type=tel],
- .components-text-control__input[type=time],
- .components-text-control__input[type=url],
- .components-text-control__input[type=week],
- .components-text-control__input[type=password],
- .components-text-control__input[type=color],
- .components-text-control__input[type=date],
- .components-text-control__input[type=datetime],
- .components-text-control__input[type=datetime-local],
- .components-text-control__input[type=email],
- .components-text-control__input[type=month],
- .components-text-control__input[type=number] {
- width: 100%;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- padding: 6px 8px;
- box-shadow: 0 0 0 transparent;
- transition: box-shadow 0.1s linear;
- border-radius: 2px;
- border: 1px solid #757575;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-text-control__input,
- .components-text-control__input[type=text],
- .components-text-control__input[type=tel],
- .components-text-control__input[type=time],
- .components-text-control__input[type=url],
- .components-text-control__input[type=week],
- .components-text-control__input[type=password],
- .components-text-control__input[type=color],
- .components-text-control__input[type=date],
- .components-text-control__input[type=datetime],
- .components-text-control__input[type=datetime-local],
- .components-text-control__input[type=email],
- .components-text-control__input[type=month],
- .components-text-control__input[type=number] {
- transition-duration: 0s;
- transition-delay: 0s;
- }
- }
- @media (min-width: 600px) {
- .components-text-control__input,
- .components-text-control__input[type=text],
- .components-text-control__input[type=tel],
- .components-text-control__input[type=time],
- .components-text-control__input[type=url],
- .components-text-control__input[type=week],
- .components-text-control__input[type=password],
- .components-text-control__input[type=color],
- .components-text-control__input[type=date],
- .components-text-control__input[type=datetime],
- .components-text-control__input[type=datetime-local],
- .components-text-control__input[type=email],
- .components-text-control__input[type=month],
- .components-text-control__input[type=number] {
- font-size: 13px;
- /* Override core line-height. To be reviewed. */
- line-height: normal;
- }
- }
- .components-text-control__input:focus,
- .components-text-control__input[type=text]:focus,
- .components-text-control__input[type=tel]:focus,
- .components-text-control__input[type=time]:focus,
- .components-text-control__input[type=url]:focus,
- .components-text-control__input[type=week]:focus,
- .components-text-control__input[type=password]:focus,
- .components-text-control__input[type=color]:focus,
- .components-text-control__input[type=date]:focus,
- .components-text-control__input[type=datetime]:focus,
- .components-text-control__input[type=datetime-local]:focus,
- .components-text-control__input[type=email]:focus,
- .components-text-control__input[type=month]:focus,
- .components-text-control__input[type=number]:focus {
- border-color: var(--wp-admin-theme-color);
- box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
- outline: 2px solid transparent;
- }
- .components-text-control__input::-webkit-input-placeholder,
- .components-text-control__input[type=text]::-webkit-input-placeholder,
- .components-text-control__input[type=tel]::-webkit-input-placeholder,
- .components-text-control__input[type=time]::-webkit-input-placeholder,
- .components-text-control__input[type=url]::-webkit-input-placeholder,
- .components-text-control__input[type=week]::-webkit-input-placeholder,
- .components-text-control__input[type=password]::-webkit-input-placeholder,
- .components-text-control__input[type=color]::-webkit-input-placeholder,
- .components-text-control__input[type=date]::-webkit-input-placeholder,
- .components-text-control__input[type=datetime]::-webkit-input-placeholder,
- .components-text-control__input[type=datetime-local]::-webkit-input-placeholder,
- .components-text-control__input[type=email]::-webkit-input-placeholder,
- .components-text-control__input[type=month]::-webkit-input-placeholder,
- .components-text-control__input[type=number]::-webkit-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-text-control__input::-moz-placeholder,
- .components-text-control__input[type=text]::-moz-placeholder,
- .components-text-control__input[type=tel]::-moz-placeholder,
- .components-text-control__input[type=time]::-moz-placeholder,
- .components-text-control__input[type=url]::-moz-placeholder,
- .components-text-control__input[type=week]::-moz-placeholder,
- .components-text-control__input[type=password]::-moz-placeholder,
- .components-text-control__input[type=color]::-moz-placeholder,
- .components-text-control__input[type=date]::-moz-placeholder,
- .components-text-control__input[type=datetime]::-moz-placeholder,
- .components-text-control__input[type=datetime-local]::-moz-placeholder,
- .components-text-control__input[type=email]::-moz-placeholder,
- .components-text-control__input[type=month]::-moz-placeholder,
- .components-text-control__input[type=number]::-moz-placeholder {
- opacity: 1;
- color: rgba(30, 30, 30, 0.62);
- }
- .components-text-control__input:-ms-input-placeholder,
- .components-text-control__input[type=text]:-ms-input-placeholder,
- .components-text-control__input[type=tel]:-ms-input-placeholder,
- .components-text-control__input[type=time]:-ms-input-placeholder,
- .components-text-control__input[type=url]:-ms-input-placeholder,
- .components-text-control__input[type=week]:-ms-input-placeholder,
- .components-text-control__input[type=password]:-ms-input-placeholder,
- .components-text-control__input[type=color]:-ms-input-placeholder,
- .components-text-control__input[type=date]:-ms-input-placeholder,
- .components-text-control__input[type=datetime]:-ms-input-placeholder,
- .components-text-control__input[type=datetime-local]:-ms-input-placeholder,
- .components-text-control__input[type=email]:-ms-input-placeholder,
- .components-text-control__input[type=month]:-ms-input-placeholder,
- .components-text-control__input[type=number]:-ms-input-placeholder {
- color: rgba(30, 30, 30, 0.62);
- }
- .components-tip {
- display: flex;
- color: #757575;
- }
- .components-tip svg {
- align-self: center;
- fill: #f0b849;
- flex-shrink: 0;
- margin-left: 16px;
- }
- .components-tip p {
- margin: 0;
- }
- .components-accessible-toolbar {
- display: inline-flex;
- border: 1px solid #1e1e1e;
- border-radius: 2px;
- flex-shrink: 0;
- }
- .components-accessible-toolbar > .components-toolbar-group:last-child {
- border-left: none;
- }
- .components-accessible-toolbar .components-button,
- .components-toolbar .components-button {
- position: relative;
- height: 48px;
- z-index: 1;
- padding-right: 16px;
- padding-left: 16px;
- }
- .components-accessible-toolbar .components-button:focus:enabled,
- .components-toolbar .components-button:focus:enabled {
- box-shadow: none;
- outline: none;
- }
- .components-accessible-toolbar .components-button::before,
- .components-toolbar .components-button::before {
- content: "";
- position: absolute;
- display: block;
- border-radius: 2px;
- height: 32px;
- right: 8px;
- left: 8px;
- z-index: -1;
- animation: components-button__appear-animation 0.1s ease;
- animation-fill-mode: forwards;
- }
- @media (prefers-reduced-motion: reduce) {
- .components-accessible-toolbar .components-button::before,
- .components-toolbar .components-button::before {
- animation-duration: 1ms;
- animation-delay: 0s;
- }
- }
- .components-accessible-toolbar .components-button svg,
- .components-toolbar .components-button svg {
- position: relative;
- margin-right: auto;
- margin-left: auto;
- }
- .components-accessible-toolbar .components-button.is-pressed,
- .components-toolbar .components-button.is-pressed {
- background: transparent;
- }
- .components-accessible-toolbar .components-button.is-pressed:hover,
- .components-toolbar .components-button.is-pressed:hover {
- background: transparent;
- }
- .components-accessible-toolbar .components-button.is-pressed::before,
- .components-toolbar .components-button.is-pressed::before {
- background: #1e1e1e;
- }
- .components-accessible-toolbar .components-button:focus::before,
- .components-toolbar .components-button:focus::before {
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
- outline: 2px solid transparent;
- }
- .components-accessible-toolbar .components-button.has-icon.has-icon,
- .components-toolbar .components-button.has-icon.has-icon {
- padding-right: 12px;
- padding-left: 12px;
- min-width: 48px;
- }
- .components-accessible-toolbar .components-button.components-tab-button,
- .components-toolbar .components-button.components-tab-button {
- font-weight: 500;
- }
- .components-accessible-toolbar .components-button.components-tab-button span,
- .components-toolbar .components-button.components-tab-button span {
- display: inline-block;
- padding-right: 0;
- padding-left: 0;
- position: relative;
- }
- @keyframes components-button__appear-animation {
- from {
- transform: scaleY(0);
- }
- to {
- transform: scaleY(1);
- }
- }
- .components-toolbar__control.components-button {
- position: relative;
- }
- .components-toolbar__control.components-button[data-subscript] svg {
- padding: 5px 0 5px 10px;
- }
- .components-toolbar__control.components-button[data-subscript]::after {
- content: attr(data-subscript);
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- font-weight: 600;
- line-height: 12px;
- position: absolute;
- left: 8px;
- bottom: 10px;
- }
- .components-toolbar__control.components-button:active::before {
- display: none;
- }
- .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after {
- color: #fff;
- }
- .components-toolbar-group {
- min-height: 48px;
- border-left: 1px solid #1e1e1e;
- background-color: #fff;
- display: inline-flex;
- flex-shrink: 0;
- flex-wrap: wrap;
- padding-right: 6px;
- padding-left: 6px;
- line-height: 0;
- }
- .components-toolbar-group .components-toolbar-group.components-toolbar-group {
- border-width: 0;
- margin: 0;
- }
- .components-toolbar-group .components-button.components-button,
- .components-toolbar-group .components-button.has-icon.has-icon {
- min-width: 36px;
- padding-right: 6px;
- padding-left: 6px;
- }
- .components-toolbar-group .components-button.components-button svg,
- .components-toolbar-group .components-button.has-icon.has-icon svg {
- min-width: 24px;
- }
- .components-toolbar-group .components-button.components-button::before,
- .components-toolbar-group .components-button.has-icon.has-icon::before {
- right: 2px;
- left: 2px;
- }
- .components-toolbar {
- min-height: 48px;
- margin: 0;
- border: 1px solid #1e1e1e;
- background-color: #fff;
- display: inline-flex;
- flex-shrink: 0;
- flex-wrap: wrap;
- }
- .components-toolbar .components-toolbar.components-toolbar {
- border-width: 0;
- margin: 0;
- }
- div.components-toolbar > div {
- display: block;
- margin: 0;
- }
- @supports (position: sticky) {
- div.components-toolbar > div {
- display: flex;
- }
- }
- div.components-toolbar > div + div.has-left-divider {
- margin-right: 6px;
- position: relative;
- overflow: visible;
- }
- div.components-toolbar > div + div.has-left-divider::before {
- display: inline-block;
- content: "";
- box-sizing: content-box;
- background-color: #ddd;
- position: absolute;
- top: 8px;
- right: -3px;
- width: 1px;
- height: 20px;
- }
- .components-tooltip.components-popover {
- z-index: 1000002;
- }
- .components-tooltip.components-popover .components-popover__content {
- min-width: min-content;
- }
- .components-tooltip .components-popover__content {
- background: #1e1e1e;
- border-radius: 2px;
- border-width: 0;
- outline: none;
- color: #fff;
- white-space: nowrap;
- text-align: center;
- line-height: 1.4;
- font-size: 12px;
- box-shadow: none;
- padding: 4px 8px;
- }
- .components-tooltip__shortcut {
- display: inline-block;
- margin-right: 8px;
- }
- .disabled-element-wrapper {
- position: relative;
- }
- .disabled-element-wrapper .event-catcher {
- z-index: 100002;
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- }
|