media-views.css 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989
  1. /**
  2. * Base Styles
  3. */
  4. .media-modal * {
  5. box-sizing: content-box;
  6. }
  7. .media-modal input,
  8. .media-modal select,
  9. .media-modal textarea {
  10. box-sizing: border-box;
  11. }
  12. .media-modal,
  13. .media-frame {
  14. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  15. font-size: 12px;
  16. -webkit-overflow-scrolling: touch;
  17. }
  18. .media-modal legend {
  19. padding: 0;
  20. font-size: 13px;
  21. }
  22. .media-modal label {
  23. font-size: 13px;
  24. }
  25. .media-modal .legend-inline {
  26. position: absolute;
  27. transform: translate(-100%, 50%);
  28. margin-left: -1%;
  29. line-height: 1.2;
  30. }
  31. .media-frame a {
  32. border-bottom: none;
  33. color: #2271b1;
  34. }
  35. .media-frame a:hover,
  36. .media-frame a:active {
  37. color: #135e96;
  38. }
  39. .media-frame a:focus {
  40. box-shadow:
  41. 0 0 0 1px #4f94d4,
  42. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  43. color: #043959;
  44. /* Only visible in Windows High Contrast mode */
  45. outline: 1px solid transparent;
  46. }
  47. .media-frame a.button {
  48. color: #2c3338;
  49. }
  50. .media-frame a.button:hover {
  51. color: #1d2327;
  52. }
  53. .media-frame a.button-primary,
  54. .media-frame a.button-primary:hover {
  55. color: #fff;
  56. }
  57. .media-frame input,
  58. .media-frame textarea {
  59. padding: 6px 8px;
  60. }
  61. .media-frame select,
  62. .wp-admin .media-frame select {
  63. min-height: 30px;
  64. vertical-align: middle;
  65. }
  66. .media-frame input[type="text"],
  67. .media-frame input[type="password"],
  68. .media-frame input[type="color"],
  69. .media-frame input[type="date"],
  70. .media-frame input[type="datetime"],
  71. .media-frame input[type="datetime-local"],
  72. .media-frame input[type="email"],
  73. .media-frame input[type="month"],
  74. .media-frame input[type="number"],
  75. .media-frame input[type="search"],
  76. .media-frame input[type="tel"],
  77. .media-frame input[type="time"],
  78. .media-frame input[type="url"],
  79. .media-frame input[type="week"],
  80. .media-frame textarea,
  81. .media-frame select {
  82. box-shadow: 0 0 0 transparent;
  83. border-radius: 4px;
  84. border: 1px solid #8c8f94;
  85. background-color: #fff;
  86. color: #2c3338;
  87. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  88. font-size: 13px;
  89. }
  90. .media-frame input[type="text"],
  91. .media-frame input[type="password"],
  92. .media-frame input[type="date"],
  93. .media-frame input[type="datetime"],
  94. .media-frame input[type="datetime-local"],
  95. .media-frame input[type="email"],
  96. .media-frame input[type="month"],
  97. .media-frame input[type="number"],
  98. .media-frame input[type="search"],
  99. .media-frame input[type="tel"],
  100. .media-frame input[type="time"],
  101. .media-frame input[type="url"],
  102. .media-frame input[type="week"] {
  103. padding: 0 8px;
  104. /* inherits font size 13px */
  105. line-height: 2.15384615; /* 28px */
  106. }
  107. /* Search field in the Media Library toolbar */
  108. .media-frame.mode-grid .wp-filter input[type="search"] {
  109. font-size: 14px;
  110. line-height: 2;
  111. }
  112. .media-frame input[type="text"]:focus,
  113. .media-frame input[type="password"]:focus,
  114. .media-frame input[type="number"]:focus,
  115. .media-frame input[type="search"]:focus,
  116. .media-frame input[type="email"]:focus,
  117. .media-frame input[type="url"]:focus,
  118. .media-frame textarea:focus,
  119. .media-frame select:focus {
  120. border-color: #3582c4;
  121. box-shadow: 0 0 0 1px #3582c4;
  122. outline: 2px solid transparent;
  123. }
  124. .media-frame input:disabled,
  125. .media-frame textarea:disabled,
  126. .media-frame input[readonly],
  127. .media-frame textarea[readonly] {
  128. background-color: #f0f0f1;
  129. }
  130. .media-frame input[type="search"] {
  131. -webkit-appearance: textfield;
  132. }
  133. .media-frame ::-webkit-input-placeholder {
  134. color: #646970;
  135. }
  136. .media-frame ::-moz-placeholder {
  137. color: #646970;
  138. opacity: 1;
  139. }
  140. .media-frame :-ms-input-placeholder {
  141. color: #646970;
  142. }
  143. /*
  144. * In some cases there's the need of higher specificity,
  145. * for example higher than `.media-embed .setting`.
  146. */
  147. .media-frame .hidden,
  148. .media-frame .setting.hidden {
  149. display: none;
  150. }
  151. /*!
  152. * jQuery UI Draggable/Sortable 1.11.4
  153. * http://jqueryui.com
  154. *
  155. * Copyright jQuery Foundation and other contributors
  156. * Released under the MIT license.
  157. * http://jquery.org/license
  158. */
  159. .ui-draggable-handle,
  160. .ui-sortable-handle {
  161. touch-action: none;
  162. }
  163. /**
  164. * Modal
  165. */
  166. .media-modal {
  167. position: fixed;
  168. top: 30px;
  169. left: 30px;
  170. right: 30px;
  171. bottom: 30px;
  172. z-index: 160000;
  173. }
  174. .wp-customizer .media-modal {
  175. z-index: 560000;
  176. }
  177. .media-modal-backdrop {
  178. position: fixed;
  179. top: 0;
  180. left: 0;
  181. right: 0;
  182. bottom: 0;
  183. min-height: 360px;
  184. background: #000;
  185. opacity: 0.7;
  186. z-index: 159900;
  187. }
  188. .wp-customizer .media-modal-backdrop {
  189. z-index: 559900;
  190. }
  191. .media-modal-close {
  192. position: absolute;
  193. top: 0;
  194. right: 0;
  195. width: 50px;
  196. height: 50px;
  197. margin: 0;
  198. padding: 0;
  199. border: 1px solid transparent;
  200. background: none;
  201. color: #646970;
  202. z-index: 1000;
  203. cursor: pointer;
  204. outline: none;
  205. transition: color .1s ease-in-out, background .1s ease-in-out;
  206. }
  207. .media-modal-close:hover,
  208. .media-modal-close:active {
  209. color: #135e96;
  210. }
  211. .media-modal-close:focus {
  212. color: #135e96;
  213. border-color: #4f94d4;
  214. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  215. /* Only visible in Windows High Contrast mode */
  216. outline: 2px solid transparent;
  217. }
  218. .media-modal-close span.media-modal-icon {
  219. background-image: none;
  220. }
  221. .media-modal-close .media-modal-icon:before {
  222. content: "\f158";
  223. font: normal 20px/1 dashicons;
  224. speak: never;
  225. vertical-align: middle;
  226. -webkit-font-smoothing: antialiased;
  227. -moz-osx-font-smoothing: grayscale;
  228. }
  229. .media-modal-content {
  230. position: absolute;
  231. top: 0;
  232. left: 0;
  233. right: 0;
  234. bottom: 0;
  235. overflow: auto;
  236. min-height: 300px;
  237. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
  238. background: #fff;
  239. -webkit-font-smoothing: subpixel-antialiased;
  240. }
  241. .media-modal-content .media-frame select.attachment-filters {
  242. margin-top: 32px;
  243. margin-right: 2%;
  244. width: 42%;
  245. width: calc(48% - 12px);
  246. }
  247. .media-modal-content .attachments-browser .search {
  248. width: 100%;
  249. }
  250. /* higher specificity */
  251. .wp-core-ui .media-modal-icon {
  252. background-image: url(../images/uploader-icons.png);
  253. background-repeat: no-repeat;
  254. }
  255. /**
  256. * Toolbar
  257. */
  258. .media-toolbar {
  259. position: absolute;
  260. top: 0;
  261. left: 0;
  262. right: 0;
  263. z-index: 100;
  264. height: 60px;
  265. padding: 0 16px;
  266. border: 0 solid #dcdcde;
  267. overflow: hidden;
  268. }
  269. .media-frame-toolbar .media-toolbar {
  270. top: auto;
  271. bottom: -47px;
  272. height: auto;
  273. overflow: visible;
  274. border-top: 1px solid #dcdcde;
  275. }
  276. .media-toolbar-primary {
  277. float: right;
  278. height: 100%;
  279. position: relative;
  280. }
  281. .media-toolbar-secondary {
  282. float: left;
  283. height: 100%;
  284. }
  285. .media-toolbar-primary > .media-button,
  286. .media-toolbar-primary > .media-button-group {
  287. margin-left: 10px;
  288. float: left;
  289. margin-top: 15px;
  290. }
  291. .media-toolbar-secondary > .media-button,
  292. .media-toolbar-secondary > .media-button-group {
  293. margin-right: 10px;
  294. margin-top: 15px;
  295. }
  296. /**
  297. * Sidebar
  298. */
  299. .media-sidebar {
  300. position: absolute;
  301. top: 0;
  302. right: 0;
  303. bottom: 0;
  304. width: 267px;
  305. padding: 0 16px;
  306. z-index: 75;
  307. background: #f6f7f7;
  308. border-left: 1px solid #dcdcde;
  309. overflow: auto;
  310. -webkit-overflow-scrolling: touch;
  311. }
  312. /*
  313. * Implementation of bottom padding in overflow content differs across browsers.
  314. * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129
  315. */
  316. .media-sidebar::after {
  317. content: "";
  318. display: flex;
  319. clear: both;
  320. height: 24px;
  321. }
  322. .hide-toolbar .media-sidebar {
  323. bottom: 0;
  324. }
  325. .media-sidebar h2,
  326. .image-details h2:not(.media-attachments-filter-heading) {
  327. position: relative;
  328. font-weight: 600;
  329. text-transform: uppercase;
  330. font-size: 12px;
  331. color: #646970;
  332. margin: 24px 0 8px;
  333. }
  334. .media-sidebar .setting,
  335. .attachment-details .setting {
  336. display: block;
  337. float: left;
  338. width: 100%;
  339. margin: 0 0 10px;
  340. }
  341. .media-sidebar .collection-settings .setting {
  342. margin: 1px 0;
  343. }
  344. .media-sidebar .setting.has-description,
  345. .attachment-details .setting.has-description {
  346. margin-bottom: 5px;
  347. }
  348. .media-sidebar .setting .link-to-custom {
  349. margin: 3px 2px 0;
  350. }
  351. .media-sidebar .setting span, /* Back-compat for pre-5.3 */
  352. .attachment-details .setting span, /* Back-compat for pre-5.3 */
  353. .media-sidebar .setting .name,
  354. .media-sidebar .setting .value,
  355. .attachment-details .setting .name {
  356. min-width: 30%;
  357. margin-right: 4%;
  358. font-size: 12px;
  359. text-align: right;
  360. word-wrap: break-word;
  361. }
  362. .media-sidebar .setting .name {
  363. max-width: 80px;
  364. }
  365. .media-sidebar .setting .value {
  366. text-align: left;
  367. }
  368. .media-sidebar .setting select {
  369. max-width: 65%;
  370. }
  371. .media-sidebar .setting input[type="checkbox"],
  372. .media-sidebar .field input[type="checkbox"],
  373. .media-sidebar .setting input[type="radio"],
  374. .media-sidebar .field input[type="radio"],
  375. .attachment-details .setting input[type="checkbox"],
  376. .attachment-details .field input[type="checkbox"],
  377. .attachment-details .setting input[type="radio"],
  378. .attachment-details .field input[type="radio"] {
  379. float: none;
  380. margin: 8px 3px 0;
  381. padding: 0;
  382. }
  383. .media-sidebar .setting span, /* Back-compat for pre-5.3 */
  384. .attachment-details .setting span, /* Back-compat for pre-5.3 */
  385. .media-sidebar .setting .name,
  386. .media-sidebar .setting .value,
  387. .media-sidebar .checkbox-label-inline,
  388. .attachment-details .setting .name,
  389. .attachment-details .setting .value,
  390. .compat-item label span {
  391. float: left;
  392. min-height: 22px;
  393. padding-top: 8px;
  394. line-height: 1.33333333;
  395. font-weight: 400;
  396. color: #646970;
  397. }
  398. .media-sidebar .checkbox-label-inline {
  399. font-size: 12px;
  400. }
  401. .media-sidebar .copy-to-clipboard-container,
  402. .attachment-details .copy-to-clipboard-container {
  403. flex-wrap: wrap;
  404. margin-top: 10px;
  405. margin-left: calc( 35% - 1px );
  406. padding-top: 10px;
  407. }
  408. /* Needs high specificity. */
  409. .attachment-details .attachment-info .copy-to-clipboard-container {
  410. float: none;
  411. }
  412. .media-sidebar .copy-to-clipboard-container .success,
  413. .attachment-details .copy-to-clipboard-container .success {
  414. padding: 0;
  415. min-height: 0;
  416. line-height: 2.18181818;
  417. text-align: left;
  418. color: #008a20;
  419. }
  420. .compat-item label span {
  421. text-align: right;
  422. }
  423. .media-sidebar .setting input[type="text"],
  424. .media-sidebar .setting input[type="password"],
  425. .media-sidebar .setting input[type="email"],
  426. .media-sidebar .setting input[type="number"],
  427. .media-sidebar .setting input[type="search"],
  428. .media-sidebar .setting input[type="tel"],
  429. .media-sidebar .setting input[type="url"],
  430. .media-sidebar .setting textarea,
  431. .media-sidebar .setting .value,
  432. .attachment-details .setting input[type="text"],
  433. .attachment-details .setting input[type="password"],
  434. .attachment-details .setting input[type="email"],
  435. .attachment-details .setting input[type="number"],
  436. .attachment-details .setting input[type="search"],
  437. .attachment-details .setting input[type="tel"],
  438. .attachment-details .setting input[type="url"],
  439. .attachment-details .setting textarea,
  440. .attachment-details .setting .value,
  441. .attachment-details .setting + .description {
  442. box-sizing: border-box;
  443. margin: 1px;
  444. width: 65%;
  445. float: right;
  446. }
  447. .media-sidebar .setting .value,
  448. .attachment-details .setting .value,
  449. .attachment-details .setting + .description {
  450. margin: 0 1px;
  451. text-align: left;
  452. }
  453. .attachment-details .setting + .description {
  454. clear: both;
  455. font-size: 12px;
  456. font-style: normal;
  457. margin-bottom: 10px;
  458. }
  459. .media-sidebar .setting textarea,
  460. .attachment-details .setting textarea,
  461. .compat-item .field textarea {
  462. height: 62px;
  463. resize: vertical;
  464. }
  465. .compat-item {
  466. float: left;
  467. width: 100%;
  468. overflow: hidden;
  469. }
  470. .compat-item table {
  471. width: 100%;
  472. table-layout: fixed;
  473. border-spacing: 0;
  474. border: 0;
  475. }
  476. .compat-item tr {
  477. padding: 2px 0;
  478. display: block;
  479. overflow: hidden;
  480. }
  481. .compat-item .label,
  482. .compat-item .field {
  483. display: block;
  484. margin: 0;
  485. padding: 0;
  486. }
  487. .compat-item .label {
  488. min-width: 30%;
  489. margin-right: 4%;
  490. float: left;
  491. text-align: right;
  492. }
  493. .compat-item .label span {
  494. display: block;
  495. width: 100%;
  496. }
  497. .compat-item .field {
  498. float: right;
  499. width: 65%;
  500. margin: 1px;
  501. }
  502. .compat-item .field input[type="text"],
  503. .compat-item .field input[type="password"],
  504. .compat-item .field input[type="email"],
  505. .compat-item .field input[type="number"],
  506. .compat-item .field input[type="search"],
  507. .compat-item .field input[type="tel"],
  508. .compat-item .field input[type="url"],
  509. .compat-item .field textarea {
  510. width: 100%;
  511. margin: 0;
  512. box-sizing: border-box;
  513. }
  514. .sidebar-for-errors .attachment-details,
  515. .sidebar-for-errors .compat-item,
  516. .sidebar-for-errors .media-sidebar .media-progress-bar,
  517. .sidebar-for-errors .upload-details {
  518. display: none !important;
  519. }
  520. /**
  521. * Menu
  522. */
  523. .media-menu {
  524. position: absolute;
  525. top: 0;
  526. left: 0;
  527. right: 0;
  528. bottom: 0;
  529. margin: 0;
  530. padding: 50px 0 10px;
  531. background: #f6f7f7;
  532. border-right-width: 1px;
  533. border-right-style: solid;
  534. border-right-color: #c3c4c7;
  535. -webkit-user-select: none;
  536. user-select: none;
  537. }
  538. .media-menu .media-menu-item {
  539. display: block;
  540. box-sizing: border-box;
  541. width: 100%;
  542. position: relative;
  543. border: 0;
  544. margin: 0;
  545. padding: 8px 20px;
  546. font-size: 14px;
  547. line-height: 1.28571428;
  548. background: transparent;
  549. color: #2271b1;
  550. text-align: left;
  551. text-decoration: none;
  552. cursor: pointer;
  553. }
  554. .media-menu .media-menu-item:hover {
  555. background: rgba(0, 0, 0, 0.04);
  556. }
  557. .media-menu .media-menu-item:active {
  558. color: #2271b1;
  559. outline: none;
  560. }
  561. .media-menu .active,
  562. .media-menu .active:hover {
  563. color: #1d2327;
  564. font-weight: 600;
  565. }
  566. .media-menu .media-menu-item:focus {
  567. box-shadow:
  568. 0 0 0 1px #4f94d4,
  569. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  570. color: #043959;
  571. /* Only visible in Windows High Contrast mode */
  572. outline: 1px solid transparent;
  573. }
  574. .media-menu .separator {
  575. height: 0;
  576. margin: 12px 20px;
  577. padding: 0;
  578. border-top: 1px solid #dcdcde;
  579. }
  580. /**
  581. * Menu
  582. */
  583. .media-router {
  584. position: relative;
  585. padding: 0 6px;
  586. margin: 0;
  587. clear: both;
  588. }
  589. .media-router .media-menu-item {
  590. position: relative;
  591. float: left;
  592. border: 0;
  593. margin: 0;
  594. padding: 8px 10px 9px;
  595. height: 18px;
  596. line-height: 1.28571428;
  597. font-size: 14px;
  598. text-decoration: none;
  599. background: transparent;
  600. cursor: pointer;
  601. transition: none;
  602. }
  603. .media-router .media-menu-item:last-child {
  604. border-right: 0;
  605. }
  606. .media-router .media-menu-item:hover,
  607. .media-router .media-menu-item:active {
  608. color: #2271b1;
  609. }
  610. .media-router .active,
  611. .media-router .active:hover {
  612. color: #1d2327;
  613. }
  614. .media-router .media-menu-item:focus {
  615. box-shadow:
  616. 0 0 0 1px #4f94d4,
  617. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  618. color: #043959;
  619. /* Only visible in Windows High Contrast mode */
  620. outline: 1px solid transparent;
  621. }
  622. .media-router .active,
  623. .media-router .media-menu-item.active:last-child {
  624. margin: -1px -1px 0;
  625. background: #fff;
  626. border: 1px solid #dcdcde;
  627. border-bottom: none;
  628. }
  629. .media-router .active:after {
  630. display: none;
  631. }
  632. /**
  633. * Frame
  634. */
  635. .media-frame {
  636. overflow: hidden;
  637. position: absolute;
  638. top: 0;
  639. left: 0;
  640. right: 0;
  641. bottom: 0;
  642. }
  643. .media-frame-menu {
  644. position: absolute;
  645. top: 0;
  646. left: 0;
  647. bottom: 0;
  648. width: 200px;
  649. z-index: 150;
  650. }
  651. .media-frame-title {
  652. position: absolute;
  653. top: 0;
  654. left: 200px;
  655. right: 0;
  656. height: 50px;
  657. z-index: 200;
  658. }
  659. .media-frame-router {
  660. position: absolute;
  661. top: 50px;
  662. left: 200px;
  663. right: 0;
  664. height: 36px;
  665. z-index: 200;
  666. }
  667. .media-frame-content {
  668. position: absolute;
  669. top: 84px;
  670. left: 200px;
  671. right: 0;
  672. bottom: 61px;
  673. height: auto;
  674. width: auto;
  675. margin: 0;
  676. overflow: auto;
  677. background: #fff;
  678. border-top: 1px solid #dcdcde;
  679. }
  680. .media-frame-toolbar {
  681. position: absolute;
  682. left: 200px;
  683. right: 0;
  684. z-index: 100;
  685. bottom: 60px;
  686. height: auto;
  687. }
  688. .media-frame.hide-menu .media-frame-title,
  689. .media-frame.hide-menu .media-frame-router,
  690. .media-frame.hide-menu .media-frame-toolbar,
  691. .media-frame.hide-menu .media-frame-content {
  692. left: 0;
  693. }
  694. .media-frame.hide-toolbar .media-frame-content {
  695. bottom: 0;
  696. }
  697. .media-frame.hide-router .media-frame-content {
  698. top: 50px;
  699. }
  700. .media-frame.hide-menu .media-frame-menu,
  701. .media-frame.hide-menu .media-frame-menu-heading,
  702. .media-frame.hide-router .media-frame-router,
  703. .media-frame.hide-toolbar .media-frame-toolbar {
  704. display: none;
  705. }
  706. .media-frame-title h1 {
  707. padding: 0 16px;
  708. font-size: 22px;
  709. line-height: 2.27272727;
  710. margin: 0;
  711. }
  712. .media-frame-menu-heading,
  713. .media-attachments-filter-heading {
  714. position: absolute;
  715. left: 20px;
  716. top: 22px;
  717. margin: 0;
  718. font-size: 13px;
  719. line-height: 1;
  720. /* Above the media-frame-menu. */
  721. z-index: 151;
  722. }
  723. .media-attachments-filter-heading {
  724. top: 10px;
  725. left: 16px;
  726. }
  727. .mode-grid .media-attachments-filter-heading {
  728. top: 0;
  729. left: -9999px;
  730. }
  731. .mode-grid .media-frame-actions-heading {
  732. display: none;
  733. }
  734. .wp-core-ui .button.media-frame-menu-toggle {
  735. display: none;
  736. }
  737. .media-frame-title .suggested-dimensions {
  738. font-size: 14px;
  739. float: right;
  740. margin-right: 20px;
  741. }
  742. .media-frame-content .crop-content {
  743. height: 100%;
  744. }
  745. .wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon {
  746. margin-right: 300px;
  747. }
  748. .media-frame-content .crop-content .crop-image {
  749. display: block;
  750. margin: auto;
  751. max-width: 100%;
  752. max-height: 100%;
  753. }
  754. .media-frame-content .crop-content .upload-errors {
  755. position: absolute;
  756. width: 300px;
  757. top: 50%;
  758. left: 50%;
  759. margin-left: -150px;
  760. margin-right: -150px;
  761. z-index: 600000;
  762. }
  763. /**
  764. * Iframes
  765. */
  766. .media-frame .media-iframe {
  767. overflow: hidden;
  768. }
  769. .media-frame .media-iframe,
  770. .media-frame .media-iframe iframe {
  771. height: 100%;
  772. width: 100%;
  773. border: 0;
  774. }
  775. /**
  776. * Attachment Browser Filters
  777. */
  778. .media-frame select.attachment-filters {
  779. margin-top: 11px;
  780. margin-right: 2%;
  781. max-width: 42%;
  782. max-width: calc(48% - 12px);
  783. }
  784. .media-frame select.attachment-filters:last-of-type {
  785. margin-right: 0;
  786. width: auto;
  787. max-width: 100%;
  788. }
  789. /**
  790. * Search
  791. */
  792. .media-frame .search {
  793. margin: 32px 0 0;
  794. padding: 4px;
  795. font-size: 13px;
  796. color: #3c434a;
  797. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  798. -webkit-appearance: none;
  799. }
  800. .media-toolbar-primary .search {
  801. max-width: 100%;
  802. }
  803. .media-frame .media-search-input-label {
  804. position: absolute;
  805. left: 0;
  806. top: 10px;
  807. margin: 0;
  808. line-height: 1;
  809. }
  810. /**
  811. * Attachments
  812. */
  813. .wp-core-ui .attachments {
  814. margin: 0;
  815. -webkit-overflow-scrolling: touch;
  816. }
  817. /**
  818. * Attachment
  819. */
  820. .wp-core-ui .attachment {
  821. position: relative;
  822. float: left;
  823. padding: 8px;
  824. margin: 0;
  825. color: #3c434a;
  826. cursor: pointer;
  827. list-style: none;
  828. text-align: center;
  829. -webkit-user-select: none;
  830. user-select: none;
  831. width: 25%;
  832. box-sizing: border-box;
  833. }
  834. .wp-core-ui .attachment:focus,
  835. .wp-core-ui .selected.attachment:focus,
  836. .wp-core-ui .attachment.details:focus {
  837. box-shadow:
  838. inset 0 0 2px 3px #fff,
  839. inset 0 0 0 7px #4f94d4;
  840. /* Only visible in Windows High Contrast mode */
  841. outline: 2px solid transparent;
  842. outline-offset: -6px;
  843. }
  844. .wp-core-ui .selected.attachment {
  845. box-shadow:
  846. inset 0 0 0 5px #fff,
  847. inset 0 0 0 7px #c3c4c7;
  848. }
  849. .wp-core-ui .attachment.details {
  850. box-shadow:
  851. inset 0 0 0 3px #fff,
  852. inset 0 0 0 7px #2271b1;
  853. }
  854. .wp-core-ui .attachment-preview {
  855. position: relative;
  856. box-shadow:
  857. inset 0 0 15px rgba(0, 0, 0, 0.1),
  858. inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  859. background: #f0f0f1;
  860. cursor: pointer;
  861. }
  862. .wp-core-ui .attachment-preview:before {
  863. content: "";
  864. display: block;
  865. padding-top: 100%;
  866. }
  867. .wp-core-ui .attachment .icon {
  868. margin: 0 auto;
  869. overflow: hidden;
  870. }
  871. .wp-core-ui .attachment .thumbnail {
  872. overflow: hidden;
  873. position: absolute;
  874. top: 0;
  875. right: 0;
  876. bottom: 0;
  877. left: 0;
  878. opacity: 1;
  879. transition: opacity .1s;
  880. }
  881. .wp-core-ui .attachment .portrait img {
  882. max-width: 100%;
  883. }
  884. .wp-core-ui .attachment .landscape img {
  885. max-height: 100%;
  886. }
  887. .wp-core-ui .attachment .thumbnail:after {
  888. content: "";
  889. display: block;
  890. position: absolute;
  891. top: 0;
  892. left: 0;
  893. right: 0;
  894. bottom: 0;
  895. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  896. overflow: hidden;
  897. }
  898. .wp-core-ui .attachment .thumbnail img {
  899. top: 0;
  900. left: 0;
  901. }
  902. .wp-core-ui .attachment .thumbnail .centered {
  903. position: absolute;
  904. top: 0;
  905. left: 0;
  906. width: 100%;
  907. height: 100%;
  908. transform: translate( 50%, 50% );
  909. }
  910. .wp-core-ui .attachment .thumbnail .centered img {
  911. transform: translate( -50%, -50% );
  912. }
  913. .wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
  914. transform: translate( -50%, -70% );
  915. }
  916. .wp-core-ui .attachment .filename {
  917. position: absolute;
  918. left: 0;
  919. right: 0;
  920. bottom: 0;
  921. overflow: hidden;
  922. max-height: 100%;
  923. word-wrap: break-word;
  924. text-align: center;
  925. font-weight: 600;
  926. background: rgba(255, 255, 255, 0.8);
  927. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  928. }
  929. .wp-core-ui .attachment .filename div {
  930. padding: 5px 10px;
  931. }
  932. .wp-core-ui .attachment .thumbnail img {
  933. position: absolute;
  934. }
  935. .wp-core-ui .attachment-close {
  936. display: block;
  937. position: absolute;
  938. top: 5px;
  939. right: 5px;
  940. height: 22px;
  941. width: 22px;
  942. padding: 0;
  943. background-color: #fff;
  944. background-position: -96px 4px;
  945. border-radius: 3px;
  946. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  947. transition: none;
  948. }
  949. .wp-core-ui .attachment-close:hover,
  950. .wp-core-ui .attachment-close:focus {
  951. background-position: -36px 4px;
  952. }
  953. .wp-core-ui .attachment .check {
  954. display: none;
  955. height: 24px;
  956. width: 24px;
  957. padding: 0;
  958. border: 0;
  959. position: absolute;
  960. z-index: 10;
  961. top: 0;
  962. right: 0;
  963. outline: none;
  964. background: #f0f0f1;
  965. cursor: pointer;
  966. box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15);
  967. }
  968. .wp-core-ui .attachment .check .media-modal-icon {
  969. display: block;
  970. background-position: -1px 0;
  971. height: 15px;
  972. width: 15px;
  973. margin: 5px;
  974. }
  975. .wp-core-ui .attachment .check:hover .media-modal-icon {
  976. background-position: -40px 0;
  977. }
  978. .wp-core-ui .attachment.selected .check {
  979. display: block;
  980. }
  981. .wp-core-ui .attachment.details .check,
  982. .wp-core-ui .attachment.selected .check:focus,
  983. .wp-core-ui .media-frame.mode-grid .attachment.selected .check {
  984. background-color: #2271b1;
  985. box-shadow:
  986. 0 0 0 1px #fff,
  987. 0 0 0 2px #2271b1;
  988. }
  989. .wp-core-ui .attachment.selected .check:focus {
  990. /* Only visible in Windows High Contrast mode */
  991. outline: 2px solid transparent;
  992. }
  993. .wp-core-ui .attachment.details .check .media-modal-icon,
  994. .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon {
  995. background-position: -21px 0;
  996. }
  997. .wp-core-ui .attachment.details .check:hover .media-modal-icon,
  998. .wp-core-ui .attachment.selected .check:focus .media-modal-icon,
  999. .wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon {
  1000. background-position: -60px 0;
  1001. }
  1002. .wp-core-ui .media-frame .attachment .describe {
  1003. position: relative;
  1004. display: block;
  1005. width: 100%;
  1006. margin: 0;
  1007. padding: 0 8px;
  1008. font-size: 12px;
  1009. border-radius: 0;
  1010. }
  1011. /**
  1012. * Attachments Browser
  1013. */
  1014. .media-frame .attachments-browser {
  1015. position: relative;
  1016. width: 100%;
  1017. height: 100%;
  1018. overflow: hidden;
  1019. }
  1020. .attachments-browser .media-toolbar {
  1021. right: 300px;
  1022. height: 72px;
  1023. background: #fff;
  1024. }
  1025. .attachments-browser.hide-sidebar .media-toolbar {
  1026. right: 0;
  1027. }
  1028. .attachments-browser .media-toolbar-primary > .media-button,
  1029. .attachments-browser .media-toolbar-primary > .media-button-group,
  1030. .attachments-browser .media-toolbar-secondary > .media-button,
  1031. .attachments-browser .media-toolbar-secondary > .media-button-group {
  1032. margin: 10px 0;
  1033. }
  1034. .attachments-browser .attachments {
  1035. padding: 2px 8px 8px;
  1036. }
  1037. .attachments-browser:not(.has-load-more) .attachments,
  1038. .attachments-browser.has-load-more .attachments-wrapper,
  1039. .attachments-browser .uploader-inline {
  1040. position: absolute;
  1041. top: 72px;
  1042. left: 0;
  1043. right: 300px;
  1044. bottom: 0;
  1045. overflow: auto;
  1046. outline: none;
  1047. }
  1048. .attachments-browser .uploader-inline.hidden {
  1049. display: none;
  1050. }
  1051. .attachments-browser .media-toolbar-primary {
  1052. max-width: 33%;
  1053. }
  1054. .mode-grid .attachments-browser .media-toolbar-primary {
  1055. display: flex;
  1056. align-items: center;
  1057. }
  1058. .mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary {
  1059. display: none;
  1060. }
  1061. .attachments-browser .media-toolbar-secondary {
  1062. max-width: 66%;
  1063. }
  1064. .uploader-inline .close {
  1065. background-color: transparent;
  1066. border: 0;
  1067. cursor: pointer;
  1068. height: 48px;
  1069. outline: none;
  1070. padding: 0;
  1071. position: absolute;
  1072. right: 2px;
  1073. text-align: center;
  1074. top: 2px;
  1075. width: 48px;
  1076. z-index: 1;
  1077. }
  1078. .uploader-inline .close:before {
  1079. font: normal 30px/1 dashicons !important;
  1080. color: #50575e;
  1081. display: inline-block;
  1082. content: "\f335";
  1083. font-weight: 300;
  1084. margin-top: 1px;
  1085. }
  1086. .uploader-inline .close:focus {
  1087. outline: 1px solid #4f94d4;
  1088. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  1089. }
  1090. .attachments-browser.hide-sidebar .attachments,
  1091. .attachments-browser.hide-sidebar .uploader-inline {
  1092. right: 0;
  1093. margin-right: 0;
  1094. }
  1095. .attachments-browser .instructions {
  1096. display: inline-block;
  1097. margin-top: 16px;
  1098. line-height: 1.38461538;
  1099. font-size: 13px;
  1100. color: #646970;
  1101. }
  1102. .attachments-browser .no-media {
  1103. padding: 2em 0 0 2em;
  1104. }
  1105. .more-loaded .attachment:not(.found-media) {
  1106. background: #dcdcde;
  1107. }
  1108. .load-more-wrapper {
  1109. clear: both;
  1110. display: flex;
  1111. flex-wrap: wrap;
  1112. align-items: center;
  1113. justify-content: center;
  1114. padding: 1em 0;
  1115. }
  1116. .load-more-wrapper .load-more-count {
  1117. min-width: 100%;
  1118. margin: 0 0 1em;
  1119. text-align: center;
  1120. }
  1121. .load-more-wrapper .load-more {
  1122. margin: 0;
  1123. }
  1124. /* Needs high specificity. */
  1125. .media-frame .load-more-wrapper .load-more + .spinner {
  1126. float: none;
  1127. margin: 0 -30px 0 10px;
  1128. }
  1129. /* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */
  1130. .media-frame .load-more-wrapper .load-more.hidden + .spinner {
  1131. margin: 0;
  1132. }
  1133. /* Force a new row within the flex container. */
  1134. .load-more-wrapper::after {
  1135. content: "";
  1136. min-width: 100%;
  1137. order: 1;
  1138. }
  1139. .load-more-wrapper .load-more-jump {
  1140. margin: 0 0 0 12px;
  1141. }
  1142. .attachment.new-media {
  1143. outline: 2px dotted #c3c4c7;
  1144. }
  1145. .load-more-wrapper {
  1146. clear: both;
  1147. display: flex;
  1148. flex-wrap: wrap;
  1149. align-items: center;
  1150. justify-content: center;
  1151. padding: 1em 0;
  1152. }
  1153. .load-more-wrapper .load-more-count {
  1154. min-width: 100%;
  1155. margin: 0 0 1em;
  1156. text-align: center;
  1157. }
  1158. .load-more-wrapper .load-more {
  1159. margin: 0;
  1160. }
  1161. /* Needs high specificity. */
  1162. .media-frame .load-more-wrapper .load-more + .spinner {
  1163. float: none;
  1164. margin: 0 -30px 0 10px;
  1165. }
  1166. /* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */
  1167. .media-frame .load-more-wrapper .load-more.hidden + .spinner {
  1168. margin: 0;
  1169. }
  1170. /* Force a new row within the flex container. */
  1171. .load-more-wrapper::after {
  1172. content: "";
  1173. min-width: 100%;
  1174. order: 1;
  1175. }
  1176. .load-more-wrapper .load-more-jump {
  1177. margin: 0 0 0 12px;
  1178. }
  1179. /**
  1180. * Progress Bar
  1181. */
  1182. .media-progress-bar {
  1183. position: relative;
  1184. height: 10px;
  1185. width: 70%;
  1186. margin: 10px auto;
  1187. border-radius: 10px;
  1188. background: #dcdcde;
  1189. background: rgba(0, 0, 0, 0.1);
  1190. }
  1191. .media-progress-bar div {
  1192. height: 10px;
  1193. min-width: 20px;
  1194. width: 0;
  1195. background: #2271b1;
  1196. border-radius: 10px;
  1197. transition: width 300ms;
  1198. }
  1199. .media-uploader-status .media-progress-bar {
  1200. display: none;
  1201. width: 100%;
  1202. }
  1203. .uploading.media-uploader-status .media-progress-bar {
  1204. display: block;
  1205. }
  1206. .attachment-preview .media-progress-bar {
  1207. position: absolute;
  1208. top: 50%;
  1209. left: 15%;
  1210. width: 70%;
  1211. margin: -5px 0 0;
  1212. }
  1213. .media-uploader-status {
  1214. position: relative;
  1215. margin: 0 auto;
  1216. padding-bottom: 10px;
  1217. max-width: 400px;
  1218. }
  1219. .uploader-inline .media-uploader-status h2 {
  1220. display: none;
  1221. }
  1222. .media-uploader-status .upload-details {
  1223. display: none;
  1224. font-size: 12px;
  1225. color: #646970;
  1226. }
  1227. .uploading.media-uploader-status .upload-details {
  1228. display: block;
  1229. }
  1230. .media-uploader-status .upload-detail-separator {
  1231. padding: 0 4px;
  1232. }
  1233. .media-uploader-status .upload-count {
  1234. color: #3c434a;
  1235. }
  1236. .media-uploader-status .upload-dismiss-errors,
  1237. .media-uploader-status .upload-errors {
  1238. display: none;
  1239. }
  1240. .errors.media-uploader-status .upload-dismiss-errors,
  1241. .errors.media-uploader-status .upload-errors {
  1242. display: block;
  1243. }
  1244. .media-uploader-status .upload-dismiss-errors {
  1245. transition: none;
  1246. text-decoration: none;
  1247. }
  1248. .upload-errors .upload-error {
  1249. padding: 12px;
  1250. margin-bottom: 12px;
  1251. background: #fff;
  1252. border-left: 4px solid #d63638;
  1253. box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  1254. }
  1255. .uploader-inline .upload-errors .upload-error {
  1256. padding: 12px 30px;
  1257. background-color: #fcf0f1;
  1258. box-shadow: none;
  1259. }
  1260. .upload-errors .upload-error-filename {
  1261. font-weight: 600;
  1262. }
  1263. .upload-errors .upload-error-message {
  1264. display: block;
  1265. padding-top: 8px;
  1266. word-wrap: break-word;
  1267. }
  1268. /**
  1269. * Window and Editor uploaders used to display "drop zones"
  1270. */
  1271. .uploader-window,
  1272. .wp-editor-wrap .uploader-editor {
  1273. top: 0;
  1274. left: 0;
  1275. right: 0;
  1276. bottom: 0;
  1277. text-align: center;
  1278. display: none;
  1279. }
  1280. .uploader-window {
  1281. position: fixed;
  1282. z-index: 250000;
  1283. opacity: 0; /* Only the inline uploader is animated with JS, the editor one isn't */
  1284. transition: opacity 250ms;
  1285. }
  1286. .wp-editor-wrap .uploader-editor {
  1287. position: absolute;
  1288. z-index: 99998; /* under the toolbar */
  1289. background: rgba(140, 143, 148, 0.9);
  1290. }
  1291. .uploader-window,
  1292. .wp-editor-wrap .uploader-editor.droppable {
  1293. background: rgba(10, 75, 120, 0.9);
  1294. }
  1295. .uploader-window-content,
  1296. .wp-editor-wrap .uploader-editor-content {
  1297. position: absolute;
  1298. top: 10px;
  1299. left: 10px;
  1300. right: 10px;
  1301. bottom: 10px;
  1302. border: 1px dashed #fff;
  1303. }
  1304. /* uploader drop-zone title */
  1305. .uploader-window h1, /* Back-compat for pre-5.3 */
  1306. .uploader-window .uploader-editor-title,
  1307. .wp-editor-wrap .uploader-editor .uploader-editor-title {
  1308. position: absolute;
  1309. top: 50%;
  1310. left: 0;
  1311. right: 0;
  1312. transform: translateY(-50%);
  1313. font-size: 3em;
  1314. line-height: 1.3;
  1315. font-weight: 600;
  1316. color: #fff;
  1317. margin: 0;
  1318. padding: 0 10px;
  1319. }
  1320. .wp-editor-wrap .uploader-editor .uploader-editor-title {
  1321. display: none;
  1322. }
  1323. .wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
  1324. display: block;
  1325. }
  1326. .uploader-window .media-progress-bar {
  1327. margin-top: 20px;
  1328. max-width: 300px;
  1329. background: transparent;
  1330. border-color: #fff;
  1331. display: none;
  1332. }
  1333. .uploader-window .media-progress-bar div {
  1334. background: #fff;
  1335. }
  1336. .uploading .uploader-window .media-progress-bar {
  1337. display: block;
  1338. }
  1339. .media-frame .uploader-inline {
  1340. margin-bottom: 20px;
  1341. padding: 0;
  1342. text-align: center;
  1343. }
  1344. .uploader-inline-content {
  1345. position: absolute;
  1346. top: 30%;
  1347. left: 0;
  1348. right: 0;
  1349. }
  1350. .uploader-inline-content .upload-ui {
  1351. margin: 2em 0;
  1352. }
  1353. .uploader-inline-content .post-upload-ui {
  1354. margin-bottom: 2em;
  1355. }
  1356. .uploader-inline .has-upload-message .upload-ui {
  1357. margin: 0 0 4em;
  1358. }
  1359. .uploader-inline h2 {
  1360. font-size: 20px;
  1361. line-height: 1.4;
  1362. font-weight: 400;
  1363. margin: 0;
  1364. }
  1365. .uploader-inline .has-upload-message .upload-instructions {
  1366. font-size: 14px;
  1367. color: #3c434a;
  1368. font-weight: 400;
  1369. }
  1370. .uploader-inline .drop-instructions {
  1371. display: none;
  1372. }
  1373. .supports-drag-drop .uploader-inline .drop-instructions {
  1374. display: block;
  1375. }
  1376. .uploader-inline p {
  1377. margin: 0.5em 0;
  1378. }
  1379. .uploader-inline .media-progress-bar {
  1380. display: none;
  1381. }
  1382. .uploading.uploader-inline .media-progress-bar {
  1383. display: block;
  1384. }
  1385. .uploader-inline .browser {
  1386. display: inline-block !important;
  1387. }
  1388. /**
  1389. * Selection
  1390. */
  1391. .media-selection {
  1392. position: absolute;
  1393. top: 0;
  1394. left: 0;
  1395. right: 350px;
  1396. height: 60px;
  1397. padding: 0 0 0 16px;
  1398. overflow: hidden;
  1399. white-space: nowrap;
  1400. }
  1401. .media-selection .selection-info {
  1402. display: inline-block;
  1403. font-size: 12px;
  1404. height: 60px;
  1405. margin-right: 10px;
  1406. vertical-align: top;
  1407. }
  1408. .media-selection.empty,
  1409. .media-selection.editing {
  1410. display: none;
  1411. }
  1412. .media-selection.one .edit-selection {
  1413. display: none;
  1414. }
  1415. .media-selection .count {
  1416. display: block;
  1417. padding-top: 12px;
  1418. font-size: 14px;
  1419. line-height: 1.42857142;
  1420. font-weight: 600;
  1421. }
  1422. .media-selection .button-link {
  1423. float: left;
  1424. padding: 1px 8px;
  1425. margin: 1px 8px 1px -8px;
  1426. line-height: 1.4;
  1427. border-right: 1px solid #dcdcde;
  1428. color: #2271b1;
  1429. text-decoration: none;
  1430. }
  1431. .media-selection .button-link:hover,
  1432. .media-selection .button-link:focus {
  1433. color: #135e96;
  1434. }
  1435. .media-selection .button-link:last-child {
  1436. border-right: 0;
  1437. margin-right: 0;
  1438. }
  1439. .selection-info .clear-selection {
  1440. color: #d63638;
  1441. }
  1442. .selection-info .clear-selection:hover,
  1443. .selection-info .clear-selection:focus {
  1444. color: #d63638;
  1445. }
  1446. .media-selection .selection-view {
  1447. display: inline-block;
  1448. vertical-align: top;
  1449. }
  1450. .media-selection .attachments {
  1451. display: inline-block;
  1452. height: 48px;
  1453. margin: 6px;
  1454. padding: 0;
  1455. overflow: hidden;
  1456. vertical-align: top;
  1457. }
  1458. .media-selection .attachment {
  1459. width: 40px;
  1460. padding: 0;
  1461. margin: 4px;
  1462. }
  1463. .media-selection .attachment .thumbnail {
  1464. top: 0;
  1465. right: 0;
  1466. bottom: 0;
  1467. left: 0;
  1468. }
  1469. .media-selection .attachment .icon {
  1470. width: 50%;
  1471. }
  1472. .media-selection .attachment-preview {
  1473. box-shadow: none;
  1474. background: none;
  1475. }
  1476. .wp-core-ui .media-selection .attachment:focus,
  1477. .wp-core-ui .media-selection .selected.attachment:focus,
  1478. .wp-core-ui .media-selection .attachment.details:focus {
  1479. box-shadow:
  1480. 0 0 0 1px #fff,
  1481. 0 0 2px 3px #4f94d4;
  1482. /* Only visible in Windows High Contrast mode */
  1483. outline: 2px solid transparent;
  1484. }
  1485. .wp-core-ui .media-selection .selected.attachment {
  1486. box-shadow: none;
  1487. }
  1488. .wp-core-ui .media-selection .attachment.details {
  1489. box-shadow:
  1490. 0 0 0 1px #fff,
  1491. 0 0 0 3px #2271b1;
  1492. }
  1493. .media-selection:after {
  1494. content: "";
  1495. display: block;
  1496. position: absolute;
  1497. top: 0;
  1498. right: 0;
  1499. bottom: 0;
  1500. width: 25px;
  1501. background-image: linear-gradient(to left,#fff,rgba(255, 255, 255, 0));
  1502. }
  1503. .media-selection .attachment .filename {
  1504. display: none;
  1505. }
  1506. /**
  1507. * Spinner
  1508. */
  1509. .media-frame .spinner {
  1510. background: url(../images/spinner.gif) no-repeat;
  1511. background-size: 20px 20px;
  1512. float: right;
  1513. display: inline-block;
  1514. visibility: hidden;
  1515. opacity: 0.7;
  1516. filter: alpha(opacity=70);
  1517. width: 20px;
  1518. height: 20px;
  1519. margin: 0;
  1520. vertical-align: middle;
  1521. }
  1522. .media-frame.mode-grid .spinner {
  1523. margin: 0;
  1524. float: none;
  1525. vertical-align: middle;
  1526. }
  1527. .media-modal .media-toolbar .spinner {
  1528. float: none;
  1529. vertical-align: bottom;
  1530. margin: 0 0 5px 5px;
  1531. }
  1532. .media-frame .instructions + .spinner.is-active {
  1533. vertical-align: middle;
  1534. }
  1535. .media-frame .spinner.is-active {
  1536. visibility: visible;
  1537. }
  1538. /**
  1539. * Attachment Details
  1540. */
  1541. .attachment-details {
  1542. position: relative;
  1543. overflow: auto;
  1544. }
  1545. .attachment-details .settings-save-status {
  1546. float: right;
  1547. text-transform: none;
  1548. font-weight: 400;
  1549. }
  1550. .attachment-details .settings-save-status .spinner {
  1551. float: none;
  1552. margin-left: 5px;
  1553. }
  1554. .attachment-details .settings-save-status .saved {
  1555. display: none;
  1556. }
  1557. .attachment-details.save-waiting .settings-save-status .spinner {
  1558. visibility: visible;
  1559. }
  1560. .attachment-details.save-complete .settings-save-status .saved {
  1561. display: inline-block;
  1562. }
  1563. .attachment-info {
  1564. overflow: hidden;
  1565. min-height: 60px;
  1566. margin-bottom: 16px;
  1567. line-height: 1.5;
  1568. color: #646970;
  1569. border-bottom: 1px solid #dcdcde;
  1570. padding-bottom: 11px;
  1571. }
  1572. .attachment-info .wp-media-wrapper {
  1573. margin-bottom: 8px;
  1574. }
  1575. .attachment-info .wp-media-wrapper.wp-audio {
  1576. margin-top: 13px;
  1577. }
  1578. .attachment-info .filename {
  1579. font-weight: 600;
  1580. color: #3c434a;
  1581. word-wrap: break-word;
  1582. }
  1583. .attachment-info .thumbnail {
  1584. position: relative;
  1585. float: left;
  1586. max-width: 120px;
  1587. max-height: 120px;
  1588. margin-top: 5px;
  1589. margin-right: 10px;
  1590. margin-bottom: 5px;
  1591. }
  1592. .uploading .attachment-info .thumbnail {
  1593. width: 120px;
  1594. height: 80px;
  1595. box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
  1596. }
  1597. .uploading .attachment-info .media-progress-bar {
  1598. margin-top: 35px;
  1599. }
  1600. .attachment-info .thumbnail-image:after {
  1601. content: "";
  1602. display: block;
  1603. position: absolute;
  1604. top: 0;
  1605. left: 0;
  1606. right: 0;
  1607. bottom: 0;
  1608. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  1609. overflow: hidden;
  1610. }
  1611. .attachment-info .thumbnail img {
  1612. display: block;
  1613. max-width: 120px;
  1614. max-height: 120px;
  1615. margin: 0 auto;
  1616. }
  1617. .attachment-info .details {
  1618. float: left;
  1619. font-size: 12px;
  1620. max-width: 100%;
  1621. }
  1622. .attachment-info .edit-attachment,
  1623. .attachment-info .delete-attachment,
  1624. .attachment-info .trash-attachment,
  1625. .attachment-info .untrash-attachment {
  1626. display: block;
  1627. text-decoration: none;
  1628. white-space: nowrap;
  1629. }
  1630. .attachment-details.needs-refresh .attachment-info .edit-attachment {
  1631. display: none;
  1632. }
  1633. .attachment-info .edit-attachment {
  1634. display: block;
  1635. }
  1636. .media-modal .delete-attachment,
  1637. .media-modal .trash-attachment,
  1638. .media-modal .untrash-attachment {
  1639. display: inline;
  1640. padding: 0;
  1641. color: #d63638;
  1642. }
  1643. .media-modal .delete-attachment:hover,
  1644. .media-modal .delete-attachment:focus,
  1645. .media-modal .trash-attachment:hover,
  1646. .media-modal .trash-attachment:focus,
  1647. .media-modal .untrash-attachment:hover,
  1648. .media-modal .untrash-attachment:focus {
  1649. color: #d63638;
  1650. }
  1651. /**
  1652. * Attachment Display Settings
  1653. */
  1654. .attachment-display-settings {
  1655. width: 100%;
  1656. float: left;
  1657. overflow: hidden;
  1658. }
  1659. .collection-settings {
  1660. overflow: hidden;
  1661. }
  1662. .collection-settings .setting input[type="checkbox"] {
  1663. float: left;
  1664. margin-right: 8px;
  1665. }
  1666. .collection-settings .setting span, /* Back-compat for pre-5.3 */
  1667. .collection-settings .setting .name {
  1668. min-width: inherit;
  1669. }
  1670. /**
  1671. * Image Editor
  1672. */
  1673. .media-modal .imgedit-wrap {
  1674. position: static;
  1675. }
  1676. .media-modal .imgedit-wrap .imgedit-panel-content {
  1677. padding: 16px 16px 0;
  1678. position: absolute;
  1679. top: 0;
  1680. right: 282px;
  1681. bottom: 0;
  1682. left: 0;
  1683. overflow: auto;
  1684. }
  1685. /*
  1686. * Implementation of bottom padding in overflow content differs across browsers.
  1687. * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129
  1688. */
  1689. .media-modal .imgedit-wrap .imgedit-submit {
  1690. margin-bottom: 16px;
  1691. }
  1692. .media-modal .imgedit-wrap .imgedit-settings {
  1693. background: #f6f7f7;
  1694. border-left: 1px solid #dcdcde;
  1695. padding: 20px 16px 0;
  1696. position: absolute;
  1697. top: 0;
  1698. right: 0;
  1699. bottom: 0;
  1700. width: 250px;
  1701. overflow: auto;
  1702. }
  1703. /*
  1704. * Implementation of bottom padding in overflow content differs across browsers.
  1705. * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129
  1706. */
  1707. .media-modal .imgedit-wrap .imgedit-save-target {
  1708. margin: 8px 0 24px;
  1709. }
  1710. .media-modal .imgedit-group {
  1711. background: none;
  1712. border: none;
  1713. border-bottom: 1px solid #dcdcde;
  1714. box-shadow: none;
  1715. margin: 0;
  1716. margin-bottom: 16px;
  1717. padding: 0;
  1718. padding-bottom: 16px;
  1719. position: relative; /* RTL fix, #WP29352 */
  1720. }
  1721. .media-modal .imgedit-group:last-of-type {
  1722. border: none;
  1723. margin: 0;
  1724. padding: 0;
  1725. }
  1726. .media-modal .imgedit-group-top {
  1727. margin: 0;
  1728. }
  1729. .media-modal .imgedit-group-top h2,
  1730. .media-modal .imgedit-group-top h2 .button-link {
  1731. display: inline-block;
  1732. text-transform: uppercase;
  1733. font-size: 12px;
  1734. color: #646970;
  1735. margin: 0;
  1736. margin-top: 3px;
  1737. }
  1738. .media-modal .imgedit-group-top h2 a,
  1739. .media-modal .imgedit-group-top h2 .button-link {
  1740. text-decoration: none;
  1741. color: #646970;
  1742. }
  1743. /* higher specificity than media.css */
  1744. .wp-core-ui.media-modal .image-editor .imgedit-help-toggle,
  1745. .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover,
  1746. .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active {
  1747. border: 1px solid transparent;
  1748. margin: 0;
  1749. padding: 0;
  1750. background: transparent;
  1751. color: #2271b1;
  1752. font-size: 20px;
  1753. line-height: 1;
  1754. cursor: pointer;
  1755. box-sizing: content-box;
  1756. box-shadow: none;
  1757. }
  1758. .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus {
  1759. color: #2271b1;
  1760. border-color: #4f94d4;
  1761. box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
  1762. /* Only visible in Windows High Contrast mode */
  1763. outline: 2px solid transparent;
  1764. }
  1765. .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle {
  1766. margin-top: -3px;
  1767. }
  1768. .wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle {
  1769. margin-top: -2px;
  1770. }
  1771. .media-modal .imgedit-help-toggled span.dashicons:before {
  1772. content: "\f142";
  1773. }
  1774. .media-modal .imgedit-thumbnail-preview {
  1775. margin: 10px 8px 0 0;
  1776. }
  1777. .imgedit-thumbnail-preview-caption {
  1778. display: block;
  1779. }
  1780. .media-modal .imgedit-wrap div.updated, /* Back-compat for pre-5.5 */
  1781. .media-modal .imgedit-wrap .notice {
  1782. margin: 0;
  1783. margin-bottom: 16px;
  1784. }
  1785. /**
  1786. * Embed from URL and Image Details
  1787. */
  1788. .embed-url {
  1789. display: block;
  1790. position: relative;
  1791. padding: 16px;
  1792. margin: 0;
  1793. z-index: 250;
  1794. background: #fff;
  1795. font-size: 18px;
  1796. }
  1797. .media-frame .embed-url input {
  1798. font-size: 18px;
  1799. line-height: 1.22222222; /* 22px */
  1800. padding: 12px 40px 12px 14px; /* right padding to leave room for the spinner */
  1801. width: 100%;
  1802. min-width: 200px;
  1803. box-shadow: inset 2px 2px 4px -2px rgba(0, 0, 0, 0.1);
  1804. }
  1805. .media-frame .embed-url input::-ms-clear {
  1806. display: none; /* the "x" in IE 11 conflicts with the spinner */
  1807. }
  1808. .media-frame .embed-url .spinner {
  1809. position: absolute;
  1810. top: 32px;
  1811. right: 26px;
  1812. }
  1813. .media-frame .embed-loading .embed-url .spinner {
  1814. visibility: visible;
  1815. }
  1816. .embed-link-settings,
  1817. .embed-media-settings {
  1818. position: absolute;
  1819. top: 82px;
  1820. left: 0;
  1821. right: 0;
  1822. bottom: 0;
  1823. padding: 0 16px;
  1824. overflow: auto;
  1825. }
  1826. .media-embed .embed-link-settings .link-text {
  1827. margin-top: 0;
  1828. }
  1829. /*
  1830. * Implementation of bottom padding in overflow content differs across browsers.
  1831. * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129
  1832. */
  1833. .embed-link-settings::after,
  1834. .embed-media-settings::after {
  1835. content: "";
  1836. display: flex;
  1837. clear: both;
  1838. height: 24px;
  1839. }
  1840. .media-embed .embed-link-settings {
  1841. /* avoid Firefox to give focus to the embed preview container parent */
  1842. overflow: visible;
  1843. }
  1844. .embed-preview img,
  1845. .embed-preview iframe,
  1846. .embed-preview embed,
  1847. .mejs-container video {
  1848. max-width: 100%;
  1849. vertical-align: middle;
  1850. }
  1851. .embed-preview a {
  1852. display: inline-block;
  1853. }
  1854. .embed-preview img {
  1855. display: block;
  1856. height: auto;
  1857. }
  1858. .mejs-container:focus {
  1859. outline: 1px solid #4f94d4;
  1860. box-shadow: 0 0 2px 1px rgba(79, 148, 212, 0.8);
  1861. }
  1862. .image-details .media-modal {
  1863. left: 140px;
  1864. right: 140px;
  1865. }
  1866. .image-details .media-frame-title,
  1867. .image-details .media-frame-content,
  1868. .image-details .media-frame-router {
  1869. left: 0;
  1870. }
  1871. .image-details .embed-media-settings {
  1872. top: 0;
  1873. overflow: visible;
  1874. padding: 0;
  1875. }
  1876. .image-details .embed-media-settings::after {
  1877. content: none;
  1878. }
  1879. .image-details .embed-media-settings,
  1880. .image-details .embed-media-settings div {
  1881. box-sizing: border-box;
  1882. }
  1883. .image-details .column-settings {
  1884. background: #f6f7f7;
  1885. border-right: 1px solid #dcdcde;
  1886. min-height: 100%;
  1887. width: 55%;
  1888. position: absolute;
  1889. top: 0;
  1890. left: 0;
  1891. }
  1892. .image-details .column-settings h2 {
  1893. margin: 20px;
  1894. padding-top: 20px;
  1895. border-top: 1px solid #dcdcde;
  1896. color: #1d2327;
  1897. }
  1898. .image-details .column-image {
  1899. width: 45%;
  1900. position: absolute;
  1901. left: 55%;
  1902. top: 0;
  1903. }
  1904. .image-details .image {
  1905. margin: 20px;
  1906. }
  1907. .image-details .image img {
  1908. max-width: 100%;
  1909. max-height: 500px;
  1910. }
  1911. .image-details .advanced-toggle {
  1912. padding: 0;
  1913. color: #646970;
  1914. text-transform: uppercase;
  1915. text-decoration: none;
  1916. }
  1917. .image-details .advanced-toggle:hover,
  1918. .image-details .advanced-toggle:active {
  1919. color: #646970;
  1920. }
  1921. .image-details .advanced-toggle:after {
  1922. font: normal 20px/1 dashicons;
  1923. speak: never;
  1924. vertical-align: top;
  1925. -webkit-font-smoothing: antialiased;
  1926. -moz-osx-font-smoothing: grayscale;
  1927. content: "\f140";
  1928. display: inline-block;
  1929. margin-top: -2px;
  1930. }
  1931. .image-details .advanced-visible .advanced-toggle:after {
  1932. content: "\f142";
  1933. }
  1934. .image-details .custom-size label, /* Back-compat for pre-5.3 */
  1935. .image-details .custom-size .custom-size-setting {
  1936. display: block;
  1937. float: left;
  1938. }
  1939. .image-details .custom-size .custom-size-setting label {
  1940. float: none;
  1941. }
  1942. .image-details .custom-size input {
  1943. width: 5em;
  1944. }
  1945. .image-details .custom-size .sep {
  1946. float: left;
  1947. margin: 26px 6px 0;
  1948. }
  1949. .image-details .custom-size .description {
  1950. margin-left: 0;
  1951. }
  1952. .media-embed .thumbnail {
  1953. max-width: 100%;
  1954. max-height: 200px;
  1955. position: relative;
  1956. float: left;
  1957. }
  1958. .media-embed .thumbnail img {
  1959. max-height: 200px;
  1960. display: block;
  1961. }
  1962. .media-embed .thumbnail:after {
  1963. content: "";
  1964. display: block;
  1965. position: absolute;
  1966. top: 0;
  1967. left: 0;
  1968. right: 0;
  1969. bottom: 0;
  1970. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  1971. overflow: hidden;
  1972. }
  1973. .media-embed .setting,
  1974. .media-embed .setting-group {
  1975. width: 100%;
  1976. margin: 10px 0;
  1977. float: left;
  1978. display: block;
  1979. clear: both;
  1980. }
  1981. .media-embed .setting-group .setting:not(.checkbox-setting) {
  1982. margin: 0;
  1983. }
  1984. .media-embed .setting.has-description {
  1985. margin-bottom: 5px;
  1986. }
  1987. .media-embed .description {
  1988. clear: both;
  1989. font-style: normal;
  1990. }
  1991. .media-embed .content-track + .description {
  1992. line-height: 1.4;
  1993. /* The !important needs to override a high specificity selector from wp-medialement.css */
  1994. max-width: none !important;
  1995. }
  1996. .media-embed .remove-track {
  1997. margin-bottom: 10px;
  1998. }
  1999. .image-details .embed-media-settings .setting,
  2000. .image-details .embed-media-settings .setting-group {
  2001. float: none;
  2002. width: auto;
  2003. }
  2004. .image-details .actions {
  2005. margin: 10px 0;
  2006. }
  2007. .image-details .hidden {
  2008. display: none;
  2009. }
  2010. .media-embed .setting input[type="text"],
  2011. .media-embed .setting textarea,
  2012. .media-embed fieldset {
  2013. display: block;
  2014. width: 100%;
  2015. max-width: 400px;
  2016. }
  2017. .image-details .embed-media-settings .setting input[type="text"],
  2018. .image-details .embed-media-settings .setting textarea {
  2019. max-width: inherit;
  2020. width: 70%;
  2021. }
  2022. .image-details .embed-media-settings .setting input.link-to-custom,
  2023. .image-details .embed-media-settings .link-target,
  2024. .image-details .embed-media-settings .custom-size,
  2025. .image-details .embed-media-settings .setting-group,
  2026. .image-details .description {
  2027. margin-left: 27%;
  2028. width: 70%;
  2029. }
  2030. .image-details .description {
  2031. font-style: normal;
  2032. margin-top: 0;
  2033. }
  2034. .image-details .embed-media-settings .link-target {
  2035. margin-top: 16px;
  2036. }
  2037. .image-details .checkbox-label,
  2038. .audio-details .checkbox-label,
  2039. .video-details .checkbox-label {
  2040. vertical-align: baseline;
  2041. }
  2042. .media-embed .setting input.hidden,
  2043. .media-embed .setting textarea.hidden {
  2044. display: none;
  2045. }
  2046. .media-embed .setting span, /* Back-compat for pre-5.3 */
  2047. .media-embed .setting .name,
  2048. .media-embed .setting-group .name {
  2049. display: inline-block;
  2050. font-size: 13px;
  2051. line-height: 1.84615384;
  2052. color: #646970;
  2053. }
  2054. .media-embed .setting span {
  2055. display: block; /* Back-compat for pre-5.3 */
  2056. width: 200px; /* Back-compat for pre-5.3 */
  2057. }
  2058. .image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */
  2059. .image-details .embed-media-settings .setting .name {
  2060. float: left;
  2061. width: 25%;
  2062. text-align: right;
  2063. margin: 8px 1% 0;
  2064. line-height: 1.1;
  2065. }
  2066. /* Buttons group in IE 11. */
  2067. .media-frame .setting-group .button-group,
  2068. .image-details .embed-media-settings .setting .button-group {
  2069. width: auto;
  2070. }
  2071. .media-embed-sidebar {
  2072. position: absolute;
  2073. top: 0;
  2074. left: 440px;
  2075. }
  2076. .advanced-section,
  2077. .link-settings {
  2078. margin-top: 10px;
  2079. }
  2080. /**
  2081. * Button groups fix: can be removed together with the Back-compat for pre-5.3
  2082. */
  2083. .media-frame .setting .button-group {
  2084. display: flex;
  2085. margin: 0 !important;
  2086. max-width: none !important;
  2087. }
  2088. /**
  2089. * Localization
  2090. */
  2091. .rtl .media-modal,
  2092. .rtl .media-frame,
  2093. .rtl .media-frame .search,
  2094. .rtl .media-frame input[type="text"],
  2095. .rtl .media-frame input[type="password"],
  2096. .rtl .media-frame input[type="number"],
  2097. .rtl .media-frame input[type="search"],
  2098. .rtl .media-frame input[type="email"],
  2099. .rtl .media-frame input[type="url"],
  2100. .rtl .media-frame input[type="tel"],
  2101. .rtl .media-frame textarea,
  2102. .rtl .media-frame select {
  2103. font-family: Tahoma, sans-serif;
  2104. }
  2105. :lang(he-il) .rtl .media-modal,
  2106. :lang(he-il) .rtl .media-frame,
  2107. :lang(he-il) .rtl .media-frame .search,
  2108. :lang(he-il) .rtl .media-frame input[type="text"],
  2109. :lang(he-il) .rtl .media-frame input[type="password"],
  2110. :lang(he-il) .rtl .media-frame input[type="number"],
  2111. :lang(he-il) .rtl .media-frame input[type="search"],
  2112. :lang(he-il) .rtl .media-frame input[type="email"],
  2113. :lang(he-il) .rtl .media-frame input[type="url"],
  2114. :lang(he-il) .rtl .media-frame textarea,
  2115. :lang(he-il) .rtl .media-frame select {
  2116. font-family: Arial, sans-serif;
  2117. }
  2118. /**
  2119. * Responsive layout
  2120. */
  2121. @media only screen and (max-width: 900px) {
  2122. .media-modal .media-frame-title {
  2123. height: 40px;
  2124. }
  2125. .media-modal .media-frame-title h1 {
  2126. line-height: 2.22222222;
  2127. font-size: 18px;
  2128. }
  2129. .media-modal-close {
  2130. width: 42px;
  2131. height: 42px;
  2132. }
  2133. /* Drop-down menu */
  2134. .media-frame .media-frame-title {
  2135. position: static;
  2136. padding: 0 44px;
  2137. text-align: center;
  2138. }
  2139. .media-frame:not(.hide-menu) .media-frame-router,
  2140. .media-frame:not(.hide-menu) .media-frame-content,
  2141. .media-frame:not(.hide-menu) .media-frame-toolbar {
  2142. left: 0;
  2143. }
  2144. .media-frame:not(.hide-menu) .media-frame-router {
  2145. /* 40 title + (40 - 6) menu toggle button + 6 spacing */
  2146. top: 80px;
  2147. }
  2148. .media-frame:not(.hide-menu) .media-frame-content {
  2149. /* 80 + room for the tabs */
  2150. top: 114px;
  2151. }
  2152. .media-frame.hide-router .media-frame-content {
  2153. top: 80px;
  2154. }
  2155. .media-frame:not(.hide-menu) .media-frame-menu {
  2156. position: static;
  2157. width: 0;
  2158. }
  2159. .media-frame:not(.hide-menu) .media-menu {
  2160. display: none;
  2161. width: auto;
  2162. max-width: 80%;
  2163. overflow: auto;
  2164. z-index: 2000;
  2165. top: 75px;
  2166. left: 50%;
  2167. transform: translateX(-50%);
  2168. right: auto;
  2169. bottom: auto;
  2170. padding: 5px 0;
  2171. border: 1px solid #c3c4c7;
  2172. }
  2173. .media-frame:not(.hide-menu) .media-menu.visible {
  2174. display: block;
  2175. }
  2176. .media-frame:not(.hide-menu) .media-menu > a {
  2177. padding: 12px 16px;
  2178. font-size: 16px;
  2179. }
  2180. .media-frame:not(.hide-menu) .media-menu .separator {
  2181. margin: 5px 10px;
  2182. }
  2183. /* Visually hide the menu heading keeping it available to assistive technologies. */
  2184. .media-frame-menu-heading {
  2185. clip: rect(1px, 1px, 1px, 1px);
  2186. -webkit-clip-path: inset(50%);
  2187. clip-path: inset(50%);
  2188. height: 1px;
  2189. overflow: hidden;
  2190. padding: 0;
  2191. width: 1px;
  2192. word-wrap: normal !important;
  2193. }
  2194. /* Reveal the menu toggle button. */
  2195. .wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle {
  2196. display: inline-flex;
  2197. align-items: center;
  2198. position: absolute;
  2199. left: 50%;
  2200. transform: translateX(-50%);
  2201. margin: -6px 0 0;
  2202. padding: 0 2px 0 12px;
  2203. font-size: 0.875rem;
  2204. font-weight: 600;
  2205. text-decoration: none;
  2206. background: transparent;
  2207. /* Only for IE11 to vertically align text within the inline-flex button */
  2208. height: 0.1%;
  2209. /* Modern browsers */
  2210. min-height: 40px;
  2211. }
  2212. .wp-core-ui .button.media-frame-menu-toggle:hover,
  2213. .wp-core-ui .button.media-frame-menu-toggle:active {
  2214. background: transparent;
  2215. transform: none;
  2216. }
  2217. .wp-core-ui .button.media-frame-menu-toggle:focus {
  2218. /* Only visible in Windows High Contrast mode */
  2219. outline: 1px solid transparent;
  2220. }
  2221. /* End drop-down menu */
  2222. .media-sidebar {
  2223. width: 230px;
  2224. }
  2225. .attachments-browser .attachments,
  2226. .attachments-browser .uploader-inline,
  2227. .attachments-browser .media-toolbar,
  2228. .attachments-browser .attachments-wrapper,
  2229. .attachments-browser.has-load-more .attachments-wrapper {
  2230. right: 262px;
  2231. }
  2232. .media-sidebar .setting,
  2233. .attachment-details .setting {
  2234. margin: 6px 0;
  2235. }
  2236. .media-sidebar .setting input,
  2237. .media-sidebar .setting textarea,
  2238. .media-sidebar .setting .name,
  2239. .attachment-details .setting input,
  2240. .attachment-details .setting textarea,
  2241. .attachment-details .setting .name,
  2242. .compat-item label span {
  2243. float: none;
  2244. display: inline-block;
  2245. }
  2246. .media-sidebar .setting span, /* Back-compat for pre-5.3 */
  2247. .attachment-details .setting span, /* Back-compat for pre-5.3 */
  2248. .media-sidebar .checkbox-label-inline {
  2249. float: none;
  2250. }
  2251. .media-sidebar .setting .select-label-inline {
  2252. display: inline;
  2253. }
  2254. .media-sidebar .setting .name,
  2255. .media-sidebar .checkbox-label-inline,
  2256. .attachment-details .setting .name,
  2257. .compat-item label span {
  2258. text-align: inherit;
  2259. min-height: 16px;
  2260. margin: 0;
  2261. padding: 8px 2px 2px;
  2262. }
  2263. /* Needs high specificity. */
  2264. .media-sidebar .setting .copy-to-clipboard-container,
  2265. .attachment-details .attachment-info .copy-to-clipboard-container {
  2266. margin-left: 0;
  2267. padding-top: 0;
  2268. }
  2269. .media-sidebar .setting .copy-attachment-url,
  2270. .attachment-details .attachment-info .copy-attachment-url {
  2271. margin: 0 1px;
  2272. }
  2273. .media-sidebar .setting .value,
  2274. .attachment-details .setting .value {
  2275. float: none;
  2276. width: auto;
  2277. }
  2278. .media-sidebar .setting input[type="text"],
  2279. .media-sidebar .setting input[type="password"],
  2280. .media-sidebar .setting input[type="email"],
  2281. .media-sidebar .setting input[type="number"],
  2282. .media-sidebar .setting input[type="search"],
  2283. .media-sidebar .setting input[type="tel"],
  2284. .media-sidebar .setting input[type="url"],
  2285. .media-sidebar .setting textarea,
  2286. .media-sidebar .setting select,
  2287. .attachment-details .setting input[type="text"],
  2288. .attachment-details .setting input[type="password"],
  2289. .attachment-details .setting input[type="email"],
  2290. .attachment-details .setting input[type="number"],
  2291. .attachment-details .setting input[type="search"],
  2292. .attachment-details .setting input[type="tel"],
  2293. .attachment-details .setting input[type="url"],
  2294. .attachment-details .setting textarea,
  2295. .attachment-details .setting select,
  2296. .attachment-details .setting + .description {
  2297. float: none;
  2298. width: 98%;
  2299. max-width: none;
  2300. height: auto;
  2301. }
  2302. .media-frame .media-toolbar input[type="search"] {
  2303. line-height: 2.25; /* 36px */
  2304. }
  2305. .media-sidebar .setting select.columns,
  2306. .attachment-details .setting select.columns {
  2307. width: auto;
  2308. }
  2309. .media-frame input,
  2310. .media-frame textarea,
  2311. .media-frame .search {
  2312. padding: 3px 6px;
  2313. }
  2314. .wp-admin .media-frame select {
  2315. min-height: 40px;
  2316. font-size: 16px;
  2317. line-height: 1.625;
  2318. padding: 5px 24px 5px 8px;
  2319. }
  2320. .image-details .column-image {
  2321. width: 30%;
  2322. left: 70%;
  2323. }
  2324. .image-details .column-settings {
  2325. width: 70%;
  2326. }
  2327. .image-details .media-modal {
  2328. left: 30px;
  2329. right: 30px;
  2330. }
  2331. .image-details .embed-media-settings .setting,
  2332. .image-details .embed-media-settings .setting-group {
  2333. margin: 20px;
  2334. }
  2335. .image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */
  2336. .image-details .embed-media-settings .setting .name {
  2337. float: none;
  2338. text-align: left;
  2339. width: 100%;
  2340. margin-bottom: 4px;
  2341. margin-left: 0;
  2342. }
  2343. .media-modal .legend-inline {
  2344. position: static;
  2345. transform: none;
  2346. margin-left: 0;
  2347. margin-bottom: 6px;
  2348. }
  2349. .image-details .embed-media-settings .setting-group .setting {
  2350. margin-bottom: 0;
  2351. }
  2352. .image-details .embed-media-settings .setting input.link-to-custom,
  2353. .image-details .embed-media-settings .setting input[type="text"],
  2354. .image-details .embed-media-settings .setting textarea {
  2355. width: 100%;
  2356. margin-left: 0;
  2357. }
  2358. .image-details .embed-media-settings .setting.has-description {
  2359. margin-bottom: 5px;
  2360. }
  2361. .image-details .description {
  2362. width: auto;
  2363. margin: 0 20px;
  2364. }
  2365. .image-details .embed-media-settings .custom-size {
  2366. margin-left: 20px;
  2367. }
  2368. .collection-settings .setting input[type="checkbox"] {
  2369. float: none;
  2370. margin-top: 0;
  2371. }
  2372. .media-selection {
  2373. min-width: 120px;
  2374. }
  2375. .media-selection:after {
  2376. background: none;
  2377. }
  2378. .media-selection .attachments {
  2379. display: none;
  2380. }
  2381. .media-modal .attachments-browser .media-toolbar .search {
  2382. max-width: 100%;
  2383. height: auto;
  2384. float: right;
  2385. }
  2386. .media-modal .attachments-browser .media-toolbar .attachment-filters {
  2387. height: auto;
  2388. }
  2389. /* Text inputs need to be 16px, or they force zooming on iOS */
  2390. .media-frame input[type="text"],
  2391. .media-frame input[type="password"],
  2392. .media-frame input[type="number"],
  2393. .media-frame input[type="search"],
  2394. .media-frame input[type="email"],
  2395. .media-frame input[type="url"],
  2396. .media-frame textarea,
  2397. .media-frame select {
  2398. font-size: 16px;
  2399. }
  2400. .media-frame .media-toolbar input[type="search"] {
  2401. line-height: 2.3755; /* 38px */
  2402. }
  2403. .media-modal .media-toolbar .spinner {
  2404. margin-bottom: 10px;
  2405. }
  2406. }
  2407. @media screen and (max-width: 782px) {
  2408. .attachments-browser .media-toolbar {
  2409. height: 82px;
  2410. }
  2411. .attachments-browser .attachments,
  2412. .attachments-browser .uploader-inline {
  2413. top: 82px;
  2414. }
  2415. .media-frame-toolbar .media-toolbar {
  2416. bottom: -54px;
  2417. }
  2418. .mode-grid .attachments-browser .media-toolbar-primary {
  2419. display: block;
  2420. }
  2421. .media-sidebar .copy-to-clipboard-container .success,
  2422. .attachment-details .copy-to-clipboard-container .success {
  2423. font-size: 14px;
  2424. line-height: 2.71428571;
  2425. }
  2426. }
  2427. /* Responsive on portrait and landscape */
  2428. @media only screen and (max-width: 640px), screen and (max-height: 400px) {
  2429. /* Full-bleed modal */
  2430. .media-modal,
  2431. .image-details .media-modal {
  2432. position: fixed;
  2433. top: 0;
  2434. left: 0;
  2435. right: 0;
  2436. bottom: 0;
  2437. }
  2438. .media-modal-backdrop {
  2439. position: fixed;
  2440. }
  2441. .media-sidebar {
  2442. z-index: 1900;
  2443. max-width: 70%;
  2444. bottom: 120%;
  2445. box-sizing: border-box;
  2446. padding-bottom: 0;
  2447. }
  2448. .media-sidebar.visible {
  2449. bottom: 0;
  2450. }
  2451. .attachments-browser .attachments,
  2452. .attachments-browser .uploader-inline,
  2453. .attachments-browser .media-toolbar,
  2454. .media-frame-content .attachments-browser .attachments-wrapper {
  2455. right: 0;
  2456. }
  2457. .attachments-browser .attachments-wrapper {
  2458. padding-top: 12px;
  2459. }
  2460. .image-details .media-frame-title {
  2461. display: block;
  2462. top: 0;
  2463. font-size: 14px;
  2464. }
  2465. .image-details .column-image,
  2466. .image-details .column-settings {
  2467. width: 100%;
  2468. position: relative;
  2469. left: 0;
  2470. }
  2471. .image-details .column-settings {
  2472. padding: 4px 0;
  2473. }
  2474. /* Media tabs on the top */
  2475. .media-frame-content .media-toolbar .instructions {
  2476. display: none;
  2477. }
  2478. /* Change margin direction on load more button in responsive views. */
  2479. .load-more-wrapper .load-more-jump {
  2480. margin: 12px 0 0;
  2481. }
  2482. }
  2483. @media only screen and (min-width: 901px) and (max-height: 400px) {
  2484. .media-menu,
  2485. .media-frame:not(.hide-menu) .media-menu {
  2486. top: 0;
  2487. padding-top: 44px;
  2488. }
  2489. /* Change margin direction on load more button in responsive views. */
  2490. .load-more-wrapper .load-more-jump {
  2491. margin: 12px 0 0;
  2492. }
  2493. }
  2494. @media only screen and (max-width: 480px) {
  2495. .wp-core-ui.wp-customizer .media-button {
  2496. margin-top: 13px;
  2497. }
  2498. }
  2499. /**
  2500. * HiDPI Displays
  2501. */
  2502. @media print,
  2503. (-webkit-min-device-pixel-ratio: 1.25),
  2504. (min-resolution: 120dpi) {
  2505. .wp-core-ui .media-modal-icon {
  2506. background-image: url(../images/uploader-icons-2x.png);
  2507. background-size: 134px 15px;
  2508. }
  2509. .media-frame .spinner {
  2510. background-image: url(../images/spinner-2x.gif);
  2511. }
  2512. }
  2513. .media-frame-content[data-columns="1"] .attachment {
  2514. width: 100%;
  2515. }
  2516. .media-frame-content[data-columns="2"] .attachment {
  2517. width: 50%;
  2518. }
  2519. .media-frame-content[data-columns="3"] .attachment {
  2520. width: 33.33%;
  2521. }
  2522. .media-frame-content[data-columns="4"] .attachment {
  2523. width: 25%;
  2524. }
  2525. .media-frame-content[data-columns="5"] .attachment {
  2526. width: 20%;
  2527. }
  2528. .media-frame-content[data-columns="6"] .attachment {
  2529. width: 16.66%;
  2530. }
  2531. .media-frame-content[data-columns="7"] .attachment {
  2532. width: 14.28%;
  2533. }
  2534. .media-frame-content[data-columns="8"] .attachment {
  2535. width: 12.5%;
  2536. }
  2537. .media-frame-content[data-columns="9"] .attachment {
  2538. width: 11.11%;
  2539. }
  2540. .media-frame-content[data-columns="10"] .attachment {
  2541. width: 10%;
  2542. }
  2543. .media-frame-content[data-columns="11"] .attachment {
  2544. width: 9.09%;
  2545. }
  2546. .media-frame-content[data-columns="12"] .attachment {
  2547. width: 8.33%;
  2548. }