media-rtl.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369
  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: 6px 8px;
  656. line-height: 1.14285714;
  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-text-description {
  713. margin-top: 5px;
  714. }
  715. .wp_attachment_details label[for="content"] {
  716. font-size: 13px;
  717. line-height: 1.5;
  718. margin: 1em 0;
  719. }
  720. .wp_attachment_details #attachment_caption {
  721. height: 4em;
  722. }
  723. .describe .image-editor {
  724. vertical-align: top;
  725. }
  726. .imgedit-wrap {
  727. position: relative;
  728. padding-top: 10px;
  729. }
  730. .imgedit-settings p,
  731. .imgedit-settings fieldset {
  732. margin: 8px 0;
  733. }
  734. .imgedit-settings legend {
  735. margin-bottom: 5px;
  736. }
  737. .describe .imgedit-wrap .imgedit-settings {
  738. padding: 0 5px;
  739. }
  740. .wp_attachment_holder div.updated {
  741. margin-top: 0;
  742. }
  743. .wp_attachment_holder .imgedit-wrap > div {
  744. height: auto;
  745. }
  746. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
  747. float: right;
  748. padding: 3px 0 0 16px;
  749. min-width: 400px;
  750. max-width: calc( 100% - 266px );
  751. }
  752. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  753. float: left;
  754. width: 250px;
  755. }
  756. .imgedit-settings input {
  757. margin-top: 0;
  758. vertical-align: middle;
  759. }
  760. .imgedit-wait {
  761. position: absolute;
  762. top: 0;
  763. bottom: 0;
  764. width: 100%;
  765. background: #fff;
  766. opacity: 0.7;
  767. filter: alpha(opacity=70);
  768. display: none;
  769. }
  770. .imgedit-wait:before {
  771. content: "";
  772. display: block;
  773. width: 20px;
  774. height: 20px;
  775. position: absolute;
  776. right: 50%;
  777. top: 50%;
  778. margin: -10px -10px 0 0;
  779. background: transparent url(../images/spinner.gif) no-repeat center;
  780. background-size: 20px 20px;
  781. transform: translateZ(0);
  782. }
  783. .no-float {
  784. float: none;
  785. }
  786. .media-disabled,
  787. .imgedit-settings .disabled {
  788. /* WCAG 1.4.3 Text or images of text that are part of an inactive user
  789. interface component ... have no contrast requirement. */
  790. color: #a7aaad;
  791. }
  792. .A1B1 {
  793. overflow: hidden;
  794. }
  795. .wp_attachment_image .button,
  796. .A1B1 .button {
  797. float: right;
  798. }
  799. .no-js .wp_attachment_image .button {
  800. display: none;
  801. }
  802. .wp_attachment_image .spinner,
  803. .A1B1 .spinner {
  804. float: right;
  805. }
  806. .imgedit-menu {
  807. margin: 0 0 12px;
  808. }
  809. .imgedit-menu .note-no-rotate {
  810. clear: both;
  811. margin: 0;
  812. padding: 1em 0 0;
  813. }
  814. .image-editor .imgedit-menu .button {
  815. display: inline-block;
  816. width: auto;
  817. min-height: 28px;
  818. font-size: 13px;
  819. line-height: 2;
  820. margin: 0 0 8px 8px;
  821. padding: 0 10px;
  822. }
  823. .imgedit-menu .button:before {
  824. font: normal 16px/1 dashicons;
  825. margin-left: 8px;
  826. speak: never;
  827. vertical-align: middle;
  828. position: relative;
  829. top: -2px;
  830. -webkit-font-smoothing: antialiased;
  831. -moz-osx-font-smoothing: grayscale;
  832. }
  833. .imgedit-menu .button.disabled {
  834. color: #a7aaad;
  835. border-color: #dcdcde;
  836. background: #f6f7f7;
  837. box-shadow: none;
  838. text-shadow: 0 1px 0 #fff;
  839. cursor: default;
  840. transform: none;
  841. }
  842. .imgedit-crop:before {
  843. content: "\f165";
  844. }
  845. .imgedit-rleft:before {
  846. content: "\f166";
  847. }
  848. .imgedit-rright:before {
  849. content: "\f167";
  850. }
  851. .imgedit-flipv:before {
  852. content: "\f168";
  853. }
  854. .imgedit-fliph:before {
  855. content: "\f169";
  856. }
  857. .imgedit-undo:before {
  858. content: "\f171";
  859. }
  860. .imgedit-redo:before {
  861. content: "\f172";
  862. }
  863. .imgedit-crop-wrap {
  864. position: relative;
  865. }
  866. .imgedit-crop-wrap img {
  867. 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);
  868. background-position: 100% 0, 10px 10px;
  869. background-size: 20px 20px;
  870. }
  871. .imgedit-crop {
  872. margin: 0 0 0 8px;
  873. }
  874. .imgedit-rleft {
  875. margin: 0 3px;
  876. }
  877. .imgedit-rright {
  878. margin: 0 3px 0 8px;
  879. }
  880. .imgedit-flipv {
  881. margin: 0 3px;
  882. }
  883. .imgedit-fliph {
  884. margin: 0 3px 0 8px;
  885. }
  886. .imgedit-undo {
  887. margin: 0 3px;
  888. }
  889. .imgedit-redo {
  890. margin: 0 3px 0 8px;
  891. }
  892. .imgedit-thumbnail-preview {
  893. margin: 10px 0 0 8px;
  894. }
  895. .imgedit-thumbnail-preview-caption {
  896. display: block;
  897. }
  898. #poststuff .imgedit-group-top h2 {
  899. display: inline-block;
  900. margin: 0;
  901. padding: 0;
  902. font-size: 14px;
  903. line-height: 1.4;
  904. }
  905. #poststuff .imgedit-group-top .button-link {
  906. text-decoration: none;
  907. color: #1d2327;
  908. }
  909. .imgedit-applyto .imgedit-label {
  910. display: block;
  911. padding: .5em 0 0;
  912. }
  913. .imgedit-help {
  914. display: none;
  915. padding-bottom: 8px;
  916. }
  917. .imgedit-help.imgedit-restore {
  918. padding-bottom: 0;
  919. }
  920. /* higher specificity than buttons */
  921. .image-editor .imgedit-settings .imgedit-help-toggle,
  922. .image-editor .imgedit-settings .imgedit-help-toggle:hover,
  923. .image-editor .imgedit-settings .imgedit-help-toggle:active {
  924. border: 1px solid transparent;
  925. margin: -1px -1px 0 0;
  926. padding: 0;
  927. background: transparent;
  928. color: #2271b1;
  929. font-size: 20px;
  930. line-height: 1;
  931. cursor: pointer;
  932. box-sizing: content-box;
  933. box-shadow: none;
  934. }
  935. .image-editor .imgedit-settings .imgedit-help-toggle:focus {
  936. color: #2271b1;
  937. border-color: #4f94d4;
  938. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  939. /* Only visible in Windows High Contrast mode */
  940. outline: 2px solid transparent;
  941. }
  942. .form-table td.imgedit-response {
  943. padding: 0;
  944. }
  945. .imgedit-submit {
  946. margin: 8px 0 0;
  947. }
  948. .imgedit-submit-btn {
  949. margin-right: 20px;
  950. }
  951. .imgedit-wrap .nowrap {
  952. white-space: nowrap;
  953. font-size: 12px;
  954. line-height: inherit;
  955. }
  956. span.imgedit-scale-warn {
  957. color: #d63638;
  958. font-size: 20px;
  959. font-style: normal;
  960. visibility: hidden;
  961. vertical-align: middle;
  962. }
  963. .imgedit-save-target {
  964. margin: 8px 0;
  965. }
  966. .imgedit-save-target legend {
  967. font-weight: 600;
  968. }
  969. .imgedit-group {
  970. margin-bottom: 8px;
  971. padding: 10px;
  972. }
  973. .imgedit-settings .imgedit-original-dimensions {
  974. display: inline-block;
  975. }
  976. .imgedit-settings .imgedit-scale input[type="text"],
  977. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  978. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  979. width: 80px;
  980. font-size: 14px;
  981. padding: 0 8px;
  982. }
  983. .imgedit-separator {
  984. display: inline-block;
  985. width: 7px;
  986. text-align: center;
  987. font-size: 13px;
  988. color: #3c434a;
  989. }
  990. .imgedit-settings .imgedit-scale-button-wrapper {
  991. margin-top: 0.3077em;
  992. display: block;
  993. }
  994. .imgedit-settings .imgedit-scale .button {
  995. margin-bottom: 0;
  996. }
  997. audio, video {
  998. display: inline-block;
  999. max-width: 100%;
  1000. }
  1001. .wp-core-ui .mejs-container {
  1002. width: 100%;
  1003. max-width: 100%;
  1004. }
  1005. .wp-core-ui .mejs-container * {
  1006. box-sizing: border-box;
  1007. }
  1008. .wp-core-ui .mejs-time {
  1009. box-sizing: content-box;
  1010. }
  1011. /* =Media Queries
  1012. -------------------------------------------------------------- */
  1013. /**
  1014. * HiDPI Displays
  1015. */
  1016. @media print,
  1017. (-webkit-min-device-pixel-ratio: 1.25),
  1018. (min-resolution: 120dpi) {
  1019. .imgedit-wait:before {
  1020. background-image: url(../images/spinner-2x.gif);
  1021. }
  1022. }
  1023. @media screen and (max-width: 782px) {
  1024. .wp_attachment_details label[for="content"] {
  1025. font-size: 14px;
  1026. line-height: 1.5;
  1027. }
  1028. .media-upload-form .media-item.error,
  1029. .media-upload-form .media-item .error {
  1030. font-size: 13px;
  1031. line-height: 1.5;
  1032. }
  1033. .media-upload-form .media-item.error {
  1034. padding: 1px 10px;
  1035. }
  1036. .media-upload-form .media-item .error {
  1037. padding: 10px 12px 10px 0;
  1038. }
  1039. .imgedit-settings .imgedit-scale input[type="text"],
  1040. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  1041. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  1042. font-size: 16px;
  1043. padding: 6px 10px;
  1044. }
  1045. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
  1046. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  1047. float: none;
  1048. width: auto;
  1049. max-width: none;
  1050. padding-bottom: 16px;
  1051. }
  1052. .copy-to-clipboard-container .success {
  1053. font-size: 14px;
  1054. }
  1055. /* Restructure image editor on narrow viewports. */
  1056. .imgedit-crop-wrap img{
  1057. width: 100%;
  1058. }
  1059. .media-modal .imgedit-wrap .imgedit-panel-content,
  1060. .media-modal .imgedit-wrap .imgedit-settings {
  1061. position: initial !important;
  1062. }
  1063. .media-modal .imgedit-wrap .imgedit-settings {
  1064. box-sizing: border-box;
  1065. width: 100% !important;
  1066. }
  1067. .imgedit-settings .imgedit-scale-button-wrapper {
  1068. display: inline-block;
  1069. }
  1070. }
  1071. @media only screen and (max-width: 600px) {
  1072. .media-item-wrapper {
  1073. grid-template-columns: 1fr;
  1074. }
  1075. }
  1076. /**
  1077. * Media queries for media grid.
  1078. */
  1079. @media only screen and (max-width: 1120px) {
  1080. /* override for media-views.css */
  1081. #wp-media-grid .wp-filter .attachment-filters {
  1082. max-width: 100%;
  1083. }
  1084. }
  1085. @media only screen and (max-width: 782px) {
  1086. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  1087. top: 46px;
  1088. left: 10px;
  1089. }
  1090. }
  1091. @media only screen and (max-width: 600px) {
  1092. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  1093. top: 0;
  1094. }
  1095. }
  1096. @media only screen and (max-width: 480px) {
  1097. .edit-attachment-frame .media-frame-title {
  1098. left: 110px;
  1099. }
  1100. .upload-php .media-modal-close,
  1101. .edit-attachment-frame .edit-media-header .left,
  1102. .edit-attachment-frame .edit-media-header .right {
  1103. width: 40px;
  1104. height: 40px;
  1105. }
  1106. .edit-attachment-frame .edit-media-header .right:before,
  1107. .edit-attachment-frame .edit-media-header .left:before {
  1108. line-height: 40px !important;
  1109. }
  1110. .edit-attachment-frame .edit-media-header .left {
  1111. left: 82px;
  1112. }
  1113. .edit-attachment-frame .edit-media-header .right {
  1114. left: 41px;
  1115. }
  1116. .edit-attachment-frame .media-frame-content {
  1117. top: 40px;
  1118. }
  1119. .edit-attachment-frame .attachment-media-view {
  1120. float: none;
  1121. height: auto;
  1122. width: 100%;
  1123. }
  1124. .edit-attachment-frame .attachment-info {
  1125. height: auto;
  1126. width: 100%;
  1127. }
  1128. }
  1129. @media only screen and (max-width: 640px), screen and (max-height: 400px) {
  1130. .upload-php .mode-grid .media-sidebar{
  1131. max-width: 100%;
  1132. }
  1133. }