Aucune description

media-rtl.css 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  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 0;
  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 .upload-dismiss-errors {
  427. top: -10px;
  428. left: -14px;
  429. padding: 10px;
  430. }
  431. .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
  432. content: "\f153";
  433. display: block;
  434. font: normal 16px/1 dashicons;
  435. color: #787c82;
  436. }
  437. .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
  438. .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before {
  439. color: #d63638;
  440. }
  441. .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
  442. display: none;
  443. }
  444. .media-frame.mode-grid .uploader-inline {
  445. position: relative;
  446. top: auto;
  447. left: auto;
  448. right: auto;
  449. bottom: auto;
  450. padding-top: 0;
  451. margin-top: 20px;
  452. border: 4px dashed #c3c4c7;
  453. }
  454. .media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,
  455. .media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper {
  456. position: relative;
  457. top: 94px; /* prevent jumping up when the toolbar becomes fixed */
  458. padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
  459. }
  460. .media-frame.mode-grid .attachment:focus,
  461. .media-frame.mode-grid .selected.attachment:focus,
  462. .media-frame.mode-grid .attachment.details:focus {
  463. box-shadow:
  464. inset 0 0 2px 3px #f0f0f1,
  465. inset 0 0 0 7px #4f94d4;
  466. /* Only visible in Windows High Contrast mode */
  467. outline: 2px solid transparent;
  468. outline-offset: -6px;
  469. }
  470. .media-frame.mode-grid .selected.attachment {
  471. box-shadow:
  472. inset 0 0 0 5px #f0f0f1,
  473. inset 0 0 0 7px #c3c4c7;
  474. }
  475. .media-frame.mode-grid .attachment.details {
  476. box-shadow:
  477. inset 0 0 0 3px #f0f0f1,
  478. inset 0 0 0 7px #4f94d4;
  479. }
  480. .media-frame.mode-grid.mode-select .attachment .thumbnail {
  481. opacity: 0.65;
  482. }
  483. .media-frame.mode-select .attachment.selected .thumbnail {
  484. opacity: 1;
  485. }
  486. .media-frame.mode-grid .media-toolbar {
  487. margin-bottom: 15px;
  488. height: auto;
  489. }
  490. .media-frame.mode-grid .media-toolbar select {
  491. margin: 0 0 0 10px;
  492. }
  493. .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
  494. margin: 0 0 0 8px;
  495. vertical-align: middle;
  496. }
  497. .media-frame.mode-grid .attachments-browser .bulk-select {
  498. display: inline-block;
  499. margin: 0 0 0 10px;
  500. }
  501. .media-frame.mode-grid .search {
  502. margin-top: 0;
  503. }
  504. .media-search-input-label {
  505. margin: 0 0 0 .2em;
  506. vertical-align: baseline;
  507. }
  508. .media-frame.mode-grid .media-search-input-label {
  509. position: static;
  510. margin: 0 0 0 .5em;
  511. }
  512. .attachments-browser .media-toolbar-secondary > .media-button {
  513. margin-left: 10px;
  514. }
  515. .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
  516. position: fixed;
  517. top: 32px;
  518. right: auto;
  519. left: 20px;
  520. margin-top: 0;
  521. }
  522. .media-frame.mode-grid .attachments-browser {
  523. padding: 0;
  524. }
  525. .media-frame.mode-grid .attachments-browser .attachments {
  526. padding: 2px;
  527. }
  528. .media-frame.mode-grid .attachments-browser .no-media {
  529. color: #646970; /* same as no plugins and no themes */
  530. font-size: 18px;
  531. font-style: normal;
  532. margin: 0;
  533. padding: 100px 0 0;
  534. text-align: center;
  535. }
  536. /**
  537. * Attachment details modal
  538. */
  539. .edit-attachment-frame {
  540. display: block;
  541. height: 100%;
  542. width: 100%;
  543. }
  544. .edit-attachment-frame .edit-media-header {
  545. overflow: hidden;
  546. }
  547. .upload-php .media-modal-close .media-modal-icon:before {
  548. content: "\f335";
  549. font-size: 22px;
  550. }
  551. .upload-php .media-modal-close,
  552. .edit-attachment-frame .edit-media-header .left,
  553. .edit-attachment-frame .edit-media-header .right {
  554. cursor: pointer;
  555. color: #787c82;
  556. background-color: transparent;
  557. height: 50px;
  558. width: 50px;
  559. padding: 0;
  560. position: absolute;
  561. text-align: center;
  562. border: 0;
  563. border-right: 1px solid #dcdcde;
  564. transition: color .1s ease-in-out, background .1s ease-in-out;
  565. }
  566. .upload-php .media-modal-close {
  567. top: 0;
  568. left: 0;
  569. }
  570. .edit-attachment-frame .edit-media-header .left {
  571. left: 102px;
  572. }
  573. .edit-attachment-frame .edit-media-header .right {
  574. left: 51px;
  575. }
  576. .edit-attachment-frame .media-frame-title {
  577. right: 0;
  578. left: 150px; /* leave space for prev/next/close */
  579. }
  580. .edit-attachment-frame .edit-media-header .right:before,
  581. .edit-attachment-frame .edit-media-header .left:before {
  582. font: normal 20px/50px dashicons !important;
  583. display: inline;
  584. font-weight: 300;
  585. }
  586. .upload-php .media-modal-close:hover,
  587. .upload-php .media-modal-close:focus,
  588. .edit-attachment-frame .edit-media-header .left:hover,
  589. .edit-attachment-frame .edit-media-header .right:hover,
  590. .edit-attachment-frame .edit-media-header .left:focus,
  591. .edit-attachment-frame .edit-media-header .right:focus {
  592. background: #dcdcde;
  593. border-color: #c3c4c7;
  594. color: #000;
  595. outline: none;
  596. box-shadow: none;
  597. }
  598. .upload-php .media-modal-close:focus,
  599. .edit-attachment-frame .edit-media-header .left:focus,
  600. .edit-attachment-frame .edit-media-header .right:focus {
  601. /* Only visible in Windows High Contrast mode */
  602. outline: 2px solid transparent;
  603. outline-offset: -2px;
  604. }
  605. .upload-php .media-modal-close:focus .media-modal-icon:before,
  606. .upload-php .media-modal-close:hover .media-modal-icon:before {
  607. color: #000;
  608. }
  609. .edit-attachment-frame .edit-media-header .left:before {
  610. content: "\f345";
  611. }
  612. .edit-attachment-frame .edit-media-header .right:before {
  613. content: "\f341";
  614. }
  615. .edit-attachment-frame .edit-media-header [disabled],
  616. .edit-attachment-frame .edit-media-header [disabled]:hover {
  617. color: #c3c4c7;
  618. background: inherit;
  619. cursor: default;
  620. }
  621. .edit-attachment-frame .media-frame-content,
  622. .edit-attachment-frame .media-frame-router {
  623. right: 0;
  624. }
  625. .edit-attachment-frame .media-frame-content {
  626. border-bottom: none;
  627. bottom: 0;
  628. top: 50px;
  629. }
  630. .edit-attachment-frame .attachment-details {
  631. position: absolute;
  632. overflow: auto;
  633. top: 0;
  634. bottom: 0;
  635. left: 0;
  636. right: 0;
  637. box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
  638. }
  639. .edit-attachment-frame .attachment-media-view {
  640. float: right;
  641. width: 65%;
  642. height: 100%;
  643. }
  644. .edit-attachment-frame .attachment-media-view .thumbnail {
  645. box-sizing: border-box;
  646. padding: 16px;
  647. height: 100%;
  648. }
  649. .edit-attachment-frame .attachment-media-view .details-image {
  650. display: block;
  651. margin: 0 auto 16px;
  652. max-width: 100%;
  653. max-height: 90%;
  654. max-height: calc( 100% - 42px ); /* leave space for actions underneath */
  655. 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);
  656. background-position: 100% 0, 10px 10px;
  657. background-size: 20px 20px;
  658. }
  659. .edit-attachment-frame .attachment-media-view .details-image.icon {
  660. background: none;
  661. }
  662. .edit-attachment-frame .attachment-media-view .attachment-actions {
  663. text-align: center;
  664. }
  665. .edit-attachment-frame .wp-media-wrapper {
  666. margin-bottom: 12px;
  667. }
  668. .edit-attachment-frame input,
  669. .edit-attachment-frame textarea {
  670. padding: 6px 8px;
  671. line-height: 1.14285714;
  672. }
  673. .edit-attachment-frame .attachment-info {
  674. overflow: auto;
  675. box-sizing: border-box;
  676. margin-bottom: 0;
  677. padding: 12px 16px 0;
  678. width: 35%;
  679. height: 100%;
  680. box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
  681. border-bottom: 0;
  682. border-right: 1px solid #dcdcde;
  683. background: #f6f7f7;
  684. }
  685. .edit-attachment-frame .attachment-info .details,
  686. .edit-attachment-frame .attachment-info .settings {
  687. position: relative; /* RTL fix, #WP29352 */
  688. overflow: hidden;
  689. float: none;
  690. margin-bottom: 15px;
  691. padding-bottom: 15px;
  692. border-bottom: 1px solid #dcdcde;
  693. }
  694. .edit-attachment-frame .attachment-info .filename {
  695. font-weight: 400;
  696. color: #646970;
  697. }
  698. .edit-attachment-frame .attachment-info .thumbnail {
  699. margin-bottom: 12px;
  700. }
  701. .attachment-info .actions {
  702. margin-bottom: 16px;
  703. }
  704. .attachment-info .actions a {
  705. display: inline;
  706. text-decoration: none;
  707. }
  708. .copy-to-clipboard-container {
  709. display: flex;
  710. align-items: center;
  711. margin-top: 8px;
  712. clear: both;
  713. }
  714. .copy-to-clipboard-container .copy-attachment-url {
  715. white-space: normal;
  716. }
  717. .copy-to-clipboard-container .success {
  718. color: #008a20;
  719. margin-right: 8px;
  720. }
  721. /*------------------------------------------------------------------------------
  722. 14.2 - Image Editor
  723. ------------------------------------------------------------------------------*/
  724. .wp_attachment_details .attachment-alt-text {
  725. margin-bottom: 5px;
  726. }
  727. .wp_attachment_details .attachment-alt-text-description {
  728. margin-top: 5px;
  729. }
  730. .wp_attachment_details label[for="content"] {
  731. font-size: 13px;
  732. line-height: 1.5;
  733. margin: 1em 0;
  734. }
  735. .wp_attachment_details #attachment_caption {
  736. height: 4em;
  737. }
  738. .describe .image-editor {
  739. vertical-align: top;
  740. }
  741. .imgedit-wrap {
  742. position: relative;
  743. padding-top: 10px;
  744. }
  745. .imgedit-settings p,
  746. .imgedit-settings fieldset {
  747. margin: 8px 0;
  748. }
  749. .imgedit-settings legend {
  750. margin-bottom: 5px;
  751. }
  752. .describe .imgedit-wrap .imgedit-settings {
  753. padding: 0 5px;
  754. }
  755. .wp_attachment_holder div.updated {
  756. margin-top: 0;
  757. }
  758. .wp_attachment_holder .imgedit-wrap > div {
  759. height: auto;
  760. }
  761. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
  762. float: right;
  763. padding: 3px 0 0 16px;
  764. min-width: 400px;
  765. max-width: calc( 100% - 266px );
  766. }
  767. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  768. float: left;
  769. width: 250px;
  770. }
  771. .imgedit-settings input {
  772. margin-top: 0;
  773. vertical-align: middle;
  774. }
  775. .imgedit-wait {
  776. position: absolute;
  777. top: 0;
  778. bottom: 0;
  779. width: 100%;
  780. background: #fff;
  781. opacity: 0.7;
  782. filter: alpha(opacity=70);
  783. display: none;
  784. }
  785. .imgedit-wait:before {
  786. content: "";
  787. display: block;
  788. width: 20px;
  789. height: 20px;
  790. position: absolute;
  791. right: 50%;
  792. top: 50%;
  793. margin: -10px -10px 0 0;
  794. background: transparent url(../images/spinner.gif) no-repeat center;
  795. background-size: 20px 20px;
  796. transform: translateZ(0);
  797. }
  798. .no-float {
  799. float: none;
  800. }
  801. .media-disabled,
  802. .imgedit-settings .disabled {
  803. /* WCAG 1.4.3 Text or images of text that are part of an inactive user
  804. interface component ... have no contrast requirement. */
  805. color: #a7aaad;
  806. }
  807. .A1B1 {
  808. overflow: hidden;
  809. }
  810. .wp_attachment_image .button,
  811. .A1B1 .button {
  812. float: right;
  813. }
  814. .no-js .wp_attachment_image .button {
  815. display: none;
  816. }
  817. .wp_attachment_image .spinner,
  818. .A1B1 .spinner {
  819. float: right;
  820. }
  821. .imgedit-menu {
  822. margin: 0 0 12px;
  823. }
  824. .imgedit-menu .note-no-rotate {
  825. clear: both;
  826. margin: 0;
  827. padding: 1em 0 0;
  828. }
  829. .image-editor .imgedit-menu .button {
  830. display: inline-block;
  831. width: auto;
  832. min-height: 28px;
  833. font-size: 13px;
  834. line-height: 2;
  835. margin: 0 0 8px 8px;
  836. padding: 0 10px;
  837. }
  838. .imgedit-menu .button:before {
  839. font: normal 16px/1 dashicons;
  840. margin-left: 8px;
  841. speak: never;
  842. vertical-align: middle;
  843. position: relative;
  844. top: -2px;
  845. -webkit-font-smoothing: antialiased;
  846. -moz-osx-font-smoothing: grayscale;
  847. }
  848. .imgedit-menu .button.disabled {
  849. color: #a7aaad;
  850. border-color: #dcdcde;
  851. background: #f6f7f7;
  852. box-shadow: none;
  853. text-shadow: 0 1px 0 #fff;
  854. cursor: default;
  855. transform: none;
  856. }
  857. .imgedit-crop:before {
  858. content: "\f165";
  859. }
  860. .imgedit-rleft:before {
  861. content: "\f166";
  862. }
  863. .imgedit-rright:before {
  864. content: "\f167";
  865. }
  866. .imgedit-flipv:before {
  867. content: "\f168";
  868. }
  869. .imgedit-fliph:before {
  870. content: "\f169";
  871. }
  872. .imgedit-undo:before {
  873. content: "\f171";
  874. }
  875. .imgedit-redo:before {
  876. content: "\f172";
  877. }
  878. .imgedit-crop-wrap {
  879. position: relative;
  880. }
  881. .imgedit-crop-wrap img {
  882. 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);
  883. background-position: 100% 0, 10px 10px;
  884. background-size: 20px 20px;
  885. }
  886. .imgedit-crop {
  887. margin: 0 0 0 8px;
  888. }
  889. .imgedit-rleft {
  890. margin: 0 3px;
  891. }
  892. .imgedit-rright {
  893. margin: 0 3px 0 8px;
  894. }
  895. .imgedit-flipv {
  896. margin: 0 3px;
  897. }
  898. .imgedit-fliph {
  899. margin: 0 3px 0 8px;
  900. }
  901. .imgedit-undo {
  902. margin: 0 3px;
  903. }
  904. .imgedit-redo {
  905. margin: 0 3px 0 8px;
  906. }
  907. .imgedit-thumbnail-preview {
  908. margin: 10px 0 0 8px;
  909. }
  910. .imgedit-thumbnail-preview-caption {
  911. display: block;
  912. }
  913. #poststuff .imgedit-group-top h2 {
  914. display: inline-block;
  915. margin: 0;
  916. padding: 0;
  917. font-size: 14px;
  918. line-height: 1.4;
  919. }
  920. #poststuff .imgedit-group-top .button-link {
  921. text-decoration: none;
  922. color: #1d2327;
  923. }
  924. .imgedit-applyto .imgedit-label {
  925. display: block;
  926. padding: .5em 0 0;
  927. }
  928. .imgedit-help {
  929. display: none;
  930. padding-bottom: 8px;
  931. }
  932. .imgedit-help.imgedit-restore {
  933. padding-bottom: 0;
  934. }
  935. /* higher specificity than buttons */
  936. .image-editor .imgedit-settings .imgedit-help-toggle,
  937. .image-editor .imgedit-settings .imgedit-help-toggle:hover,
  938. .image-editor .imgedit-settings .imgedit-help-toggle:active {
  939. border: 1px solid transparent;
  940. margin: -1px -1px 0 0;
  941. padding: 0;
  942. background: transparent;
  943. color: #2271b1;
  944. font-size: 20px;
  945. line-height: 1;
  946. cursor: pointer;
  947. box-sizing: content-box;
  948. box-shadow: none;
  949. }
  950. .image-editor .imgedit-settings .imgedit-help-toggle:focus {
  951. color: #2271b1;
  952. border-color: #4f94d4;
  953. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  954. /* Only visible in Windows High Contrast mode */
  955. outline: 2px solid transparent;
  956. }
  957. .form-table td.imgedit-response {
  958. padding: 0;
  959. }
  960. .imgedit-submit {
  961. margin: 8px 0 0;
  962. }
  963. .imgedit-submit-btn {
  964. margin-right: 20px;
  965. }
  966. .imgedit-wrap .nowrap {
  967. white-space: nowrap;
  968. font-size: 12px;
  969. line-height: inherit;
  970. }
  971. span.imgedit-scale-warn {
  972. color: #d63638;
  973. font-size: 20px;
  974. font-style: normal;
  975. visibility: hidden;
  976. vertical-align: middle;
  977. }
  978. .imgedit-save-target {
  979. margin: 8px 0;
  980. }
  981. .imgedit-save-target legend {
  982. font-weight: 600;
  983. }
  984. .imgedit-group {
  985. margin-bottom: 8px;
  986. padding: 10px;
  987. }
  988. .imgedit-settings .imgedit-original-dimensions {
  989. display: inline-block;
  990. }
  991. .imgedit-settings .imgedit-scale input[type="text"],
  992. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  993. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  994. width: 80px;
  995. font-size: 14px;
  996. padding: 0 8px;
  997. }
  998. .imgedit-separator {
  999. display: inline-block;
  1000. width: 7px;
  1001. text-align: center;
  1002. font-size: 13px;
  1003. color: #3c434a;
  1004. }
  1005. .imgedit-settings .imgedit-scale-button-wrapper {
  1006. margin-top: 0.3077em;
  1007. display: block;
  1008. }
  1009. .imgedit-settings .imgedit-scale .button {
  1010. margin-bottom: 0;
  1011. }
  1012. audio, video {
  1013. display: inline-block;
  1014. max-width: 100%;
  1015. }
  1016. .wp-core-ui .mejs-container {
  1017. width: 100%;
  1018. max-width: 100%;
  1019. }
  1020. .wp-core-ui .mejs-container * {
  1021. box-sizing: border-box;
  1022. }
  1023. .wp-core-ui .mejs-time {
  1024. box-sizing: content-box;
  1025. }
  1026. /* =Media Queries
  1027. -------------------------------------------------------------- */
  1028. /**
  1029. * HiDPI Displays
  1030. */
  1031. @media print,
  1032. (-webkit-min-device-pixel-ratio: 1.25),
  1033. (min-resolution: 120dpi) {
  1034. .imgedit-wait:before {
  1035. background-image: url(../images/spinner-2x.gif);
  1036. }
  1037. }
  1038. @media screen and (max-width: 782px) {
  1039. .wp_attachment_details label[for="content"] {
  1040. font-size: 14px;
  1041. line-height: 1.5;
  1042. }
  1043. .media-upload-form .media-item.error,
  1044. .media-upload-form .media-item .error {
  1045. font-size: 13px;
  1046. line-height: 1.5;
  1047. }
  1048. .media-upload-form .media-item.error {
  1049. padding: 1px 10px;
  1050. }
  1051. .media-upload-form .media-item .error {
  1052. padding: 10px 12px 10px 0;
  1053. }
  1054. .imgedit-settings .imgedit-scale input[type="text"],
  1055. .imgedit-settings .imgedit-crop-ratio input[type="text"],
  1056. .imgedit-settings .imgedit-crop-sel input[type="text"] {
  1057. font-size: 16px;
  1058. padding: 6px 10px;
  1059. }
  1060. .wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
  1061. .wp_attachment_holder .imgedit-wrap .imgedit-settings {
  1062. float: none;
  1063. width: auto;
  1064. max-width: none;
  1065. padding-bottom: 16px;
  1066. }
  1067. .copy-to-clipboard-container .success {
  1068. font-size: 14px;
  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. }