themes.css 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004
  1. /*------------------------------------------------------------------------------
  2. 16.0 - Themes
  3. ------------------------------------------------------------------------------*/
  4. /*------------------------------------------------------------------------------
  5. 16.1 - Manage Themes
  6. ------------------------------------------------------------------------------*/
  7. .themes-php {
  8. overflow-y: scroll;
  9. }
  10. body.js .theme-browser.search-loading {
  11. display: none;
  12. }
  13. .theme-browser .themes {
  14. clear: both;
  15. }
  16. .themes-php:not(.network-admin) .wrap h1 {
  17. margin-bottom: 15px;
  18. }
  19. .themes-php .wrap h1 .button {
  20. margin-left: 20px;
  21. }
  22. /* Search form */
  23. .themes-php .search-form {
  24. display: inline;
  25. }
  26. .themes-php .wp-filter-search {
  27. position: relative;
  28. top: -2px;
  29. left: 20px;
  30. margin: 0;
  31. width: 280px;
  32. }
  33. /* Position admin messages */
  34. .theme .notice,
  35. .theme .notice.is-dismissible {
  36. left: 0;
  37. margin: 0;
  38. position: absolute;
  39. right: 0;
  40. top: 0;
  41. }
  42. /**
  43. * Main theme element
  44. * (has flexible margins)
  45. */
  46. .theme-browser .theme {
  47. cursor: pointer;
  48. float: left;
  49. margin: 0 4% 4% 0;
  50. position: relative;
  51. width: 30.6%;
  52. border: 1px solid #dcdcde;
  53. box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
  54. box-sizing: border-box;
  55. }
  56. .theme-browser .theme:nth-child(3n) {
  57. margin-right: 0;
  58. }
  59. .theme-browser .theme:hover,
  60. .theme-browser .theme.focus {
  61. cursor: pointer;
  62. }
  63. .theme-browser .theme .theme-name {
  64. font-size: 15px;
  65. font-weight: 600;
  66. height: 18px;
  67. margin: 0;
  68. padding: 15px;
  69. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  70. overflow: hidden;
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. background: #fff;
  74. background: rgba(255, 255, 255, 0.65);
  75. }
  76. /* Activate and Customize buttons, shown on hover and focus */
  77. .theme-browser .theme .theme-actions {
  78. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  79. opacity: 0;
  80. transition: opacity 0.1s ease-in-out;
  81. height: auto;
  82. background: rgba(246, 247, 247, 0.7);
  83. border-left: 1px solid rgba(0, 0, 0, 0.05);
  84. }
  85. .theme-browser .theme:hover .theme-actions,
  86. .theme-browser .theme.focus .theme-actions {
  87. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  88. opacity: 1;
  89. }
  90. .theme-browser .theme .theme-actions .button-primary {
  91. margin-right: 3px;
  92. }
  93. .theme-browser .theme .theme-actions .button {
  94. float: none;
  95. margin-left: 3px;
  96. }
  97. /**
  98. * Theme Screenshot
  99. *
  100. * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
  101. * It is also responsive.
  102. */
  103. .theme-browser .theme .theme-screenshot {
  104. display: block;
  105. overflow: hidden;
  106. position: relative;
  107. -webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */
  108. transition: opacity 0.2s ease-in-out;
  109. }
  110. .theme-browser .theme .theme-screenshot:after {
  111. content: "";
  112. display: block;
  113. padding-top: 66.66666%; /* using a 3/2 aspect ratio */
  114. }
  115. .theme-browser .theme .theme-screenshot img {
  116. height: auto;
  117. position: absolute;
  118. left: 0;
  119. top: 0;
  120. width: 100%;
  121. transition: opacity 0.2s ease-in-out;
  122. }
  123. .theme-browser .theme:hover .theme-screenshot,
  124. .theme-browser .theme.focus .theme-screenshot {
  125. background: #fff;
  126. }
  127. .theme-browser.rendered .theme:hover .theme-screenshot img,
  128. .theme-browser.rendered .theme.focus .theme-screenshot img {
  129. opacity: 0.4;
  130. }
  131. .theme-browser .theme .more-details {
  132. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  133. opacity: 0;
  134. position: absolute;
  135. top: 35%;
  136. right: 20%;
  137. left: 20%;
  138. width: 60%;
  139. background: #1d2327;
  140. background: rgba(0, 0, 0, 0.7);
  141. color: #fff;
  142. font-size: 15px;
  143. text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  144. -webkit-font-smoothing: antialiased;
  145. font-weight: 600;
  146. padding: 15px 12px;
  147. text-align: center;
  148. border-radius: 3px;
  149. border: none;
  150. transition: opacity 0.1s ease-in-out;
  151. cursor: pointer;
  152. }
  153. .theme-browser .theme .more-details:focus {
  154. box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
  155. }
  156. .theme-browser .theme.focus {
  157. border-color: #4f94d4;
  158. box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
  159. }
  160. .theme-browser .theme.focus .more-details {
  161. opacity: 1;
  162. }
  163. /* Current theme needs to have its action always on view */
  164. .theme-browser .theme.active.focus .theme-actions {
  165. display: block;
  166. }
  167. .theme-browser.rendered .theme:hover .more-details,
  168. .theme-browser.rendered .theme.focus .more-details {
  169. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  170. opacity: 1;
  171. }
  172. /**
  173. * The currently active theme
  174. */
  175. .theme-browser .theme.active .theme-name {
  176. background: #1d2327;
  177. color: #fff;
  178. padding-right: 110px;
  179. font-weight: 300;
  180. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
  181. }
  182. .theme-browser .customize-control .theme.active .theme-name {
  183. padding-right: 15px;
  184. }
  185. .theme-browser .theme.active .theme-name span {
  186. font-weight: 600;
  187. }
  188. .theme-browser .theme.active .theme-actions {
  189. background: rgba(44, 51, 56, 0.7);
  190. border-left: none;
  191. opacity: 1;
  192. }
  193. .theme-id-container {
  194. position: relative;
  195. }
  196. .theme-browser .theme.active .theme-actions,
  197. .theme-browser .theme .theme-actions {
  198. position: absolute;
  199. top: 50%;
  200. transform: translateY(-50%);
  201. right: 0;
  202. padding: 9px 15px;
  203. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  204. }
  205. .theme-browser .theme.active .theme-actions .button-primary {
  206. margin-right: 0;
  207. }
  208. .theme-browser .theme .theme-author {
  209. background: #1d2327;
  210. color: #f0f0f1;
  211. display: none;
  212. font-size: 14px;
  213. margin: 0 10px;
  214. padding: 5px 10px;
  215. position: absolute;
  216. bottom: 56px;
  217. }
  218. .theme-browser .theme.display-author .theme-author {
  219. display: block;
  220. }
  221. .theme-browser .theme.display-author .theme-author a {
  222. color: inherit;
  223. }
  224. /**
  225. * Add new theme
  226. */
  227. .theme-browser .theme.add-new-theme {
  228. border: none;
  229. box-shadow: none;
  230. }
  231. .theme-browser .theme.add-new-theme a {
  232. text-decoration: none;
  233. display: block;
  234. position: relative;
  235. z-index: 1;
  236. }
  237. .theme-browser .theme.add-new-theme a:after {
  238. display: block;
  239. content: "";
  240. background: transparent;
  241. background: rgba(0, 0, 0, 0);
  242. position: absolute;
  243. top: 0;
  244. left: 0;
  245. right: 0;
  246. bottom: 0;
  247. padding: 0;
  248. text-shadow: none;
  249. border: 5px dashed #dcdcde;
  250. border: 5px dashed rgba(0, 0, 0, 0.1);
  251. box-sizing: border-box;
  252. }
  253. .theme-browser .theme.add-new-theme span:after {
  254. background: #dcdcde;
  255. background: rgba(140, 143, 148, 0.1);
  256. border-radius: 50%;
  257. display: inline-block;
  258. content: "\f132";
  259. -webkit-font-smoothing: antialiased;
  260. font: normal 74px/115px dashicons;
  261. width: 100px;
  262. height: 100px;
  263. vertical-align: middle;
  264. text-align: center;
  265. color: #8c8f94;
  266. position: absolute;
  267. top: 30%;
  268. left: 50%;
  269. margin-left: -50px;
  270. text-indent: -4px;
  271. padding: 0;
  272. text-shadow: none;
  273. z-index: 4;
  274. }
  275. .rtl .theme-browser .theme.add-new-theme span:after {
  276. text-indent: 4px;
  277. }
  278. .theme-browser .theme.add-new-theme a:hover .theme-screenshot,
  279. .theme-browser .theme.add-new-theme a:focus .theme-screenshot {
  280. background: none;
  281. }
  282. .theme-browser .theme.add-new-theme a:hover span:after,
  283. .theme-browser .theme.add-new-theme a:focus span:after {
  284. background: #fff;
  285. color: #2271b1;
  286. }
  287. .theme-browser .theme.add-new-theme a:hover:after,
  288. .theme-browser .theme.add-new-theme a:focus:after {
  289. border-color: transparent;
  290. color: #fff;
  291. background: #2271b1;
  292. content: "";
  293. }
  294. .theme-browser .theme.add-new-theme .theme-name {
  295. background: none;
  296. text-align: center;
  297. box-shadow: none;
  298. font-weight: 400;
  299. position: relative;
  300. top: 0;
  301. margin-top: -18px;
  302. padding-top: 0;
  303. padding-bottom: 48px;
  304. }
  305. .theme-browser .theme.add-new-theme a:hover .theme-name,
  306. .theme-browser .theme.add-new-theme a:focus .theme-name {
  307. color: #fff;
  308. z-index: 2;
  309. }
  310. /**
  311. * Theme Overlay
  312. * Shown when clicking a theme
  313. */
  314. .theme-overlay .theme-backdrop {
  315. position: absolute;
  316. left: -20px;
  317. right: 0;
  318. top: 0;
  319. bottom: 0;
  320. background: #f0f0f1;
  321. background: rgba(240, 240, 241, 0.9);
  322. z-index: 10000; /* Over WP Pointers. */
  323. }
  324. .theme-overlay .theme-header {
  325. position: absolute;
  326. top: 0;
  327. left: 0;
  328. right: 0;
  329. height: 48px;
  330. border-bottom: 1px solid #dcdcde;
  331. }
  332. .theme-overlay .theme-header button {
  333. padding: 0;
  334. }
  335. .theme-overlay .theme-header .close {
  336. cursor: pointer;
  337. height: 48px;
  338. width: 50px;
  339. text-align: center;
  340. float: right;
  341. border: 0;
  342. border-left: 1px solid #dcdcde;
  343. background-color: transparent;
  344. transition: color .1s ease-in-out, background .1s ease-in-out;
  345. }
  346. .theme-overlay .theme-header .close:before {
  347. font: normal 22px/50px dashicons !important;
  348. color: #787c82;
  349. display: inline-block;
  350. content: "\f335";
  351. font-weight: 300;
  352. }
  353. /* Left and right navigation */
  354. .theme-overlay .theme-header .right,
  355. .theme-overlay .theme-header .left {
  356. cursor: pointer;
  357. color: #787c82;
  358. background-color: transparent;
  359. height: 48px;
  360. width: 54px;
  361. float: left;
  362. text-align: center;
  363. border: 0;
  364. border-right: 1px solid #dcdcde;
  365. transition: color .1s ease-in-out, background .1s ease-in-out;
  366. }
  367. .theme-overlay .theme-header .close:focus,
  368. .theme-overlay .theme-header .close:hover,
  369. .theme-overlay .theme-header .right:focus,
  370. .theme-overlay .theme-header .right:hover,
  371. .theme-overlay .theme-header .left:focus,
  372. .theme-overlay .theme-header .left:hover {
  373. background: #dcdcde;
  374. border-color: #c3c4c7;
  375. color: #000;
  376. }
  377. .theme-overlay .theme-header .close:focus:before,
  378. .theme-overlay .theme-header .close:hover:before {
  379. color: #000;
  380. }
  381. .theme-overlay .theme-header .close:focus,
  382. .theme-overlay .theme-header .right:focus,
  383. .theme-overlay .theme-header .left:focus {
  384. box-shadow: none;
  385. outline: none;
  386. }
  387. .theme-overlay .theme-header .left.disabled,
  388. .theme-overlay .theme-header .right.disabled,
  389. .theme-overlay .theme-header .left.disabled:hover,
  390. .theme-overlay .theme-header .right.disabled:hover {
  391. color: #c3c4c7;
  392. background: inherit;
  393. cursor: inherit;
  394. }
  395. .theme-overlay .theme-header .right:before,
  396. .theme-overlay .theme-header .left:before {
  397. font: normal 20px/50px dashicons !important;
  398. display: inline;
  399. font-weight: 300;
  400. }
  401. .theme-overlay .theme-header .left:before {
  402. content: "\f341";
  403. }
  404. .theme-overlay .theme-header .right:before {
  405. content: "\f345";
  406. }
  407. .theme-overlay .theme-wrap {
  408. clear: both;
  409. position: fixed;
  410. top: 9%;
  411. left: 190px;
  412. right: 30px;
  413. bottom: 3%;
  414. background: #fff;
  415. box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
  416. z-index: 10000; /* Over WP Pointers. */
  417. box-sizing: border-box;
  418. -webkit-overflow-scrolling: touch;
  419. }
  420. body.folded .theme-browser ~ .theme-overlay .theme-wrap {
  421. left: 70px;
  422. }
  423. .theme-overlay .theme-about {
  424. position: absolute;
  425. top: 49px;
  426. bottom: 57px;
  427. left: 0;
  428. right: 0;
  429. overflow: auto;
  430. padding: 2% 4%;
  431. }
  432. .theme-overlay .theme-actions {
  433. position: absolute;
  434. text-align: center;
  435. bottom: 0;
  436. left: 0;
  437. right: 0;
  438. padding: 10px 25px 5px;
  439. background: #f6f7f7;
  440. z-index: 30;
  441. box-sizing: border-box;
  442. border-top: 1px solid #f0f0f1;
  443. }
  444. .theme-overlay .theme-actions a {
  445. margin-right: 5px;
  446. margin-bottom: 5px;
  447. }
  448. /* Hide-if-customize for items we can't add classes to */
  449. .customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"],
  450. .customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"] {
  451. display: none;
  452. }
  453. .broken-themes a.delete-theme,
  454. .theme-overlay .theme-actions .delete-theme {
  455. color: #d63638;
  456. text-decoration: none;
  457. border-color: transparent;
  458. box-shadow: none;
  459. background: transparent;
  460. }
  461. .theme-overlay .theme-actions .delete-theme {
  462. position: absolute;
  463. right: 10px;
  464. bottom: 5px;
  465. }
  466. .broken-themes a.delete-theme:hover,
  467. .broken-themes a.delete-theme:focus,
  468. .theme-overlay .theme-actions .delete-theme:hover,
  469. .theme-overlay .theme-actions .delete-theme:focus {
  470. background: #d63638;
  471. color: #fff;
  472. border-color: #d63638;
  473. }
  474. .theme-overlay .theme-actions .active-theme,
  475. .theme-overlay.active .theme-actions .inactive-theme {
  476. display: none;
  477. }
  478. .theme-overlay .theme-actions .inactive-theme,
  479. .theme-overlay.active .theme-actions .active-theme {
  480. display: block;
  481. }
  482. /**
  483. * Theme Screenshots gallery
  484. */
  485. .theme-overlay .theme-screenshots {
  486. float: left;
  487. margin: 0 30px 0 0;
  488. width: 55%;
  489. max-width: 1200px; /* Recommended theme screenshot width, set here to avoid stretching */
  490. text-align: center;
  491. }
  492. /* First screenshot, shown big */
  493. .theme-overlay .screenshot {
  494. border: 1px solid #fff;
  495. box-sizing: border-box;
  496. overflow: hidden;
  497. position: relative;
  498. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  499. }
  500. .theme-overlay .screenshot:after {
  501. content: "";
  502. display: block;
  503. padding-top: 75%; /* using a 4/3 aspect ratio */
  504. }
  505. .theme-overlay .screenshot img {
  506. height: auto;
  507. position: absolute;
  508. left: 0;
  509. top: 0;
  510. width: 100%;
  511. }
  512. /* Handles old 300px screenshots */
  513. .theme-overlay.small-screenshot .theme-screenshots {
  514. position: absolute;
  515. width: 302px;
  516. }
  517. .theme-overlay.small-screenshot .theme-info {
  518. margin-left: 350px;
  519. width: auto;
  520. }
  521. /* Other screenshots, shown small and square */
  522. .theme-overlay .screenshot.thumb {
  523. background: #c3c4c7;
  524. border: 1px solid #f0f0f1;
  525. float: none;
  526. display: inline-block;
  527. margin: 10px 5px 0;
  528. width: 140px;
  529. height: 80px;
  530. cursor: pointer;
  531. }
  532. .theme-overlay .screenshot.thumb:after {
  533. content: "";
  534. display: block;
  535. padding-top: 100%; /* using a 1/1 aspect ratio */
  536. }
  537. .theme-overlay .screenshot.thumb img {
  538. cursor: pointer;
  539. height: auto;
  540. position: absolute;
  541. left: 0;
  542. top: 0;
  543. width: 100%;
  544. height: auto;
  545. }
  546. .theme-overlay .screenshot.selected {
  547. background: transparent;
  548. border: 2px solid #72aee6;
  549. }
  550. .theme-overlay .screenshot.selected img {
  551. opacity: 0.8;
  552. }
  553. /* No screenshot placeholder */
  554. .theme-browser .theme .theme-screenshot.blank,
  555. .theme-overlay .screenshot.blank {
  556. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
  557. }
  558. /**
  559. * Theme heading information
  560. */
  561. .theme-overlay .theme-info {
  562. width: 40%;
  563. float: left;
  564. }
  565. .theme-overlay .current-label {
  566. background: #2c3338;
  567. color: #fff;
  568. font-size: 11px;
  569. display: inline-block;
  570. padding: 2px 8px;
  571. border-radius: 2px;
  572. margin: 0 0 -10px;
  573. -webkit-user-select: none;
  574. user-select: none;
  575. }
  576. .theme-overlay .theme-name {
  577. color: #1d2327;
  578. font-size: 32px;
  579. font-weight: 100;
  580. margin: 10px 0 0;
  581. line-height: 1.3;
  582. word-wrap: break-word;
  583. overflow-wrap: break-word;
  584. }
  585. .theme-overlay .theme-version {
  586. color: #646970;
  587. font-size: 13px;
  588. font-weight: 400;
  589. float: none;
  590. display: inline-block;
  591. margin-left: 10px;
  592. }
  593. .theme-overlay .theme-author {
  594. margin: 15px 0 25px;
  595. color: #646970;
  596. font-size: 16px;
  597. font-weight: 400;
  598. line-height: inherit;
  599. }
  600. .theme-overlay .toggle-auto-update {
  601. /* Better align spin icon and text. */
  602. display: inline-flex;
  603. align-items: center;
  604. /* Prevents content after the auto-update toggler from jumping down and up. */
  605. min-height: 20px; /* Same height as the spinning dashicon. */
  606. vertical-align: top;
  607. }
  608. .theme-overlay .theme-autoupdate .toggle-auto-update {
  609. text-decoration: none;
  610. }
  611. .theme-overlay .theme-autoupdate .toggle-auto-update .label {
  612. text-decoration: underline;
  613. }
  614. .theme-overlay .theme-description {
  615. color: #50575e;
  616. font-size: 15px;
  617. font-weight: 400;
  618. line-height: 1.5;
  619. margin: 30px 0 0;
  620. }
  621. .theme-overlay .theme-tags {
  622. border-top: 3px solid #f0f0f1;
  623. color: #646970;
  624. font-size: 13px;
  625. font-weight: 400;
  626. margin: 30px 0 0;
  627. padding-top: 20px;
  628. }
  629. .theme-overlay .theme-tags span {
  630. color: #3c434a;
  631. font-weight: 600;
  632. margin-right: 5px;
  633. }
  634. .theme-overlay .parent-theme {
  635. background: #fff;
  636. border: 1px solid #f0f0f1;
  637. border-left: 4px solid #72aee6;
  638. font-size: 14px;
  639. font-weight: 400;
  640. margin-top: 30px;
  641. padding: 10px 10px 10px 20px;
  642. }
  643. .theme-overlay .parent-theme strong {
  644. font-weight: 600;
  645. }
  646. /**
  647. * Single Theme Mode
  648. * Displays detailed view inline when a user has no switch capabilities
  649. */
  650. .single-theme .theme-overlay .theme-backdrop,
  651. .single-theme .theme-overlay .theme-header,
  652. .single-theme .theme {
  653. display: none;
  654. }
  655. .single-theme .theme-overlay .theme-wrap {
  656. clear: both;
  657. min-height: 330px;
  658. position: relative;
  659. left: auto;
  660. right: auto;
  661. top: auto;
  662. bottom: auto;
  663. z-index: 10;
  664. }
  665. .single-theme .theme-overlay .theme-about {
  666. padding: 30px 30px 70px;
  667. position: static;
  668. }
  669. .single-theme .theme-overlay .theme-actions {
  670. position: absolute;
  671. }
  672. /**
  673. * Basic Responsive structure...
  674. *
  675. * Shuffles theme columns around based on screen width
  676. */
  677. @media only screen and (min-width: 2000px) {
  678. #wpwrap .theme-browser .theme {
  679. width: 17.6%;
  680. margin: 0 3% 3% 0;
  681. }
  682. #wpwrap .theme-browser .theme:nth-child(3n),
  683. #wpwrap .theme-browser .theme:nth-child(4n) {
  684. margin-right: 3%;
  685. }
  686. #wpwrap .theme-browser .theme:nth-child(5n) {
  687. margin-right: 0;
  688. }
  689. }
  690. @media only screen and (min-width: 1680px) {
  691. .theme-overlay .theme-wrap {
  692. width: 1450px;
  693. margin: 0 auto;
  694. }
  695. }
  696. /* Maximum screenshot width reaches 440px */
  697. @media only screen and (min-width: 1640px) {
  698. .theme-browser .theme {
  699. width: 22.7%;
  700. margin: 0 3% 3% 0;
  701. }
  702. .theme-browser .theme .theme-screenshot:after {
  703. padding-top: 75%; /* using a 4/3 aspect ratio */
  704. }
  705. .theme-browser .theme:nth-child(3n) {
  706. margin-right: 3%;
  707. }
  708. .theme-browser .theme:nth-child(4n) {
  709. margin-right: 0;
  710. }
  711. }
  712. /* Maximum screenshot width reaches 440px */
  713. @media only screen and (max-width: 1120px) {
  714. .theme-browser .theme {
  715. width: 47.5%;
  716. margin-right: 0;
  717. }
  718. .theme-browser .theme:nth-child(even) {
  719. margin-right: 0;
  720. }
  721. .theme-browser .theme:nth-child(odd) {
  722. margin-right: 5%;
  723. }
  724. }
  725. /* Admin menu is folded */
  726. @media only screen and (max-width: 960px) {
  727. .theme-overlay .theme-wrap {
  728. left: 65px;
  729. }
  730. }
  731. @media only screen and (max-width: 780px) {
  732. body.folded .theme-overlay .theme-wrap,
  733. .theme-overlay .theme-wrap {
  734. top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */
  735. right: 0;
  736. bottom: 0;
  737. left: 0;
  738. padding: 70px 20px 20px;
  739. border: none;
  740. z-index: 100000; /* should overlap #wpadminbar. */
  741. position: fixed;
  742. }
  743. .theme-browser .theme.active .theme-name span {
  744. /* Hide the "Active: " label on smaller screens. */
  745. display: none;
  746. }
  747. .theme-overlay .theme-screenshots {
  748. width: 40%;
  749. }
  750. .theme-overlay .theme-info {
  751. width: 50%;
  752. }
  753. .single-theme .theme-wrap {
  754. padding: 10px;
  755. }
  756. .theme-browser .theme .theme-actions {
  757. padding: 5px 10px 4px;
  758. }
  759. .theme-overlay.small-screenshot .theme-screenshots {
  760. position: static;
  761. float: none;
  762. max-width: 302px;
  763. }
  764. .theme-overlay.small-screenshot .theme-info {
  765. margin-left: 0;
  766. width: auto;
  767. }
  768. .theme:not(.active):hover .theme-actions,
  769. .theme:not(.active):focus .theme-actions,
  770. .theme:hover .more-details,
  771. .theme.focus .more-details {
  772. display: none;
  773. }
  774. .theme-browser.rendered .theme:hover .theme-screenshot img,
  775. .theme-browser.rendered .theme.focus .theme-screenshot img {
  776. opacity: 1.0;
  777. }
  778. }
  779. @media only screen and (max-width: 480px) {
  780. .theme-browser .theme {
  781. width: 100%;
  782. margin-right: 0;
  783. }
  784. .theme-browser .theme:nth-child(2n),
  785. .theme-browser .theme:nth-child(3n) {
  786. margin-right: 0;
  787. }
  788. .theme-overlay .theme-about {
  789. bottom: 105px;
  790. }
  791. .theme-overlay .theme-actions {
  792. padding-left: 4%;
  793. padding-right: 4%;
  794. }
  795. }
  796. @media only screen and (max-width: 650px) {
  797. .theme-overlay .theme-description {
  798. margin-left: 0;
  799. }
  800. .theme-overlay .theme-actions .delete-theme {
  801. position: relative;
  802. right: auto;
  803. bottom: auto;
  804. }
  805. .theme-overlay .theme-actions .inactive-theme {
  806. display: inline;
  807. }
  808. .theme-overlay .theme-screenshots {
  809. width: 100%;
  810. float: none;
  811. }
  812. .theme-overlay .theme-info {
  813. width: 100%;
  814. }
  815. .theme-overlay .theme-author {
  816. margin: 5px 0 15px;
  817. }
  818. .theme-overlay .current-label {
  819. margin-top: 10px;
  820. font-size: 13px;
  821. }
  822. .themes-php .wp-filter-search {
  823. float: none;
  824. clear: both;
  825. left: 0;
  826. right: 0;
  827. margin: -5px 0 20px;
  828. width: 100%;
  829. max-width: 280px;
  830. }
  831. .theme-browser .theme.add-new-theme span:after {
  832. font: normal 60px/90px dashicons;
  833. width: 80px;
  834. height: 80px;
  835. top: 30%;
  836. left: 50%;
  837. text-indent: 0;
  838. margin-left: -40px;
  839. }
  840. .single-theme .theme-wrap {
  841. margin: 0 -12px 0 -10px;
  842. padding: 10px;
  843. }
  844. .single-theme .theme-overlay .theme-about {
  845. padding: 10px;
  846. overflow: visible;
  847. }
  848. .single-theme .current-label {
  849. display: none;
  850. }
  851. .single-theme .theme-overlay .theme-actions {
  852. position: static;
  853. }
  854. }
  855. .broken-themes {
  856. clear: both;
  857. }
  858. .broken-themes table {
  859. text-align: left;
  860. width: 50%;
  861. border-spacing: 3px;
  862. padding: 3px;
  863. }
  864. /*------------------------------------------------------------------------------
  865. 16.2 - Install Themes
  866. ------------------------------------------------------------------------------*/
  867. .update-php .wrap {
  868. max-width: 40rem;
  869. }
  870. /* Already installed theme */
  871. .theme-browser .theme .theme-installed {
  872. background: #2271b1;
  873. }
  874. .theme-browser .theme .notice-success p:before {
  875. color: #68de7c;
  876. content: "\f147";
  877. display: inline-block;
  878. font: normal 20px/1 'dashicons';
  879. -webkit-font-smoothing: antialiased;
  880. -moz-osx-font-smoothing: grayscale;
  881. vertical-align: top;
  882. }
  883. .theme-install.updated-message:before {
  884. content: "";
  885. }
  886. .theme-install-php .wp-filter {
  887. padding-left: 20px;
  888. }
  889. .theme-install-php a.upload,
  890. .theme-install-php a.browse-themes {
  891. cursor: pointer;
  892. }
  893. .upload-view-toggle .browse,
  894. .plugin-install-tab-upload .upload-view-toggle .upload {
  895. display: none;
  896. }
  897. .plugin-install-tab-upload .upload-view-toggle .browse {
  898. display: inline;
  899. }
  900. .upload-theme,
  901. .upload-plugin {
  902. box-sizing: border-box;
  903. display: none;
  904. margin: 0;
  905. padding: 50px 0;
  906. width: 100%;
  907. overflow: hidden;
  908. position: relative;
  909. top: 10px;
  910. text-align: center;
  911. }
  912. .show-upload-view .upload-theme,
  913. .show-upload-view .upload-plugin,
  914. .show-upload-view .upload-plugin-wrap,
  915. .plugin-install-tab-upload .upload-plugin {
  916. display: block;
  917. }
  918. .upload-theme .wp-upload-form,
  919. .upload-plugin .wp-upload-form {
  920. background: #f6f7f7;
  921. border: 1px solid #c3c4c7;
  922. padding: 30px;
  923. margin: 30px auto;
  924. display: inline-flex;
  925. justify-content: space-between;
  926. align-items: center;
  927. }
  928. .upload-theme .wp-upload-form input[type="file"],
  929. .upload-plugin .wp-upload-form input[type="file"] {
  930. margin-right: 10px;
  931. }
  932. .upload-theme .install-help,
  933. .upload-plugin .install-help {
  934. color: #50575e; /* #f1f1f1 background */
  935. font-size: 18px;
  936. font-style: normal;
  937. margin: 0;
  938. padding: 0;
  939. text-align: center;
  940. }
  941. p.no-themes,
  942. p.no-themes-local {
  943. clear: both;
  944. color: #646970;
  945. font-size: 18px;
  946. font-style: normal;
  947. margin: 0;
  948. padding: 100px 0;
  949. text-align: center;
  950. display: none;
  951. }
  952. .no-results p.no-themes {
  953. display: block;
  954. }
  955. .theme-install-php .add-new-theme {
  956. display: none !important;
  957. }
  958. @media only screen and (max-width: 1120px) {
  959. .upload-theme .wp-upload-form {
  960. margin: 20px 0;
  961. max-width: 100%;
  962. }
  963. .upload-theme .install-help {
  964. font-size: 15px;
  965. padding: 20px 0 0;
  966. }
  967. }
  968. .theme-details .theme-rating {
  969. line-height: 1.9;
  970. }
  971. .theme-details .star-rating {
  972. display: inline;
  973. }
  974. .theme-details .num-ratings,
  975. .theme-details .no-rating {
  976. font-size: 11px;
  977. color: #646970;
  978. }
  979. .theme-details .no-rating {
  980. display: block;
  981. line-height: 1.9;
  982. }
  983. .update-from-upload-comparison {
  984. border-top: 1px solid #dcdcde;
  985. border-bottom: 1px solid #dcdcde;
  986. text-align: left;
  987. margin: 1rem 0 1.4rem;
  988. border-collapse: collapse;
  989. width: 100%;
  990. }
  991. .update-from-upload-comparison tr:last-child td {
  992. height: 1.4rem;
  993. vertical-align: top;
  994. }
  995. .update-from-upload-comparison tr:first-child th {
  996. font-weight: bold;
  997. height: 1.4rem;
  998. vertical-align: bottom;
  999. }
  1000. .update-from-upload-comparison td.name-label {
  1001. text-align: right;
  1002. }
  1003. .update-from-upload-comparison td,
  1004. .update-from-upload-comparison th {
  1005. padding: 0.4rem 1.4rem;
  1006. }
  1007. .update-from-upload-comparison td.warning {
  1008. color: #d63638;
  1009. }
  1010. .update-from-upload-actions {
  1011. margin-top: 1.4rem;
  1012. }
  1013. /*------------------------------------------------------------------------------
  1014. 16.3 - Custom Header Screen
  1015. ------------------------------------------------------------------------------*/
  1016. .appearance_page_custom-header #headimg {
  1017. border: 1px solid #dcdcde;
  1018. overflow: hidden;
  1019. width: 100%;
  1020. }
  1021. .appearance_page_custom-header #upload-form p label {
  1022. font-size: 12px;
  1023. }
  1024. .appearance_page_custom-header .available-headers .default-header {
  1025. float: left;
  1026. margin: 0 20px 20px 0;
  1027. }
  1028. .appearance_page_custom-header .random-header {
  1029. clear: both;
  1030. margin: 0 20px 20px 0;
  1031. vertical-align: middle;
  1032. }
  1033. .appearance_page_custom-header .available-headers label input,
  1034. .appearance_page_custom-header .random-header label input {
  1035. margin-right: 10px;
  1036. }
  1037. .appearance_page_custom-header .available-headers label img {
  1038. vertical-align: middle;
  1039. }
  1040. /*------------------------------------------------------------------------------
  1041. 16.4 - Custom Background Screen
  1042. ------------------------------------------------------------------------------*/
  1043. div#custom-background-image {
  1044. min-height: 100px;
  1045. border: 1px solid #dcdcde;
  1046. }
  1047. div#custom-background-image img {
  1048. max-width: 400px;
  1049. max-height: 300px;
  1050. }
  1051. .background-position-control input[type="radio"]:checked ~ .button {
  1052. background: #f0f0f1;
  1053. border-color: #8c8f94;
  1054. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  1055. z-index: 1;
  1056. }
  1057. .background-position-control input[type="radio"]:focus ~ .button {
  1058. border-color: #4f94d4;
  1059. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(34, 113, 177, 0.8);
  1060. color: #1d2327;
  1061. }
  1062. .background-position-control .background-position-center-icon,
  1063. .background-position-control .background-position-center-icon:before {
  1064. display: inline-block;
  1065. line-height: 1;
  1066. text-align: center;
  1067. transition: background-color .1s ease-in;
  1068. }
  1069. .background-position-control .background-position-center-icon {
  1070. height: 20px;
  1071. margin-top: 13px;
  1072. vertical-align: top;
  1073. width: 20px;
  1074. }
  1075. .background-position-control .background-position-center-icon:before {
  1076. background-color: #50575e;
  1077. border-radius: 50%;
  1078. content: "";
  1079. height: 12px;
  1080. width: 12px;
  1081. }
  1082. .background-position-control .button:hover .background-position-center-icon:before,
  1083. .background-position-control input[type="radio"]:focus ~ .button .background-position-center-icon:before {
  1084. background-color: #1d2327;
  1085. }
  1086. .background-position-control .button-group {
  1087. display: block;
  1088. }
  1089. .background-position-control .button-group .button {
  1090. border-radius: 0;
  1091. box-shadow: none;
  1092. /* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
  1093. height: 40px !important;
  1094. line-height: 2.9 !important;
  1095. margin: 0 -1px 0 0 !important;
  1096. padding: 0 10px 1px !important;
  1097. position: relative;
  1098. }
  1099. .background-position-control .button-group .button:active,
  1100. .background-position-control .button-group .button:hover,
  1101. .background-position-control .button-group .button:focus {
  1102. z-index: 1;
  1103. }
  1104. .background-position-control .button-group:last-child .button {
  1105. box-shadow: 0 1px 0 #c3c4c7;
  1106. }
  1107. .background-position-control .button-group > label {
  1108. margin: 0 !important;
  1109. }
  1110. .background-position-control .button-group:first-child > label:first-child .button {
  1111. border-radius: 3px 0 0;
  1112. }
  1113. .background-position-control .button-group:first-child > label:first-child .dashicons {
  1114. transform: rotate( 45deg );
  1115. }
  1116. .background-position-control .button-group:first-child > label:last-child .button {
  1117. border-radius: 0 3px 0 0;
  1118. }
  1119. .background-position-control .button-group:first-child > label:last-child .dashicons {
  1120. transform: rotate( -45deg );
  1121. }
  1122. .background-position-control .button-group:last-child > label:first-child .button {
  1123. border-radius: 0 0 0 3px;
  1124. }
  1125. .background-position-control .button-group:last-child > label:first-child .dashicons {
  1126. transform: rotate( -45deg );
  1127. }
  1128. .background-position-control .button-group:last-child > label:last-child .button {
  1129. border-radius: 0 0 3px;
  1130. }
  1131. .background-position-control .button-group:last-child > label:last-child .dashicons {
  1132. transform: rotate( 45deg );
  1133. }
  1134. .background-position-control .button-group .dashicons {
  1135. margin-top: 9px;
  1136. }
  1137. .background-position-control .button-group + .button-group {
  1138. margin-top: -1px;
  1139. }
  1140. /*------------------------------------------------------------------------------
  1141. 23.0 - Full Overlay w/ Sidebar
  1142. ------------------------------------------------------------------------------*/
  1143. body.full-overlay-active {
  1144. overflow: hidden;
  1145. /* Hide all the content, the Customizer overlay is then made visible to be the only available content. */
  1146. visibility: hidden;
  1147. }
  1148. .wp-full-overlay {
  1149. background: transparent;
  1150. z-index: 500000;
  1151. position: fixed;
  1152. overflow: visible;
  1153. top: 0;
  1154. bottom: 0;
  1155. left: 0;
  1156. right: 0;
  1157. height: 100%;
  1158. min-width: 0;
  1159. }
  1160. .wp-full-overlay-sidebar {
  1161. box-sizing: border-box;
  1162. position: fixed;
  1163. min-width: 300px;
  1164. max-width: 600px;
  1165. width: 18%;
  1166. height: 100%;
  1167. top: 0;
  1168. bottom: 0;
  1169. left: 0;
  1170. padding: 0;
  1171. margin: 0;
  1172. z-index: 10;
  1173. background: #f0f0f1;
  1174. border-right: none;
  1175. }
  1176. .wp-full-overlay.collapsed .wp-full-overlay-sidebar {
  1177. overflow: visible;
  1178. }
  1179. .wp-full-overlay.collapsed,
  1180. .wp-full-overlay.expanded .wp-full-overlay-sidebar {
  1181. margin-left: 0 !important;
  1182. }
  1183. .wp-full-overlay.expanded {
  1184. margin-left: 300px;
  1185. }
  1186. .wp-full-overlay.collapsed .wp-full-overlay-sidebar {
  1187. margin-left: -300px;
  1188. }
  1189. @media screen and (min-width: 1667px) {
  1190. .wp-full-overlay.expanded {
  1191. margin-left: 18%;
  1192. }
  1193. .wp-full-overlay.collapsed .wp-full-overlay-sidebar {
  1194. margin-left: -18%;
  1195. }
  1196. }
  1197. @media screen and (min-width: 3333px) {
  1198. .wp-full-overlay.expanded {
  1199. margin-left: 600px;
  1200. }
  1201. .wp-full-overlay.collapsed .wp-full-overlay-sidebar {
  1202. margin-left: -600px;
  1203. }
  1204. }
  1205. .wp-full-overlay-sidebar:after {
  1206. content: "";
  1207. display: block;
  1208. position: absolute;
  1209. top: 0;
  1210. bottom: 0;
  1211. right: 0;
  1212. width: 3px;
  1213. z-index: 1000;
  1214. }
  1215. .wp-full-overlay-main {
  1216. position: absolute;
  1217. left: 0;
  1218. right: 0;
  1219. top: 0;
  1220. bottom: 0;
  1221. height: 100%;
  1222. }
  1223. .wp-full-overlay-sidebar .wp-full-overlay-header {
  1224. position: absolute;
  1225. left: 0;
  1226. right: 0;
  1227. height: 45px;
  1228. padding: 0 15px;
  1229. line-height: 3.2;
  1230. z-index: 10;
  1231. margin: 0;
  1232. border-top: none;
  1233. box-shadow: none;
  1234. }
  1235. .wp-full-overlay-sidebar .wp-full-overlay-header a.back {
  1236. margin-top: 9px;
  1237. }
  1238. .wp-full-overlay-sidebar .wp-full-overlay-footer {
  1239. bottom: 0;
  1240. border-bottom: none;
  1241. border-top: none;
  1242. box-shadow: none;
  1243. }
  1244. .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
  1245. position: absolute;
  1246. top: 45px;
  1247. bottom: 45px;
  1248. left: 0;
  1249. right: 0;
  1250. overflow: auto;
  1251. }
  1252. /* Close & Navigation Links */
  1253. .theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header {
  1254. padding: 0;
  1255. }
  1256. .theme-install-overlay .close-full-overlay,
  1257. .theme-install-overlay .previous-theme,
  1258. .theme-install-overlay .next-theme {
  1259. display: block;
  1260. position: relative;
  1261. float: left;
  1262. width: 45px;
  1263. height: 45px;
  1264. background: #f0f0f1;
  1265. border-right: 1px solid #dcdcde;
  1266. color: #3c434a;
  1267. cursor: pointer;
  1268. text-decoration: none;
  1269. transition: color .1s ease-in-out, background .1s ease-in-out;
  1270. }
  1271. .theme-install-overlay .close-full-overlay:hover,
  1272. .theme-install-overlay .close-full-overlay:focus,
  1273. .theme-install-overlay .previous-theme:hover,
  1274. .theme-install-overlay .previous-theme:focus,
  1275. .theme-install-overlay .next-theme:hover,
  1276. .theme-install-overlay .next-theme:focus {
  1277. background: #dcdcde;
  1278. border-color: #c3c4c7;
  1279. color: #000;
  1280. outline: none;
  1281. box-shadow: none;
  1282. }
  1283. .theme-install-overlay .close-full-overlay:before {
  1284. font: normal 22px/1 dashicons;
  1285. content: "\f335";
  1286. position: relative;
  1287. top: 7px;
  1288. left: 13px;
  1289. }
  1290. .theme-install-overlay .previous-theme:before {
  1291. font: normal 20px/1 dashicons;
  1292. content: "\f341";
  1293. position: relative;
  1294. top: 6px;
  1295. left: 14px;
  1296. }
  1297. .theme-install-overlay .next-theme:before {
  1298. font: normal 20px/1 dashicons;
  1299. content: "\f345";
  1300. position: relative;
  1301. top: 6px;
  1302. left: 13px;
  1303. }
  1304. .theme-install-overlay .previous-theme.disabled,
  1305. .theme-install-overlay .next-theme.disabled,
  1306. .theme-install-overlay .previous-theme.disabled:hover,
  1307. .theme-install-overlay .previous-theme.disabled:focus,
  1308. .theme-install-overlay .next-theme.disabled:hover,
  1309. .theme-install-overlay .next-theme.disabled:focus {
  1310. color: #c3c4c7;
  1311. background: #f0f0f1;
  1312. cursor: default;
  1313. pointer-events: none;
  1314. }
  1315. .theme-install-overlay .close-full-overlay,
  1316. .theme-install-overlay .previous-theme,
  1317. .theme-install-overlay .next-theme {
  1318. border-left: 0;
  1319. border-top: 0;
  1320. border-bottom: 0;
  1321. }
  1322. .theme-install-overlay .close-full-overlay:before,
  1323. .theme-install-overlay .previous-theme:before,
  1324. .theme-install-overlay .next-theme:before {
  1325. top: 2px;
  1326. left: 0;
  1327. }
  1328. /* Collapse Button */
  1329. .wp-core-ui .wp-full-overlay .collapse-sidebar {
  1330. position: fixed;
  1331. bottom: 0;
  1332. left: 0;
  1333. padding: 9px 0 9px 10px;
  1334. height: 45px;
  1335. color: #646970;
  1336. outline: 0;
  1337. line-height: 1;
  1338. background-color: transparent !important;
  1339. border: none !important;
  1340. box-shadow: none !important;
  1341. border-radius: 0 !important;
  1342. }
  1343. .wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
  1344. .wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
  1345. color: #2271b1;
  1346. }
  1347. .wp-full-overlay .collapse-sidebar-arrow,
  1348. .wp-full-overlay .collapse-sidebar-label {
  1349. display: inline-block;
  1350. vertical-align: middle;
  1351. line-height: 1.6;
  1352. }
  1353. .wp-full-overlay .collapse-sidebar-arrow {
  1354. width: 20px;
  1355. height: 20px;
  1356. margin: 0 2px; /* avoid the focus box-shadow to be cut-off */
  1357. border-radius: 50%;
  1358. overflow: hidden;
  1359. }
  1360. .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
  1361. .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
  1362. box-shadow:
  1363. 0 0 0 1px #4f94d4,
  1364. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  1365. }
  1366. .wp-full-overlay .collapse-sidebar-label {
  1367. margin-left: 3px;
  1368. }
  1369. .wp-full-overlay.collapsed .collapse-sidebar-label {
  1370. display: none;
  1371. }
  1372. .wp-full-overlay .collapse-sidebar-arrow:before {
  1373. display: block;
  1374. content: "\f148";
  1375. background: #f0f0f1;
  1376. font: normal 20px/1 dashicons;
  1377. speak: never;
  1378. padding: 0;
  1379. -webkit-font-smoothing: antialiased;
  1380. -moz-osx-font-smoothing: grayscale;
  1381. }
  1382. .wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar {
  1383. padding: 9px 10px;
  1384. }
  1385. /* rtl:ignore */
  1386. .wp-full-overlay.collapsed .collapse-sidebar-arrow:before,
  1387. .rtl .wp-full-overlay .collapse-sidebar-arrow:before {
  1388. transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing */
  1389. }
  1390. .rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before {
  1391. transform: none;
  1392. }
  1393. /* Animations */
  1394. .wp-full-overlay,
  1395. .wp-full-overlay-sidebar,
  1396. .wp-full-overlay .collapse-sidebar,
  1397. .wp-full-overlay-main {
  1398. transition-property: left, right, top, bottom, width, margin;
  1399. transition-duration: 0.2s;
  1400. }
  1401. /* Device/preview size toggles */
  1402. .wp-full-overlay {
  1403. background: #1d2327;
  1404. }
  1405. .wp-full-overlay-main {
  1406. background-color: #f0f0f1;
  1407. }
  1408. .expanded .wp-full-overlay-footer {
  1409. position: fixed;
  1410. bottom: 0;
  1411. left: 0;
  1412. min-width: 299px;
  1413. max-width: 599px;
  1414. width: 18%;
  1415. width: calc( 18% - 1px );
  1416. height: 45px;
  1417. border-top: 1px solid #dcdcde;
  1418. background: #f0f0f1;
  1419. }
  1420. .wp-full-overlay-footer .devices-wrapper {
  1421. float: right;
  1422. }
  1423. .wp-full-overlay-footer .devices {
  1424. position: relative;
  1425. background: #f0f0f1;
  1426. box-shadow: -20px 0 10px -5px #f0f0f1;
  1427. }
  1428. .wp-full-overlay-footer .devices button {
  1429. cursor: pointer;
  1430. background: transparent;
  1431. border: none;
  1432. height: 45px;
  1433. padding: 0 3px;
  1434. margin: 0 0 0 -4px;
  1435. box-shadow: none;
  1436. border-top: 1px solid transparent;
  1437. border-bottom: 4px solid transparent;
  1438. transition:
  1439. .15s color ease-in-out,
  1440. .15s background-color ease-in-out,
  1441. .15s border-color ease-in-out;
  1442. }
  1443. .wp-full-overlay-footer .devices button:focus {
  1444. box-shadow: none;
  1445. outline: none;
  1446. }
  1447. .wp-full-overlay-footer .devices button:before {
  1448. display: inline-block;
  1449. -webkit-font-smoothing: antialiased;
  1450. font: normal 20px/30px "dashicons";
  1451. vertical-align: top;
  1452. margin: 3px 0;
  1453. padding: 4px 8px;
  1454. color: #646970;
  1455. }
  1456. .wp-full-overlay-footer .devices button.active {
  1457. border-bottom-color: #1d2327;
  1458. }
  1459. .wp-full-overlay-footer .devices button:hover,
  1460. .wp-full-overlay-footer .devices button:focus {
  1461. background-color: #fff;
  1462. }
  1463. .wp-full-overlay-footer .devices button:focus,
  1464. .wp-full-overlay-footer .devices button.active:hover {
  1465. border-bottom-color: #2271b1;
  1466. }
  1467. .wp-full-overlay-footer .devices button.active:before {
  1468. color: #1d2327;
  1469. }
  1470. .wp-full-overlay-footer .devices button:hover:before,
  1471. .wp-full-overlay-footer .devices button:focus:before {
  1472. color: #2271b1;
  1473. }
  1474. .wp-full-overlay-footer .devices .preview-desktop:before {
  1475. content: "\f472";
  1476. }
  1477. .wp-full-overlay-footer .devices .preview-tablet:before {
  1478. content: "\f471";
  1479. }
  1480. .wp-full-overlay-footer .devices .preview-mobile:before {
  1481. content: "\f470";
  1482. }
  1483. @media screen and (max-width: 1024px) {
  1484. .wp-full-overlay-footer .devices {
  1485. display: none;
  1486. }
  1487. }
  1488. .collapsed .wp-full-overlay-footer .devices button:before {
  1489. display: none;
  1490. }
  1491. .preview-mobile .wp-full-overlay-main {
  1492. margin: auto 0 auto -160px;
  1493. width: 320px;
  1494. height: 480px;
  1495. max-height: 100%;
  1496. max-width: 100%;
  1497. left: 50%;
  1498. }
  1499. .preview-tablet .wp-full-overlay-main {
  1500. margin: auto 0 auto -360px;
  1501. width: 720px; /* Size is loosely based on a typical "tablet" device size. Intentionally ambiguous - this does not represent any particular device precisely. */
  1502. height: 1080px;
  1503. max-height: 100%;
  1504. max-width: 100%;
  1505. left: 50%;
  1506. }
  1507. /*------------------------------------------------------------------------------
  1508. 24.0 - Customize Loader
  1509. ------------------------------------------------------------------------------*/
  1510. .no-customize-support .hide-if-no-customize,
  1511. .customize-support .hide-if-customize,
  1512. .no-customize-support.wp-core-ui .hide-if-no-customize,
  1513. .no-customize-support .wp-core-ui .hide-if-no-customize,
  1514. .customize-support.wp-core-ui .hide-if-customize,
  1515. .customize-support .wp-core-ui .hide-if-customize {
  1516. display: none;
  1517. }
  1518. #customize-container,
  1519. #customize-controls .notice.notification-overlay {
  1520. background: #f0f0f1;
  1521. z-index: 500000;
  1522. position: fixed;
  1523. overflow: visible;
  1524. top: 0;
  1525. bottom: 0;
  1526. left: 0;
  1527. right: 0;
  1528. height: 100%;
  1529. }
  1530. #customize-container {
  1531. display: none;
  1532. }
  1533. /* Make the Customizer and Theme installer overlays the only available content. */
  1534. #customize-container,
  1535. .theme-install-overlay {
  1536. visibility: visible;
  1537. }
  1538. .customize-loading #customize-container iframe {
  1539. opacity: 0;
  1540. }
  1541. #customize-container iframe,
  1542. .theme-install-overlay iframe {
  1543. height: 100%;
  1544. width: 100%;
  1545. z-index: 20;
  1546. transition: opacity 0.3s;
  1547. }
  1548. #customize-controls {
  1549. margin-top: 0;
  1550. }
  1551. .theme-install-overlay {
  1552. display: none;
  1553. }
  1554. .theme-install-overlay.single-theme {
  1555. display: block;
  1556. }
  1557. .install-theme-info {
  1558. display: none;
  1559. padding: 10px 20px 60px;
  1560. }
  1561. .single-theme .install-theme-info {
  1562. padding-top: 15px;
  1563. }
  1564. .theme-install-overlay .install-theme-info {
  1565. display: block;
  1566. }
  1567. .install-theme-info .theme-install {
  1568. float: right;
  1569. margin-top: 18px;
  1570. }
  1571. .install-theme-info .theme-name {
  1572. font-size: 16px;
  1573. line-height: 1.5;
  1574. margin-bottom: 0;
  1575. margin-top: 0;
  1576. }
  1577. .install-theme-info .theme-screenshot {
  1578. margin: 15px 0;
  1579. width: 258px;
  1580. border: 1px solid #c3c4c7;
  1581. position: relative;
  1582. overflow: hidden;
  1583. }
  1584. .install-theme-info .theme-screenshot > img {
  1585. width: 100%;
  1586. height: auto;
  1587. position: absolute;
  1588. left: 0;
  1589. top: 0;
  1590. }
  1591. .install-theme-info .theme-screenshot:after {
  1592. content: "";
  1593. display: block;
  1594. padding-top: 66.66666666%;
  1595. }
  1596. .install-theme-info .theme-details {
  1597. overflow: hidden;
  1598. }
  1599. .theme-details .theme-version {
  1600. margin: 15px 0;
  1601. }
  1602. .theme-details .theme-description {
  1603. float: left;
  1604. color: #646970;
  1605. line-height: 1.6;
  1606. max-width: 100%;
  1607. }
  1608. .theme-install-overlay .wp-full-overlay-header .button {
  1609. float: right;
  1610. margin: 8px 10px 0 0;
  1611. }
  1612. .theme-install-overlay .wp-full-overlay-sidebar {
  1613. background: #f0f0f1;
  1614. border-right: 1px solid #dcdcde;
  1615. }
  1616. .theme-install-overlay .wp-full-overlay-sidebar-content {
  1617. background: #fff;
  1618. border-top: 1px solid #dcdcde;
  1619. border-bottom: 1px solid #dcdcde;
  1620. }
  1621. .theme-install-overlay .wp-full-overlay-main {
  1622. position: absolute;
  1623. z-index: 0;
  1624. background-color: #f0f0f1;
  1625. }
  1626. .customize-loading #customize-container {
  1627. background-color: #f0f0f1;
  1628. }
  1629. #customize-preview.wp-full-overlay-main:before,
  1630. .customize-loading #customize-container:before,
  1631. #customize-controls .notice.notification-overlay.notification-loading:before,
  1632. .theme-install-overlay .wp-full-overlay-main:before {
  1633. content: "";
  1634. display: block;
  1635. width: 20px;
  1636. height: 20px;
  1637. position: absolute;
  1638. left: 50%;
  1639. top: 50%;
  1640. z-index: -1;
  1641. margin: -10px 0 0 -10px;
  1642. transform: translateZ(0);
  1643. background: transparent url(../images/spinner.gif) no-repeat center center;
  1644. background-size: 20px 20px;
  1645. }
  1646. #customize-preview.wp-full-overlay-main.iframe-ready:before,
  1647. .theme-install-overlay.iframe-ready .wp-full-overlay-main:before {
  1648. background-image: none;
  1649. }
  1650. /* =Media Queries
  1651. -------------------------------------------------------------- */
  1652. /**
  1653. * HiDPI Displays
  1654. */
  1655. @media print,
  1656. (-webkit-min-device-pixel-ratio: 1.25),
  1657. (min-resolution: 120dpi) {
  1658. .wp-full-overlay .collapse-sidebar-arrow {
  1659. background-image: url(../images/arrows-2x.png);
  1660. background-size: 15px 123px;
  1661. }
  1662. #customize-preview.wp-full-overlay-main:before,
  1663. .customize-loading #customize-container:before,
  1664. #customize-controls .notice.notification-overlay.notification-loading:before,
  1665. .theme-install-overlay .wp-full-overlay-main:before {
  1666. background-image: url(../images/spinner-2x.gif);
  1667. }
  1668. }
  1669. @media screen and (max-width: 782px) {
  1670. .available-theme .action-links .delete-theme {
  1671. float: none;
  1672. margin: 0;
  1673. padding: 0;
  1674. clear: both;
  1675. }
  1676. .available-theme .action-links .delete-theme a {
  1677. padding: 0;
  1678. }
  1679. .broken-themes table {
  1680. width: 100%;
  1681. }
  1682. .theme-install-overlay .wp-full-overlay-header .button {
  1683. font-size: 13px;
  1684. line-height: 2.15384615;
  1685. min-height: 30px;
  1686. }
  1687. .theme-browser .theme .theme-actions .button {
  1688. margin-bottom: 0;
  1689. }
  1690. .theme-browser .theme.active .theme-actions,
  1691. .theme-browser .theme .theme-actions {
  1692. padding-top: 4px;
  1693. padding-bottom: 4px;
  1694. }
  1695. .upload-theme .wp-upload-form,
  1696. .upload-plugin .wp-upload-form {
  1697. display: block;
  1698. }
  1699. }
  1700. @media aural {
  1701. .theme .notice:before,
  1702. .theme-info .updating-message:before,
  1703. .theme-info .updated-message:before,
  1704. .theme-install.updating-message:before {
  1705. speak: never;
  1706. }
  1707. }