<style include="tangible-sync-style-shared cr-hidden-style">
:host {
--buttons-container-max-width: 45%;
color: var(--cr-primary-text-color);
display: block;
}
.main-container {
height: calc(100vh - (var(--action-container-padding) +
var(--cr-button-height)));
width: 100vw;
}
.content-container {
left: 50%;
position: relative;
top: 50%;
transform: translate(-50%, -50%);
}
#avatar-container {
height: var(--tangible-sync-style-avatar-size);
left: 0;
margin: auto;
position: relative;
right: 0;
width: var(--tangible-sync-style-avatar-size);
z-index: 1;
}
#avatar {
border: 2px solid var(--md-background-color);
border-radius: 50%;
height: 100%;
width: 100%;
}
.work-badge {
--badge-offset: -6px;
bottom: var(--badge-offset);
position: absolute;
}
#text-container {
--footer-margin: 40px;
margin-inline: auto;
text-align: center;
}
#info-box {
align-items: center;
border: 1px solid var(--google-grey-200);
bottom: 0;
color: var(--google-grey-700);
display: flex;
flex-direction: row;
font-size: 11px;
line-height: 16px;
margin-inline: auto;
margin-top: 32px;
max-width: calc(100% - var(--buttons-container-max-width));
padding-bottom: 12px;
padding-inline-end: 18px;
padding-inline-start: 0;
padding-top: 12px;
position: relative;
width: 530px;
}
#info-box>p {
flex-grow: 1;
margin-block: 0;
text-align: start;
}
#icon-container {
--icon-container-size: 28px;
background-color: var(--google-grey-100);
border-radius: 50%;
height: var(--icon-container-size);
margin-inline: 16px;
width: var(--icon-container-size);
}
#icon-container cr-icon {
--icon-size: 16px;
height: var(--icon-size);
padding: calc((var(--icon-container-size) - var(--icon-size)) / 2);
width: var(--icon-size);
}
.action-container {
align-items: flex-end;
bottom: 0;
box-sizing: border-box;
display: flex;
flex-wrap: wrap-reverse;
justify-content: flex-end;
padding: 24px;
position: absolute;
width: 100%;
}
.tangible-sync-style-left-banner {
content: url(images/left_illustration.svg);
}
.tangible-sync-style-right-banner {
content: url(images/right_illustration.svg);
}
@media (prefers-color-scheme: dark) {
.tangible-sync-style .work-badge {
/* ".tangible-sync-style" is explicitly added to the selector to take
precedence over the one set in the shared CSS file. */
border-color: var(--md-background-color);
}
#info-box {
color: var(--google-grey-100);
}
#icon-container {
background-color: var(--google-grey-700);
}
.tangible-sync-style-left-banner {
content: url(images/left_illustration_dark.svg);
}
.tangible-sync-style-right-banner {
content: url(images/right_illustration_dark.svg);
}
.tangible-sync-style #info-box {
border-color: var(--google-grey-600);
}
}
</style>
<div class="main-container tangible-sync-style">
<img class="tangible-sync-style-left-banner" alt="">
<img class="tangible-sync-style-right-banner" alt="">
<div class="content-container">
<div id="avatar-container">
<img id="avatar" alt="" src="[[pictureUrl_]]">
<div class="work-badge" hidden="[[!managementDisclaimer_]]">
<cr-icon class="icon" icon="cr:domain"></cr-icon>
</div>
</div>
<div id="text-container">
<h2 class="title">
[[title_]]
</h2>
<p class="subtitle">
[[subtitle_]]
</p>
</div>
<div id="info-box" hidden="[[!managementDisclaimer_]]">
<div id="icon-container">
<cr-icon icon="cr:domain"></cr-icon>
</div>
<p id="enterprise-info">
[[managementDisclaimer_]]
</p>
</div>
</div>
</div>
<div class="action-container tangible-sync-style">
<cr-button id="proceedButton" class="action-button" on-click="onProceed_"
disabled="[[disableProceedButton_]]">
$i18n{proceedLabel}
</cr-button>
</div>