Chromium Code Reviews| 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..669dc8abcb85cad23cdb3fb0e7ae26d229f0d16f 100644 |
| --- a/chrome/browser/resources/options/password_manager_list.css |
| +++ b/chrome/browser/resources/options/password_manager_list.css |
| @@ -22,7 +22,8 @@ html[dir='rtl'] #saved-passwords-list .list-inline-button { |
| left: 2px; |
| } |
| -input[type='password'].inactive-password { |
| +input[type='password'].inactive-item, |
| +input[type='text'].inactive-item { |
|
Evan Stade
2015/10/26 18:41:13
do you need the input part of this rule or is the
kolos1
2015/10/27 08:24:36
You are right. The class name is enough, but we sh
|
| background: transparent; |
| border: none; |
| } |
| @@ -37,6 +38,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 +67,24 @@ input[type='password'].inactive-password { |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| + |
| +/* To elide URLs from the left, sets unicode-bidi=bidi-override and |
| + * direction=rtl. |
| + */ |
|
Evan Stade
2015/10/26 18:41:13
i think this */ belongs on the previous line
kolos1
2015/10/27 08:24:36
Done.
|
| +.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; |
| +} |