media-rtl.css 23 KB

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