themes.css 39 KB

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