diff options
Diffstat (limited to 'chromium/chrome/browser/resources/options/password_manager_list.css')
-rw-r--r-- | chromium/chrome/browser/resources/options/password_manager_list.css | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/chromium/chrome/browser/resources/options/password_manager_list.css b/chromium/chrome/browser/resources/options/password_manager_list.css index ee17a12d31e..d3ac26af07a 100644 --- a/chromium/chrome/browser/resources/options/password_manager_list.css +++ b/chromium/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; } @@ -32,11 +32,21 @@ input[type='password'].inactive-password { width: 40%; } +#saved-passwords-list .deletable-item:not(:hover) a:not(:focus) { + color: black; + text-decoration: none; +} + #saved-passwords-list .name { -webkit-box-flex: 1; 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 +71,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 newline at end of file |