| Index: chrome/browser/resources/md_downloads/vulcanized.html
|
| diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
|
| index 3dcadb06cd01f438f6b7c63bce60e2349514c76d..589b6e8de78ce42e2dcd9c09e1c3f92f460644af 100644
|
| --- a/chrome/browser/resources/md_downloads/vulcanized.html
|
| +++ b/chrome/browser/resources/md_downloads/vulcanized.html
|
| @@ -19,6 +19,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| <title>$i18n{title}</title>
|
| <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
|
| <style>
|
| +/* Copyright 2016 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file. */
|
| +
|
| :root {
|
| /* These are custom, Chrome-specific colors that don't have --paper or
|
| * --google equivalents. Blame bettes@. http://crbug.com/598451 */
|
| @@ -64,9 +68,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| position: relative;
|
| }
|
|
|
| - #items > ::content > * {
|
| + :host(:not([grid])) #items > ::content > * {
|
| width: 100%;
|
| + };
|
| +
|
| + #items > ::content > * {
|
| box-sizing: border-box;
|
| + margin: 0;
|
| position: absolute;
|
| top: 0;
|
| will-change: transform;
|
| @@ -1900,8 +1908,192 @@ paper-button {
|
| }
|
|
|
| </style>
|
| -<llink rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography.html">
|
| +<style>
|
| +/* Copyright 2015 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file. */
|
|
|
| +@font-face {
|
| + font-family: 'Roboto';
|
| + font-style: normal;
|
| + font-weight: 300;
|
| + src: local('Roboto Light'), local('Roboto-Light'),
|
| + url("chrome://resources/roboto/roboto-light.woff2") format('woff2');
|
| +}
|
| +
|
| +@font-face {
|
| + font-family: 'Roboto';
|
| + font-style: normal;
|
| + font-weight: 400;
|
| + src: local('Roboto'), local('Roboto-Regular'),
|
| + url("chrome://resources/roboto/roboto-regular.woff2") format('woff2');
|
| +}
|
| +
|
| +@font-face {
|
| + font-family: 'Roboto';
|
| + font-style: normal;
|
| + font-weight: 500;
|
| + src: local('Roboto Medium'), local('Roboto-Medium'),
|
| + url("chrome://resources/roboto/roboto-medium.woff2") format('woff2');
|
| +}
|
| +
|
| +</style>
|
| +<style is="custom-style">
|
| +
|
| + :root {
|
| +
|
| + /* Shared Styles */
|
| + --paper-font-common-base: {
|
| + font-family: 'Roboto', 'Noto', sans-serif;
|
| + -webkit-font-smoothing: antialiased;
|
| + };
|
| +
|
| + --paper-font-common-code: {
|
| + font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
|
| + -webkit-font-smoothing: antialiased;
|
| + };
|
| +
|
| + --paper-font-common-expensive-kerning: {
|
| + text-rendering: optimizeLegibility;
|
| + };
|
| +
|
| + --paper-font-common-nowrap: {
|
| + white-space: nowrap;
|
| + overflow: hidden;
|
| + text-overflow: ellipsis;
|
| + };
|
| +
|
| + /* Material Font Styles */
|
| +
|
| + --paper-font-display4: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 112px;
|
| + font-weight: 300;
|
| + letter-spacing: -.044em;
|
| + line-height: 120px;
|
| + };
|
| +
|
| + --paper-font-display3: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 56px;
|
| + font-weight: 400;
|
| + letter-spacing: -.026em;
|
| + line-height: 60px;
|
| + };
|
| +
|
| + --paper-font-display2: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 45px;
|
| + font-weight: 400;
|
| + letter-spacing: -.018em;
|
| + line-height: 48px;
|
| + };
|
| +
|
| + --paper-font-display1: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 34px;
|
| + font-weight: 400;
|
| + letter-spacing: -.01em;
|
| + line-height: 40px;
|
| + };
|
| +
|
| + --paper-font-headline: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 24px;
|
| + font-weight: 400;
|
| + letter-spacing: -.012em;
|
| + line-height: 32px;
|
| + };
|
| +
|
| + --paper-font-title: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 20px;
|
| + font-weight: 500;
|
| + line-height: 28px;
|
| + };
|
| +
|
| + --paper-font-subhead: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 16px;
|
| + font-weight: 400;
|
| + line-height: 24px;
|
| + };
|
| +
|
| + --paper-font-body2: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 14px;
|
| + font-weight: 500;
|
| + line-height: 24px;
|
| + };
|
| +
|
| + --paper-font-body1: {
|
| + @apply(--paper-font-common-base);
|
| +
|
| + font-size: 14px;
|
| + font-weight: 400;
|
| + line-height: 20px;
|
| + };
|
| +
|
| + --paper-font-caption: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 12px;
|
| + font-weight: 400;
|
| + letter-spacing: 0.011em;
|
| + line-height: 20px;
|
| + };
|
| +
|
| + --paper-font-menu: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 13px;
|
| + font-weight: 500;
|
| + line-height: 24px;
|
| + };
|
| +
|
| + --paper-font-button: {
|
| + @apply(--paper-font-common-base);
|
| + @apply(--paper-font-common-nowrap);
|
| +
|
| + font-size: 14px;
|
| + font-weight: 500;
|
| + letter-spacing: 0.018em;
|
| + line-height: 24px;
|
| + text-transform: uppercase;
|
| + };
|
| +
|
| + --paper-font-code2: {
|
| + @apply(--paper-font-common-code);
|
| +
|
| + font-size: 14px;
|
| + font-weight: 700;
|
| + line-height: 20px;
|
| + };
|
| +
|
| + --paper-font-code1: {
|
| + @apply(--paper-font-common-code);
|
| +
|
| + font-size: 14px;
|
| + font-weight: 500;
|
| + line-height: 20px;
|
| + };
|
| +
|
| + }
|
| +
|
| +</style>
|
| <dom-module id="paper-item-shared-styles" assetpath="chrome://resources/polymer/v1_0/paper-item/">
|
| <template>
|
| <style>
|
| @@ -1957,7 +2149,7 @@ paper-button {
|
| </style>
|
| </template>
|
| </dom-module>
|
| -</llink>
|
| +
|
|
|
| <dom-module id="paper-item" assetpath="chrome://resources/polymer/v1_0/paper-item/">
|
| <template>
|
| @@ -2044,8 +2236,8 @@ paper-button {
|
| position: fixed;
|
| top: 0;
|
| left: 0;
|
| - width: 100vw;
|
| - height: 100vh;
|
| + width: 100%;
|
| + height: 100%;
|
| background-color: var(--iron-overlay-backdrop-background-color, #000);
|
| opacity: 0;
|
| transition: opacity 0.2s;
|
| @@ -2218,194 +2410,6 @@ paper-button {
|
| </template>
|
|
|
| </dom-module>
|
| -<style>
|
| -/* Copyright 2015 The Chromium Authors. All rights reserved.
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file. */
|
| -
|
| -@font-face {
|
| - font-family: 'Roboto';
|
| - font-style: normal;
|
| - font-weight: 300;
|
| - src: local('Roboto Light'), local('Roboto-Light'),
|
| - url("chrome://resources/roboto/roboto-light.woff2") format('woff2');
|
| -}
|
| -
|
| -@font-face {
|
| - font-family: 'Roboto';
|
| - font-style: normal;
|
| - font-weight: 400;
|
| - src: local('Roboto'), local('Roboto-Regular'),
|
| - url("chrome://resources/roboto/roboto-regular.woff2") format('woff2');
|
| -}
|
| -
|
| -@font-face {
|
| - font-family: 'Roboto';
|
| - font-style: normal;
|
| - font-weight: 500;
|
| - src: local('Roboto Medium'), local('Roboto-Medium'),
|
| - url("chrome://resources/roboto/roboto-medium.woff2") format('woff2');
|
| -}
|
| -
|
| -</style>
|
| -<style is="custom-style">
|
| -
|
| - :root {
|
| -
|
| - /* Shared Styles */
|
| - --paper-font-common-base: {
|
| - font-family: 'Roboto', 'Noto', sans-serif;
|
| - -webkit-font-smoothing: antialiased;
|
| - };
|
| -
|
| - --paper-font-common-code: {
|
| - font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
|
| - -webkit-font-smoothing: antialiased;
|
| - };
|
| -
|
| - --paper-font-common-expensive-kerning: {
|
| - text-rendering: optimizeLegibility;
|
| - };
|
| -
|
| - --paper-font-common-nowrap: {
|
| - white-space: nowrap;
|
| - overflow: hidden;
|
| - text-overflow: ellipsis;
|
| - };
|
| -
|
| - /* Material Font Styles */
|
| -
|
| - --paper-font-display4: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 112px;
|
| - font-weight: 300;
|
| - letter-spacing: -.044em;
|
| - line-height: 120px;
|
| - };
|
| -
|
| - --paper-font-display3: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 56px;
|
| - font-weight: 400;
|
| - letter-spacing: -.026em;
|
| - line-height: 60px;
|
| - };
|
| -
|
| - --paper-font-display2: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 45px;
|
| - font-weight: 400;
|
| - letter-spacing: -.018em;
|
| - line-height: 48px;
|
| - };
|
| -
|
| - --paper-font-display1: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 34px;
|
| - font-weight: 400;
|
| - letter-spacing: -.01em;
|
| - line-height: 40px;
|
| - };
|
| -
|
| - --paper-font-headline: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 24px;
|
| - font-weight: 400;
|
| - letter-spacing: -.012em;
|
| - line-height: 32px;
|
| - };
|
| -
|
| - --paper-font-title: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 20px;
|
| - font-weight: 500;
|
| - line-height: 28px;
|
| - };
|
| -
|
| - --paper-font-subhead: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 16px;
|
| - font-weight: 400;
|
| - line-height: 24px;
|
| - };
|
| -
|
| - --paper-font-body2: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 14px;
|
| - font-weight: 500;
|
| - line-height: 24px;
|
| - };
|
| -
|
| - --paper-font-body1: {
|
| - @apply(--paper-font-common-base);
|
| -
|
| - font-size: 14px;
|
| - font-weight: 400;
|
| - line-height: 20px;
|
| - };
|
| -
|
| - --paper-font-caption: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 12px;
|
| - font-weight: 400;
|
| - letter-spacing: 0.011em;
|
| - line-height: 20px;
|
| - };
|
| -
|
| - --paper-font-menu: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 13px;
|
| - font-weight: 500;
|
| - line-height: 24px;
|
| - };
|
| -
|
| - --paper-font-button: {
|
| - @apply(--paper-font-common-base);
|
| - @apply(--paper-font-common-nowrap);
|
| -
|
| - font-size: 14px;
|
| - font-weight: 500;
|
| - letter-spacing: 0.018em;
|
| - line-height: 24px;
|
| - text-transform: uppercase;
|
| - };
|
| -
|
| - --paper-font-code2: {
|
| - @apply(--paper-font-common-code);
|
| -
|
| - font-size: 14px;
|
| - font-weight: 700;
|
| - line-height: 20px;
|
| - };
|
| -
|
| - --paper-font-code1: {
|
| - @apply(--paper-font-common-code);
|
| -
|
| - font-size: 14px;
|
| - font-weight: 500;
|
| - line-height: 20px;
|
| - };
|
| -
|
| - }
|
| -
|
| -</style>
|
| -
|
| -
|
| <dom-module id="paper-input-container" assetpath="chrome://resources/polymer/v1_0/paper-input/">
|
| <template>
|
| <style>
|
| @@ -2954,6 +2958,10 @@ paper-button {
|
|
|
| </style>
|
| <style>
|
| +/* Copyright 2016 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file. */
|
| +
|
| :root {
|
| /* These are custom, Chrome-specific colors that don't have --paper or
|
| * --google equivalents. Blame bettes@. http://crbug.com/598451 */
|
|
|