Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

themes-rtl.css 41 KiB

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