media-views-rtl.css 52 KB

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