Commit ea98ba25 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Use oobe-illustration class for pin setup illustraion

Bug: 1023397
Change-Id: Iaecffb245ca0da14a8a048966690534eb92f3046
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912122Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714532}
parent b65fabc0
...@@ -10,9 +10,3 @@ ...@@ -10,9 +10,3 @@
setup-pin-keyboard { setup-pin-keyboard {
margin-top: 17px; margin-top: 17px;
} }
#done-illustration {
height: 264px;
margin-top: 38px; /* 64px from subtitle baseline. */
width: 264px;
}
...@@ -109,9 +109,10 @@ ...@@ -109,9 +109,10 @@
class="focus-on-show" class="focus-on-show"
is-incognito-ui> is-incognito-ui>
</setup-pin-keyboard> </setup-pin-keyboard>
<img id="done-illustration" hidden="[[isStepHidden_(step_, 'done')]]" <img id="done-illustration" hidden="[[isStepHidden_(step_, 'done')]]"
srcset="images/pin_illustration_1x.svg 1x, class="oobe-illustration"
images/pin_illustration_2x.svg 2x"> srcset="images/pin_illustration_1x.svg 1x,
images/pin_illustration_2x.svg 2x">
</div> </div>
<div slot="bottom-buttons" class="flex layout horizontal end-justified"> <div slot="bottom-buttons" class="flex layout horizontal end-justified">
<oobe-text-button id="setupSkipButton" on-tap="onSkipButton_" <oobe-text-button id="setupSkipButton" on-tap="onSkipButton_"
......
...@@ -22,3 +22,9 @@ ...@@ -22,3 +22,9 @@
border-radius: 4px; border-radius: 4px;
box-shadow: 0 24px 24px rgba(0, 0, 0, .24), 0 0 24px rgba(0, 0, 0, .12); box-shadow: 0 24px 24px rgba(0, 0, 0, .24), 0 0 24px rgba(0, 0, 0, .12);
} }
.oobe-illustration {
max-height: -webkit-fill-available;
max-width: -webkit-fill-available;
object-fit: contain;
}
...@@ -116,9 +116,3 @@ ...@@ -116,9 +116,3 @@
right: 0; right: 0;
top: 0; top: 0;
} }
.oobe-illustration {
max-height: -webkit-fill-available;
max-width: -webkit-fill-available;
object-fit: contain;
}
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