Changeset 26250
- Timestamp:
- 11/18/2013 08:06:47 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/css/media-views.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/media-views.css
r26229 r26250 1626 1626 } 1627 1627 1628 @media only screen and (max-width: 782px) { 1628 /* Responsive on portrait and landscape */ 1629 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 1630 1631 /* Media tabs on the top */ 1629 1632 .media-frame-content .media-toolbar .instructions { 1630 1633 display: none; … … 1653 1656 overflow: hidden; 1654 1657 } 1655 1656 /* Shorten right-side links so they don't overlap the close button */ 1657 .media-menu a:nth-child(2), 1658 .media-menu a:last-child { 1659 width: 40%; 1660 } 1661 1662 .media-menu .separator { 1663 display: none; 1664 } 1665 1666 .media-frame-title { 1667 top: 72px; 1668 left: auto; 1669 height: auto; 1670 } 1671 1672 .media-frame-title h1 { 1673 line-height: 3; 1674 font-size: 18px; 1675 } 1676 1677 .media-frame-router { 1678 top: 84px; 1679 left: 0; 1680 } 1681 1682 .media-frame-content { 1683 left: 0; 1684 top: 118px; 1685 } 1686 1687 .media-frame .attachments-browser { 1688 padding-bottom: 300px; 1689 } 1690 1691 .media-sidebar { 1692 border-bottom: 1px solid #dddddd; 1693 } 1694 1695 .media-modal { 1696 width: auto; 1697 } 1698 1699 .media-toolbar-primary, .media-toolbar-secondary { 1700 height: auto; 1701 } 1702 1703 .uploader-inline h3 { 1704 margin: 0 0 .8em 0; 1705 } 1706 1707 .uploader-inline-content { 1708 top: auto; 1709 } 1710 1711 .uploader-inline-content .upload-ui { 1712 margin: 0; 1713 } 1714 1715 .attachments-browser .attachments, .attachments-browser .uploader-inline { 1716 position: relative; 1717 margin-right: 180px; 1718 } 1719 } 1720 1721 @media only screen and (max-width: 680px) { 1722 .media-frame-content .media-toolbar .search, 1723 .media-frame-content .media-toolbar .attachment-filters { 1724 max-width: 85px; 1725 } 1726 } 1727 1728 /* Tiny screens [ = smaller than 500 wide] */ 1729 @media screen and (max-width: 500px) { 1730 .media-modal { 1731 position: fixed; 1732 top: 0; 1733 left: 0; 1734 right: 0; 1735 bottom: 0; 1736 } 1737 1738 .media-modal-backdrop { 1739 position: fixed; 1740 } 1741 1742 .attachments-browser .attachment, 1743 .attachments-browser .attachment-preview { 1744 max-width: 100%; 1745 } 1746 1747 .attachments-browser .media-toolbar-primary input.search { 1748 max-width: 150px; 1749 } 1750 1751 .uploader-inline-content { 1752 position: relative; 1753 } 1754 1755 .media-sidebar .setting input[type="checkbox"], 1756 .media-sidebar .field input[type="checkbox"] { 1757 width: 25px; 1758 } 1759 1760 /* Don't bother with title for phone-size */ 1658 1761 1659 .media-frame-title { 1762 1660 display: none; … … 1787 1685 margin-top: 45px; 1788 1686 } 1687 1688 /* Shorten right-side links so they don't overlap the close button */ 1689 .media-menu a:nth-child(2), 1690 .media-menu a:last-child { 1691 width: 40%; 1692 } 1693 1694 .media-menu .separator { 1695 display: none; 1696 } 1697 1698 .media-frame-title { 1699 top: 72px; 1700 left: auto; 1701 height: auto; 1702 } 1703 1704 .media-frame-title h1 { 1705 line-height: 3; 1706 font-size: 18px; 1707 } 1708 1709 .media-frame-router { 1710 top: 84px; 1711 left: 0; 1712 } 1713 1714 .media-frame-content { 1715 left: 0; 1716 top: 118px; 1717 } 1718 1719 .media-frame .attachments-browser { 1720 padding-bottom: 300px; 1721 } 1722 1723 .media-sidebar { 1724 border-bottom: 1px solid #dddddd; 1725 } 1726 1727 .media-modal { 1728 width: auto; 1729 } 1730 1731 .media-toolbar-primary, .media-toolbar-secondary { 1732 height: auto; 1733 } 1734 1735 .uploader-inline h3 { 1736 margin: 0 0 .8em 0; 1737 } 1738 1739 .uploader-inline-content { 1740 top: auto; 1741 } 1742 1743 .uploader-inline-content .upload-ui { 1744 margin: 0; 1745 } 1746 1747 .attachments-browser .attachments, .attachments-browser .uploader-inline { 1748 position: relative; 1749 margin-right: 180px; 1750 } 1751 1752 /* Full-bleed modal */ 1753 .media-modal { 1754 position: fixed; 1755 top: 0; 1756 left: 0; 1757 right: 0; 1758 bottom: 0; 1759 } 1760 1761 .media-modal-backdrop { 1762 position: fixed; 1763 } 1764 1765 .attachments-browser .attachment, 1766 .attachments-browser .attachment-preview { 1767 max-width: 100%; 1768 } 1769 1770 .attachments-browser .media-toolbar-primary input.search { 1771 max-width: 150px; 1772 } 1773 1774 .uploader-inline-content { 1775 position: relative; 1776 } 1777 1778 .media-sidebar .setting input[type="checkbox"], 1779 .media-sidebar .field input[type="checkbox"] { 1780 width: 25px; 1781 } 1789 1782 1790 1783 /* Image From Link */ … … 1803 1796 margin-top: 45px; 1804 1797 } 1798 1799 } 1800 1801 /* Landscape specific header override */ 1802 @media screen and (max-height: 400px) { 1803 .media-menu { 1804 padding: 0 0 0 10px; 1805 } 1806 1807 .media-menu a { 1808 float: left; 1809 width: 21%; 1810 white-space: nowrap; 1811 text-overflow: ellipsis; 1812 overflow: hidden; 1813 padding: 10px inherit; 1814 } 1815 1816 .media-menu a:nth-child(2), 1817 .media-menu a:last-child { 1818 width: 21%; 1819 } 1820 1821 .media-modal-close { 1822 top: 2px; 1823 } 1824 1825 .media-frame-router { 1826 top: 44px; 1827 } 1828 1829 .media-frame-content { 1830 top: 78px; 1831 } 1832 1833 .attachments-browser .attachments { 1834 top: 2px; 1835 } 1836 1837 /* Prevent unnecessary scrolling on title input */ 1838 .embed-link-settings { 1839 overflow: visible; 1840 } 1841 } 1842 1843 @media only screen and (max-width: 680px) { 1844 .media-frame-content .media-toolbar .search, 1845 .media-frame-content .media-toolbar .attachment-filters { 1846 max-width: 85px; 1847 } 1805 1848 } 1806 1849
Note: See TracChangeset
for help on using the changeset viewer.