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

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

Issue 2910203003: Handling edge cases of new login screen (Closed)
Patch Set: Adjust animation duration and add small screen handling 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
« no previous file with comments | « ui/login/account_picker/md_screen_account_picker.js ('k') | ui/login/account_picker/md_user_pod_row.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1fc9f13ca1081d379897157447d50e16cfbe5c92 100644
--- a/ui/login/account_picker/md_user_pod_row.css
+++ b/ui/login/account_picker/md_user_pod_row.css
@@ -32,7 +32,7 @@ pin-keyboard {
}
.account-picker.flying-pods .pod {
- transition: all 180ms;
+ transition: all 300ms;
}
.pod.pin-enabled {
@@ -95,10 +95,15 @@ html[dir=rtl] .user-image-pane {
.user-image {
border-radius: 50%;
+ box-shadow: 0 0 2px rgba(255, 255, 255, .34);
height: 100%;
width: 100%;
}
+.user-image.switch-image-animation {
+ animation: switch-image 300ms;
+}
+
.pod .user-image {
flex: none;
}
@@ -139,7 +144,6 @@ html[dir=rtl] .main-pane {
display: flex;
height: 40px;
left: 51px;
- padding-bottom: 16px;
position: absolute;
top: 244px;
/* On chromeos we extend the width to cover the padding on the user pods. This
@@ -201,7 +205,7 @@ html[dir=rtl] .main-pane {
opacity: 0.34;
position: absolute;
stroke: #FFFFFF;
- stroke-width: 1;
+ stroke-width: 1px;
top: 40px;
}
@@ -489,6 +493,25 @@ html[dir=rtl] .action-box-area {
width: 24px;
}
+.action-box-button.ripple-circle {
+ background: #FFF;
+ border-radius: 50%;
+ opacity: .08;
+ position: absolute;
+ transform: scale(0);
+}
+
+.action-box-area.active .action-box-button.ripple-circle {
+ animation: ripple 360ms;
+ transform: scale(1);
+}
+
+@keyframes ripple {
+ 0% { transform: scale(0); }
+ 30% { transform: scale(1); }
+ 100% { transform: scale(1); }
+}
+
.action-box-area .action-box-icon {
/* overriden in chrome/browser/resources/md_user_manager/user_manager.css */
display: none;
@@ -572,11 +595,12 @@ html[dir=rtl] .user-type-icon-area {
.action-box-menu {
display: none;
+ position: absolute;
z-index: 6;
}
.action-box-area.active ~ .action-box-menu {
- background-color: rgba(0, 0, 0, .34);
+ background-color: rgba(0, 0, 0, 0.8);
border-radius: 2px;
display: flex;
flex-direction: column;
@@ -1048,12 +1072,6 @@ html[dir=rtl] .expanded-pane-contents {
width: 60px;
}
-.small-pod-image {
- border-radius: 50%;
- height: 100%;
- width: 100%;
-}
-
.small-pod-name {
color: #FFFFFF;
flex: auto;
@@ -1077,19 +1095,7 @@ html[dir=rtl] .expanded-pane-contents {
width: 190px;
}
-.small-pod-container.scroll {
- background-color: rgba(20, 29, 40, .2);
+@keyframes switch-image {
+ from { transform: rotate3d(0, 1, 0, 90deg); }
+ to { transform: none; }
}
-
-.small-pod-container-mask {
- background: linear-gradient(#00B0FF, transparent);
- height: 112px;
- opacity: 0.6;
- position: absolute;
- width: 100%;
- z-index: 2;
-}
-
-.small-pod-container-mask.rotate {
- transform: rotate(180deg);
-}
« no previous file with comments | « ui/login/account_picker/md_screen_account_picker.js ('k') | ui/login/account_picker/md_user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698