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

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

Issue 476193003: User Manager: fix text blurriness and "remove" button style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: border comes before box. alphabets! Created 6 years, 4 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 | « no previous file | 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 c78fb69a6cdf3ac8a1c619400c28893dff56c100..cc1dd2e2c4a20f01e0fb2bab36ac30102829d852 100644
--- a/chrome/browser/resources/user_manager/user_manager.css
+++ b/chrome/browser/resources/user_manager/user_manager.css
@@ -20,6 +20,13 @@
.pod {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
height: 226px;
+ /* On non-retina desktop, the text is blurry if we use the scale3d()
+ inherited from user_pod_row.js */
+ transform: scale(0.9);
+}
+
+podrow[ncolumns='6'] .pod {
+ transform: scale(0.8);
}
.pod.faded {
@@ -28,11 +35,11 @@
.pod.hovered:not(.focused) {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
- opacity: 0.9;
}
.pod.focused {
box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2);
+ transform: scale(1) !important;
}
.pod.focused.locked {
@@ -136,6 +143,9 @@ html[dir=rtl] .main-pane {
.action-box-area {
background-color: #f5f5f5;
height: 24px;
+ /* Because of crbug.com/406529, the text in the .name div is janky if there's
+ an opacity transition in this div. */
+ transition: none;
width: 24px;
}
@@ -158,3 +168,14 @@ html[dir=rtl] .main-pane {
.action-box-area.active .action-box-button {
border-top: 6px solid #4c4c4c;
}
+
+.action-box-remove-user-warning .remove-warning-button {
+ height: 30px;
+}
+
+.action-box-remove-user-warning .remove-warning-button:focus {
+ /* Override the default blue border inherited from
+ button.custom-appearance:focus. */
+ border: 1px solid transparent !important;
+ box-shadow: inset 0 0 0 1px #fff;
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698