Commit 465580f9 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Clean up some leftover polymer v1 code

Bug: 955194
Change-Id: I1e83b90791fd98c4502a92806b2425665f2fc44f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246565Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779291}
parent 6d0a288d
......@@ -12,12 +12,10 @@ oobe-dialog {
height: 100%;
}
cr-dialog {
--cr-dialog-native: {
max-width: 640px;
min-width: 512px;
width: calc(100% - var(--oobe-dialog-content-padding) * 2);
}
cr-dialog::part(dialog) {
max-width: 640px;
min-width: 512px;
width: calc(100% - var(--oobe-dialog-content-padding) * 2);
}
webview {
......
......@@ -12,12 +12,10 @@
position: relative;
}
#forgotPasswordDlg {
--cr-dialog-native: {
color: var(--primary-text-color);
font-size: 15px;
width: 384px;
}
#forgotPasswordDlg::part(dialog) {
color: var(--primary-text-color);
font-size: 15px;
width: 384px;
}
cr-input {
......
......@@ -20,12 +20,10 @@
<style include="oobe-dialog-host">
</style>
<style include="cr-shared-style">
#cancelConfirmDlg {
--cr-dialog-native: {
color: var(--primary-text-color);
font-size: 15px;
width: 384px;
};
#cancelConfirmDlg::part(dialog) {
color: var(--primary-text-color);
font-size: 15px;
width: 384px;
}
.cancel-button {
......
......@@ -119,11 +119,12 @@
font-size: 20px;
}
#pinInput::part(input) {
font-size: 28px;
}
#pinInput {
--cr-input-error-display: none;
--cr-input-input: {
font-size: 28px;
};
--cr-input-letter-spacing: var(--pin-keyboard-input-letter-spacing,
18px);
--cr-input-padding-end: 0;
......
......@@ -23,11 +23,6 @@
padding: 0;
top: 50%;
width: 512px;
/* Avoid using the mixin. Use ::part(dialog) instead.
* Necessary for backward compatibility with Polymer1/SDv0 (only used by
* OOBE). TODO(crbug.com/955194): Remove this once fixed.*/
@apply --cr-dialog-native;
}
@media (prefers-color-scheme: dark) {
......
......@@ -75,11 +75,6 @@
text-align: inherit;
text-overflow: ellipsis;
width: 100%;
/* Avoid using the mixin. Use ::part(input) instead.
* Necessary for backward compatibility with Polymer1/SDv0 (only used by
* OOBE). TODO(crbug.com/955194): Remove this once fixed.*/
@apply --cr-input-input;
}
/* Underline styling below. */
......
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