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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html

Issue 2096903002: Revert of [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html b/third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html
index b0eaf6b2076b48032c7e88ddebc5ad75ab4211f5..d3713236a537222b2cb15f7d5c1c6ea35c6cfeaf 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-toolbar/paper-toolbar.html
@@ -1,5 +1,4 @@
<!--
-@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
@@ -104,9 +103,6 @@
<template>
<style>
:host {
- --calculated-paper-toolbar-height: var(--paper-toolbar-height, 64px);
- --calculated-paper-toolbar-sm-height: var(--paper-toolbar-sm-height, 56px);
-
/* technical */
display: block;
position: relative;
@@ -114,7 +110,7 @@
-moz-box-sizing: border-box;
/* size */
- height: var(--calculated-paper-toolbar-height);
+ height: var(--paper-toolbar-height, 64px);
background: var(--paper-toolbar-background, --primary-color);
color: var(--paper-toolbar-color, --dark-theme-text-color);
@@ -128,18 +124,18 @@
}
:host(.medium-tall) {
- height: calc(var(--calculated-paper-toolbar-height) * 2);
+ height: calc(var(--paper-toolbar-height, 64px) * 2);
@apply(--paper-toolbar-medium);
}
:host(.tall) {
- height: calc(var(--calculated-paper-toolbar-height) * 3);
+ height: calc(var(--paper-toolbar-height, 64px) * 3);
@apply(--paper-toolbar-tall);
}
.toolbar-tools {
position: relative;
- height: var(--calculated-paper-toolbar-height);
+ height: var(--paper-toolbar-height, 64px);
padding: 0 16px;
pointer-events: none;
@apply(--layout-horizontal);
@@ -153,19 +149,19 @@
@media (max-width: 600px) {
:host {
- height: var(--calculated-paper-toolbar-sm-height);
+ height: var(--paper-toolbar-sm-height, 56px);
}
:host(.medium-tall) {
- height: calc(var(--calculated-paper-toolbar-sm-height) * 2);
+ height: calc(var(--paper-toolbar-sm-height, 56px) * 2);
}
:host(.tall) {
- height: calc(var(--calculated-paper-toolbar-sm-height) * 3);
+ height: calc(var(--paper-toolbar-sm-height, 56px) * 3);
}
.toolbar-tools {
- height: var(--calculated-paper-toolbar-sm-height);
+ height: var(--paper-toolbar-sm-height, 56px);
}
}
« no previous file with comments | « third_party/polymer/v1_0/components-chromium/paper-toolbar/bower.json ('k') | third_party/polymer/v1_0/components_summary.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698