media-views-rtl.css 56 KB

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