| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* The order of z-index: | 5 /* The order of z-index: |
| 6 * - 2: drag-selection-bodrder | 6 * - 2: drag-selection-bodrder |
| 7 * - 3: preview-panel | 7 * - 3: preview-panel |
| 8 * - 500: scrollbar | 8 * - 500: scrollbar |
| 9 * - 500: splitter | 9 * - 500: splitter |
| 10 * - 525: spinner | 10 * - 525: spinner |
| (...skipping 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1899 background-color: #ebebeb; | 1899 background-color: #ebebeb; |
| 1900 border-top: 1px solid #d8d8d8; | 1900 border-top: 1px solid #d8d8d8; |
| 1901 } | 1901 } |
| 1902 | 1902 |
| 1903 #progress-center.animated { | 1903 #progress-center.animated { |
| 1904 -webkit-animation: progress-center-toggle 300ms ease-out; | 1904 -webkit-animation: progress-center-toggle 300ms ease-out; |
| 1905 } | 1905 } |
| 1906 | 1906 |
| 1907 #progress-center-open-view { | 1907 #progress-center-open-view { |
| 1908 opacity: 1; | 1908 opacity: 1; |
| 1909 padding-top: 42px; | 1909 padding-top: 10px; |
| 1910 transition: opacity 300ms linear; | 1910 transition: opacity 300ms linear; |
| 1911 } | 1911 } |
| 1912 | 1912 |
| 1913 #progress-center:not(.opened) #progress-center-open-view { | 1913 #progress-center:not(.opened) #progress-center-open-view { |
| 1914 opacity: 0; | 1914 opacity: 0; |
| 1915 pointer-events: none; | 1915 pointer-events: none; |
| 1916 position: absolute; | 1916 position: absolute; |
| 1917 } | 1917 } |
| 1918 | 1918 |
| 1919 #progress-center-close-view { | 1919 #progress-center-close-view { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1931 #progress-center.animated #progress-center-close-view { | 1931 #progress-center.animated #progress-center-close-view { |
| 1932 left: 0; | 1932 left: 0; |
| 1933 pointer-events: none; | 1933 pointer-events: none; |
| 1934 position: absolute; | 1934 position: absolute; |
| 1935 right: 0; | 1935 right: 0; |
| 1936 top: 0; | 1936 top: 0; |
| 1937 z-index: 1; | 1937 z-index: 1; |
| 1938 } | 1938 } |
| 1939 | 1939 |
| 1940 #progress-center li { | 1940 #progress-center li { |
| 1941 display: block; | 1941 -webkit-padding-end: 10px; |
| 1942 min-height: 29px; /* label 17px + frame 12px */ | 1942 display: flex; |
| 1943 /* This must not be margin-bottom to calculate parent's height correctly. */ |
| 1943 padding-bottom: 20px; | 1944 padding-bottom: 20px; |
| 1944 } | 1945 } |
| 1945 | 1946 |
| 1946 #progress-center label { | 1947 #progress-center label { |
| 1947 color: #777; | 1948 color: #777; |
| 1948 display: block; | 1949 display: block; |
| 1949 font: 12px/17px normal; | |
| 1950 min-height: 17px; | |
| 1951 overflow: hidden; | 1950 overflow: hidden; |
| 1952 padding: 0 20px; | |
| 1953 text-overflow: ellipsis; | 1951 text-overflow: ellipsis; |
| 1954 white-space: nowrap; | 1952 white-space: nowrap; |
| 1955 } | 1953 } |
| 1956 | 1954 |
| 1957 #progress-center li.error label { | 1955 #progress-center li.error.single label { |
| 1958 white-space: normal; | 1956 white-space: normal; |
| 1959 } | 1957 } |
| 1960 | 1958 |
| 1961 #progress-center .progress-frame { | 1959 #progress-center .progress-frame { |
| 1962 -webkit-padding-end: 10px; | 1960 -webkit-padding-end: 10px; |
| 1963 -webkit-padding-start: 20px; | 1961 -webkit-padding-start: 20px; |
| 1964 align-items: center; | 1962 flex: 1 0 0; |
| 1965 display: flex; | |
| 1966 margin-top: 4px; | |
| 1967 } | |
| 1968 | |
| 1969 #progress-center li.error .progress-frame { | |
| 1970 height: 0; | |
| 1971 } | 1963 } |
| 1972 | 1964 |
| 1973 #progress-center .progress-bar { | 1965 #progress-center .progress-bar { |
| 1974 -webkit-margin-end: 24px; | |
| 1975 background: #d8d8d8; | 1966 background: #d8d8d8; |
| 1976 border-radius: 3px; | 1967 border-radius: 3px; |
| 1977 flex: 1 0 0; | 1968 display: inline-block; |
| 1978 height: 6px; | 1969 height: 6px; |
| 1979 opacity: 1; | 1970 opacity: 1; |
| 1980 overflow: hidden; | 1971 overflow: hidden; |
| 1972 width: 100%; |
| 1981 } | 1973 } |
| 1982 | 1974 |
| 1983 #progress-center li.error .progress-bar, | 1975 #progress-center li.error .progress-bar, |
| 1984 #progress-center li.canceled .progress-bar, | |
| 1985 #progress-center li.quiet .progress-bar { | 1976 #progress-center li.quiet .progress-bar { |
| 1986 visibility: hidden; | 1977 display: none; |
| 1987 } | 1978 } |
| 1988 | 1979 |
| 1989 #progress-center .progress-track { | 1980 #progress-center .progress-track { |
| 1990 background: #787878; | 1981 background: #787878; |
| 1991 height: 100%; | 1982 height: 100%; |
| 1992 } | 1983 } |
| 1993 | 1984 |
| 1994 #progress-center .progress-track.animated { | 1985 #progress-center .progress-track.animated { |
| 1995 transition: width 300ms linear; | 1986 transition: width 300ms linear; |
| 1996 } | 1987 } |
| 1997 | 1988 |
| 1989 #progress-center .button-frame { |
| 1990 align-self: flex-end; |
| 1991 flex: none; |
| 1992 } |
| 1993 |
| 1998 #progress-center button { | 1994 #progress-center button { |
| 1999 background: orange; | |
| 2000 border: none; | 1995 border: none; |
| 2001 cursor: pointer; | 1996 cursor: pointer; |
| 2002 flex: 0 0 auto; | 1997 display: inline-block; |
| 2003 height: 12px; | 1998 height: 12px; |
| 2004 min-height: 0; | 1999 min-height: 0; |
| 2005 min-width: 0; | 2000 min-width: 0; |
| 2006 outline: none; | 2001 outline: none; |
| 2007 padding: 0; | 2002 padding: 0; |
| 2003 vertical-align: middle; |
| 2008 width: 12px; | 2004 width: 12px; |
| 2009 z-index: 0; | |
| 2010 } | 2005 } |
| 2011 | 2006 |
| 2012 #progress-center button.toggle { | 2007 #progress-center li.error.single .button-frame { |
| 2008 display: none; |
| 2009 } |
| 2010 |
| 2011 #progress-center button.close { |
| 2012 -webkit-margin-end: 10px; |
| 2013 -webkit-margin-start: auto; |
| 2013 background: -webkit-image-set( | 2014 background: -webkit-image-set( |
| 2014 url(../images/files/ui/process_drawer_button_opened.png) 1x, | 2015 url(../images/files/ui/process_drawer_button_opened.png) 1x, |
| 2015 url(../images/files/ui/2x/process_drawer_button_opened.png) 2x) | 2016 url(../images/files/ui/2x/process_drawer_button_opened.png) 2x) |
| 2016 no-repeat; | 2017 no-repeat; |
| 2017 position: absolute; | 2018 display: block; |
| 2018 right: 10px; | 2019 margin-bottom: 20px; |
| 2019 top: 17px; /* label height */ | |
| 2020 transition: top 300ms ease-out; | |
| 2021 z-index: 1; | |
| 2022 } | 2020 } |
| 2023 | 2021 |
| 2024 #progress-center button.toggle:hover { | 2022 #progress-center button.close:hover { |
| 2025 background: -webkit-image-set( | 2023 background: -webkit-image-set( |
| 2026 url(../images/files/ui/process_drawer_button_opened_hover.png) 1x, | 2024 url(../images/files/ui/process_drawer_button_opened_hover.png) 1x, |
| 2027 url(../images/files/ui/2x/process_drawer_button_opened_hover.png) 2x) | 2025 url(../images/files/ui/2x/process_drawer_button_opened_hover.png) 2x) |
| 2028 no-repeat; | 2026 no-repeat; |
| 2029 } | 2027 } |
| 2030 | 2028 |
| 2031 #progress-center button.toggle:active { | 2029 #progress-center button.close:active { |
| 2032 background: -webkit-image-set( | 2030 background: -webkit-image-set( |
| 2033 url(../images/files/ui/process_drawer_button_opened_pressed.png) 1x, | 2031 url(../images/files/ui/process_drawer_button_opened_pressed.png) 1x, |
| 2034 url(../images/files/ui/2x/process_drawer_button_opened_pressed.png) 2x) | 2032 url(../images/files/ui/2x/process_drawer_button_opened_pressed.png) 2x) |
| 2035 no-repeat; | 2033 no-repeat; |
| 2036 } | 2034 } |
| 2037 | 2035 |
| 2038 /* | 2036 #progress-center button.open { |
| 2039 * If the closed progress center has only one item, | 2037 background: -webkit-image-set( |
| 2040 * toggle button turned into cancel button the item. | 2038 url(../images/files/ui/process_drawer_button_closed.png) 1x, |
| 2041 */ | 2039 url(../images/files/ui/2x/process_drawer_button_closed.png) 2x) |
| 2042 #progress-center:not(.opened) #progress-center-close-view.single ~ | 2040 no-repeat; |
| 2043 button.toggle, | 2041 } |
| 2042 |
| 2043 #progress-center button.open:hover { |
| 2044 background: -webkit-image-set( |
| 2045 url(../images/files/ui/process_drawer_button_closed_hover.png) 1x, |
| 2046 url(../images/files/ui/2x/process_drawer_button_closed_hover.png) 2x) |
| 2047 no-repeat; |
| 2048 } |
| 2049 |
| 2050 #progress-center button.open:active { |
| 2051 background: -webkit-image-set( |
| 2052 url(../images/files/ui/process_drawer_button_closed_pressed.png) 1x, |
| 2053 url(../images/files/ui/2x/process_drawer_button_closed_pressed.png) 2x) |
| 2054 no-repeat; |
| 2055 } |
| 2056 |
| 2044 #progress-center button.cancel { | 2057 #progress-center button.cancel { |
| 2045 background: -webkit-image-set( | 2058 background: -webkit-image-set( |
| 2046 url(../images/files/ui/close_bar.png) 1x, | 2059 url(../images/files/ui/close_bar.png) 1x, |
| 2047 url(../images/files/ui/2x/close_bar.png) 2x) | 2060 url(../images/files/ui/2x/close_bar.png) 2x) |
| 2048 no-repeat; | 2061 no-repeat; |
| 2049 } | 2062 } |
| 2050 | 2063 |
| 2051 #progress-center:not(.opened) | 2064 #progress-center-close-view:not(.single) button.cancel { |
| 2052 #progress-center-close-view.single:not(.cancelable) ~ button.toggle, | 2065 display: none; |
| 2066 } |
| 2067 |
| 2068 #progress-center-close-view.single button.open { |
| 2069 display: none; |
| 2070 } |
| 2071 |
| 2053 #progress-center li:not(.cancelable) button.cancel { | 2072 #progress-center li:not(.cancelable) button.cancel { |
| 2054 visibility: hidden; | 2073 visibility: hidden; |
| 2055 } | 2074 } |
| 2056 | |
| 2057 #progress-center.opened button.toggle { | |
| 2058 background: -webkit-image-set( | |
| 2059 url(../images/files/ui/process_drawer_button_closed.png) 1x, | |
| 2060 url(../images/files/ui/2x/process_drawer_button_closed.png) 2x) | |
| 2061 no-repeat; | |
| 2062 top: 10px; | |
| 2063 } | |
| 2064 | |
| 2065 #progress-center.opened button.toggle:hover { | |
| 2066 background: -webkit-image-set( | |
| 2067 url(../images/files/ui/process_drawer_button_closed_hover.png) 1x, | |
| 2068 url(../images/files/ui/2x/process_drawer_button_closed_hover.png) 2x) | |
| 2069 no-repeat; | |
| 2070 } | |
| 2071 | |
| 2072 #progress-center.opened button.toggle:active { | |
| 2073 background: -webkit-image-set( | |
| 2074 url(../images/files/ui/process_drawer_button_closed_pressed.png) 1x, | |
| 2075 url(../images/files/ui/2x/process_drawer_button_closed_pressed.png) 2x) | |
| 2076 no-repeat; | |
| 2077 } | |
| OLD | NEW |