| OLD | NEW |
| 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 /* Special attribute used in HTML to hide elements. */ | 5 /* Special attribute used in HTML to hide elements. */ |
| 6 body[type='folder'] [invisibleif~='folder'], | 6 body[type='folder'] [invisibleif~='folder'], |
| 7 body[type='upload-folder'] [invisibleif~='upload-folder'], | 7 body[type='upload-folder'] [invisibleif~='upload-folder'], |
| 8 body[type='saveas-file'] [invisibleif~='saveas-file'], | 8 body[type='saveas-file'] [invisibleif~='saveas-file'], |
| 9 body[type='open-file'] [invisibleif~='open-file'], | 9 body[type='open-file'] [invisibleif~='open-file'], |
| 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], | 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], |
| (...skipping 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 /* Height values of each frame are set by script. | 1626 /* Height values of each frame are set by script. |
| 1627 * Keep the animation sync with JS. */ | 1627 * Keep the animation sync with JS. */ |
| 1628 from { | 1628 from { |
| 1629 } | 1629 } |
| 1630 to { | 1630 to { |
| 1631 } | 1631 } |
| 1632 } | 1632 } |
| 1633 | 1633 |
| 1634 #progress-center { | 1634 #progress-center { |
| 1635 background-color: transparent; | 1635 background-color: transparent; |
| 1636 border-top: 1px solid transparent; | 1636 border-top: 1px solid rgb(214, 214, 214); |
| 1637 overflow: hidden; | 1637 overflow: hidden; |
| 1638 position: relative; | 1638 position: relative; |
| 1639 transition: background-color 300ms linear, | 1639 transition: background-color 300ms linear, |
| 1640 border 300ms linear; | 1640 border 300ms linear; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 #progress-center.opened { | |
| 1644 background-color: #ebebeb; | |
| 1645 border-top: 1px solid #d8d8d8; | |
| 1646 } | |
| 1647 | |
| 1648 #progress-center.animated { | 1643 #progress-center.animated { |
| 1649 -webkit-animation: progress-center-toggle 300ms ease-out; | 1644 -webkit-animation: progress-center-toggle 300ms ease-out; |
| 1650 } | 1645 } |
| 1651 | 1646 |
| 1652 #progress-center-open-view { | 1647 #progress-center-open-view { |
| 1653 opacity: 1; | 1648 opacity: 1; |
| 1654 padding-top: 10px; | 1649 padding-top: 10px; |
| 1655 transition: opacity 300ms linear; | 1650 transition: opacity 300ms linear; |
| 1656 } | 1651 } |
| 1657 | 1652 |
| 1658 #progress-center:not(.opened) #progress-center-open-view { | 1653 #progress-center:not(.opened) #progress-center-open-view { |
| 1659 opacity: 0; | 1654 opacity: 0; |
| 1660 pointer-events: none; | 1655 pointer-events: none; |
| 1661 position: absolute; | 1656 position: absolute; |
| 1662 } | 1657 } |
| 1663 | 1658 |
| 1664 #progress-center-close-view { | 1659 #progress-center-close-view { |
| 1665 opacity: 1; | 1660 opacity: 1; |
| 1666 padding-top: 10px; | 1661 padding-top: 20px; |
| 1667 transition: opacity 300ms linear; | 1662 transition: opacity 300ms linear; |
| 1668 } | 1663 } |
| 1669 | 1664 |
| 1670 #progress-center.opened #progress-center-close-view { | 1665 #progress-center.opened #progress-center-close-view { |
| 1671 opacity: 0; | 1666 opacity: 0; |
| 1672 pointer-events: none; | 1667 pointer-events: none; |
| 1673 position: absolute; | 1668 position: absolute; |
| 1674 } | 1669 } |
| 1675 | 1670 |
| 1676 #progress-center.animated #progress-center-open-view, | 1671 #progress-center.animated #progress-center-open-view, |
| 1677 #progress-center.animated #progress-center-close-view { | 1672 #progress-center.animated #progress-center-close-view { |
| 1678 left: 0; | 1673 left: 0; |
| 1679 pointer-events: none; | 1674 pointer-events: none; |
| 1680 position: absolute; | 1675 position: absolute; |
| 1681 right: 0; | 1676 right: 0; |
| 1682 top: 0; | 1677 top: 0; |
| 1683 z-index: 1; | 1678 z-index: 1; |
| 1684 } | 1679 } |
| 1685 | 1680 |
| 1686 #progress-center li { | 1681 #progress-center li { |
| 1687 -webkit-padding-end: 10px; | 1682 -webkit-padding-end: 12px; |
| 1688 display: flex; | 1683 display: flex; |
| 1689 /* This must not be margin-bottom to calculate parent's height correctly. */ | 1684 /* This must not be margin-bottom to calculate parent's height correctly. */ |
| 1690 padding-bottom: 20px; | 1685 padding-bottom: 16px; |
| 1691 } | 1686 } |
| 1692 | 1687 |
| 1693 #progress-center label { | 1688 #progress-center label { |
| 1694 color: #777; | 1689 color: rgb(76, 76, 76); |
| 1695 display: block; | 1690 display: block; |
| 1696 overflow: hidden; | 1691 overflow: hidden; |
| 1697 text-overflow: ellipsis; | 1692 text-overflow: ellipsis; |
| 1698 white-space: nowrap; | 1693 white-space: nowrap; |
| 1699 } | 1694 } |
| 1700 | 1695 |
| 1701 #progress-center li.error.single label { | 1696 #progress-center li.error.single label { |
| 1702 white-space: normal; | 1697 white-space: normal; |
| 1703 } | 1698 } |
| 1704 | 1699 |
| 1705 #progress-center .progress-frame { | 1700 #progress-center .progress-frame { |
| 1706 -webkit-padding-end: 10px; | 1701 -webkit-padding-end: 12px; |
| 1707 -webkit-padding-start: 20px; | 1702 -webkit-padding-start: 16px; |
| 1708 flex: 1 0 0; | 1703 flex: 1 0 0; |
| 1709 } | 1704 } |
| 1710 | 1705 |
| 1711 #progress-center .progress-bar { | 1706 #progress-center .progress-bar { |
| 1712 background: #d8d8d8; | 1707 background: rgb(224, 224, 224); |
| 1713 border-radius: 3px; | 1708 border-radius: 2px; |
| 1714 display: inline-block; | 1709 display: inline-block; |
| 1715 height: 6px; | 1710 height: 4px; |
| 1711 margin-bottom: 3px; |
| 1716 opacity: 1; | 1712 opacity: 1; |
| 1717 overflow: hidden; | 1713 overflow: hidden; |
| 1718 width: 100%; | 1714 width: 100%; |
| 1719 } | 1715 } |
| 1720 | 1716 |
| 1721 #progress-center li.error .progress-bar, | 1717 #progress-center li.error .progress-bar, |
| 1722 #progress-center li.quiet .progress-bar { | 1718 #progress-center li.quiet .progress-bar { |
| 1723 display: none; | 1719 display: none; |
| 1724 } | 1720 } |
| 1725 | 1721 |
| 1726 #progress-center .progress-track { | 1722 #progress-center .progress-track { |
| 1727 background: #787878; | 1723 background: rgb(26, 194, 34); |
| 1728 height: 100%; | 1724 height: 100%; |
| 1729 } | 1725 } |
| 1730 | 1726 |
| 1731 #progress-center .progress-track.animated { | 1727 #progress-center .progress-track.animated { |
| 1732 transition: width 300ms linear; | 1728 transition: width 300ms linear; |
| 1733 } | 1729 } |
| 1734 | 1730 |
| 1735 #progress-center .button-frame { | 1731 #progress-center .button-frame { |
| 1736 align-self: flex-end; | 1732 align-self: flex-end; |
| 1737 flex: none; | 1733 flex: none; |
| 1738 } | 1734 } |
| 1739 | 1735 |
| 1740 #progress-center button { | 1736 #progress-center button { |
| 1741 border: none; | 1737 border: none; |
| 1742 cursor: pointer; | 1738 cursor: pointer; |
| 1743 display: inline-block; | 1739 display: inline-block; |
| 1744 height: 12px; | 1740 height: 16px; |
| 1745 min-height: 0; | 1741 min-height: 0; |
| 1746 min-width: 0; | 1742 min-width: 0; |
| 1747 outline: none; | 1743 outline: none; |
| 1748 padding: 0; | 1744 padding: 0; |
| 1749 vertical-align: middle; | 1745 vertical-align: middle; |
| 1750 width: 12px; | 1746 width: 16px; |
| 1751 } | 1747 } |
| 1752 | 1748 |
| 1753 #progress-center li.error.single .button-frame { | 1749 #progress-center li.error.single .button-frame { |
| 1754 display: none; | 1750 display: none; |
| 1755 } | 1751 } |
| 1756 | 1752 |
| 1757 #progress-center button.close { | 1753 #progress-center button.close { |
| 1758 -webkit-margin-end: 10px; | 1754 -webkit-margin-end: 12px; |
| 1759 -webkit-margin-start: auto; | 1755 -webkit-margin-start: auto; |
| 1760 background: -webkit-image-set( | 1756 background: -webkit-image-set( |
| 1761 url(../images/files/ui/process_drawer_button_opened.png) 1x, | 1757 url(../images/files/ui/expand_less_active.png) 1x, |
| 1762 url(../images/files/ui/2x/process_drawer_button_opened.png) 2x) | 1758 url(../images/files/ui/2x/expand_less_active.png) 2x) |
| 1763 no-repeat; | 1759 no-repeat; |
| 1764 display: block; | 1760 display: block; |
| 1765 margin-bottom: 20px; | 1761 margin-bottom: 20px; |
| 1766 } | 1762 } |
| 1767 | 1763 |
| 1768 #progress-center button.close:hover { | |
| 1769 background: -webkit-image-set( | |
| 1770 url(../images/files/ui/process_drawer_button_opened_hover.png) 1x, | |
| 1771 url(../images/files/ui/2x/process_drawer_button_opened_hover.png) 2x) | |
| 1772 no-repeat; | |
| 1773 } | |
| 1774 | |
| 1775 #progress-center button.close:active { | |
| 1776 background: -webkit-image-set( | |
| 1777 url(../images/files/ui/process_drawer_button_opened_pressed.png) 1x, | |
| 1778 url(../images/files/ui/2x/process_drawer_button_opened_pressed.png) 2x) | |
| 1779 no-repeat; | |
| 1780 } | |
| 1781 | |
| 1782 #progress-center button.open { | 1764 #progress-center button.open { |
| 1783 background: -webkit-image-set( | 1765 background: -webkit-image-set( |
| 1784 url(../images/files/ui/process_drawer_button_closed.png) 1x, | 1766 url(../images/files/ui/expand_more.png) 1x, |
| 1785 url(../images/files/ui/2x/process_drawer_button_closed.png) 2x) | 1767 url(../images/files/ui/2x/expand_more.png) 2x) |
| 1786 no-repeat; | 1768 no-repeat; |
| 1787 } | 1769 /* If progress bar exists, show open button at slighly higher position. */ |
| 1788 | 1770 margin-bottom: 14px; |
| 1789 #progress-center button.open:hover { | |
| 1790 background: -webkit-image-set( | |
| 1791 url(../images/files/ui/process_drawer_button_closed_hover.png) 1x, | |
| 1792 url(../images/files/ui/2x/process_drawer_button_closed_hover.png) 2x) | |
| 1793 no-repeat; | |
| 1794 } | |
| 1795 | |
| 1796 #progress-center button.open:active { | |
| 1797 background: -webkit-image-set( | |
| 1798 url(../images/files/ui/process_drawer_button_closed_pressed.png) 1x, | |
| 1799 url(../images/files/ui/2x/process_drawer_button_closed_pressed.png) 2x) | |
| 1800 no-repeat; | |
| 1801 } | 1771 } |
| 1802 | 1772 |
| 1803 #progress-center button.cancel { | 1773 #progress-center button.cancel { |
| 1804 background: -webkit-image-set( | 1774 background: -webkit-image-set( |
| 1805 url(../images/files/ui/close_bar.png) 1x, | 1775 url(../images/files/ui/cancel.png) 1x, |
| 1806 url(../images/files/ui/2x/close_bar.png) 2x) | 1776 url(../images/files/ui/2x/cancel.png) 2x) |
| 1807 no-repeat; | 1777 no-repeat; |
| 1808 } | 1778 } |
| 1809 | 1779 |
| 1780 #progress-center li.error button.open, |
| 1781 #progress-center li.quiet button.open { |
| 1782 margin-bottom: 0; |
| 1783 } |
| 1784 |
| 1810 #progress-center-close-view:not(.single) button.cancel { | 1785 #progress-center-close-view:not(.single) button.cancel { |
| 1811 display: none; | 1786 display: none; |
| 1812 } | 1787 } |
| 1813 | 1788 |
| 1814 #progress-center-close-view.single button.open { | 1789 #progress-center-close-view.single button.open { |
| 1815 display: none; | 1790 display: none; |
| 1816 } | 1791 } |
| 1817 | 1792 |
| 1818 #progress-center li:not(.cancelable) button.cancel { | 1793 #progress-center li:not(.cancelable) button.cancel { |
| 1819 visibility: hidden; | 1794 visibility: hidden; |
| 1820 } | 1795 } |
| 1821 | 1796 |
| 1822 #cloud-import-banner { | 1797 #cloud-import-banner { |
| 1823 background: #2196f3; | 1798 background: #2196f3; |
| 1824 color: white; | 1799 color: white; |
| 1825 display: flex; | 1800 display: flex; |
| 1826 flex: 0 0 14px; | 1801 flex: 0 0 14px; |
| 1827 font-size; 14px; | 1802 font-size; 14px; |
| 1828 padding: 20px 15px; | 1803 padding: 20px 15px; |
| 1829 } | 1804 } |
| 1830 | 1805 |
| 1831 .text-measure { | 1806 .text-measure { |
| 1832 pointer-events: none; | 1807 pointer-events: none; |
| 1833 position: absolute; | 1808 position: absolute; |
| 1834 top: 0; | 1809 top: 0; |
| 1835 visibility: hidden; | 1810 visibility: hidden; |
| 1836 z-index: -1; | 1811 z-index: -1; |
| 1837 } | 1812 } |
| OLD | NEW |