customize-controls.css 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003
  1. body {
  2. overflow: hidden;
  3. -webkit-text-size-adjust: 100%;
  4. }
  5. .customize-controls-close,
  6. .widget-control-actions a {
  7. text-decoration: none;
  8. }
  9. #customize-controls h3 {
  10. font-size: 14px;
  11. }
  12. #customize-controls img {
  13. max-width: 100%;
  14. }
  15. #customize-controls .submit {
  16. text-align: center;
  17. }
  18. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked {
  19. background-color: rgba(0, 0, 0, 0.7);
  20. padding: 25px;
  21. }
  22. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message {
  23. margin-left: auto;
  24. margin-right: auto;
  25. max-width: 366px;
  26. min-height: 64px;
  27. width: auto;
  28. padding: 25px 25px 25px 109px;
  29. position: relative;
  30. background: #fff;
  31. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  32. line-height: 1.5;
  33. overflow-y: auto;
  34. text-align: left;
  35. top: calc( 50% - 100px );
  36. }
  37. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing {
  38. margin-top: 0;
  39. }
  40. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons {
  41. margin-bottom: 0;
  42. }
  43. .customize-changeset-locked-avatar {
  44. width: 64px;
  45. position: absolute;
  46. left: 25px;
  47. top: 25px;
  48. }
  49. .wp-core-ui.wp-customizer .customize-changeset-locked-message a.button {
  50. margin-right: 10px;
  51. margin-top: 0;
  52. }
  53. #customize-controls .description {
  54. color: #50575e;
  55. }
  56. #customize-save-button-wrapper {
  57. float: right;
  58. margin-top: 9px;
  59. }
  60. body:not(.ready) #customize-save-button-wrapper .save {
  61. visibility: hidden;
  62. }
  63. #customize-save-button-wrapper .save {
  64. float: left;
  65. border-radius: 3px;
  66. box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */
  67. margin-top: 0;
  68. }
  69. #customize-save-button-wrapper .save:focus, #publish-settings:focus {
  70. box-shadow: 0 1px 0 #2271b1, 0 0 2px 1px #72aee6; /* This is default box shadow for focus */
  71. }
  72. #customize-save-button-wrapper .save.has-next-sibling {
  73. border-radius: 3px 0 0 3px;
  74. }
  75. #customize-sidebar-outer-content {
  76. position: absolute;
  77. top: 0;
  78. bottom: 0;
  79. left: 0;
  80. visibility: hidden;
  81. overflow-x: hidden;
  82. overflow-y: auto;
  83. width: 100%;
  84. margin: 0;
  85. z-index: -1;
  86. background: #f0f0f1;
  87. transition: left .18s;
  88. border-right: 1px solid #dcdcde;
  89. border-left: 1px solid #dcdcde;
  90. height: 100%;
  91. }
  92. @media (prefers-reduced-motion: reduce) {
  93. #customize-sidebar-outer-content {
  94. transition: none;
  95. }
  96. }
  97. #customize-theme-controls .control-section-outer {
  98. display: none !important;
  99. }
  100. #customize-outer-theme-controls .accordion-section-content {
  101. padding: 12px;
  102. }
  103. #customize-outer-theme-controls .accordion-section-content.open {
  104. display: block;
  105. }
  106. .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  107. visibility: visible;
  108. left: 100%;
  109. transition: left .18s;
  110. }
  111. @media (prefers-reduced-motion: reduce) {
  112. .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  113. transition: none;
  114. }
  115. }
  116. .customize-outer-pane-parent {
  117. margin: 0;
  118. }
  119. .outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main {
  120. left: 300px;
  121. opacity: 0.4;
  122. }
  123. .outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  124. .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  125. .adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  126. .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  127. .adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  128. .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
  129. left: 64%;
  130. }
  131. #customize-outer-theme-controls li.notice {
  132. padding-top: 8px;
  133. padding-bottom: 8px;
  134. margin-left: 0;
  135. margin-bottom: 10px;
  136. }
  137. #publish-settings {
  138. text-indent: 0;
  139. border-radius: 0 3px 3px 0;
  140. padding-left: 0;
  141. padding-right: 0;
  142. box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */
  143. font-size: 14px;
  144. width: 30px;
  145. float: left;
  146. transform: none;
  147. margin-top: 0;
  148. line-height: 2;
  149. }
  150. body:not(.ready) #publish-settings,
  151. body.trashing #customize-save-button-wrapper .save,
  152. body.trashing #publish-settings {
  153. display: none;
  154. }
  155. #customize-header-actions .spinner {
  156. margin-top: 13px;
  157. margin-right: 4px;
  158. }
  159. .saving #customize-header-actions .spinner,
  160. .trashing #customize-header-actions .spinner {
  161. visibility: visible;
  162. }
  163. #customize-header-actions {
  164. border-bottom: 1px solid #dcdcde;
  165. }
  166. #customize-controls .wp-full-overlay-sidebar-content {
  167. overflow-y: auto;
  168. overflow-x: hidden;
  169. }
  170. .outer-section-open #customize-controls .wp-full-overlay-sidebar-content {
  171. background: #f0f0f1;
  172. }
  173. #customize-controls .customize-info {
  174. border: none;
  175. border-bottom: 1px solid #dcdcde;
  176. margin-bottom: 15px;
  177. }
  178. #customize-control-changeset_status .customize-inside-control-row,
  179. #customize-control-changeset_preview_link input {
  180. background-color: #fff;
  181. border-bottom: 1px solid #dcdcde;
  182. box-sizing: content-box;
  183. width: 100%;
  184. margin-left: -12px;
  185. padding-left: 12px;
  186. padding-right: 12px;
  187. }
  188. #customize-control-trash_changeset {
  189. margin-top: 20px;
  190. }
  191. #customize-control-trash_changeset .button-link {
  192. position: relative;
  193. padding-left: 24px;
  194. display: inline-block;
  195. }
  196. #customize-control-trash_changeset .button-link:before {
  197. content: "\f182";
  198. font: normal 22px dashicons;
  199. text-decoration: none;
  200. position: absolute;
  201. left: 0;
  202. top: -2px;
  203. }
  204. #customize-controls .date-input:invalid {
  205. border-color: #d63638;
  206. }
  207. #customize-control-changeset_status .customize-inside-control-row {
  208. padding-top: 10px;
  209. padding-bottom: 10px;
  210. font-weight: 500;
  211. }
  212. #customize-control-changeset_status .customize-inside-control-row:first-of-type {
  213. border-top: 1px solid #dcdcde;
  214. }
  215. #customize-control-changeset_status .customize-control-title {
  216. margin-bottom: 6px;
  217. }
  218. #customize-control-changeset_status input {
  219. margin-left: 0;
  220. }
  221. #customize-control-changeset_preview_link {
  222. position: relative;
  223. display: block;
  224. }
  225. .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button {
  226. margin: 0;
  227. position: absolute;
  228. bottom: 9px;
  229. right: 0;
  230. }
  231. .preview-link-wrapper {
  232. position: relative;
  233. }
  234. .customize-copy-preview-link:before,
  235. .customize-copy-preview-link:after {
  236. content: "";
  237. height: 28px;
  238. position: absolute;
  239. background: #fff;
  240. top: -1px;
  241. }
  242. .customize-copy-preview-link:before {
  243. left: -10px;
  244. width: 9px;
  245. opacity: 0.75;
  246. }
  247. .customize-copy-preview-link:after {
  248. left: -5px;
  249. width: 4px;
  250. opacity: 0.8;
  251. }
  252. #customize-control-changeset_preview_link input {
  253. line-height: 2.85714286; /* 40px */
  254. border-top: 1px solid #dcdcde;
  255. border-left: none;
  256. border-right: none;
  257. text-indent: -999px;
  258. color: #fff;
  259. /* Only necessary for IE11 */
  260. min-height: 40px;
  261. }
  262. #customize-control-changeset_preview_link label {
  263. position: relative;
  264. display: block;
  265. }
  266. #customize-control-changeset_preview_link a {
  267. display: inline-block;
  268. position: absolute;
  269. white-space: nowrap;
  270. overflow: hidden;
  271. width: 90%;
  272. bottom: 14px;
  273. font-size: 14px;
  274. text-decoration: none;
  275. }
  276. #customize-control-changeset_preview_link a.disabled,
  277. #customize-control-changeset_preview_link a.disabled:active,
  278. #customize-control-changeset_preview_link a.disabled:focus,
  279. #customize-control-changeset_preview_link a.disabled:visited {
  280. color: #000;
  281. opacity: 0.4;
  282. cursor: default;
  283. outline: none;
  284. box-shadow: none;
  285. }
  286. #sub-accordion-section-publish_settings .customize-section-description-container {
  287. display: none;
  288. }
  289. #customize-controls .customize-info.section-meta {
  290. margin-bottom: 15px;
  291. }
  292. .customize-control-date_time .customize-control-description + .date-time-fields.includes-time {
  293. margin-top: 10px;
  294. }
  295. .customize-control.customize-control-date_time .date-time-fields .date-input.day {
  296. margin-right: 0;
  297. }
  298. .date-time-fields .date-input.month {
  299. width: auto;
  300. margin: 0;
  301. }
  302. .date-time-fields .date-input.day,
  303. .date-time-fields .date-input.hour,
  304. .date-time-fields .date-input.minute {
  305. width: 46px;
  306. }
  307. .date-time-fields .date-input.year {
  308. width: 65px;
  309. }
  310. .date-time-fields .date-input.meridian {
  311. width: auto;
  312. margin: 0;
  313. }
  314. .date-time-fields .time-row {
  315. margin-top: 12px;
  316. }
  317. #customize-control-changeset_preview_link {
  318. margin-top: 6px;
  319. }
  320. #customize-control-changeset_status {
  321. margin-bottom: 0;
  322. padding-bottom: 0;
  323. }
  324. #customize-control-changeset_scheduled_date {
  325. box-sizing: content-box;
  326. width: 100%;
  327. margin-left: -12px;
  328. padding: 12px;
  329. background: #fff;
  330. border-bottom: 1px solid #dcdcde;
  331. margin-bottom: 0;
  332. }
  333. #customize-control-changeset_scheduled_date .customize-control-description {
  334. font-style: normal;
  335. }
  336. #customize-controls .customize-info.is-in-view,
  337. #customize-controls .customize-section-title.is-in-view {
  338. position: absolute;
  339. z-index: 9;
  340. width: 100%;
  341. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  342. }
  343. #customize-controls .customize-section-title.is-in-view {
  344. margin-top: 0;
  345. }
  346. #customize-controls .customize-info.is-in-view + .accordion-section {
  347. margin-top: 15px;
  348. }
  349. #customize-controls .customize-info.is-sticky,
  350. #customize-controls .customize-section-title.is-sticky {
  351. position: fixed;
  352. top: 46px;
  353. }
  354. #customize-controls .customize-info .accordion-section-title {
  355. background: #fff;
  356. color: #50575e;
  357. border-left: none;
  358. border-right: none;
  359. border-bottom: none;
  360. cursor: default;
  361. }
  362. #customize-controls .customize-info.open .accordion-section-title:after,
  363. #customize-controls .customize-info .accordion-section-title:hover:after,
  364. #customize-controls .customize-info .accordion-section-title:focus:after {
  365. color: #2c3338;
  366. }
  367. #customize-controls .customize-info .accordion-section-title:after {
  368. display: none;
  369. }
  370. #customize-controls .customize-info .preview-notice {
  371. font-size: 13px;
  372. line-height: 1.9;
  373. }
  374. #customize-controls .customize-pane-child .customize-section-title h3,
  375. #customize-controls .customize-pane-child h3.customize-section-title,
  376. #customize-outer-theme-controls .customize-pane-child .customize-section-title h3,
  377. #customize-outer-theme-controls .customize-pane-child h3.customize-section-title,
  378. #customize-controls .customize-info .panel-title {
  379. font-size: 20px;
  380. font-weight: 200;
  381. line-height: 26px;
  382. display: block;
  383. overflow: hidden;
  384. white-space: nowrap;
  385. text-overflow: ellipsis;
  386. }
  387. #customize-controls .customize-section-title span.customize-action {
  388. overflow: hidden;
  389. white-space: nowrap;
  390. text-overflow: ellipsis;
  391. }
  392. #customize-controls .customize-info .customize-help-toggle {
  393. position: absolute;
  394. top: 4px;
  395. right: 1px;
  396. padding: 20px 20px 10px 10px;
  397. width: 20px;
  398. height: 20px;
  399. cursor: pointer;
  400. box-shadow: none;
  401. -webkit-appearance: none;
  402. background: transparent;
  403. color: #50575e;
  404. border: none;
  405. }
  406. #customize-controls .customize-info .customize-help-toggle:before {
  407. position: absolute;
  408. top: 5px;
  409. left: 6px;
  410. }
  411. #customize-controls .customize-info.open .customize-help-toggle,
  412. #customize-controls .customize-info .customize-help-toggle:focus,
  413. #customize-controls .customize-info .customize-help-toggle:hover {
  414. color: #2271b1;
  415. }
  416. #customize-controls .customize-info .customize-panel-description,
  417. #customize-controls .customize-info .customize-section-description,
  418. #customize-outer-theme-controls .customize-info .customize-section-description,
  419. #customize-controls .no-widget-areas-rendered-notice {
  420. color: #50575e;
  421. display: none;
  422. background: #fff;
  423. padding: 12px 15px;
  424. border-top: 1px solid #dcdcde;
  425. }
  426. #customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice {
  427. border-top: none;
  428. }
  429. .no-widget-areas-rendered-notice {
  430. font-style: italic;
  431. }
  432. .no-widget-areas-rendered-notice p:first-child {
  433. margin-top: 0;
  434. }
  435. .no-widget-areas-rendered-notice p:last-child {
  436. margin-bottom: 0;
  437. }
  438. #customize-controls .customize-info .customize-section-description {
  439. margin-bottom: 15px;
  440. }
  441. #customize-controls .customize-info .customize-panel-description p:first-child,
  442. #customize-controls .customize-info .customize-section-description p:first-child {
  443. margin-top: 0;
  444. }
  445. #customize-controls .customize-info .customize-panel-description p:last-child,
  446. #customize-controls .customize-info .customize-section-description p:last-child {
  447. margin-bottom: 0;
  448. }
  449. #customize-controls .current-panel .control-section > h3.accordion-section-title {
  450. padding-right: 30px;
  451. }
  452. #customize-theme-controls .control-section,
  453. #customize-outer-theme-controls .control-section {
  454. border: none;
  455. }
  456. #customize-theme-controls .accordion-section-title,
  457. #customize-outer-theme-controls .accordion-section-title {
  458. color: #50575e;
  459. background-color: #fff;
  460. border-bottom: 1px solid #dcdcde;
  461. border-left: 4px solid #fff;
  462. transition:
  463. .15s color ease-in-out,
  464. .15s background-color ease-in-out,
  465. .15s border-color ease-in-out;
  466. }
  467. @media (prefers-reduced-motion: reduce) {
  468. #customize-theme-controls .accordion-section-title,
  469. #customize-outer-theme-controls .accordion-section-title {
  470. transition: none;
  471. }
  472. }
  473. #customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
  474. color: #50575e;
  475. background-color: #fff;
  476. border-left: 4px solid #fff;
  477. }
  478. #customize-theme-controls .accordion-section-title:after,
  479. #customize-outer-theme-controls .accordion-section-title:after {
  480. content: "\f345";
  481. color: #a7aaad;
  482. }
  483. #customize-theme-controls .accordion-section-content,
  484. #customize-outer-theme-controls .accordion-section-content {
  485. color: #50575e;
  486. background: transparent;
  487. }
  488. #customize-controls .control-section:hover > .accordion-section-title,
  489. #customize-controls .control-section .accordion-section-title:hover,
  490. #customize-controls .control-section.open .accordion-section-title,
  491. #customize-controls .control-section .accordion-section-title:focus {
  492. color: #2271b1;
  493. background: #f6f7f7;
  494. border-left-color: #2271b1;
  495. }
  496. #accordion-section-themes + .control-section {
  497. border-top: 1px solid #dcdcde;
  498. }
  499. .js .control-section:hover .accordion-section-title,
  500. .js .control-section .accordion-section-title:hover,
  501. .js .control-section.open .accordion-section-title,
  502. .js .control-section .accordion-section-title:focus {
  503. background: #f6f7f7;
  504. }
  505. #customize-theme-controls .control-section:hover > .accordion-section-title:after,
  506. #customize-theme-controls .control-section .accordion-section-title:hover:after,
  507. #customize-theme-controls .control-section.open .accordion-section-title:after,
  508. #customize-theme-controls .control-section .accordion-section-title:focus:after,
  509. #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
  510. #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
  511. #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
  512. #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
  513. color: #2271b1;
  514. }
  515. #customize-theme-controls .control-section.open {
  516. border-bottom: 1px solid #f0f0f1;
  517. }
  518. #customize-theme-controls .control-section.open .accordion-section-title,
  519. #customize-outer-theme-controls .control-section.open .accordion-section-title {
  520. border-bottom-color: #f0f0f1 !important;
  521. }
  522. #customize-theme-controls .control-section:last-of-type.open,
  523. #customize-theme-controls .control-section:last-of-type > .accordion-section-title {
  524. border-bottom-color: #dcdcde;
  525. }
  526. #customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2),
  527. #customize-theme-controls .control-panel-nav_menus .control-section-nav_menu,
  528. #customize-theme-controls .control-section-nav_menu_locations .accordion-section-title {
  529. border-top: 1px solid #dcdcde;
  530. }
  531. #customize-theme-controls .control-panel-nav_menus .control-section-nav_menu + .control-section-nav_menu {
  532. border-top: none;
  533. }
  534. #customize-theme-controls > ul {
  535. margin: 0;
  536. }
  537. #customize-theme-controls .accordion-section-content {
  538. position: absolute;
  539. top: 0;
  540. left: 100%;
  541. width: 100%;
  542. margin: 0;
  543. padding: 12px;
  544. box-sizing: border-box;
  545. }
  546. #customize-info,
  547. #customize-theme-controls .customize-pane-parent,
  548. #customize-theme-controls .customize-pane-child {
  549. overflow: visible;
  550. width: 100%;
  551. margin: 0;
  552. padding: 0;
  553. box-sizing: border-box;
  554. transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
  555. }
  556. @media (prefers-reduced-motion: reduce) {
  557. #customize-info,
  558. #customize-theme-controls .customize-pane-parent,
  559. #customize-theme-controls .customize-pane-child {
  560. transition: none;
  561. }
  562. }
  563. #customize-theme-controls .customize-pane-child.skip-transition {
  564. transition: none;
  565. }
  566. #customize-info,
  567. #customize-theme-controls .customize-pane-parent {
  568. position: relative;
  569. visibility: visible;
  570. height: auto;
  571. max-height: none;
  572. overflow: auto;
  573. transform: none;
  574. }
  575. #customize-theme-controls .customize-pane-child {
  576. position: absolute;
  577. top: 0;
  578. left: 0;
  579. visibility: hidden;
  580. height: 0;
  581. max-height: none;
  582. overflow: hidden;
  583. transform: translateX(100%);
  584. }
  585. #customize-theme-controls .customize-pane-child.open,
  586. #customize-theme-controls .customize-pane-child.current-panel {
  587. transform: none;
  588. }
  589. .section-open #customize-theme-controls .customize-pane-parent,
  590. .in-sub-panel #customize-theme-controls .customize-pane-parent,
  591. .section-open #customize-info,
  592. .in-sub-panel #customize-info,
  593. .in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel {
  594. visibility: hidden;
  595. height: 0;
  596. overflow: hidden;
  597. transform: translateX(-100%);
  598. }
  599. .section-open #customize-theme-controls .customize-pane-parent.busy,
  600. .in-sub-panel #customize-theme-controls .customize-pane-parent.busy,
  601. .section-open #customize-info.busy,
  602. .in-sub-panel #customize-info.busy,
  603. .busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,
  604. #customize-theme-controls .customize-pane-child.open,
  605. #customize-theme-controls .customize-pane-child.current-panel,
  606. #customize-theme-controls .customize-pane-child.busy {
  607. visibility: visible;
  608. height: auto;
  609. overflow: auto;
  610. }
  611. #customize-theme-controls .customize-pane-child.accordion-section-content,
  612. #customize-theme-controls .customize-pane-child.accordion-sub-container {
  613. display: block;
  614. overflow-x: hidden;
  615. }
  616. #customize-theme-controls .customize-pane-child.accordion-section-content {
  617. padding: 12px;
  618. }
  619. #customize-theme-controls .customize-pane-child.menu li {
  620. position: static;
  621. }
  622. .customize-section-description-container,
  623. .control-section-nav_menu .customize-section-description-container,
  624. .control-section-new_menu .customize-section-description-container {
  625. margin-bottom: 15px;
  626. }
  627. .control-section-nav_menu .customize-control,
  628. .control-section-new_menu .customize-control {
  629. /* Override default `margin-bottom` for `.customize-control` */
  630. margin-bottom: 0;
  631. }
  632. .customize-section-title {
  633. margin: -12px -12px 0;
  634. border-bottom: 1px solid #dcdcde;
  635. background: #fff;
  636. }
  637. div.customize-section-description {
  638. margin-top: 22px;
  639. }
  640. .customize-info div.customize-section-description {
  641. margin-top: 0;
  642. }
  643. div.customize-section-description p:first-child {
  644. margin-top: 0;
  645. }
  646. div.customize-section-description p:last-child {
  647. margin-bottom: 0;
  648. }
  649. #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  650. border-bottom: 1px solid #dcdcde;
  651. padding: 12px;
  652. }
  653. .ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  654. padding: 12px 12px 13px;
  655. }
  656. .customize-section-title h3,
  657. h3.customize-section-title {
  658. padding: 10px 10px 12px 14px;
  659. margin: 0;
  660. line-height: 21px;
  661. color: #50575e;
  662. }
  663. .accordion-sub-container.control-panel-content {
  664. display: none;
  665. position: absolute;
  666. top: 0;
  667. width: 100%;
  668. }
  669. .accordion-sub-container.control-panel-content.busy {
  670. display: block;
  671. }
  672. .current-panel .accordion-sub-container.control-panel-content {
  673. width: 100%;
  674. }
  675. .customize-controls-close {
  676. display: block;
  677. position: absolute;
  678. top: 0;
  679. left: 0;
  680. width: 45px;
  681. height: 41px;
  682. padding: 0 2px 0 0;
  683. background: #f0f0f1;
  684. border: none;
  685. border-top: 4px solid #f0f0f1;
  686. border-right: 1px solid #dcdcde;
  687. color: #3c434a;
  688. text-align: left;
  689. cursor: pointer;
  690. transition:
  691. color .15s ease-in-out,
  692. border-color .15s ease-in-out,
  693. background .15s ease-in-out;
  694. box-sizing: content-box;
  695. }
  696. .customize-panel-back,
  697. .customize-section-back {
  698. display: block;
  699. float: left;
  700. width: 48px;
  701. height: 71px;
  702. padding: 0 24px 0 0;
  703. margin: 0;
  704. background: #fff;
  705. border: none;
  706. border-right: 1px solid #dcdcde;
  707. border-left: 4px solid #fff;
  708. box-shadow: none;
  709. cursor: pointer;
  710. transition:
  711. color .15s ease-in-out,
  712. border-color .15s ease-in-out,
  713. background .15s ease-in-out;
  714. }
  715. .customize-section-back {
  716. height: 74px;
  717. }
  718. .ios .customize-panel-back {
  719. display: none;
  720. }
  721. .ios .expanded.in-sub-panel .customize-panel-back {
  722. display: block;
  723. }
  724. #customize-controls .panel-meta.customize-info .accordion-section-title {
  725. margin-left: 48px;
  726. border-left: none;
  727. }
  728. #customize-controls .panel-meta.customize-info .accordion-section-title:hover,
  729. #customize-controls .cannot-expand:hover .accordion-section-title {
  730. background: #fff;
  731. color: #50575e;
  732. border-left-color: #fff;
  733. }
  734. .customize-controls-close:focus,
  735. .customize-controls-close:hover,
  736. .customize-controls-preview-toggle:focus,
  737. .customize-controls-preview-toggle:hover {
  738. background: #fff;
  739. color: #2271b1;
  740. border-top-color: #2271b1;
  741. box-shadow: none;
  742. /* Only visible in Windows High Contrast mode */
  743. outline: 1px solid transparent;
  744. }
  745. #customize-theme-controls .accordion-section-title:focus .customize-action {
  746. /* Only visible in Windows High Contrast mode */
  747. outline: 1px solid transparent;
  748. outline-offset: 1px;
  749. }
  750. .customize-panel-back:hover,
  751. .customize-panel-back:focus,
  752. .customize-section-back:hover,
  753. .customize-section-back:focus {
  754. color: #2271b1;
  755. background: #f6f7f7;
  756. border-left-color: #2271b1;
  757. box-shadow: none;
  758. /* Only visible in Windows High Contrast mode */
  759. outline: 2px solid transparent;
  760. outline-offset: -2px;
  761. }
  762. .customize-controls-close:before {
  763. font: normal 22px/45px dashicons;
  764. content: "\f335";
  765. position: relative;
  766. top: -3px;
  767. left: 13px;
  768. }
  769. .customize-panel-back:before,
  770. .customize-section-back:before {
  771. font: normal 20px/72px dashicons;
  772. content: "\f341";
  773. position: relative;
  774. left: 9px;
  775. }
  776. .wp-full-overlay-sidebar .wp-full-overlay-header {
  777. background-color: #f0f0f1;
  778. transition: padding ease-in-out .18s;
  779. }
  780. .in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header {
  781. padding-left: 62px;
  782. }
  783. p.customize-section-description {
  784. font-style: normal;
  785. margin-top: 22px;
  786. margin-bottom: 0;
  787. }
  788. .customize-section-description ul {
  789. margin-left: 1em;
  790. }
  791. .customize-section-description ul > li {
  792. list-style: disc;
  793. }
  794. .section-description-buttons {
  795. text-align: right;
  796. }
  797. .customize-control {
  798. width: 100%;
  799. float: left;
  800. clear: both;
  801. margin-bottom: 12px;
  802. }
  803. .customize-control input[type="text"],
  804. .customize-control input[type="password"],
  805. .customize-control input[type="email"],
  806. .customize-control input[type="number"],
  807. .customize-control input[type="search"],
  808. .customize-control input[type="tel"],
  809. .customize-control input[type="url"],
  810. .customize-control input[type="range"] {
  811. width: 100%;
  812. margin: 0;
  813. }
  814. .customize-control-hidden {
  815. margin: 0;
  816. }
  817. .customize-control-textarea textarea {
  818. width: 100%;
  819. resize: vertical;
  820. }
  821. .customize-control select {
  822. width: 100%;
  823. }
  824. .customize-control select[multiple] {
  825. height: auto;
  826. }
  827. .customize-control-title {
  828. display: block;
  829. font-size: 14px;
  830. line-height: 1.75;
  831. font-weight: 600;
  832. margin-bottom: 4px;
  833. }
  834. .customize-control-description {
  835. display: block;
  836. font-style: italic;
  837. line-height: 1.4;
  838. margin-top: 0;
  839. margin-bottom: 5px;
  840. }
  841. .customize-section-description a.external-link:after {
  842. font: 16px/11px dashicons;
  843. content: "\f504";
  844. top: 3px;
  845. position: relative;
  846. padding-left: 3px;
  847. display: inline-block;
  848. text-decoration: none;
  849. }
  850. .customize-control-color .color-picker,
  851. .customize-control-upload div {
  852. line-height: 28px;
  853. }
  854. .customize-control .customize-inside-control-row {
  855. line-height: 1.6;
  856. display: block;
  857. margin-left: 24px;
  858. padding-top: 6px;
  859. padding-bottom: 6px;
  860. }
  861. .customize-control-radio input,
  862. .customize-control-checkbox input,
  863. .customize-control-nav_menu_auto_add input {
  864. margin-right: 4px;
  865. margin-left: -24px;
  866. }
  867. .customize-control-radio {
  868. padding: 5px 0 10px;
  869. }
  870. .customize-control-radio .customize-control-title {
  871. margin-bottom: 0;
  872. line-height: 1.6;
  873. }
  874. .customize-control-radio .customize-control-title + .customize-control-description {
  875. margin-top: 7px;
  876. }
  877. .customize-control-radio label,
  878. .customize-control-checkbox label {
  879. vertical-align: top;
  880. }
  881. .customize-control .attachment-thumb.type-icon {
  882. float: left;
  883. margin: 10px;
  884. width: auto;
  885. }
  886. .customize-control .attachment-title {
  887. font-weight: 600;
  888. margin: 0;
  889. padding: 5px 10px;
  890. }
  891. .customize-control .attachment-meta {
  892. white-space: nowrap;
  893. overflow: hidden;
  894. text-overflow: ellipsis;
  895. margin: 0;
  896. padding: 0 10px;
  897. }
  898. .customize-control .attachment-meta-title {
  899. padding-top: 7px;
  900. }
  901. /* Remove descender space. */
  902. .customize-control .thumbnail-image,
  903. .customize-control-header .current,
  904. .customize-control .wp-media-wrapper.wp-video {
  905. line-height: 0;
  906. }
  907. /* Remove descender space. */
  908. .customize-control-site_icon .favicon-preview .browser-preview {
  909. vertical-align: top;
  910. }
  911. .customize-control .thumbnail-image img {
  912. cursor: pointer;
  913. }
  914. #customize-controls .thumbnail-audio .thumbnail {
  915. max-width: 64px;
  916. max-height: 64px;
  917. margin: 10px;
  918. float: left;
  919. }
  920. #available-menu-items .accordion-section-content .new-content-item,
  921. .customize-control-dropdown-pages .new-content-item {
  922. width: calc(100% - 30px);
  923. padding: 8px 15px;
  924. position: absolute;
  925. bottom: 0;
  926. z-index: 10;
  927. background: #f0f0f1;
  928. display: flex;
  929. }
  930. .customize-control-dropdown-pages .new-content-item {
  931. width: 100%;
  932. padding: 5px 0 5px 1px;
  933. position: relative;
  934. }
  935. #available-menu-items .new-content-item .create-item-input,
  936. .customize-control-dropdown-pages .new-content-item .create-item-input {
  937. flex-grow: 10;
  938. }
  939. #available-menu-items .new-content-item .add-content,
  940. .customize-control-dropdown-pages .new-content-item .add-content {
  941. margin: 2px 0 2px 6px;
  942. flex-grow: 1;
  943. }
  944. .customize-control-dropdown-pages .new-content-item .create-item-input.invalid {
  945. border: 1px solid #d63638;
  946. }
  947. .customize-control-dropdown-pages .add-new-toggle {
  948. margin-left: 1px;
  949. font-weight: 600;
  950. line-height: 2.2;
  951. }
  952. #customize-preview iframe {
  953. width: 100%;
  954. height: 100%;
  955. position: absolute;
  956. }
  957. #customize-preview iframe + iframe {
  958. visibility: hidden;
  959. }
  960. .wp-full-overlay-sidebar {
  961. background: #f0f0f1;
  962. border-right: 1px solid #dcdcde;
  963. }
  964. /**
  965. * Notifications
  966. */
  967. #customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
  968. margin: 4px 0 8px;
  969. padding: 0;
  970. cursor: default;
  971. }
  972. #customize-controls .customize-control-widget_form.has-error .widget .widget-top,
  973. .customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle {
  974. box-shadow: inset 0 0 0 2px #d63638;
  975. transition: .15s box-shadow linear;
  976. }
  977. #customize-controls .customize-control-notifications-container li.notice {
  978. list-style: none;
  979. margin: 0 0 6px;
  980. padding: 9px 14px;
  981. overflow: hidden;
  982. }
  983. #customize-controls .customize-control-notifications-container .notice.is-dismissible {
  984. padding-right: 38px;
  985. }
  986. .customize-control-notifications-container li.notice:last-child {
  987. margin-bottom: 0;
  988. }
  989. #customize-controls .customize-control-nav_menu_item .customize-control-notifications-container {
  990. margin-top: 0;
  991. }
  992. #customize-controls .customize-control-widget_form .customize-control-notifications-container {
  993. margin-top: 8px;
  994. }
  995. .customize-control-text.has-error input {
  996. outline: 2px solid #d63638;
  997. }
  998. #customize-controls #customize-notifications-area {
  999. position: absolute;
  1000. top: 46px;
  1001. width: 100%;
  1002. border-bottom: 1px solid #dcdcde;
  1003. display: block;
  1004. padding: 0;
  1005. margin: 0;
  1006. }
  1007. .wp-full-overlay.collapsed #customize-controls #customize-notifications-area {
  1008. display: none !important;
  1009. }
  1010. #customize-controls #customize-notifications-area:not(.has-overlay-notifications),
  1011. #customize-controls .customize-section-title > .customize-control-notifications-container:not(.has-overlay-notifications),
  1012. #customize-controls .panel-meta > .customize-control-notifications-container:not(.has-overlay-notifications) {
  1013. max-height: 210px;
  1014. overflow-x: hidden;
  1015. overflow-y: auto;
  1016. }
  1017. #customize-controls #customize-notifications-area > ul,
  1018. #customize-controls #customize-notifications-area .notice,
  1019. #customize-controls .panel-meta > .customize-control-notifications-container,
  1020. #customize-controls .panel-meta > .customize-control-notifications-container .notice,
  1021. #customize-controls .customize-section-title > .customize-control-notifications-container,
  1022. #customize-controls .customize-section-title > .customize-control-notifications-container .notice {
  1023. margin: 0;
  1024. }
  1025. #customize-controls .panel-meta > .customize-control-notifications-container,
  1026. #customize-controls .customize-section-title > .customize-control-notifications-container {
  1027. border-top: 1px solid #dcdcde;
  1028. }
  1029. #customize-controls #customize-notifications-area .notice,
  1030. #customize-controls .panel-meta > .customize-control-notifications-container .notice,
  1031. #customize-controls .customize-section-title > .customize-control-notifications-container .notice {
  1032. padding: 9px 14px;
  1033. }
  1034. #customize-controls #customize-notifications-area .notice.is-dismissible,
  1035. #customize-controls .panel-meta > .customize-control-notifications-container .notice.is-dismissible,
  1036. #customize-controls .customize-section-title > .customize-control-notifications-container .notice.is-dismissible {
  1037. padding-right: 38px;
  1038. }
  1039. #customize-controls #customize-notifications-area .notice + .notice,
  1040. #customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice,
  1041. #customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice {
  1042. margin-top: 1px;
  1043. }
  1044. @keyframes customize-fade-in {
  1045. 0% { opacity: 0; }
  1046. 100% { opacity: 1; }
  1047. }
  1048. #customize-controls .notice.notification-overlay,
  1049. #customize-controls #customize-notifications-area .notice.notification-overlay {
  1050. margin: 0;
  1051. border-left: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */
  1052. }
  1053. #customize-controls .customize-control-notifications-container.has-overlay-notifications {
  1054. animation: customize-fade-in 0.5s;
  1055. z-index: 30;
  1056. }
  1057. /* Note: Styles for this are also defined in themes.css */
  1058. #customize-controls #customize-notifications-area .notice.notification-overlay .notification-message {
  1059. clear: both;
  1060. color: #1d2327;
  1061. font-size: 18px;
  1062. font-style: normal;
  1063. margin: 0;
  1064. padding: 2em 0;
  1065. text-align: center;
  1066. width: 100%;
  1067. display: block;
  1068. top: 50%;
  1069. position: relative;
  1070. }
  1071. /* Style for custom settings */
  1072. /**
  1073. * Static front page
  1074. */
  1075. #customize-control-show_on_front.has-error {
  1076. margin-bottom: 0;
  1077. }
  1078. #customize-control-show_on_front.has-error .customize-control-notifications-container {
  1079. margin-top: 12px;
  1080. }
  1081. /**
  1082. * Dropdowns
  1083. */
  1084. .accordion-section .dropdown {
  1085. float: left;
  1086. display: block;
  1087. position: relative;
  1088. cursor: pointer;
  1089. }
  1090. .accordion-section .dropdown-content {
  1091. overflow: hidden;
  1092. float: left;
  1093. min-width: 30px;
  1094. height: 16px;
  1095. line-height: 16px;
  1096. margin-right: 16px;
  1097. padding: 4px 5px;
  1098. border: 2px solid #f0f0f1;
  1099. -webkit-user-select: none;
  1100. user-select: none;
  1101. }
  1102. /* @todo maybe no more used? */
  1103. .customize-control .dropdown-arrow {
  1104. position: absolute;
  1105. top: 0;
  1106. bottom: 0;
  1107. right: 0;
  1108. width: 20px;
  1109. background: #f0f0f1;
  1110. }
  1111. .customize-control .dropdown-arrow:after {
  1112. content: "\f140";
  1113. font: normal 20px/1 dashicons;
  1114. speak: never;
  1115. display: block;
  1116. padding: 0;
  1117. text-indent: 0;
  1118. text-align: center;
  1119. position: relative;
  1120. -webkit-font-smoothing: antialiased;
  1121. -moz-osx-font-smoothing: grayscale;
  1122. text-decoration: none !important;
  1123. color: #2c3338;
  1124. }
  1125. .customize-control .dropdown-status {
  1126. color: #2c3338;
  1127. background: #f0f0f1;
  1128. display: none;
  1129. max-width: 112px;
  1130. }
  1131. .customize-control-color .dropdown {
  1132. margin-right: 5px;
  1133. margin-bottom: 5px;
  1134. }
  1135. .customize-control-color .dropdown .dropdown-content {
  1136. background-color: #50575e;
  1137. border: 1px solid rgba(0, 0, 0, 0.15);
  1138. }
  1139. .customize-control-color .dropdown:hover .dropdown-content {
  1140. border-color: rgba(0, 0, 0, 0.25);
  1141. }
  1142. /**
  1143. * iOS can't scroll iframes,
  1144. * instead it expands the iframe size to match the size of the content
  1145. */
  1146. .ios .wp-full-overlay {
  1147. position: relative;
  1148. }
  1149. .ios #customize-controls .wp-full-overlay-sidebar-content {
  1150. -webkit-overflow-scrolling: touch;
  1151. }
  1152. /* Media controls */
  1153. .customize-control .actions .button {
  1154. margin-top: 12px;
  1155. }
  1156. .customize-control-header .actions,
  1157. .customize-control-header .uploaded {
  1158. margin-bottom: 18px;
  1159. }
  1160. .customize-control-header .uploaded button:not(.random),
  1161. .customize-control-header .default button:not(.random) {
  1162. width: 100%;
  1163. padding: 0;
  1164. margin: 0;
  1165. background: none;
  1166. border: none;
  1167. color: inherit;
  1168. cursor: pointer;
  1169. }
  1170. .customize-control-header button img {
  1171. display: block;
  1172. }
  1173. .customize-control .attachment-media-view .remove-button,
  1174. .customize-control .attachment-media-view .default-button,
  1175. .customize-control .attachment-media-view .upload-button,
  1176. .customize-control-header button.new,
  1177. .customize-control-header button.remove {
  1178. width: auto;
  1179. height: auto;
  1180. white-space: normal;
  1181. }
  1182. .customize-control .attachment-media-view .thumbnail,
  1183. .customize-control-header .current .container {
  1184. overflow: hidden;
  1185. }
  1186. .customize-control .attachment-media-view .placeholder,
  1187. .customize-control .attachment-media-view .button-add-media,
  1188. .customize-control-header .placeholder {
  1189. width: 100%;
  1190. position: relative;
  1191. text-align: center;
  1192. cursor: default;
  1193. border: 1px dashed #c3c4c7;
  1194. box-sizing: border-box;
  1195. padding: 9px 0;
  1196. line-height: 1.6;
  1197. }
  1198. .customize-control .attachment-media-view .button-add-media {
  1199. cursor: pointer;
  1200. background-color: #f0f0f1;
  1201. color: #2c3338;
  1202. }
  1203. .customize-control .attachment-media-view .button-add-media:hover {
  1204. background-color: #fff;
  1205. }
  1206. .customize-control .attachment-media-view .button-add-media:focus {
  1207. background-color: #fff;
  1208. border-color: #3582c4;
  1209. border-style: solid;
  1210. box-shadow: 0 0 0 1px #3582c4;
  1211. /* Only visible in Windows High Contrast mode */
  1212. outline: 2px solid transparent;
  1213. }
  1214. .customize-control-header .inner {
  1215. display: none;
  1216. position: absolute;
  1217. width: 100%;
  1218. color: #50575e;
  1219. white-space: nowrap;
  1220. text-overflow: ellipsis;
  1221. overflow: hidden;
  1222. }
  1223. .customize-control-header .inner,
  1224. .customize-control-header .inner .dashicons {
  1225. line-height: 20px;
  1226. top: 8px;
  1227. }
  1228. .customize-control-header .list .inner,
  1229. .customize-control-header .list .inner .dashicons {
  1230. top: 9px;
  1231. }
  1232. .customize-control-header .header-view {
  1233. position: relative;
  1234. width: 100%;
  1235. margin-bottom: 12px;
  1236. }
  1237. .customize-control-header .header-view:last-child {
  1238. margin-bottom: 0;
  1239. }
  1240. /* Convoluted, but 'outline' support isn't good enough yet */
  1241. .customize-control-header .header-view:after {
  1242. border: 0;
  1243. }
  1244. .customize-control-header .header-view.selected .choice:focus {
  1245. outline: none;
  1246. }
  1247. .customize-control-header .header-view.selected:after {
  1248. content: "";
  1249. position: absolute;
  1250. height: auto;
  1251. top: 0;
  1252. left: 0;
  1253. bottom: 0;
  1254. right: 0;
  1255. border: 4px solid #72aee6;
  1256. border-radius: 2px;
  1257. }
  1258. .customize-control-header .header-view.button.selected {
  1259. border: 0;
  1260. }
  1261. /* Header control: overlay "close" button */
  1262. .customize-control-header .uploaded .header-view .close {
  1263. font-size: 20px;
  1264. color: #fff;
  1265. background: #50575e;
  1266. background: rgba(0, 0, 0, 0.5);
  1267. position: absolute;
  1268. top: 10px;
  1269. left: -999px;
  1270. z-index: 1;
  1271. width: 26px;
  1272. height: 26px;
  1273. cursor: pointer;
  1274. }
  1275. .customize-control-header .header-view:hover .close,
  1276. .customize-control-header .header-view .close:focus {
  1277. left: auto;
  1278. right: 10px;
  1279. }
  1280. .customize-control-header .header-view .close:focus {
  1281. outline: 1px solid #4f94d4;
  1282. }
  1283. /* Header control: randomiz(s)er */
  1284. .customize-control-header .random.placeholder {
  1285. cursor: pointer;
  1286. border-radius: 2px;
  1287. height: 40px;
  1288. }
  1289. .customize-control-header button.random {
  1290. width: 100%;
  1291. height: auto;
  1292. min-height: 40px;
  1293. white-space: normal;
  1294. }
  1295. .customize-control-header button.random .dice {
  1296. margin-top: 4px;
  1297. }
  1298. .customize-control-header .placeholder:hover .dice,
  1299. .customize-control-header .header-view:hover > button.random .dice {
  1300. animation: dice-color-change 3s infinite;
  1301. }
  1302. .button-see-me {
  1303. animation: bounce .7s 1;
  1304. transform-origin: center bottom;
  1305. }
  1306. @keyframes bounce {
  1307. from, 20%, 53%, 80%, to {
  1308. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  1309. transform: translate3d(0,0,0);
  1310. }
  1311. 40%, 43% {
  1312. animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  1313. transform: translate3d(0, -12px, 0);
  1314. }
  1315. 70% {
  1316. animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  1317. transform: translate3d(0, -6px, 0);
  1318. }
  1319. 90% {
  1320. transform: translate3d(0,-1px,0);
  1321. }
  1322. }
  1323. .customize-control-header .choice {
  1324. position: relative;
  1325. display: block;
  1326. margin-bottom: 9px;
  1327. }
  1328. .customize-control-header .choice:focus {
  1329. outline: none;
  1330. box-shadow:
  1331. 0 0 0 1px #4f94d4,
  1332. 0 0 3px 1px rgba(79, 148, 212, 0.8);
  1333. }
  1334. .customize-control-header .uploaded div:last-child > .choice {
  1335. margin-bottom: 0;
  1336. }
  1337. .customize-control .attachment-media-view .thumbnail-image img,
  1338. .customize-control-header img {
  1339. max-width: 100%;
  1340. }
  1341. .customize-control .attachment-media-view .remove-button,
  1342. .customize-control .attachment-media-view .default-button,
  1343. .customize-control-header .remove {
  1344. margin-right: 8px;
  1345. }
  1346. /* Background position control */
  1347. .customize-control-background_position .background-position-control .button-group {
  1348. display: block;
  1349. }
  1350. /**
  1351. * Code Editor Control and Custom CSS Section
  1352. *
  1353. * Modifications to the Section Container to make the textarea full-width and
  1354. * full-height, if the control is the only control in the section.
  1355. */
  1356. .customize-control-code_editor textarea {
  1357. width: 100%;
  1358. font-family: Consolas, Monaco, monospace;
  1359. font-size: 12px;
  1360. padding: 6px 8px;
  1361. -o-tab-size: 2;
  1362. tab-size: 2;
  1363. }
  1364. .customize-control-code_editor textarea,
  1365. .customize-control-code_editor .CodeMirror {
  1366. height: 14em;
  1367. }
  1368. #customize-controls .customize-section-description-container.section-meta.customize-info {
  1369. border-bottom: none;
  1370. }
  1371. #sub-accordion-section-custom_css .customize-control-notifications-container {
  1372. margin-bottom: 15px;
  1373. }
  1374. #customize-control-custom_css textarea {
  1375. display: block;
  1376. height: 500px;
  1377. }
  1378. .customize-section-description-container + #customize-control-custom_css .customize-control-title {
  1379. margin-left: 12px;
  1380. }
  1381. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  1382. border-right: 0;
  1383. border-left: 0;
  1384. height: calc( 100vh - 185px );
  1385. resize: none;
  1386. }
  1387. .customize-section-description-container + #customize-control-custom_css:last-child {
  1388. margin-left: -12px;
  1389. width: 299px;
  1390. width: calc( 100% + 24px );
  1391. margin-bottom: -12px;
  1392. }
  1393. .customize-section-description-container + #customize-control-custom_css:last-child .CodeMirror {
  1394. height: calc( 100vh - 185px );
  1395. }
  1396. .CodeMirror-lint-tooltip,
  1397. .CodeMirror-hints {
  1398. z-index: 500000 !important;
  1399. }
  1400. .customize-section-description-container + #customize-control-custom_css:last-child .customize-control-notifications-container {
  1401. margin-left: 12px;
  1402. margin-right: 12px;
  1403. }
  1404. .theme-browser .theme.active .theme-actions,
  1405. .wp-customizer .theme-browser .theme .theme-actions {
  1406. padding: 9px 15px;
  1407. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  1408. }
  1409. @media screen and (max-width: 640px) {
  1410. .customize-section-description-container + #customize-control-custom_css:last-child {
  1411. margin-right: 0;
  1412. }
  1413. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  1414. height: calc( 100vh - 140px );
  1415. }
  1416. }
  1417. /**
  1418. * Themes
  1419. */
  1420. #customize-theme-controls .control-panel-themes {
  1421. border-bottom: none;
  1422. }
  1423. #customize-theme-controls .control-panel-themes > .accordion-section-title:hover, /* Not a focusable element. */
  1424. #customize-theme-controls .control-panel-themes > .accordion-section-title {
  1425. cursor: default;
  1426. background: #fff;
  1427. color: #50575e;
  1428. border-top: 1px solid #dcdcde;
  1429. border-bottom: 1px solid #dcdcde;
  1430. border-left: none;
  1431. border-right: none;
  1432. margin: 0 0 15px;
  1433. padding-right: 100px; /* Space for the button */
  1434. }
  1435. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
  1436. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
  1437. border-top: 0;
  1438. }
  1439. #customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */
  1440. #customize-theme-controls .control-section-themes > .accordion-section-title {
  1441. margin: 0 0 15px;
  1442. }
  1443. #customize-controls .customize-themes-panel .accordion-section-title:hover,
  1444. #customize-controls .customize-themes-panel .accordion-section-title {
  1445. margin: 15px -8px;
  1446. }
  1447. #customize-controls .control-section-themes .accordion-section-title,
  1448. #customize-controls .customize-themes-panel .accordion-section-title {
  1449. padding-right: 100px; /* Space for the button */
  1450. }
  1451. .control-panel-themes .accordion-section-title span.customize-action,
  1452. #customize-controls .customize-section-title span.customize-action,
  1453. #customize-controls .control-section-themes .accordion-section-title span.customize-action,
  1454. #customize-controls .customize-section-title span.customize-action {
  1455. font-size: 13px;
  1456. display: block;
  1457. font-weight: 400;
  1458. }
  1459. #customize-theme-controls .control-panel-themes .accordion-section-title .change-theme {
  1460. position: absolute;
  1461. right: 10px;
  1462. top: 50%;
  1463. margin-top: -14px;
  1464. font-weight: 400;
  1465. }
  1466. #customize-notifications-area .notification-message button.switch-to-editor {
  1467. display: block;
  1468. margin-top: 6px;
  1469. font-weight: 400;
  1470. }
  1471. #customize-theme-controls .control-panel-themes > .accordion-section-title:after {
  1472. display: none;
  1473. }
  1474. .control-panel-themes .customize-themes-full-container {
  1475. position: fixed;
  1476. top: 0;
  1477. left: 0;
  1478. transition: .18s left ease-in-out;
  1479. margin: 0 0 0 300px;
  1480. padding: 71px 0 25px;
  1481. overflow-y: scroll;
  1482. width: calc(100% - 300px);
  1483. height: calc(100% - 96px);
  1484. background: #f0f0f1;
  1485. z-index: 20;
  1486. }
  1487. @media (prefers-reduced-motion: reduce) {
  1488. .control-panel-themes .customize-themes-full-container {
  1489. transition: none;
  1490. }
  1491. }
  1492. @media screen and (min-width: 1670px) {
  1493. .control-panel-themes .customize-themes-full-container {
  1494. width: 82%;
  1495. right: 0;
  1496. left: initial;
  1497. }
  1498. }
  1499. .modal-open .control-panel-themes .customize-themes-full-container {
  1500. overflow-y: visible;
  1501. }
  1502. /* Animations for opening the themes panel */
  1503. #customize-save-button-wrapper,
  1504. #customize-header-actions .spinner,
  1505. #customize-header-actions .customize-controls-preview-toggle {
  1506. transition: .18s margin ease-in-out;
  1507. }
  1508. #customize-footer-actions,
  1509. #customize-footer-actions .collapse-sidebar {
  1510. bottom: 0;
  1511. transition: .18s bottom ease-in-out;
  1512. }
  1513. .in-themes-panel:not(.animating) #customize-header-actions .spinner,
  1514. .in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle,
  1515. .in-themes-panel:not(.animating) #customize-preview,
  1516. .in-themes-panel:not(.animating) #customize-footer-actions {
  1517. visibility: hidden;
  1518. }
  1519. .wp-full-overlay.in-themes-panel {
  1520. background: #f0f0f1; /* Prevents a black flash when fading in the panel */
  1521. }
  1522. .in-themes-panel #customize-save-button-wrapper,
  1523. .in-themes-panel #customize-header-actions .spinner,
  1524. .in-themes-panel #customize-header-actions .customize-controls-preview-toggle {
  1525. margin-top: -46px; /* Height of header actions bar */
  1526. }
  1527. .in-themes-panel #customize-footer-actions,
  1528. .in-themes-panel #customize-footer-actions .collapse-sidebar {
  1529. bottom: -45px;
  1530. }
  1531. /* Don't show the theme count while the panel opens, as it's in the wrong place during the animation */
  1532. .in-themes-panel.animating .control-panel-themes .filter-themes-count {
  1533. display: none;
  1534. }
  1535. .in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content {
  1536. bottom: 0;
  1537. }
  1538. .themes-filter-bar .feature-filter-toggle {
  1539. float: right;
  1540. margin: 3px 0 3px 25px;
  1541. }
  1542. .themes-filter-bar .feature-filter-toggle:before {
  1543. content: "\f111";
  1544. margin: 0 5px 0 0;
  1545. font: normal 16px/1 dashicons;
  1546. vertical-align: text-bottom;
  1547. -webkit-font-smoothing: antialiased;
  1548. -moz-osx-font-smoothing: grayscale;
  1549. }
  1550. .themes-filter-bar .feature-filter-toggle.open {
  1551. background: #f0f0f1;
  1552. border-color: #8c8f94;
  1553. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  1554. }
  1555. .themes-filter-bar .feature-filter-toggle .filter-count-filters {
  1556. display: none;
  1557. }
  1558. .filter-drawer {
  1559. box-sizing: border-box;
  1560. width: 100%;
  1561. position: absolute;
  1562. top: 46px;
  1563. left: 0;
  1564. padding: 25px 0 25px 25px;
  1565. border-top: 0;
  1566. margin: 0;
  1567. background: #f0f0f1;
  1568. border-bottom: 1px solid #dcdcde;
  1569. }
  1570. .filter-drawer .filter-group {
  1571. margin: 0 25px 0 0;
  1572. width: calc( (100% - 75px) / 3);
  1573. min-width: 200px;
  1574. max-width: 320px;
  1575. }
  1576. /* Adds a delay before fading in to avoid it "jumping" */
  1577. @keyframes themes-fade-in {
  1578. 0% {
  1579. opacity: 0;
  1580. }
  1581. 50% {
  1582. opacity: 0;
  1583. }
  1584. 100% {
  1585. opacity: 1;
  1586. }
  1587. }
  1588. .control-panel-themes .customize-themes-full-container.animate {
  1589. animation: .6s themes-fade-in 1;
  1590. }
  1591. .in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count {
  1592. animation: .6s themes-fade-in 1;
  1593. }
  1594. .control-panel-themes .filter-themes-count {
  1595. position: relative;
  1596. float: right;
  1597. line-height: 2.6;
  1598. }
  1599. .control-panel-themes .filter-themes-count .themes-displayed {
  1600. font-weight: 600;
  1601. color: #50575e;
  1602. }
  1603. .customize-themes-notifications {
  1604. margin: 0;
  1605. }
  1606. .control-panel-themes .customize-themes-notifications .notice {
  1607. margin: 0 0 25px;
  1608. }
  1609. .customize-themes-full-container .customize-themes-section {
  1610. display: none !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */
  1611. overflow: hidden;
  1612. }
  1613. .customize-themes-full-container .customize-themes-section.current-section {
  1614. display: list-item !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */
  1615. }
  1616. .control-section .customize-section-text-before {
  1617. padding: 0 0 8px 15px;
  1618. margin: 15px 0 0;
  1619. line-height: 16px;
  1620. border-bottom: 1px solid #dcdcde;
  1621. color: #50575e;
  1622. }
  1623. .control-panel-themes .customize-themes-section-title {
  1624. width: 100%;
  1625. background: #fff;
  1626. box-shadow: none;
  1627. outline: none;
  1628. border-top: none;
  1629. border-bottom: 1px solid #dcdcde;
  1630. border-left: 4px solid #fff;
  1631. border-right: none;
  1632. cursor: pointer;
  1633. padding: 10px 15px;
  1634. position: relative;
  1635. text-align: left;
  1636. font-size: 14px;
  1637. font-weight: 600;
  1638. color: #50575e;
  1639. text-shadow: none;
  1640. }
  1641. .control-panel-themes #accordion-section-installed_themes {
  1642. border-top: 1px solid #dcdcde;
  1643. }
  1644. .control-panel-themes .theme-section {
  1645. margin: 0;
  1646. position: relative;
  1647. }
  1648. .control-panel-themes .customize-themes-section-title:focus,
  1649. .control-panel-themes .customize-themes-section-title:hover {
  1650. border-left-color: #2271b1;
  1651. color: #2271b1;
  1652. background: #f6f7f7;
  1653. }
  1654. .customize-themes-section-title:not(.selected):after {
  1655. content: "";
  1656. display: block;
  1657. position: absolute;
  1658. top: 9px;
  1659. right: 15px;
  1660. width: 18px;
  1661. height: 18px;
  1662. border-radius: 100%;
  1663. border: 1px solid #c3c4c7;
  1664. background: #fff;
  1665. }
  1666. .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
  1667. content: "\f147";
  1668. font: 16px/1 dashicons;
  1669. box-sizing: border-box;
  1670. width: 20px;
  1671. height: 20px;
  1672. padding: 3px 3px 1px 1px; /* Re-align the icon to the smaller grid */
  1673. border-radius: 100%;
  1674. position: absolute;
  1675. top: 9px;
  1676. right: 15px;
  1677. background: #2271b1;
  1678. color: #fff;
  1679. }
  1680. .control-panel-themes .customize-themes-section-title.selected {
  1681. color: #2271b1;
  1682. }
  1683. #customize-theme-controls .themes.accordion-section-content {
  1684. position: relative;
  1685. left: 0;
  1686. padding: 0;
  1687. width: 100%;
  1688. }
  1689. .loading .customize-themes-section .spinner {
  1690. display: block;
  1691. visibility: visible;
  1692. position: relative;
  1693. clear: both;
  1694. width: 20px;
  1695. height: 20px;
  1696. left: calc(50% - 10px);
  1697. float: none;
  1698. margin-top: 50px;
  1699. }
  1700. .customize-themes-section .no-themes,
  1701. .customize-themes-section .no-themes-local {
  1702. display: none;
  1703. }
  1704. .themes-section-installed_themes .theme .notice-success:not(.updated-message) {
  1705. display: none; /* Hide "installed" notice on installed themes tab. */
  1706. }
  1707. .customize-control-theme .theme {
  1708. width: 100%;
  1709. margin: 0;
  1710. border: 1px solid #dcdcde;
  1711. background: #fff;
  1712. }
  1713. .customize-control-theme .theme .theme-name, .customize-control-theme .theme .theme-actions {
  1714. background: #fff;
  1715. border: none;
  1716. }
  1717. .customize-control.customize-control-theme { /* override most properties on .customize-control */
  1718. box-sizing: border-box;
  1719. width: 25%;
  1720. max-width: 600px; /* Max. screenshot size / 2 */
  1721. margin: 0 25px 25px 0;
  1722. padding: 0;
  1723. clear: none;
  1724. }
  1725. /* 5 columns above 2100px */
  1726. @media screen and (min-width: 2101px) {
  1727. .customize-control.customize-control-theme {
  1728. width: calc( ( 100% - 125px ) / 5 - 1px ); /* 1px offset accounts for browser rounding, typical all grids */
  1729. }
  1730. }
  1731. /* 4 columns up to 2100px */
  1732. @media screen and (min-width: 1601px) and (max-width: 2100px) {
  1733. .customize-control.customize-control-theme {
  1734. width: calc( ( 100% - 100px ) / 4 - 1px );
  1735. }
  1736. }
  1737. /* 3 columns up to 1600px */
  1738. @media screen and (min-width: 1201px) and (max-width: 1600px) {
  1739. .customize-control.customize-control-theme {
  1740. width: calc( ( 100% - 75px ) / 3 - 1px );
  1741. }
  1742. }
  1743. /* 2 columns up to 1200px */
  1744. @media screen and (min-width: 851px) and (max-width: 1200px) {
  1745. .customize-control.customize-control-theme {
  1746. width: calc( ( 100% - 50px ) / 2 - 1px );
  1747. }
  1748. }
  1749. /* 1 column up to 850 px */
  1750. @media screen and (max-width: 850px) {
  1751. .customize-control.customize-control-theme {
  1752. width: 100%;
  1753. }
  1754. }
  1755. .wp-customizer .theme-browser .themes {
  1756. padding: 0 0 25px 25px;
  1757. transition: .18s margin-top linear;
  1758. }
  1759. .wp-customizer .theme-browser .theme .theme-actions {
  1760. opacity: 1;
  1761. }
  1762. #customize-controls h3.theme-name {
  1763. font-size: 15px;
  1764. }
  1765. #customize-controls .theme-overlay .theme-name {
  1766. font-size: 32px;
  1767. }
  1768. .customize-preview-header.themes-filter-bar {
  1769. position: fixed;
  1770. top: 0;
  1771. left: 300px;
  1772. width: calc(100% - 300px);
  1773. height: 46px;
  1774. background: #f0f0f1;
  1775. z-index: 10;
  1776. padding: 6px 25px;
  1777. box-sizing: border-box;
  1778. border-bottom: 1px solid #dcdcde;
  1779. }
  1780. @media screen and (min-width: 1670px) {
  1781. .customize-preview-header.themes-filter-bar {
  1782. width: 82%;
  1783. right: 0;
  1784. left: initial;
  1785. }
  1786. }
  1787. .themes-filter-bar .themes-filter-container {
  1788. margin: 0;
  1789. padding: 0;
  1790. }
  1791. .themes-filter-bar .wp-filter-search {
  1792. line-height: 1.8;
  1793. padding: 6px 10px 6px 30px;
  1794. max-width: 100%;
  1795. width: 40%;
  1796. min-width: 300px;
  1797. position: absolute;
  1798. top: 6px;
  1799. left: 25px;
  1800. height: 32px;
  1801. margin: 1px 0;
  1802. }
  1803. /* Unstick the filter bar on short windows/screens. This breakpoint is based on the
  1804. current length of .org feature filters assuming translations do not wrap lines. */
  1805. @media screen and (max-height: 540px), screen and (max-width: 1018px) {
  1806. .customize-preview-header.themes-filter-bar {
  1807. position: relative;
  1808. left: 0;
  1809. width: 100%;
  1810. margin: 0 0 25px;
  1811. }
  1812. .filter-drawer {
  1813. top: 46px;
  1814. }
  1815. .wp-customizer .theme-browser .themes {
  1816. padding: 0 0 25px 25px;
  1817. overflow: hidden;
  1818. }
  1819. .control-panel-themes .customize-themes-full-container {
  1820. margin-top: 0;
  1821. padding: 0;
  1822. height: 100%;
  1823. width: calc(100% - 300px);
  1824. }
  1825. }
  1826. @media screen and (max-width: 1018px) {
  1827. .filter-drawer .filter-group {
  1828. width: calc( (100% - 50px) / 2);
  1829. }
  1830. }
  1831. @media screen and (max-width: 900px) {
  1832. .customize-preview-header.themes-filter-bar {
  1833. height: 86px;
  1834. padding-top: 46px;
  1835. }
  1836. .themes-filter-bar .wp-filter-search {
  1837. width: calc(100% - 50px);
  1838. margin: 0;
  1839. min-width: 200px;
  1840. }
  1841. .filter-drawer {
  1842. top: 86px;
  1843. }
  1844. .control-panel-themes .filter-themes-count {
  1845. float: left;
  1846. }
  1847. }
  1848. @media screen and (max-width: 792px) {
  1849. .filter-drawer .filter-group {
  1850. width: calc( 100% - 25px);
  1851. }
  1852. }
  1853. .control-panel-themes .customize-themes-mobile-back {
  1854. display: none;
  1855. }
  1856. /* Mobile - toggle between themes and filters */
  1857. @media screen and (max-width: 600px) {
  1858. .filter-drawer {
  1859. top: 132px;
  1860. }
  1861. .wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes {
  1862. display: block;
  1863. float: right;
  1864. }
  1865. .control-panel-themes .customize-themes-full-container {
  1866. width: 100%;
  1867. margin: 0;
  1868. padding-top: 46px;
  1869. height: calc(100% - 46px);
  1870. z-index: 1;
  1871. display: none;
  1872. }
  1873. .showing-themes .control-panel-themes .customize-themes-full-container {
  1874. display: block;
  1875. }
  1876. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back {
  1877. display: block;
  1878. position: fixed;
  1879. top: 0;
  1880. left: 0;
  1881. background: #f0f0f1;
  1882. color: #3c434a;
  1883. border-radius: 0;
  1884. box-shadow: none;
  1885. border: none;
  1886. height: 46px;
  1887. width: 100%;
  1888. z-index: 10;
  1889. text-align: left;
  1890. text-shadow: none;
  1891. border-bottom: 1px solid #dcdcde;
  1892. border-left: 4px solid transparent;
  1893. margin: 0;
  1894. padding: 0;
  1895. font-size: 0;
  1896. overflow: hidden;
  1897. }
  1898. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before {
  1899. left: 0;
  1900. top: 0;
  1901. height: 46px;
  1902. width: 26px;
  1903. display: block;
  1904. line-height: 2.3;
  1905. padding: 0 8px;
  1906. border-right: 1px solid #dcdcde;
  1907. }
  1908. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover,
  1909. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus {
  1910. color: #2271b1;
  1911. background: #f6f7f7;
  1912. border-left-color: #2271b1;
  1913. box-shadow: none;
  1914. /* Only visible in Windows High Contrast mode */
  1915. outline: 2px solid transparent;
  1916. outline-offset: -2px;
  1917. }
  1918. .showing-themes #customize-header-actions {
  1919. display: none;
  1920. }
  1921. #customize-controls {
  1922. width: 100%;
  1923. }
  1924. }
  1925. /* Details View */
  1926. .wp-customizer .theme-overlay {
  1927. display: none;
  1928. }
  1929. .wp-customizer.modal-open .theme-overlay {
  1930. position: fixed;
  1931. left: 0;
  1932. top: 0;
  1933. right: 0;
  1934. bottom: 0;
  1935. z-index: 109;
  1936. }
  1937. /* Avoid a z-index war by resetting elements that should be under the overlay.
  1938. This is likely required because of the way that sections and panels are positioned. */
  1939. .wp-customizer.modal-open #customize-header-actions,
  1940. .wp-customizer.modal-open .control-panel-themes .filter-themes-count,
  1941. .wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after {
  1942. z-index: -1;
  1943. }
  1944. .wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content {
  1945. overflow: visible;
  1946. }
  1947. .wp-customizer .theme-overlay .theme-backdrop {
  1948. background: rgba(240, 240, 241, 0.75);
  1949. position: fixed;
  1950. z-index: 110;
  1951. }
  1952. .wp-customizer .theme-overlay .star-rating {
  1953. float: left;
  1954. margin-right: 8px;
  1955. }
  1956. .wp-customizer .theme-rating .num-ratings {
  1957. line-height: 20px;
  1958. }
  1959. .wp-customizer .theme-overlay .theme-wrap {
  1960. left: 90px;
  1961. right: 90px;
  1962. top: 45px;
  1963. bottom: 45px;
  1964. z-index: 120;
  1965. }
  1966. .wp-customizer .theme-overlay .theme-actions {
  1967. text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
  1968. padding: 10px 25px;
  1969. background: #f0f0f1;
  1970. border-top: 1px solid #dcdcde;
  1971. }
  1972. .wp-customizer .theme-overlay .theme-actions .theme-install.preview {
  1973. margin-left: 8px;
  1974. }
  1975. .control-panel-themes .theme-actions .delete-theme {
  1976. left: 15px; /* these override themes.css on mobile */
  1977. right: auto;
  1978. bottom: auto;
  1979. position: absolute;
  1980. }
  1981. .modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
  1982. overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
  1983. }
  1984. .wp-customizer .theme-header {
  1985. background: #f0f0f1;
  1986. }
  1987. .wp-customizer .theme-overlay .theme-header button,
  1988. .wp-customizer .theme-overlay .theme-header .close:before {
  1989. color: #3c434a;
  1990. }
  1991. .wp-customizer .theme-overlay .theme-header .close:focus,
  1992. .wp-customizer .theme-overlay .theme-header .close:hover,
  1993. .wp-customizer .theme-overlay .theme-header .right:focus,
  1994. .wp-customizer .theme-overlay .theme-header .right:hover,
  1995. .wp-customizer .theme-overlay .theme-header .left:focus,
  1996. .wp-customizer .theme-overlay .theme-header .left:hover {
  1997. background: #fff;
  1998. border-bottom: 4px solid #2271b1;
  1999. color: #2271b1;
  2000. }
  2001. .wp-customizer .theme-overlay .theme-header .close:focus:before,
  2002. .wp-customizer .theme-overlay .theme-header .close:hover:before {
  2003. color: #2271b1;
  2004. }
  2005. .wp-customizer .theme-overlay .theme-header button.disabled,
  2006. .wp-customizer .theme-overlay .theme-header button.disabled:hover,
  2007. .wp-customizer .theme-overlay .theme-header button.disabled:focus {
  2008. border-bottom: none;
  2009. background: transparent;
  2010. color: #c3c4c7;
  2011. }
  2012. /* Small Screens */
  2013. @media (max-width: 850px), (max-height: 472px) {
  2014. .wp-customizer .theme-overlay .theme-wrap {
  2015. left: 0;
  2016. right: 0;
  2017. top: 0;
  2018. bottom: 0;
  2019. }
  2020. .wp-customizer .theme-browser .themes {
  2021. padding-right: 25px;
  2022. }
  2023. }
  2024. /* Handle cheaters. */
  2025. body.cheatin {
  2026. font-size: medium;
  2027. height: auto;
  2028. background: #fff;
  2029. border: 1px solid #c3c4c7;
  2030. margin: 50px auto 2em;
  2031. padding: 1em 2em;
  2032. max-width: 700px;
  2033. min-width: 0;
  2034. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  2035. }
  2036. body.cheatin h1 {
  2037. border-bottom: 1px solid #dcdcde;
  2038. clear: both;
  2039. color: #50575e;
  2040. font-size: 24px;
  2041. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2042. margin: 30px 0 0;
  2043. padding: 0 0 7px;
  2044. }
  2045. body.cheatin p {
  2046. font-size: 14px;
  2047. line-height: 1.5;
  2048. margin: 25px 0 20px;
  2049. }
  2050. /**
  2051. * Widgets and Menus common styles
  2052. */
  2053. /* higher specificity than .wp-core-ui .button */
  2054. #customize-theme-controls .add-new-widget,
  2055. #customize-theme-controls .add-new-menu-item {
  2056. cursor: pointer;
  2057. float: right;
  2058. margin: 0 0 0 10px;
  2059. transition: all 0.2s;
  2060. -webkit-user-select: none;
  2061. user-select: none;
  2062. outline: none;
  2063. }
  2064. .reordering .add-new-widget,
  2065. .reordering .add-new-menu-item {
  2066. opacity: 0.2;
  2067. pointer-events: none;
  2068. cursor: not-allowed; /* doesn't work in conjunction with pointer-events */
  2069. }
  2070. .add-new-widget:before,
  2071. .add-new-menu-item:before,
  2072. #available-menu-items .new-content-item .add-content:before {
  2073. content: "\f132";
  2074. display: inline-block;
  2075. position: relative;
  2076. left: -2px;
  2077. top: 0;
  2078. font: normal 20px/1 dashicons;
  2079. vertical-align: middle;
  2080. transition: all 0.2s;
  2081. -webkit-font-smoothing: antialiased;
  2082. -moz-osx-font-smoothing: grayscale;
  2083. }
  2084. /* Reordering */
  2085. .reorder-toggle {
  2086. float: right;
  2087. padding: 5px 8px;
  2088. text-decoration: none;
  2089. cursor: pointer;
  2090. outline: none;
  2091. }
  2092. .reorder,
  2093. .reordering .reorder-done {
  2094. display: block;
  2095. padding: 5px 8px;
  2096. }
  2097. .reorder-done,
  2098. .reordering .reorder {
  2099. display: none;
  2100. }
  2101. .widget-reorder-nav span,
  2102. .menu-item-reorder-nav button {
  2103. position: relative;
  2104. overflow: hidden;
  2105. float: left;
  2106. display: block;
  2107. width: 33px; /* was 42px for mobile */
  2108. height: 43px;
  2109. color: #8c8f94;
  2110. text-indent: -9999px;
  2111. cursor: pointer;
  2112. outline: none;
  2113. }
  2114. .menu-item-reorder-nav button {
  2115. width: 30px;
  2116. height: 40px;
  2117. background: transparent;
  2118. border: none;
  2119. box-shadow: none;
  2120. }
  2121. .widget-reorder-nav span:before,
  2122. .menu-item-reorder-nav button:before {
  2123. display: inline-block;
  2124. position: absolute;
  2125. top: 0;
  2126. right: 0;
  2127. width: 100%;
  2128. height: 100%;
  2129. font: normal 20px/43px dashicons;
  2130. text-align: center;
  2131. text-indent: 0;
  2132. -webkit-font-smoothing: antialiased;
  2133. -moz-osx-font-smoothing: grayscale;
  2134. }
  2135. .widget-reorder-nav span:hover,
  2136. .widget-reorder-nav span:focus,
  2137. .menu-item-reorder-nav button:hover,
  2138. .menu-item-reorder-nav button:focus {
  2139. color: #1d2327;
  2140. background: #f0f0f1;
  2141. }
  2142. .move-widget-down:before,
  2143. .menus-move-down:before {
  2144. content: "\f347";
  2145. }
  2146. .move-widget-up:before,
  2147. .menus-move-up:before {
  2148. content: "\f343";
  2149. }
  2150. #customize-theme-controls .first-widget .move-widget-up,
  2151. #customize-theme-controls .last-widget .move-widget-down,
  2152. .move-up-disabled .menus-move-up,
  2153. .move-down-disabled .menus-move-down,
  2154. .move-right-disabled .menus-move-right,
  2155. .move-left-disabled .menus-move-left {
  2156. color: #dcdcde;
  2157. background-color: #fff;
  2158. cursor: default;
  2159. pointer-events: none;
  2160. }
  2161. /**
  2162. * New widget and Add-menu-items modes and panels
  2163. */
  2164. .wp-full-overlay-main {
  2165. right: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */
  2166. width: 100%;
  2167. }
  2168. body.adding-widget .add-new-widget,
  2169. body.adding-widget .add-new-widget:hover,
  2170. .adding-menu-items .add-new-menu-item,
  2171. .adding-menu-items .add-new-menu-item:hover,
  2172. .add-menu-toggle.open,
  2173. .add-menu-toggle.open:hover {
  2174. background: #f0f0f1;
  2175. border-color: #8c8f94;
  2176. color: #2c3338;
  2177. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  2178. }
  2179. body.adding-widget .add-new-widget:before,
  2180. .adding-menu-items .add-new-menu-item:before,
  2181. #accordion-section-add_menu .add-new-menu-item.open:before {
  2182. transform: rotate(45deg);
  2183. }
  2184. #available-widgets,
  2185. #available-menu-items {
  2186. position: absolute;
  2187. top: 0;
  2188. bottom: 0;
  2189. left: -301px;
  2190. visibility: hidden;
  2191. overflow-x: hidden;
  2192. overflow-y: auto;
  2193. width: 300px;
  2194. margin: 0;
  2195. z-index: 4;
  2196. background: #f0f0f1;
  2197. transition: left .18s;
  2198. border-right: 1px solid #dcdcde;
  2199. }
  2200. #available-widgets .customize-section-title,
  2201. #available-menu-items .customize-section-title {
  2202. display: none;
  2203. }
  2204. #available-widgets-list {
  2205. top: 60px;
  2206. position: absolute;
  2207. overflow: auto;
  2208. bottom: 0;
  2209. width: 100%;
  2210. border-top: 1px solid #dcdcde;
  2211. }
  2212. .no-widgets-found #available-widgets-list {
  2213. border-top: none;
  2214. }
  2215. #available-widgets-filter {
  2216. position: fixed;
  2217. top: 0;
  2218. z-index: 1;
  2219. width: 300px;
  2220. background: #f0f0f1;
  2221. }
  2222. /* search field container */
  2223. #available-widgets-filter,
  2224. #available-menu-items-search .accordion-section-title {
  2225. padding: 13px 15px;
  2226. box-sizing: border-box;
  2227. }
  2228. #available-widgets-filter input,
  2229. #available-menu-items-search input {
  2230. width: 100%;
  2231. min-height: 32px;
  2232. margin: 1px 0;
  2233. padding: 0 30px;
  2234. }
  2235. #available-widgets-filter input::-ms-clear,
  2236. #available-menu-items-search input::-ms-clear {
  2237. display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */
  2238. }
  2239. #available-menu-items-search .search-icon,
  2240. #available-widgets-filter .search-icon {
  2241. display: block;
  2242. position: absolute;
  2243. top: 15px; /* 13 container padding +1 input margin +1 input border */
  2244. left: 16px;
  2245. width: 30px;
  2246. height: 30px;
  2247. line-height: 2.1;
  2248. text-align: center;
  2249. color: #646970;
  2250. }
  2251. #available-widgets-filter .clear-results,
  2252. #available-menu-items-search .clear-results {
  2253. position: absolute;
  2254. top: 15px; /* 13 container padding +1 input margin +1 input border */
  2255. right: 16px;
  2256. width: 30px;
  2257. height: 30px;
  2258. padding: 0;
  2259. border: 0;
  2260. cursor: pointer;
  2261. background: none;
  2262. color: #d63638;
  2263. text-decoration: none;
  2264. outline: 0;
  2265. }
  2266. #available-widgets-filter .clear-results,
  2267. #available-menu-items-search .clear-results,
  2268. #available-menu-items-search.loading .clear-results.is-visible {
  2269. display: none;
  2270. }
  2271. #available-widgets-filter .clear-results.is-visible,
  2272. #available-menu-items-search .clear-results.is-visible {
  2273. display: block;
  2274. }
  2275. #available-widgets-filter .clear-results:before,
  2276. #available-menu-items-search .clear-results:before {
  2277. content: "\f335";
  2278. font: normal 20px/1 dashicons;
  2279. vertical-align: middle;
  2280. -webkit-font-smoothing: antialiased;
  2281. -moz-osx-font-smoothing: grayscale;
  2282. }
  2283. #available-widgets-filter .clear-results:hover,
  2284. #available-widgets-filter .clear-results:focus,
  2285. #available-menu-items-search .clear-results:hover,
  2286. #available-menu-items-search .clear-results:focus {
  2287. color: #d63638;
  2288. }
  2289. #available-widgets-filter .clear-results:focus,
  2290. #available-menu-items-search .clear-results:focus {
  2291. box-shadow:
  2292. 0 0 0 1px #4f94d4,
  2293. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  2294. }
  2295. #available-menu-items-search .search-icon:after,
  2296. #available-widgets-filter .search-icon:after,
  2297. .themes-filter-bar .search-icon:after {
  2298. content: "\f179";
  2299. font: normal 20px/1 dashicons;
  2300. vertical-align: middle;
  2301. -webkit-font-smoothing: antialiased;
  2302. -moz-osx-font-smoothing: grayscale;
  2303. }
  2304. .themes-filter-bar .search-icon {
  2305. position: absolute;
  2306. top: 7px;
  2307. left: 26px;
  2308. z-index: 1;
  2309. color: #646970;
  2310. height: 30px;
  2311. width: 30px;
  2312. line-height: 2;
  2313. text-align: center;
  2314. }
  2315. .no-widgets-found-message {
  2316. display: none;
  2317. margin: 0;
  2318. padding: 0 15px;
  2319. line-height: inherit;
  2320. }
  2321. .no-widgets-found .no-widgets-found-message {
  2322. display: block;
  2323. }
  2324. #available-widgets .widget-top,
  2325. #available-widgets .widget-top:hover,
  2326. #available-menu-items .item-top,
  2327. #available-menu-items .item-top:hover {
  2328. border: none;
  2329. background: transparent;
  2330. box-shadow: none;
  2331. }
  2332. #available-widgets .widget-tpl,
  2333. #available-menu-items .item-tpl {
  2334. position: relative;
  2335. padding: 15px 15px 15px 60px;
  2336. background: #fff;
  2337. border-bottom: 1px solid #dcdcde;
  2338. border-left: 4px solid #fff;
  2339. transition:
  2340. .15s color ease-in-out,
  2341. .15s background-color ease-in-out,
  2342. .15s border-color ease-in-out;
  2343. cursor: pointer;
  2344. display: none;
  2345. }
  2346. #available-widgets .widget,
  2347. #available-menu-items .item {
  2348. position: static;
  2349. }
  2350. /* Responsive */
  2351. .customize-controls-preview-toggle {
  2352. display: none;
  2353. }
  2354. @media only screen and (max-width: 782px) {
  2355. .wp-customizer .theme:not(.active):hover .theme-actions,
  2356. .wp-customizer .theme:not(.active):focus .theme-actions {
  2357. display: block;
  2358. }
  2359. .wp-customizer .theme-browser .theme.active .theme-name span {
  2360. display: inline;
  2361. }
  2362. .customize-control-header button.random .dice {
  2363. margin-top: 0;
  2364. }
  2365. .customize-control-radio .customize-inside-control-row,
  2366. .customize-control-checkbox .customize-inside-control-row,
  2367. .customize-control-nav_menu_auto_add .customize-inside-control-row {
  2368. margin-left: 32px;
  2369. }
  2370. .customize-control-radio input,
  2371. .customize-control-checkbox input,
  2372. .customize-control-nav_menu_auto_add input {
  2373. margin-left: -32px;
  2374. }
  2375. .customize-control input[type="radio"] + label + br,
  2376. .customize-control input[type="checkbox"] + label + br {
  2377. line-height: 2.5; /* For widgets checkboxes */
  2378. }
  2379. .customize-control .date-time-fields select {
  2380. height: 39px;
  2381. }
  2382. .date-time-fields .date-input.month {
  2383. width: 79px;
  2384. }
  2385. .date-time-fields .date-input.day,
  2386. .date-time-fields .date-input.hour,
  2387. .date-time-fields .date-input.minute {
  2388. width: 55px;
  2389. }
  2390. .date-time-fields .date-input.year {
  2391. width: 80px;
  2392. }
  2393. #customize-control-changeset_preview_link a {
  2394. bottom: 16px;
  2395. }
  2396. .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button {
  2397. bottom: 10px;
  2398. }
  2399. .media-widget-control .media-widget-buttons .button.edit-media,
  2400. .media-widget-control .media-widget-buttons .button.change-media,
  2401. .media-widget-control .media-widget-buttons .button.select-media {
  2402. margin-top: 12px;
  2403. }
  2404. .wp-core-ui .themes-filter-bar .feature-filter-toggle {
  2405. margin: 3px 0 3px 25px;
  2406. }
  2407. }
  2408. @media screen and (max-width: 1200px) {
  2409. .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  2410. .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  2411. .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
  2412. left: 67%;
  2413. }
  2414. }
  2415. @media screen and (max-width: 640px) {
  2416. /* when the sidebar is collapsed and switching to responsive view,
  2417. bring it back see ticket #35220 */
  2418. .wp-full-overlay.collapsed #customize-controls {
  2419. margin-left: 0;
  2420. }
  2421. .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
  2422. bottom: 0;
  2423. }
  2424. .customize-controls-preview-toggle {
  2425. display: block;
  2426. position: absolute;
  2427. top: 0;
  2428. left: 48px;
  2429. line-height: 2.6;
  2430. font-size: 14px;
  2431. padding: 0 12px 4px;
  2432. margin: 0;
  2433. height: 45px;
  2434. background: #f0f0f1;
  2435. border: 0;
  2436. border-right: 1px solid #dcdcde;
  2437. border-top: 4px solid #f0f0f1;
  2438. color: #50575e;
  2439. cursor: pointer;
  2440. transition: color .1s ease-in-out, background .1s ease-in-out;
  2441. }
  2442. #customize-footer-actions,
  2443. /*#customize-preview,*/
  2444. .customize-controls-preview-toggle .controls,
  2445. .preview-only .wp-full-overlay-sidebar-content,
  2446. .preview-only .customize-controls-preview-toggle .preview {
  2447. display: none;
  2448. }
  2449. .preview-only #customize-save-button-wrapper {
  2450. margin-top: -46px;
  2451. }
  2452. .customize-controls-preview-toggle .preview:before,
  2453. .customize-controls-preview-toggle .controls:before {
  2454. font: normal 20px/1 dashicons;
  2455. content: "\f177";
  2456. position: relative;
  2457. top: 4px;
  2458. margin-right: 6px;
  2459. }
  2460. .customize-controls-preview-toggle .controls:before {
  2461. content: "\f540";
  2462. }
  2463. .preview-only #customize-controls {
  2464. height: 45px;
  2465. }
  2466. .preview-only #customize-preview,
  2467. .preview-only .customize-controls-preview-toggle .controls {
  2468. display: block;
  2469. }
  2470. .wp-core-ui.wp-customizer .button {
  2471. min-height: 30px;
  2472. padding: 0 14px;
  2473. line-height: 2;
  2474. font-size: 14px;
  2475. vertical-align: middle;
  2476. }
  2477. #customize-control-changeset_status .customize-inside-control-row {
  2478. padding-top: 15px;
  2479. }
  2480. body.adding-widget div#available-widgets,
  2481. body.adding-menu-items div#available-menu-items,
  2482. body.outer-section-open div#customize-sidebar-outer-content {
  2483. width: 100%;
  2484. }
  2485. #available-widgets .customize-section-title,
  2486. #available-menu-items .customize-section-title {
  2487. display: block;
  2488. margin: 0;
  2489. }
  2490. #available-widgets .customize-section-back,
  2491. #available-menu-items .customize-section-back {
  2492. height: 69px;
  2493. }
  2494. #available-widgets .customize-section-title h3,
  2495. #available-menu-items .customize-section-title h3 {
  2496. font-size: 20px;
  2497. font-weight: 200;
  2498. padding: 9px 10px 12px 14px;
  2499. margin: 0;
  2500. line-height: 24px;
  2501. color: #50575e;
  2502. display: block;
  2503. overflow: hidden;
  2504. white-space: nowrap;
  2505. text-overflow: ellipsis;
  2506. }
  2507. #available-widgets .customize-section-title .customize-action,
  2508. #available-menu-items .customize-section-title .customize-action {
  2509. font-size: 13px;
  2510. display: block;
  2511. font-weight: 400;
  2512. overflow: hidden;
  2513. white-space: nowrap;
  2514. text-overflow: ellipsis;
  2515. }
  2516. #available-widgets-filter {
  2517. position: relative;
  2518. width: 100%;
  2519. height: auto;
  2520. }
  2521. #available-widgets-list {
  2522. top: 130px;
  2523. }
  2524. #available-menu-items-search .clear-results,
  2525. #available-menu-items-search .search-icon {
  2526. top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
  2527. }
  2528. .reorder,
  2529. .reordering .reorder-done {
  2530. padding: 8px;
  2531. }
  2532. .wp-core-ui .themes-filter-bar .feature-filter-toggle {
  2533. margin: 0;
  2534. }
  2535. }
  2536. @media screen and (max-width: 600px) {
  2537. .wp-full-overlay.expanded {
  2538. margin-left: 0;
  2539. }
  2540. body.adding-widget div#available-widgets,
  2541. body.adding-menu-items div#available-menu-items,
  2542. body.outer-section-open div#customize-sidebar-outer-content {
  2543. top: 46px;
  2544. z-index: 10;
  2545. }
  2546. body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
  2547. left: -100%;
  2548. }
  2549. body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  2550. left: 0;
  2551. }
  2552. }