Ei kuvausta

media-views.css 57KB

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