Skip to content

Commit

Permalink
Polish SAML auth frame.
Browse files Browse the repository at this point in the history
Added shadow for frame's header and centered the tittle.

BUG=487871

Review URL: https://codereview.chromium.org/1442733003

Cr-Commit-Position: refs/heads/master@{#359501}
  • Loading branch information
dzhioev authored and Commit bot committed Nov 13, 2015
1 parent bc4d25d commit 6592c08
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion chrome/app/chromeos_strings.grdp
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ Press any key to continue exploring.
Previous password
</message>
<message name="IDS_LOGIN_SAML_NOTICE" desc="Text message displayed above SAML portal to early indicate that the user is being redirected to another sign-in provider. This is the version of the string used in the GAIA flow.">
This sign-in service is hosted by <ph name="SAML_DOMAIN">$1<ex>saml.com</ex></ph>.
This sign-in service is hosted by <ph name="SAML_DOMAIN">$1<ex>saml.com</ex></ph>
</message>
<message name="IDS_LOGIN_CONFIRM_PASSWORD_TITLE" desc="Title for the confirm password dialog.">
Please re-enter your password to update your <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph> profile.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

#oauth-enrollment.saml {
padding-top: 47px;
padding-top: 44px;
width: 562px;
}

Expand Down Expand Up @@ -77,12 +77,15 @@
}

#oauth-saml-notice-container {
-webkit-margin-start: 19px;
align-items: center;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.17);
display: flex;
height: 44px;
justify-content: center;
left: 0;
position: absolute;
right: 0;
text-align: start;
top: 15px;
top: 0;
}

#oauth-enrollment:not(.saml) #oauth-saml-notice-container {
Expand All @@ -92,7 +95,6 @@
#oauth-saml-notice-message {
color: rgb(106, 106, 106);
font-size: 13px;
margin: 0 auto;
}

#oauth-enroll-attribute-prompt-message {
Expand Down
13 changes: 7 additions & 6 deletions chrome/browser/resources/chromeos/login/screen_gaia_signin.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

#gaia-signin.full-width {
padding: 47px 0 0;
padding: 44px 0 0;
width: 562px;
}

Expand Down Expand Up @@ -55,19 +55,20 @@
}

#saml-notice-container {
-webkit-margin-start: 19px;
align-items: center;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.17);
display: flex;
height: 44px;
justify-content: center;
left: 0;
position: absolute;
right: 0;
text-align: center;
text-align: start;
top: 15px;
top: 0;
}

#saml-notice-message {
color: rgb(106, 106, 106);
font-size: 13px;
margin: 0 auto;
}

#gaia-whitelist-error {
Expand Down

0 comments on commit 6592c08

Please sign in to comment.