themes.css 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005
  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. }