Brak opisu

themes.css 40KB

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