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

Unified Diff: chrome/browser/resources/options/password_manager_list.css

Issue 1318523011: [Password Manager] Copiable username and origin. Linkable origin elided from the left. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes with StringPiece Created 5 years, 2 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: chrome/browser/resources/options/password_manager_list.css
diff --git a/chrome/browser/resources/options/password_manager_list.css b/chrome/browser/resources/options/password_manager_list.css
index ee17a12d31e1b2aefc5bcd8b00308be0733ae10d..f9a6258f0b8893a0406fb9439fa50d2e68f5bb4b 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -22,7 +22,7 @@ html[dir='rtl'] #saved-passwords-list .list-inline-button {
left: 2px;
}
-input[type='password'].inactive-password {
+input.inactive-item {
background: transparent;
border: none;
}
@@ -37,6 +37,11 @@ input[type='password'].inactive-password {
width: 30%;
}
+#saved-passwords-list .url,
+#saved-passwords-list .name {
+ -webkit-user-select: text;
+}
+
#saved-passwords-list .password,
#saved-passwords-list .federation {
-webkit-box-flex: 1;
@@ -61,3 +66,22 @@ input[type='password'].inactive-password {
overflow: hidden;
text-overflow: ellipsis;
}
+
+/* To elide URLs from the left, sets unicode-bidi=bidi-override and
+ * direction=rtl. */
+.left-elided-url {
+ direction: rtl;
+ unicode-bidi: bidi-override;
+}
+
+/* RTL direction in left-elided-url changes text-align to right, but URLs for
+ * left-to-right locales should still be left aligned.
+ * Since the direction is changed to RTL, the icon is at the end (i.e. left),
+ * but not at the start. So, swaps start and end margin/padding. */
+html[dir='ltr'] .left-elided-url {
+ -webkit-margin-end: 7px;
+ -webkit-margin-start: 0;
+ -webkit-padding-end: 26px;
+ -webkit-padding-start: 3px;
+ text-align: left;
+}
« no previous file with comments | « chrome/browser/resources/options/password_manager.js ('k') | chrome/browser/resources/options/password_manager_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698