No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

2677 líneas
49 KiB

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