Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 1901343004: [Polymer] update third_party polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new pull Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/md_downloads/crisper.js ('k') | third_party/polymer/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- -
2 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
11 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 11 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
12 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 12 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
13 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 13 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
14 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 14 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
15 Code distributed by Google as part of the polymer project is also 15 Code distributed by Google as part of the polymer project is also
16 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 16 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
17 --> 17 -->
18 <meta charset="utf-8"> 18 <meta charset="utf-8">
19 <title>$i18n{title}</title> 19 <title>$i18n{title}</title>
20 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 20 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
21 <style> 21 <style>
22 /* Copyright 2016 The Chromium Authors. All rights reserved.
23 * Use of this source code is governed by a BSD-style license that can be
24 * found in the LICENSE file. */
25
22 :root { 26 :root {
23 /* These are custom, Chrome-specific colors that don't have --paper or 27 /* These are custom, Chrome-specific colors that don't have --paper or
24 * --google equivalents. Blame bettes@. http://crbug.com/598451 */ 28 * --google equivalents. Blame bettes@. http://crbug.com/598451 */
25 --md-background-color: rgb(236, 239, 241); 29 --md-background-color: rgb(236, 239, 241);
26 --md-toolbar-color: rgb(52, 73, 94); 30 --md-toolbar-color: rgb(52, 73, 94);
27 } 31 }
28 32
29 </style> 33 </style>
30 <style> 34 <style>
31 html { 35 html {
(...skipping 25 matching lines...) Expand all
57 :host { 61 :host {
58 will-change: transform; 62 will-change: transform;
59 } 63 }
60 } 64 }
61 65
62 #items { 66 #items {
63 @apply(--iron-list-items-container); 67 @apply(--iron-list-items-container);
64 position: relative; 68 position: relative;
65 } 69 }
66 70
71 :host(:not([grid])) #items > ::content > * {
72 width: 100%;
73 };
74
67 #items > ::content > * { 75 #items > ::content > * {
68 width: 100%;
69 box-sizing: border-box; 76 box-sizing: border-box;
77 margin: 0;
70 position: absolute; 78 position: absolute;
71 top: 0; 79 top: 0;
72 will-change: transform; 80 will-change: transform;
73 } 81 }
74 </style> 82 </style>
75 83
76 <array-selector id="selector" items="{{items}}" selected="{{selectedItems}}" selected-item="{{selectedItem}}"> 84 <array-selector id="selector" items="{{items}}" selected="{{selectedItems}}" selected-item="{{selectedItem}}">
77 </array-selector> 85 </array-selector>
78 86
79 <div id="items"> 87 <div id="items">
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 1901
1894 /* 1902 /*
1895 * Deprecated values because of their confusing names. 1903 * Deprecated values because of their confusing names.
1896 */ 1904 */
1897 --text-primary-color: var(--dark-theme-text-color); 1905 --text-primary-color: var(--dark-theme-text-color);
1898 --default-primary-color: var(--primary-color); 1906 --default-primary-color: var(--primary-color);
1899 1907
1900 } 1908 }
1901 1909
1902 </style> 1910 </style>
1903 <llink rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typograph y.html"> 1911 <style>
1912 /* Copyright 2015 The Chromium Authors. All rights reserved.
1913 * Use of this source code is governed by a BSD-style license that can be
1914 * found in the LICENSE file. */
1904 1915
1916 @font-face {
1917 font-family: 'Roboto';
1918 font-style: normal;
1919 font-weight: 300;
1920 src: local('Roboto Light'), local('Roboto-Light'),
1921 url("chrome://resources/roboto/roboto-light.woff2") format('woff2');
1922 }
1923
1924 @font-face {
1925 font-family: 'Roboto';
1926 font-style: normal;
1927 font-weight: 400;
1928 src: local('Roboto'), local('Roboto-Regular'),
1929 url("chrome://resources/roboto/roboto-regular.woff2") format('woff2');
1930 }
1931
1932 @font-face {
1933 font-family: 'Roboto';
1934 font-style: normal;
1935 font-weight: 500;
1936 src: local('Roboto Medium'), local('Roboto-Medium'),
1937 url("chrome://resources/roboto/roboto-medium.woff2") format('woff2');
1938 }
1939
1940 </style>
1941 <style is="custom-style">
1942
1943 :root {
1944
1945 /* Shared Styles */
1946 --paper-font-common-base: {
1947 font-family: 'Roboto', 'Noto', sans-serif;
1948 -webkit-font-smoothing: antialiased;
1949 };
1950
1951 --paper-font-common-code: {
1952 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
1953 -webkit-font-smoothing: antialiased;
1954 };
1955
1956 --paper-font-common-expensive-kerning: {
1957 text-rendering: optimizeLegibility;
1958 };
1959
1960 --paper-font-common-nowrap: {
1961 white-space: nowrap;
1962 overflow: hidden;
1963 text-overflow: ellipsis;
1964 };
1965
1966 /* Material Font Styles */
1967
1968 --paper-font-display4: {
1969 @apply(--paper-font-common-base);
1970 @apply(--paper-font-common-nowrap);
1971
1972 font-size: 112px;
1973 font-weight: 300;
1974 letter-spacing: -.044em;
1975 line-height: 120px;
1976 };
1977
1978 --paper-font-display3: {
1979 @apply(--paper-font-common-base);
1980 @apply(--paper-font-common-nowrap);
1981
1982 font-size: 56px;
1983 font-weight: 400;
1984 letter-spacing: -.026em;
1985 line-height: 60px;
1986 };
1987
1988 --paper-font-display2: {
1989 @apply(--paper-font-common-base);
1990
1991 font-size: 45px;
1992 font-weight: 400;
1993 letter-spacing: -.018em;
1994 line-height: 48px;
1995 };
1996
1997 --paper-font-display1: {
1998 @apply(--paper-font-common-base);
1999
2000 font-size: 34px;
2001 font-weight: 400;
2002 letter-spacing: -.01em;
2003 line-height: 40px;
2004 };
2005
2006 --paper-font-headline: {
2007 @apply(--paper-font-common-base);
2008
2009 font-size: 24px;
2010 font-weight: 400;
2011 letter-spacing: -.012em;
2012 line-height: 32px;
2013 };
2014
2015 --paper-font-title: {
2016 @apply(--paper-font-common-base);
2017 @apply(--paper-font-common-nowrap);
2018
2019 font-size: 20px;
2020 font-weight: 500;
2021 line-height: 28px;
2022 };
2023
2024 --paper-font-subhead: {
2025 @apply(--paper-font-common-base);
2026
2027 font-size: 16px;
2028 font-weight: 400;
2029 line-height: 24px;
2030 };
2031
2032 --paper-font-body2: {
2033 @apply(--paper-font-common-base);
2034
2035 font-size: 14px;
2036 font-weight: 500;
2037 line-height: 24px;
2038 };
2039
2040 --paper-font-body1: {
2041 @apply(--paper-font-common-base);
2042
2043 font-size: 14px;
2044 font-weight: 400;
2045 line-height: 20px;
2046 };
2047
2048 --paper-font-caption: {
2049 @apply(--paper-font-common-base);
2050 @apply(--paper-font-common-nowrap);
2051
2052 font-size: 12px;
2053 font-weight: 400;
2054 letter-spacing: 0.011em;
2055 line-height: 20px;
2056 };
2057
2058 --paper-font-menu: {
2059 @apply(--paper-font-common-base);
2060 @apply(--paper-font-common-nowrap);
2061
2062 font-size: 13px;
2063 font-weight: 500;
2064 line-height: 24px;
2065 };
2066
2067 --paper-font-button: {
2068 @apply(--paper-font-common-base);
2069 @apply(--paper-font-common-nowrap);
2070
2071 font-size: 14px;
2072 font-weight: 500;
2073 letter-spacing: 0.018em;
2074 line-height: 24px;
2075 text-transform: uppercase;
2076 };
2077
2078 --paper-font-code2: {
2079 @apply(--paper-font-common-code);
2080
2081 font-size: 14px;
2082 font-weight: 700;
2083 line-height: 20px;
2084 };
2085
2086 --paper-font-code1: {
2087 @apply(--paper-font-common-code);
2088
2089 font-size: 14px;
2090 font-weight: 500;
2091 line-height: 20px;
2092 };
2093
2094 }
2095
2096 </style>
1905 <dom-module id="paper-item-shared-styles" assetpath="chrome://resources/polymer/ v1_0/paper-item/"> 2097 <dom-module id="paper-item-shared-styles" assetpath="chrome://resources/polymer/ v1_0/paper-item/">
1906 <template> 2098 <template>
1907 <style> 2099 <style>
1908 :host, .paper-item { 2100 :host, .paper-item {
1909 display: block; 2101 display: block;
1910 position: relative; 2102 position: relative;
1911 min-height: var(--paper-item-min-height, 48px); 2103 min-height: var(--paper-item-min-height, 48px);
1912 padding: 0px 16px; 2104 padding: 0px 16px;
1913 } 2105 }
1914 2106
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 background: currentColor; 2142 background: currentColor;
1951 content: ''; 2143 content: '';
1952 opacity: var(--dark-divider-opacity); 2144 opacity: var(--dark-divider-opacity);
1953 pointer-events: none; 2145 pointer-events: none;
1954 2146
1955 @apply(--paper-item-focused-before); 2147 @apply(--paper-item-focused-before);
1956 } 2148 }
1957 </style> 2149 </style>
1958 </template> 2150 </template>
1959 </dom-module> 2151 </dom-module>
1960 </llink> 2152
1961 2153
1962 <dom-module id="paper-item" assetpath="chrome://resources/polymer/v1_0/paper-ite m/"> 2154 <dom-module id="paper-item" assetpath="chrome://resources/polymer/v1_0/paper-ite m/">
1963 <template> 2155 <template>
1964 <style include="paper-item-shared-styles"></style> 2156 <style include="paper-item-shared-styles"></style>
1965 <style> 2157 <style>
1966 :host { 2158 :host {
1967 @apply(--layout-horizontal); 2159 @apply(--layout-horizontal);
1968 @apply(--layout-center); 2160 @apply(--layout-center);
1969 @apply(--paper-font-subhead); 2161 @apply(--paper-font-subhead);
1970 2162
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2037 2229
2038 </dom-module> 2230 </dom-module>
2039 <dom-module id="iron-overlay-backdrop" assetpath="chrome://resources/polymer/v1_ 0/iron-overlay-behavior/"> 2231 <dom-module id="iron-overlay-backdrop" assetpath="chrome://resources/polymer/v1_ 0/iron-overlay-behavior/">
2040 2232
2041 <style> 2233 <style>
2042 2234
2043 :host { 2235 :host {
2044 position: fixed; 2236 position: fixed;
2045 top: 0; 2237 top: 0;
2046 left: 0; 2238 left: 0;
2047 width: 100vw; 2239 width: 100%;
2048 height: 100vh; 2240 height: 100%;
2049 background-color: var(--iron-overlay-backdrop-background-color, #000); 2241 background-color: var(--iron-overlay-backdrop-background-color, #000);
2050 opacity: 0; 2242 opacity: 0;
2051 transition: opacity 0.2s; 2243 transition: opacity 0.2s;
2052 pointer-events: none; 2244 pointer-events: none;
2053 2245
2054 @apply(--iron-overlay-backdrop); 2246 @apply(--iron-overlay-backdrop);
2055 } 2247 }
2056 2248
2057 :host([opened]) { 2249 :host([opened]) {
2058 opacity: var(--iron-overlay-backdrop-opacity, 0.6); 2250 opacity: var(--iron-overlay-backdrop-opacity, 0.6);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 position: fixed; 2403 position: fixed;
2212 clip: rect(0px,0px,0px,0px); 2404 clip: rect(0px,0px,0px,0px);
2213 } 2405 }
2214 </style> 2406 </style>
2215 2407
2216 <template> 2408 <template>
2217 <div aria-live$="[[mode]]">[[_text]]</div> 2409 <div aria-live$="[[mode]]">[[_text]]</div>
2218 </template> 2410 </template>
2219 2411
2220 </dom-module> 2412 </dom-module>
2221 <style>
2222 /* Copyright 2015 The Chromium Authors. All rights reserved.
2223 * Use of this source code is governed by a BSD-style license that can be
2224 * found in the LICENSE file. */
2225
2226 @font-face {
2227 font-family: 'Roboto';
2228 font-style: normal;
2229 font-weight: 300;
2230 src: local('Roboto Light'), local('Roboto-Light'),
2231 url("chrome://resources/roboto/roboto-light.woff2") format('woff2');
2232 }
2233
2234 @font-face {
2235 font-family: 'Roboto';
2236 font-style: normal;
2237 font-weight: 400;
2238 src: local('Roboto'), local('Roboto-Regular'),
2239 url("chrome://resources/roboto/roboto-regular.woff2") format('woff2');
2240 }
2241
2242 @font-face {
2243 font-family: 'Roboto';
2244 font-style: normal;
2245 font-weight: 500;
2246 src: local('Roboto Medium'), local('Roboto-Medium'),
2247 url("chrome://resources/roboto/roboto-medium.woff2") format('woff2');
2248 }
2249
2250 </style>
2251 <style is="custom-style">
2252
2253 :root {
2254
2255 /* Shared Styles */
2256 --paper-font-common-base: {
2257 font-family: 'Roboto', 'Noto', sans-serif;
2258 -webkit-font-smoothing: antialiased;
2259 };
2260
2261 --paper-font-common-code: {
2262 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
2263 -webkit-font-smoothing: antialiased;
2264 };
2265
2266 --paper-font-common-expensive-kerning: {
2267 text-rendering: optimizeLegibility;
2268 };
2269
2270 --paper-font-common-nowrap: {
2271 white-space: nowrap;
2272 overflow: hidden;
2273 text-overflow: ellipsis;
2274 };
2275
2276 /* Material Font Styles */
2277
2278 --paper-font-display4: {
2279 @apply(--paper-font-common-base);
2280 @apply(--paper-font-common-nowrap);
2281
2282 font-size: 112px;
2283 font-weight: 300;
2284 letter-spacing: -.044em;
2285 line-height: 120px;
2286 };
2287
2288 --paper-font-display3: {
2289 @apply(--paper-font-common-base);
2290 @apply(--paper-font-common-nowrap);
2291
2292 font-size: 56px;
2293 font-weight: 400;
2294 letter-spacing: -.026em;
2295 line-height: 60px;
2296 };
2297
2298 --paper-font-display2: {
2299 @apply(--paper-font-common-base);
2300
2301 font-size: 45px;
2302 font-weight: 400;
2303 letter-spacing: -.018em;
2304 line-height: 48px;
2305 };
2306
2307 --paper-font-display1: {
2308 @apply(--paper-font-common-base);
2309
2310 font-size: 34px;
2311 font-weight: 400;
2312 letter-spacing: -.01em;
2313 line-height: 40px;
2314 };
2315
2316 --paper-font-headline: {
2317 @apply(--paper-font-common-base);
2318
2319 font-size: 24px;
2320 font-weight: 400;
2321 letter-spacing: -.012em;
2322 line-height: 32px;
2323 };
2324
2325 --paper-font-title: {
2326 @apply(--paper-font-common-base);
2327 @apply(--paper-font-common-nowrap);
2328
2329 font-size: 20px;
2330 font-weight: 500;
2331 line-height: 28px;
2332 };
2333
2334 --paper-font-subhead: {
2335 @apply(--paper-font-common-base);
2336
2337 font-size: 16px;
2338 font-weight: 400;
2339 line-height: 24px;
2340 };
2341
2342 --paper-font-body2: {
2343 @apply(--paper-font-common-base);
2344
2345 font-size: 14px;
2346 font-weight: 500;
2347 line-height: 24px;
2348 };
2349
2350 --paper-font-body1: {
2351 @apply(--paper-font-common-base);
2352
2353 font-size: 14px;
2354 font-weight: 400;
2355 line-height: 20px;
2356 };
2357
2358 --paper-font-caption: {
2359 @apply(--paper-font-common-base);
2360 @apply(--paper-font-common-nowrap);
2361
2362 font-size: 12px;
2363 font-weight: 400;
2364 letter-spacing: 0.011em;
2365 line-height: 20px;
2366 };
2367
2368 --paper-font-menu: {
2369 @apply(--paper-font-common-base);
2370 @apply(--paper-font-common-nowrap);
2371
2372 font-size: 13px;
2373 font-weight: 500;
2374 line-height: 24px;
2375 };
2376
2377 --paper-font-button: {
2378 @apply(--paper-font-common-base);
2379 @apply(--paper-font-common-nowrap);
2380
2381 font-size: 14px;
2382 font-weight: 500;
2383 letter-spacing: 0.018em;
2384 line-height: 24px;
2385 text-transform: uppercase;
2386 };
2387
2388 --paper-font-code2: {
2389 @apply(--paper-font-common-code);
2390
2391 font-size: 14px;
2392 font-weight: 700;
2393 line-height: 20px;
2394 };
2395
2396 --paper-font-code1: {
2397 @apply(--paper-font-common-code);
2398
2399 font-size: 14px;
2400 font-weight: 500;
2401 line-height: 20px;
2402 };
2403
2404 }
2405
2406 </style>
2407
2408
2409 <dom-module id="paper-input-container" assetpath="chrome://resources/polymer/v1_ 0/paper-input/"> 2413 <dom-module id="paper-input-container" assetpath="chrome://resources/polymer/v1_ 0/paper-input/">
2410 <template> 2414 <template>
2411 <style> 2415 <style>
2412 :host { 2416 :host {
2413 display: block; 2417 display: block;
2414 padding: 8px 0; 2418 padding: 8px 0;
2415 2419
2416 @apply(--paper-input-container); 2420 @apply(--paper-input-container);
2417 } 2421 }
2418 2422
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2947 } 2951 }
2948 2952
2949 paper-button { 2953 paper-button {
2950 font-weight: 500; 2954 font-weight: 500;
2951 margin: 0; 2955 margin: 0;
2952 min-width: auto; 2956 min-width: auto;
2953 } 2957 }
2954 2958
2955 </style> 2959 </style>
2956 <style> 2960 <style>
2961 /* Copyright 2016 The Chromium Authors. All rights reserved.
2962 * Use of this source code is governed by a BSD-style license that can be
2963 * found in the LICENSE file. */
2964
2957 :root { 2965 :root {
2958 /* These are custom, Chrome-specific colors that don't have --paper or 2966 /* These are custom, Chrome-specific colors that don't have --paper or
2959 * --google equivalents. Blame bettes@. http://crbug.com/598451 */ 2967 * --google equivalents. Blame bettes@. http://crbug.com/598451 */
2960 --md-background-color: rgb(236, 239, 241); 2968 --md-background-color: rgb(236, 239, 241);
2961 --md-toolbar-color: rgb(52, 73, 94); 2969 --md-toolbar-color: rgb(52, 73, 94);
2962 } 2970 }
2963 2971
2964 </style> 2972 </style>
2965 <style> 2973 <style>
2966 #toolbar { 2974 #toolbar {
(...skipping 23 matching lines...) Expand all
2990 <if expr="is_macosx"> 2998 <if expr="is_macosx">
2991 <command id="undo-command" shortcut="Meta-U+005A"></command> 2999 <command id="undo-command" shortcut="Meta-U+005A"></command>
2992 <command id="find-command" shortcut="Meta-U+0046"></command> 3000 <command id="find-command" shortcut="Meta-U+0046"></command>
2993 </if> 3001 </if>
2994 <if expr="not is_macosx"> 3002 <if expr="not is_macosx">
2995 <command id="undo-command" shortcut="Ctrl-U+005A"></command> 3003 <command id="undo-command" shortcut="Ctrl-U+005A"></command>
2996 <command id="find-command" shortcut="Ctrl-U+0046"></command> 3004 <command id="find-command" shortcut="Ctrl-U+0046"></command>
2997 </if> 3005 </if>
2998 <link rel="import" href="chrome://resources/html/polymer.html"> 3006 <link rel="import" href="chrome://resources/html/polymer.html">
2999 <script src="crisper.js"></script></body></html> 3007 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/crisper.js ('k') | third_party/polymer/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698