Commit 5f3fdc72 authored by David Roger's avatar David Roger Committed by Commit Bot

[signin] Polish style for signin interception bubble

Changes based on feedback from designer.

Screenshot light mode:
https://drive.google.com/file/d/1xddnpwCSkn5PtTcrUtwByiF_5gKOSbfj/view?usp=sharing

Screenshot dark mode:
https://drive.google.com/file/d/1Fjn5fGmpc48CYxtKwI6t0GOEmBqjUzQo/view?usp=sharing

Bug: 1076880
Change-Id: Ia16fd294ffba2c9bf2726d05433ebbb50a5fc328
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324130Reviewed-by: default avatarMonica Basta <msalama@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#793245}
parent 4b4ca7f9
<style include="signin-dialog-shared"> <style include="signin-dialog-shared">
:host { :host {
color: var(--cr-primary-text-color);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
...@@ -9,7 +8,7 @@ ...@@ -9,7 +8,7 @@
#header { #header {
--avatar-position: 84px; --avatar-position: 84px;
border-radius: 8px; border-radius: 8px;
margin: 8px; margin: 8px 8px 16px;
min-height: 128px; min-height: 128px;
position: relative; position: relative;
} }
...@@ -27,6 +26,7 @@ ...@@ -27,6 +26,7 @@
.avatar { .avatar {
--avatar-size: 60px; --avatar-size: 60px;
border: 2px solid var(--md-background-color);
border-radius: 50%; border-radius: 50%;
height: var(--avatar-size); height: var(--avatar-size);
position: absolute; position: absolute;
...@@ -44,8 +44,7 @@ ...@@ -44,8 +44,7 @@
#workBadge > iron-icon { #workBadge > iron-icon {
--work-icon-size: 36px; --work-icon-size: 36px;
/** Use dark color for dark mode */ color: white;
color: var(--md-background-color);
height: var(--work-icon-size); height: var(--work-icon-size);
margin: auto; margin: auto;
width: var(--work-icon-size); width: var(--work-icon-size);
...@@ -58,6 +57,7 @@ ...@@ -58,6 +57,7 @@
} }
#body { #body {
color: var(--cr-secondary-text-color);
flex-grow: 1; flex-grow: 1;
font-size: 13px; font-size: 13px;
line-height: 20px; line-height: 20px;
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
} }
#title { #title {
color: var(--cr-primary-text-color);
font-size: 15px; font-size: 15px;
font-weight: 500; font-weight: 500;
line-height: 22px; line-height: 22px;
......
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