You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1440 lines
26 KiB

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