media.css 25 KB

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