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

Unified Diff: chrome/browser/resources/user_manager/user_manager.css

Issue 330283004: User Manager UI fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nikita nit Created 6 years, 6 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 | « chrome/browser/resources/user_manager/control_bar.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/user_manager/user_manager.css
diff --git a/chrome/browser/resources/user_manager/user_manager.css b/chrome/browser/resources/user_manager/user_manager.css
index b7f9603ad7c431bd11dfb5ac73a9c37fd1f28c01..e56b6f6f7c41778d809ccbca1e256bc2fde83c88 100644
--- a/chrome/browser/resources/user_manager/user_manager.css
+++ b/chrome/browser/resources/user_manager/user_manager.css
@@ -23,8 +23,17 @@
width: 180px;
}
-.pod.hovered {
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
+.pod.faded {
+ opacity: .4;
+}
+
+.pod.hovered:not(.focused) {
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ opacity: 0.9 !important;
+}
+
+.pod.focused {
+ box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2);
}
.pod .main-pane {
@@ -45,10 +54,10 @@
}
.pod .name {
- color: black;
+ color: #363636;
font-size: 15px;
line-height: 20px;
- margin: 5px 0 5px;
+ margin: 10px 0 10px;
}
/* For local/unlocked profiles, the name box becomes the focused element.
@@ -64,31 +73,61 @@ sign-in button. */
}
.pod .locked-indicator {
- background-image: url('chrome://theme/IDR_ICON_PROFILES_LOCKED');
+ background-image: -webkit-image-set(
+ url('chrome://theme/IDR_ICON_PROFILES_LOCKED') 1x,
+ url('chrome://theme/IDR_ICON_PROFILES_LOCKED@2x') 2x);
background-repeat: no-repeat;
height: 35px;
- left: 10px;
+ left: 8px;
position: absolute;
- top: 10px;
+ top: 8px;
width: 35px;
z-index: 1;
}
html[dir=rtl] .pod .locked-indicator {
- right: 10px;
+ right: 8px;
}
.pod .supervised-indicator {
- background-image: url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED');
+ background-image: -webkit-image-set(
+ url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED') 1x,
+ url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED@2x') 2x);
background-repeat: no-repeat;
height: 35px;
- left: 10px;
+ left: 8px;
position: absolute;
- top: 10px;
+ top: 8px;
width: 35px;
z-index: 1;
}
html[dir=rtl] .pod .supervised-indicator {
- right: 10px;
+ right: 8px;
+}
+
+.action-box-area {
+ background-color: #f5f5f5;
+ height: 24px;
+ width: 24px;
+}
+
+.action-box-button,
+.action-box-button:hover,
+.action-box-area.active .action-box-button {
+ background-image: none;
+ border-left: 6px solid transparent;
+ border-right: 6px solid transparent;
+ border-top: 6px solid #989898;
+ height: 0;
+ left: 6px;
+ margin: 0;
+ position: absolute;
+ top: 9px;
+ width: 0;
+}
+
+.action-box-button:hover,
+.action-box-area.active .action-box-button {
+ border-top: 6px solid #4c4c4c;
}
« no previous file with comments | « chrome/browser/resources/user_manager/control_bar.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698