media-views-rtl.css 47 KB

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