Commit 56c5aaa2 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Minor polymer2 compatibility changes

Bug: 955194
Change-Id: Id4e0d4032099ab191bf373148aab657250cf2948
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1790446
Commit-Queue: Denis Kuznetsov <antrim@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699417}
parent c0820061
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
} }
iron-pages > * { iron-pages > * {
@apply(--shadow-elevation-2dp); @apply --shadow-elevation-2dp;
background-color: white; background-color: white;
display: block; display: block;
margin: 20px; margin: 20px;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
} }
.section { .section {
@apply(--cr-section); @apply --cr-section;
margin-bottom: 10px; margin-bottom: 10px;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
:root { :host {
--oobe-dialog-list-item-border: 1px solid rgba(0, 0, 0, 0.06); --oobe-dialog-list-item-border: 1px solid rgba(0, 0, 0, 0.06);
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
:root { :host {
--marketing-opt-in-dialog-list-item-border: 1px solid var(--google-grey-200); --marketing-opt-in-dialog-list-item-border: 1px solid var(--google-grey-200);
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
:root { :host {
--oobe-button-font-family: "Google Sans", Roboto, sans-serif; --oobe-button-font-family: "Google Sans", Roboto, sans-serif;
--oobe-default-font-family: Roboto, sans-serif; --oobe-default-font-family: Roboto, sans-serif;
--oobe-title-font-family: "Google Sans", Roboto, sans-serif; --oobe-title-font-family: "Google Sans", Roboto, sans-serif;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
:root { :host {
--oobe-hid-detection-item-border: 1px solid var(--google-grey-200); --oobe-hid-detection-item-border: 1px solid var(--google-grey-200);
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* This contains common styling for all the OOBE screens. */ * This contains common styling for all the OOBE screens. */
:root { :host {
--oobe-text-button-focused-border-color: --oobe-text-button-focused-border-color:
rgba(66, 133, 244, 0.4); /* #4284f4 */ rgba(66, 133, 244, 0.4); /* #4284f4 */
} }
...@@ -53,16 +53,11 @@ ...@@ -53,16 +53,11 @@
height: 28px; height: 28px;
justify-content: flex-end; justify-content: flex-end;
min-height: 0; min-height: 0;
padding-right: 34px; /* Double the padding of .step */ padding-inline-end: 34px; /* Double the padding of .step */
position: absolute; position: absolute;
width: 100%; width: 100%;
} }
html[dir=rtl] .step-controls {
/* Hack as padding-inline-end doesn't catch direction. crbug.com/363836 */
padding-left: 34px;
}
.animation .step-controls button { .animation .step-controls button {
/* Don't grey out disabled buttons during animation. */ /* Don't grey out disabled buttons during animation. */
color: buttontext !important; color: buttontext !important;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
:root { :host {
--oobe-dialog-list-item-border: 1px solid rgb(235,235,235); /* #EBEBEB */ --oobe-dialog-list-item-border: 1px solid rgb(235,235,235); /* #EBEBEB */
--oobe-a11y-dialog-list-item-border: 1px solid var(--google-grey-200); --oobe-a11y-dialog-list-item-border: 1px solid var(--google-grey-200);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment