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