media-rtl.css 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386
  1. /*! This file is auto-generated */
  2. /*------------------------------------------------------------------------------
  3. 14.0 - Media Screen
  4. ------------------------------------------------------------------------------*/
  5. .media-item .describe {
  6. border-collapse: collapse;
  7. width: 100%;
  8. border-top: 1px solid #dcdcde;
  9. clear: both;
  10. cursor: default;
  11. }
  12. .media-item.media-blank .describe {
  13. border: 0;
  14. }
  15. .media-item .describe th {
  16. vertical-align: top;
  17. text-align: right;
  18. padding: 5px 10px 10px;
  19. width: 140px;
  20. }
  21. .media-item .describe .align th {
  22. padding-top: 0;
  23. }
  24. .media-item .media-item-info tr {
  25. background-color: transparent;
  26. }
  27. .media-item .describe td {
  28. padding: 0 0 8px 8px;
  29. vertical-align: top;
  30. }
  31. .media-item thead.media-item-info td {
  32. padding: 4px 10px 0;
  33. }
  34. .media-item .media-item-info .A1B1 {
  35. padding: 0 10px 0 0;
  36. }
  37. .media-item td.savesend {
  38. padding-bottom: 15px;
  39. }
  40. .media-item .thumbnail {
  41. max-height: 128px;
  42. max-width: 128px;
  43. }
  44. .media-list-subtitle {
  45. display: block;
  46. }
  47. .media-list-title {
  48. display: block;
  49. }
  50. #wpbody-content #async-upload-wrap a {
  51. display: none;
  52. }
  53. .media-upload-form {
  54. margin-top: 20px;
  55. }
  56. .media-upload-form td label {
  57. margin-left: 6px;
  58. margin-right: 2px;
  59. }
  60. .media-upload-form .align .field label {
  61. display: inline;
  62. padding: 0 23px 0 0;
  63. margin: 0 3px 0 1em;
  64. font-weight: 600;
  65. }
  66. .media-upload-form tr.image-size label {
  67. margin: 0 5px 0 0;
  68. font-weight: 600;
  69. }
  70. .media-upload-form th.label label {
  71. font-weight: 600;
  72. margin: 0.5em;
  73. font-size: 13px;
  74. }
  75. .media-upload-form th.label label span {
  76. padding: 0 5px;
  77. }
  78. .media-item .describe input[type="text"],
  79. .media-item .describe textarea {
  80. width: 460px;
  81. }
  82. .media-item .describe p.help {
  83. margin: 0;
  84. padding: 0 5px 0 0;
  85. }
  86. .describe-toggle-on,
  87. .describe-toggle-off {
  88. display: block;
  89. line-height: 2.76923076;
  90. float: left;
  91. margin-left: 10px;
  92. }
  93. .media-item-wrapper {
  94. display: grid;
  95. grid-template-columns: 1fr 1fr;
  96. }
  97. .media-item .attachment-tools {
  98. display: flex;
  99. justify-content: flex-end;
  100. align-items: center;
  101. }
  102. .media-item .edit-attachment {
  103. padding: 14px 0;
  104. display: block;
  105. margin-left: 10px;
  106. }
  107. .media-item .edit-attachment.copy-to-clipboard-container {
  108. margin-top: 0;
  109. }
  110. .media-item-copy-container .success {
  111. line-height: 0;
  112. }
  113. .media-item button .copy-attachment-url {
  114. margin-top: 14px;
  115. }
  116. .media-item .copy-to-clipboard-container {
  117. margin-top: 7px;
  118. }
  119. .media-item .describe-toggle-off,
  120. .media-item.open .describe-toggle-on {
  121. display: none;
  122. }
  123. .media-item.open .describe-toggle-off {
  124. display: block;
  125. }
  126. .media-upload-form .media-item {
  127. min-height: 70px;
  128. margin-bottom: 1px;
  129. position: relative;
  130. width: 100%;
  131. background: #fff;
  132. }
  133. .media-upload-form .media-item,
  134. .media-upload-form .media-item .error {
  135. box-shadow: 0 1px 0 #dcdcde;
  136. }
  137. #media-items:empty {
  138. border: 0 none;
  139. }
  140. .media-item .filename {
  141. padding: 14px 0;
  142. overflow: hidden;
  143. margin-right: 6px;
  144. }
  145. .media-item .pinkynail {
  146. float: right;
  147. margin: 0 0 0 10px;
  148. max-height: 70px;
  149. max-width: 70px;
  150. }
  151. .media-item .startopen,
  152. .media-item .startclosed {
  153. display: none;
  154. }
  155. .media-item .original {
  156. position: relative;
  157. height: 34px;
  158. }
  159. .media-item .progress {
  160. float: left;
  161. height: 22px;
  162. margin: 7px 6px;
  163. width: 200px;
  164. line-height: 2em;
  165. padding: 0;
  166. overflow: hidden;
  167. border-radius: 22px;
  168. background: #dcdcde;
  169. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  170. }
  171. .media-item .bar {
  172. z-index: 9;
  173. width: 0;
  174. height: 100%;
  175. margin-top: -22px;
  176. border-radius: 22px;
  177. background-color: #2271b1;
  178. box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  179. }
  180. .media-item .progress .percent {
  181. z-index: 10;
  182. position: relative;
  183. width: 200px;
  184. padding: 0;
  185. color: #fff;
  186. text-align: center;
  187. line-height: 22px;
  188. font-weight: 400;
  189. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  190. }
  191. .upload-php .fixed .column-parent {
  192. width: 15%;
  193. }
  194. .js .html-uploader #plupload-upload-ui {
  195. display: none;
  196. }
  197. .js .html-uploader #html-upload-ui {
  198. display: block;
  199. }
  200. #html-upload-ui #async-upload {
  201. font-size: 1em;
  202. }
  203. .media-upload-form .media-item.error,
  204. .media-upload-form .media-item .error {
  205. width: auto;
  206. margin: 0 0 1px;
  207. }
  208. .media-upload-form .media-item .error {
  209. padding: 10px 14px 10px 0;
  210. min-height: 50px;
  211. }
  212. .media-item .error-div button.dismiss {
  213. float: left;
  214. margin: 0 15px 0 10px;
  215. }
  216. /*------------------------------------------------------------------------------
  217. 14.1 - Media Library
  218. ------------------------------------------------------------------------------*/
  219. .find-box {
  220. background-color: #fff;
  221. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  222. width: 600px;
  223. overflow: hidden;
  224. margin-right: -300px;
  225. position: fixed;
  226. top: 30px;
  227. bottom: 30px;
  228. right: 50%;
  229. z-index: 100105;
  230. }
  231. .find-box-head {
  232. background: #fff;
  233. border-bottom: 1px solid #dcdcde;
  234. height: 36px;
  235. font-size: 18px;
  236. font-weight: 600;
  237. line-height: 2;
  238. padding: 0 16px 0 36px;
  239. position: absolute;
  240. top: 0;
  241. right: 0;
  242. left: 0;
  243. }
  244. .find-box-inside {
  245. overflow: auto;
  246. padding: 16px;
  247. background-color: #fff;
  248. position: absolute;
  249. top: 37px;
  250. bottom: 45px;
  251. overflow-y: scroll;
  252. width: 100%;
  253. box-sizing: border-box;
  254. }
  255. .find-box-search {
  256. padding-bottom: 16px;
  257. }
  258. .find-box-search .spinner {
  259. float: none;
  260. right: 105px;
  261. position: absolute;
  262. }
  263. .find-box-search,
  264. #find-posts-response {
  265. position: relative; /* RTL fix, #WP28010 */
  266. }
  267. #find-posts-input,
  268. #find-posts-search {
  269. float: right;
  270. }
  271. #find-posts-input {
  272. width: 140px;
  273. height: 28px;
  274. margin: 0 0 0 4px;
  275. }
  276. .widefat .found-radio {
  277. padding-left: 0;
  278. width: 16px;
  279. }
  280. #find-posts-close {
  281. width: 36px;
  282. height: 36px;
  283. border: none;
  284. padding: 0;
  285. position: absolute;
  286. top: 0;
  287. left: 0;
  288. cursor: pointer;
  289. text-align: center;
  290. background: none;
  291. color: #646970;
  292. }
  293. #find-posts-close:hover,
  294. #find-posts-close:focus {
  295. color: #135e96;
  296. }
  297. #find-posts-close:focus {
  298. box-shadow:
  299. 0 0 0 1px #4f94d4,
  300. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  301. /* Only visible in Windows High Contrast mode */
  302. outline: 2px solid transparent;
  303. outline-offset: -2px;
  304. }
  305. #find-posts-close:before {
  306. font: normal 20px/36px dashicons;
  307. vertical-align: top;
  308. speak: never;
  309. -webkit-font-smoothing: antialiased;
  310. -moz-osx-font-smoothing: grayscale;
  311. content: "\f158";
  312. }
  313. .find-box-buttons {
  314. padding: 8px 16px;
  315. background: #fff;
  316. border-top: 1px solid #dcdcde;
  317. position: absolute;
  318. bottom: 0;
  319. right: 0;
  320. left: 0;
  321. }
  322. @media screen and (max-width: 782px) {
  323. .find-box-inside {
  324. bottom: 57px;
  325. }
  326. }
  327. @media screen and (max-width: 660px) {
  328. .find-box {
  329. top: 0;
  330. bottom: 0;
  331. right: 0;
  332. left: 0;
  333. margin: 0;
  334. width: 100%;
  335. }
  336. }
  337. .ui-find-overlay {
  338. position: fixed;
  339. top: 0;
  340. right: 0;
  341. left: 0;
  342. bottom: 0;
  343. background: #000;
  344. opacity: 0.7;
  345. filter: alpha(opacity=70);
  346. z-index: 100100;
  347. }
  348. .drag-drop #drag-drop-area {
  349. border: 4px dashed #c3c4c7;
  350. height: 200px;
  351. }
  352. .drag-drop .drag-drop-inside {
  353. margin: 60px auto 0;
  354. width: 250px;
  355. }
  356. .drag-drop-inside p {
  357. font-size: 14px;
  358. margin: 5px 0;
  359. display: none;
  360. }
  361. .drag-drop .drag-drop-inside p {
  362. text-align: center;
  363. }
  364. .drag-drop-inside p.drag-drop-info {
  365. font-size: 20px;
  366. }
  367. .drag-drop .drag-drop-inside p,
  368. .drag-drop-inside p.drag-drop-buttons {
  369. display: block;
  370. }
  371. /*
  372. #drag-drop-area:-moz-drag-over {
  373. border-color: #83b4d8;
  374. }
  375. border color while dragging a file over the uploader drop area */
  376. .drag-drop.drag-over #drag-drop-area {
  377. border-color: #9ec2e6;
  378. }
  379. #plupload-upload-ui {
  380. position: relative;
  381. }
  382. /**
  383. * Media Library grid view
  384. */
  385. .media-frame.mode-grid,
  386. .media-frame.mode-grid .media-frame-content,
  387. .media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,
  388. .media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,
  389. .media-frame.mode-grid .uploader-inline-content {
  390. position: static;
  391. }
  392. /* Regions we don't use at all */
  393. .media-frame.mode-grid .media-frame-title,
  394. .media-frame.mode-grid .media-frame-router,
  395. .media-frame.mode-grid .media-frame-menu {
  396. display: none;
  397. }
  398. .media-frame.mode-grid .media-frame-content {
  399. background-color: transparent;
  400. border: none;
  401. }
  402. .upload-php .mode-grid .media-sidebar {
  403. position: relative;
  404. width: auto;
  405. margin-top: 12px;
  406. padding: 0 16px;
  407. border-right: 4px solid #d63638;
  408. box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  409. background-color: #fff;
  410. }
  411. .upload-php .mode-grid .hide-sidebar .media-sidebar {
  412. display: none;
  413. }
  414. .upload-php .mode-grid .media-sidebar .media-uploader-status {
  415. border-bottom: none;
  416. padding-bottom: 0;
  417. max-width: 100%;
  418. }
  419. .upload-php .mode-grid .media-sidebar .upload-error {
  420. margin: 12px 0;
  421. padding: 4px 0 0;
  422. border: none;
  423. box-shadow: none;
  424. background: none;
  425. }
  426. .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
  427. display: none;
  428. }
  429. .media-frame.mode-grid .uploader-inline {
  430. position: relative;
  431. top: auto;
  432. left: auto;
  433. right: auto;
  434. bottom: auto;
  435. padding-top: 0;
  436. margin-top: 20px;
  437. border: 4px dashed #c3c4c7;
  438. }
  439. .media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,
  440. .media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper {
  441. position: relative;
  442. top: 94px; /* prevent jumping up when the toolbar becomes fixed */
  443. padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
  444. }
  445. .media-frame.mode-grid .attachment:focus,
  446. .media-frame.mode-grid .selected.attachment:focus,
  447. .media-frame.mode-grid .attachment.details:focus {
  448. box-shadow:
  449. inset 0 0 2px 3px #f0f0f1,
  450. inset 0 0 0 7px #4f94d4;
  451. /* Only visible in Windows High Contrast mode */
  452. outline: 2px solid transparent;
  453. outline-offset: -6px;
  454. }
  455. .media-frame.mode-grid .selected.attachment {
  456. box-shadow:
  457. inset 0 0 0 5px #f0f0f1,
  458. inset 0 0 0 7px #c3c4c7;
  459. }
  460. .media-frame.mode-grid .attachment.details {
  461. box-shadow:
  462. inset 0 0 0 3px #f0f0f1,
  463. inset 0 0 0 7px #4f94d4;
  464. }
  465. .media-frame.mode-grid.mode-select .attachment .thumbnail {
  466. opacity: 0.65;
  467. }
  468. .media-frame.mode-select .attachment.selected .thumbnail {
  469. opacity: 1;
  470. }
  471. .media-frame.mode-grid .media-toolbar {
  472. margin-bottom: 15px;
  473. height: auto;
  474. }
  475. .media-frame.mode-grid .media-toolbar select {
  476. margin: 0 0 0 10px;
  477. }
  478. .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
  479. margin: 0 0 0 8px;
  480. vertical-align: middle;
  481. }
  482. .media-frame.mode-grid .attachments-browser .bulk-select {
  483. display: inline-block;
  484. margin: 0 0 0 10px;
  485. }
  486. .media-frame.mode-grid .search {
  487. margin-top: 0;
  488. }
  489. .media-search-input-label {
  490. margin: 0 0 0 .2em;
  491. vertical-align: baseline;
  492. }
  493. .media-frame.mode-grid .media-search-input-label {
  494. position: static;
  495. margin: 0 0 0 .5em;
  496. }
  497. .attachments-browser .media-toolbar-secondary > .media-button {
  498. margin-left: 10px;
  499. }
  500. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  501. position: fixed;
  502. top: 32px;
  503. right: auto;
  504. left: 20px;
  505. margin-top: 0;
  506. }
  507. .media-frame.mode-grid .attachments-browser {
  508. padding: 0;
  509. }
  510. .media-frame.mode-grid .attachments-browser .attachments {
  511. padding: 2px;
  512. }
  513. .media-frame.mode-grid .attachments-browser .no-media {
  514. color: #646970; /* same as no plugins and no themes */
  515. font-size: 18px;
  516. font-style: normal;
  517. margin: 0;
  518. padding: 100px 0 0;
  519. text-align: center;
  520. }
  521. /**
  522. * Attachment details modal
  523. */
  524. .edit-attachment-frame {
  525. display: block;
  526. height: 100%;
  527. width: 100%;
  528. }
  529. .edit-attachment-frame .edit-media-header {
  530. overflow: hidden;
  531. }
  532. .upload-php .media-modal-close .media-modal-icon:before {
  533. content: "\f335";
  534. font-size: 22px;
  535. }
  536. .upload-php .media-modal-close,
  537. .edit-attachment-frame .edit-media-header .left,
  538. .edit-attachment-frame .edit-media-header .right {
  539. cursor: pointer;
  540. color: #787c82;
  541. background-color: transparent;
  542. height: 50px;
  543. width: 50px;
  544. padding: 0;
  545. position: absolute;
  546. text-align: center;
  547. border: 0;
  548. border-right: 1px solid #dcdcde;
  549. transition: color .1s ease-in-out, background .1s ease-in-out;
  550. }
  551. .upload-php .media-modal-close {
  552. top: 0;
  553. left: 0;
  554. }
  555. .edit-attachment-frame .edit-media-header .left {
  556. left: 102px;
  557. }
  558. .edit-attachment-frame .edit-media-header .right {
  559. left: 51px;
  560. }
  561. .edit-attachment-frame .media-frame-title {
  562. right: 0;
  563. left: 150px; /* leave space for prev/next/close */
  564. }
  565. .edit-attachment-frame .edit-media-header .right:before,
  566. .edit-attachment-frame .edit-media-header .left:before {
  567. font: normal 20px/50px dashicons !important;
  568. display: inline;
  569. font-weight: 300;
  570. }
  571. .upload-php .media-modal-close:hover,
  572. .upload-php .media-modal-close:focus,
  573. .edit-attachment-frame .edit-media-header .left:hover,
  574. .edit-attachment-frame .edit-media-header .right:hover,
  575. .edit-attachment-frame .edit-media-header .left:focus,
  576. .edit-attachment-frame .edit-media-header .right:focus {
  577. background: #dcdcde;
  578. border-color: #c3c4c7;
  579. color: #000;
  580. outline: none;
  581. box-shadow: none;
  582. }
  583. .upload-php .media-modal-close:focus,
  584. .edit-attachment-frame .edit-media-header .left:focus,
  585. .edit-attachment-frame .edit-media-header .right:focus {
  586. /* Only visible in Windows High Contrast mode */
  587. outline: 2px solid transparent;
  588. outline-offset: -2px;
  589. }
  590. .upload-php .media-modal-close:focus .media-modal-icon:before,
  591. .upload-php .media-modal-close:hover .media-modal-icon:before {
  592. color: #000;
  593. }
  594. .edit-attachment-frame .edit-media-header .left:before {
  595. content: "\f345";
  596. }
  597. .edit-attachment-frame .edit-media-header .right:before {
  598. content: "\f341";
  599. }
  600. .edit-attachment-frame .edit-media-header [disabled],
  601. .edit-attachment-frame .edit-media-header [disabled]:hover {
  602. color: #c3c4c7;
  603. background: inherit;
  604. cursor: default;
  605. }
  606. .edit-attachment-frame .media-frame-content,
  607. .edit-attachment-frame .media-frame-router {
  608. right: 0;
  609. }
  610. .edit-attachment-frame .media-frame-content {
  611. border-bottom: none;
  612. bottom: 0;
  613. top: 50px;
  614. }
  615. .edit-attachment-frame .attachment-details {
  616. position: absolute;
  617. overflow: auto;
  618. top: 0;
  619. bottom: 0;
  620. left: 0;
  621. right: 0;
  622. box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1);
  623. }
  624. .edit-attachment-frame .attachment-media-view {
  625. float: right;
  626. width: 65%;
  627. height: 100%;
  628. }
  629. .edit-attachment-frame .attachment-media-view .thumbnail {
  630. box-sizing: border-box;
  631. padding: 16px;
  632. height: 100%;
  633. }
  634. .edit-attachment-frame .attachment-media-view .details-image {
  635. display: block;
  636. margin: 0 auto 16px;
  637. max-width: 100%;
  638. max-height: 90%;
  639. max-height: calc( 100% - 42px ); /* leave space for actions underneath */
  640. background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
  641. background-position: 100% 0, 10px 10px;
  642. background-size: 20px 20px;
  643. }
  644. .edit-attachment-frame .attachment-media-view .details-image.icon {
  645. background: none;
  646. }
  647. .edit-attachment-frame .attachment-media-view .attachment-actions {
  648. text-align: center;
  649. }
  650. .edit-attachment-frame .wp-media-wrapper {
  651. margin-bottom: 12px;
  652. }
  653. .edit-attachment-frame input,
  654. .edit-attachment-frame textarea {
  655. padding: 4px 8px;
  656. line-height: 1.42857143;
  657. }
  658. .edit-attachment-frame .attachment-info {
  659. overflow: auto;
  660. box-sizing: border-box;
  661. margin-bottom: 0;
  662. padding: 12px 16px 0;
  663. width: 35%;
  664. height: 100%;
  665. box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1);
  666. border-bottom: 0;
  667. border-right: 1px solid #dcdcde;
  668. background: #f6f7f7;
  669. }
  670. .edit-attachment-frame .attachment-info .details,
  671. .edit-attachment-frame .attachment-info .settings {
  672. position: relative; /* RTL fix, #WP29352 */
  673. overflow: hidden;
  674. float: none;
  675. margin-bottom: 15px;
  676. padding-bottom: 15px;
  677. border-bottom: 1px solid #dcdcde;
  678. }
  679. .edit-attachment-frame .attachment-info .filename {
  680. font-weight: 400;
  681. color: #646970;
  682. }
  683. .edit-attachment-frame .attachment-info .thumbnail {
  684. margin-bottom: 12px;
  685. }
  686. .attachment-info .actions {
  687. margin-bottom: 16px;
  688. }
  689. .attachment-info .actions a {
  690. display: inline;
  691. text-decoration: none;
  692. }
  693. .copy-to-clipboard-container {
  694. display: flex;
  695. align-items: center;
  696. margin-top: 8px;
  697. clear: both;
  698. }
  699. .copy-to-clipboard-container .copy-attachment-url {
  700. white-space: normal;
  701. }
  702. .copy-to-clipboard-container .success {
  703. color: #008a20;
  704. margin-right: 8px;
  705. }
  706. /*------------------------------------------------------------------------------
  707. 14.2 - Image Editor
  708. ------------------------------------------------------------------------------*/
  709. .wp_attachment_details .attachment-alt-text {
  710. margin-bottom: 5px;
  711. }
  712. .wp_attachment_details #attachment_alt {
  713. max-width: 500px;
  714. height: 3.28571428em;
  715. }
  716. .wp_attachment_details .attachment-alt-text-description {
  717. margin-top: 5px;
  718. }
  719. .wp_attachment_details label[for="content"] {
  720. font-size: 13px;
  721. line-height: 1.5;
  722. margin: 1em 0;
  723. }
  724. .wp_attachment_details #attachment_caption {
  725. height: 4em;
  726. }
  727. .describe .image-editor {
  728. vertical-align: top;
  729. }
  730. .imgedit-wrap {
  731. position: relative;
  732. padding-top: 10px;
  733. }
  734. .imgedit-settings p,
  735. .imgedit-settings fieldset {
  736. margin: 8px 0;
  737. }
  738. .imgedit-settings legend {
  739. margin-bottom: 5px;
  740. }
  741. .describe .imgedit-wrap .imgedit-settings {
  742. padding: 0 5px;
  743. }
  744. .wp_attachment_holder div.updated {
  745. margin-top: 0;
  746. }
  747. .wp_attachment_holder .imgedit-wrap > div {
  748. height: auto;
  749. }
  750. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
  751. float: right;
  752. padding: 3px 0 0 16px;
  753. min-width: 400px;
  754. max-width: calc( 100% - 266px );
  755. }
  756. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  757. float: left;
  758. width: 250px;
  759. }
  760. .imgedit-settings input {
  761. margin-top: 0;
  762. vertical-align: middle;
  763. }
  764. .imgedit-wait {
  765. position: absolute;
  766. top: 0;
  767. bottom: 0;
  768. width: 100%;
  769. background: #fff;
  770. opacity: 0.7;
  771. filter: alpha(opacity=70);
  772. display: none;
  773. }
  774. .imgedit-wait:before {
  775. content: "";
  776. display: block;
  777. width: 20px;
  778. height: 20px;
  779. position: absolute;
  780. right: 50%;
  781. top: 50%;
  782. margin: -10px -10px 0 0;
  783. background: transparent url(../images/spinner.gif) no-repeat center;
  784. background-size: 20px 20px;
  785. transform: translateZ(0);
  786. }
  787. .no-float {
  788. float: none;
  789. }
  790. .media-disabled,
  791. .imgedit-settings .disabled {
  792. /* WCAG 1.4.3 Text or images of text that are part of an inactive user
  793. interface component ... have no contrast requirement. */
  794. color: #a7aaad;
  795. }
  796. .A1B1 {
  797. overflow: hidden;
  798. }
  799. .wp_attachment_image .button,
  800. .A1B1 .button {
  801. float: right;
  802. }
  803. .no-js .wp_attachment_image .button {
  804. display: none;
  805. }
  806. .wp_attachment_image .spinner,
  807. .A1B1 .spinner {
  808. float: right;
  809. }
  810. .imgedit-menu {
  811. margin: 0 0 12px;
  812. }
  813. .imgedit-menu .note-no-rotate {
  814. clear: both;
  815. margin: 0;
  816. padding: 1em 0 0;
  817. }
  818. .image-editor .imgedit-menu .button {
  819. display: inline-block;
  820. width: auto;
  821. min-height: 28px;
  822. font-size: 13px;
  823. line-height: 2;
  824. margin: 0 0 8px 8px;
  825. padding: 0 10px;
  826. }
  827. .imgedit-menu .button:before {
  828. font: normal 16px/1 dashicons;
  829. margin-left: 8px;
  830. speak: never;
  831. vertical-align: middle;
  832. position: relative;
  833. top: -2px;
  834. -webkit-font-smoothing: antialiased;
  835. -moz-osx-font-smoothing: grayscale;
  836. }
  837. .imgedit-menu .button.disabled {
  838. color: #a7aaad;
  839. border-color: #dcdcde;
  840. background: #f6f7f7;
  841. box-shadow: none;
  842. text-shadow: 0 1px 0 #fff;
  843. cursor: default;
  844. transform: none;
  845. }
  846. .imgedit-crop:before {
  847. content: "\f165";
  848. }
  849. .imgedit-rleft:before {
  850. content: "\f166";
  851. }
  852. .imgedit-rright:before {
  853. content: "\f167";
  854. }
  855. .imgedit-flipv:before {
  856. content: "\f168";
  857. }
  858. .imgedit-fliph:before {
  859. content: "\f169";
  860. }
  861. .imgedit-undo:before {
  862. content: "\f171";
  863. }
  864. .imgedit-redo:before {
  865. content: "\f172";
  866. }
  867. .imgedit-crop-wrap {
  868. position: relative;
  869. }
  870. .imgedit-crop-wrap img {
  871. background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
  872. background-position: 100% 0, 10px 10px;
  873. background-size: 20px 20px;
  874. }
  875. .imgedit-crop {
  876. margin: 0 0 0 8px;
  877. }
  878. .imgedit-rleft {
  879. margin: 0 3px;
  880. }
  881. .imgedit-rright {
  882. margin: 0 3px 0 8px;
  883. }
  884. .imgedit-flipv {
  885. margin: 0 3px;
  886. }
  887. .imgedit-fliph {
  888. margin: 0 3px 0 8px;
  889. }
  890. .imgedit-undo {
  891. margin: 0 3px;
  892. }
  893. .imgedit-redo {
  894. margin: 0 3px 0 8px;
  895. }
  896. .imgedit-thumbnail-preview {
  897. margin: 10px 0 0 8px;
  898. }
  899. .imgedit-thumbnail-preview-caption {
  900. display: block;
  901. }
  902. #poststuff .imgedit-group-top h2 {
  903. display: inline-block;
  904. margin: 0;
  905. padding: 0;
  906. font-size: 14px;
  907. line-height: 1.4;
  908. }
  909. #poststuff .imgedit-group-top .button-link {
  910. text-decoration: none;
  911. color: #1d2327;
  912. }
  913. .imgedit-applyto .imgedit-label {
  914. display: block;
  915. padding: .5em 0 0;
  916. }
  917. .imgedit-help {
  918. display: none;
  919. padding-bottom: 8px;
  920. }
  921. .imgedit-help.imgedit-restore {
  922. padding-bottom: 0;
  923. }
  924. /* higher specificity than buttons */
  925. .image-editor .imgedit-settings .imgedit-help-toggle,
  926. .image-editor .imgedit-settings .imgedit-help-toggle:hover,
  927. .image-editor .imgedit-settings .imgedit-help-toggle:active {
  928. border: 1px solid transparent;
  929. margin: -1px -1px 0 0;
  930. padding: 0;
  931. background: transparent;
  932. color: #2271b1;
  933. font-size: 20px;
  934. line-height: 1;
  935. cursor: pointer;
  936. box-sizing: content-box;
  937. box-shadow: none;
  938. }
  939. .image-editor .imgedit-settings .imgedit-help-toggle:focus {
  940. color: #2271b1;
  941. border-color: #4f94d4;
  942. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  943. /* Only visible in Windows High Contrast mode */
  944. outline: 2px solid transparent;
  945. }
  946. .form-table td.imgedit-response {
  947. padding: 0;
  948. }
  949. .imgedit-submit {
  950. margin: 8px 0 0;
  951. }
  952. .imgedit-submit-btn {
  953. margin-right: 20px;
  954. }
  955. .imgedit-wrap .nowrap {
  956. white-space: nowrap;
  957. font-size: 12px;
  958. line-height: inherit;
  959. }
  960. span.imgedit-scale-warn {
  961. color: #d63638;
  962. font-size: 20px;
  963. font-style: normal;
  964. visibility: hidden;
  965. vertical-align: middle;
  966. }
  967. .imgedit-save-target {
  968. margin: 8px 0;
  969. }
  970. .imgedit-save-target legend {
  971. font-weight: 600;
  972. }
  973. .imgedit-group {
  974. margin-bottom: 8px;
  975. padding: 10px;
  976. }
  977. .imgedit-settings .imgedit-original-dimensions {
  978. display: inline-block;
  979. }
  980. .imgedit-settings .imgedit-scale input[type="text"],
  981. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  982. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  983. width: 80px;
  984. font-size: 14px;
  985. padding: 0 8px;
  986. }
  987. .imgedit-separator {
  988. display: inline-block;
  989. width: 7px;
  990. text-align: center;
  991. font-size: 13px;
  992. color: #3c434a;
  993. }
  994. .imgedit-settings .imgedit-scale-button-wrapper {
  995. margin-top: 0.3077em;
  996. display: block;
  997. }
  998. .imgedit-settings .imgedit-scale .button {
  999. margin-bottom: 0;
  1000. }
  1001. audio, video {
  1002. display: inline-block;
  1003. max-width: 100%;
  1004. }
  1005. .wp-core-ui .mejs-container {
  1006. width: 100%;
  1007. max-width: 100%;
  1008. }
  1009. .wp-core-ui .mejs-container * {
  1010. box-sizing: border-box;
  1011. }
  1012. .wp-core-ui .mejs-time {
  1013. box-sizing: content-box;
  1014. }
  1015. /* =Media Queries
  1016. -------------------------------------------------------------- */
  1017. /**
  1018. * HiDPI Displays
  1019. */
  1020. @media print,
  1021. (-webkit-min-device-pixel-ratio: 1.25),
  1022. (min-resolution: 120dpi) {
  1023. .imgedit-wait:before {
  1024. background-image: url(../images/spinner-2x.gif);
  1025. }
  1026. }
  1027. @media screen and (max-width: 782px) {
  1028. .edit-attachment-frame input,
  1029. .edit-attachment-frame textarea {
  1030. line-height: 1.5;
  1031. }
  1032. .wp_attachment_details label[for="content"] {
  1033. font-size: 14px;
  1034. line-height: 1.5;
  1035. }
  1036. .wp_attachment_details textarea {
  1037. line-height: 1.5;
  1038. }
  1039. .wp_attachment_details #attachment_alt {
  1040. height: 3.375em;
  1041. }
  1042. .media-upload-form .media-item.error,
  1043. .media-upload-form .media-item .error {
  1044. font-size: 13px;
  1045. line-height: 1.5;
  1046. }
  1047. .media-upload-form .media-item.error {
  1048. padding: 1px 10px;
  1049. }
  1050. .media-upload-form .media-item .error {
  1051. padding: 10px 12px 10px 0;
  1052. }
  1053. .imgedit-settings .imgedit-scale input[type="text"],
  1054. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  1055. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  1056. font-size: 16px;
  1057. padding: 6px 10px;
  1058. }
  1059. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
  1060. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  1061. float: none;
  1062. width: auto;
  1063. max-width: none;
  1064. padding-bottom: 16px;
  1065. }
  1066. .copy-to-clipboard-container .success {
  1067. font-size: 14px;
  1068. }
  1069. /* Restructure image editor on narrow viewports. */
  1070. .imgedit-crop-wrap img{
  1071. width: 100%;
  1072. }
  1073. .media-modal .imgedit-wrap .imgedit-panel-content,
  1074. .media-modal .imgedit-wrap .imgedit-settings {
  1075. position: initial !important;
  1076. }
  1077. .media-modal .imgedit-wrap .imgedit-settings {
  1078. box-sizing: border-box;
  1079. width: 100% !important;
  1080. }
  1081. .imgedit-settings .imgedit-scale-button-wrapper {
  1082. display: inline-block;
  1083. }
  1084. }
  1085. @media only screen and (max-width: 600px) {
  1086. .media-item-wrapper {
  1087. grid-template-columns: 1fr;
  1088. }
  1089. }
  1090. /**
  1091. * Media queries for media grid.
  1092. */
  1093. @media only screen and (max-width: 1120px) {
  1094. /* override for media-views.css */
  1095. #wp-media-grid .wp-filter .attachment-filters {
  1096. max-width: 100%;
  1097. }
  1098. }
  1099. @media only screen and (max-width: 782px) {
  1100. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  1101. top: 46px;
  1102. left: 10px;
  1103. }
  1104. }
  1105. @media only screen and (max-width: 600px) {
  1106. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  1107. top: 0;
  1108. }
  1109. }
  1110. @media only screen and (max-width: 480px) {
  1111. .edit-attachment-frame .media-frame-title {
  1112. left: 110px;
  1113. }
  1114. .upload-php .media-modal-close,
  1115. .edit-attachment-frame .edit-media-header .left,
  1116. .edit-attachment-frame .edit-media-header .right {
  1117. width: 40px;
  1118. height: 40px;
  1119. }
  1120. .edit-attachment-frame .edit-media-header .right:before,
  1121. .edit-attachment-frame .edit-media-header .left:before {
  1122. line-height: 40px !important;
  1123. }
  1124. .edit-attachment-frame .edit-media-header .left {
  1125. left: 82px;
  1126. }
  1127. .edit-attachment-frame .edit-media-header .right {
  1128. left: 41px;
  1129. }
  1130. .edit-attachment-frame .media-frame-content {
  1131. top: 40px;
  1132. }
  1133. .edit-attachment-frame .attachment-media-view {
  1134. float: none;
  1135. height: auto;
  1136. width: 100%;
  1137. }
  1138. .edit-attachment-frame .attachment-info {
  1139. height: auto;
  1140. width: 100%;
  1141. }
  1142. }
  1143. @media only screen and (max-width: 640px), screen and (max-height: 400px) {
  1144. .upload-php .mode-grid .media-sidebar{
  1145. max-width: 100%;
  1146. }
  1147. }