Commit 0a948617 authored by Anastasiia Nikolaienko's avatar Anastasiia Nikolaienko Committed by Commit Bot

Add EDU login flow: CSS fixes

Address comments to UI implementation - update margins and logo size.
New screenshots:
http://slides/1Trd6FeBKqts4iAfYpE8lzzgpeaB_hE8vL8tTY5YA2PI

Bug: 1054798
Change-Id: Ic7bf2d72f5cb6cf07b27b95159b06d838283255b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132398Reviewed-by: default avatarKush Sinha <sinhak@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Anastasiia Nikolaienko <anastasiian@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756012}
parent e0dce495
......@@ -8,11 +8,12 @@
font-size: 2em;
font-weight: normal;
margin-bottom: 16px;
margin-top: 28px;
margin-top: 20px;
}
p {
line-height: 1.5;
margin: 0;
white-space: pre-line;
}
......
......@@ -6,8 +6,8 @@
.info-item {
display: flex;
flex: auto;
padding-bottom: 10px;
padding-top: 10px;
padding-bottom: 16px;
padding-top: 16px;
}
.info-item:not(:last-child) {
......@@ -16,11 +16,13 @@
.info-icon {
flex-basis: 24px;
padding-top: 10px;
}
.info-title {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
padding-inline-start: 24px;
}
</style>
......@@ -29,8 +31,8 @@
<span slot="main">
<div class="main-padding">
<if expr="_google_chrome">
<img id="google-full-logo" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
alt="">
<img class="google-full-logo"
src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" alt="">
</if>
<h1>$i18n{parentInfoTitle}</h1>
......
......@@ -8,6 +8,7 @@
display: inline-flex;
font-weight: 500;
letter-spacing: .25px;
margin-bottom: 16px;
max-width: 100%;
min-width: 240px;
padding: 3px 5px;
......@@ -44,6 +45,7 @@
.input-group {
margin-bottom: 40px;
margin-top: 32px;
}
.field-wrapper {
......@@ -136,8 +138,8 @@
<span slot="main">
<div class="main-padding">
<if expr="_google_chrome">
<img id="google-full-logo" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
alt="">
<img class="google-full-logo"
src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" alt="">
</if>
<h1>[[getParentSigninTitle_(parent)]]</h1>
......
......@@ -31,6 +31,10 @@
height: var(--profile-icon-size);
width: var(--profile-icon-size);
}
#parentsListBody {
margin-bottom: 16px;
}
</style>
<edu-login-template>
......@@ -41,8 +45,8 @@
src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" alt="">
</if>
<h1>$i18n{parentsListTitle}</h1>
<p id="parentsListBody" aria-hidden="true" class="secondary">
$i18n{parentsListBody}
<p id="parentsListBody" aria-hidden="true"
class="secondary">$i18n{parentsListBody}
</p>
</div>
<div tabindex="0" role="listbox" aria-labelledby="parentsListBody">
......
......@@ -2,6 +2,7 @@
.main-padding {
display: flex;
flex-direction: column;
height: calc(100% - 90px);
}
.image-container {
......
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