Нет описания

customize-controls.css 68KB

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