Нема описа

media-views-rtl.css 57KB

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