media-views-rtl.css 57 KB

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