暫無描述

media.css 25KB

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