Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: ui/login/account_picker/md_user_pod_row.css

Issue 2919523005: Add avatar badges and update caps lock icon for new login screen (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/login/account_picker/md_user_pod_row.css
diff --git a/ui/login/account_picker/md_user_pod_row.css b/ui/login/account_picker/md_user_pod_row.css
index ae7e82667651ed149eb7ccd05ce1d0ae7281f325..d2ae24aac67680a4df9b1140485cdf8c0a9ccf4d 100644
--- a/ui/login/account_picker/md_user_pod_row.css
+++ b/ui/login/account_picker/md_user_pod_row.css
@@ -103,6 +103,36 @@ html[dir=rtl] .user-image-pane {
flex: none;
}
+.pod .badge-container {
+ background: #FFF;
+ border-radius: 50%;
+ bottom: 0;
+ display: none;
+ height: 27px;
+ position: absolute;
+ right: 0;
+ width: 27px;
+}
+
+.pod .badge-container iron-icon {
+ --iron-icon-height: 25px;
+ --iron-icon-width: 25px;
+ display: none;
+ padding: 0;
+}
+
+/* Signed-in badge should be hidden when there's another badge. */
+.pod.legacy-supervised.signed-in .signed-in-badge {
+ display: none;
+}
+
+.pod.legacy-supervised .badge-container,
+.pod.signed-in .badge-container,
+.pod.legacy-supervised .legacy-supervised-badge,
+.pod.signed-in .signed-in-badge {
+ display: block;
+}
+
/* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
style rule once it is included on CrOS only. crbug.com/397638 */
html:not([screen=login-add-user]) .pod .user-image {
@@ -197,7 +227,7 @@ html[dir=rtl] .main-pane {
display: none;
}
-#input-line {
+.input-line {
opacity: 0.34;
position: absolute;
stroke: #FFFFFF;
@@ -205,7 +235,7 @@ html[dir=rtl] .main-pane {
top: 40px;
}
-#input-line[active] {
+.input-present .input-line {
opacity: 1;
}
@@ -224,6 +254,10 @@ html[dir=rtl] .main-pane {
width: 180px;
}
+.capslock-on .password-container {
+ width: 160px;
+}
+
.pod input[type='password'] {
background-color: transparent;
border: none;
@@ -248,18 +282,21 @@ html[dir=rtl] .main-pane {
.capslock-on .capslock-hint-container {
display: block;
flex: none;
- height: 43px;
+ height: 40px;
position: relative;
width: 20px;
}
</if>
.capslock-hint {
- -webkit-margin-end: 6px;
- -webkit-margin-start: -2px;
- margin: auto;
- position: relative;
- top: 15px;
+ --iron-icon-height: 22px;
+ --iron-icon-width: 22px;
+ opacity: 0.34;
+ padding: 13px 0 5px;
+}
+
+.input-present .capslock-hint {
+ opacity: 1;
}
.password-label,
@@ -1092,4 +1129,4 @@ html[dir=rtl] .expanded-pane-contents {
.small-pod-container-mask.rotate {
transform: rotate(180deg);
-}
+}
« no previous file with comments | « no previous file | ui/login/account_picker/md_user_pod_row.js » ('j') | ui/login/account_picker/md_user_pod_template.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698