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

Side by Side 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: Tests compilation error fixed 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 unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #saved-passwords-list .list-inline-button { 5 #saved-passwords-list .list-inline-button {
6 -webkit-transition: opacity 150ms; 6 -webkit-transition: opacity 150ms;
7 background: rgb(138, 170, 237); 7 background: rgb(138, 170, 237);
8 font-size: 0.9em; 8 font-size: 0.9em;
9 height: 18px; 9 height: 18px;
10 margin-left: 2px; 10 margin-left: 2px;
11 margin-right: 2px; 11 margin-right: 2px;
12 padding: 0 2px; 12 padding: 0 2px;
13 position: absolute; 13 position: absolute;
14 top: 3px; 14 top: 3px;
15 } 15 }
16 16
17 html[dir='ltr'] #saved-passwords-list .list-inline-button { 17 html[dir='ltr'] #saved-passwords-list .list-inline-button {
18 right: 2px; 18 right: 2px;
19 } 19 }
20 20
21 html[dir='rtl'] #saved-passwords-list .list-inline-button { 21 html[dir='rtl'] #saved-passwords-list .list-inline-button {
22 left: 2px; 22 left: 2px;
23 } 23 }
24 24
25 input[type='password'].inactive-password { 25 input[type='password'].inactive-item,
26 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
26 background: transparent; 27 background: transparent;
27 border: none; 28 border: none;
28 } 29 }
29 30
30 #saved-passwords-list .url { 31 #saved-passwords-list .url {
31 box-sizing: border-box; 32 box-sizing: border-box;
32 width: 40%; 33 width: 40%;
33 } 34 }
34 35
35 #saved-passwords-list .name { 36 #saved-passwords-list .name {
36 -webkit-box-flex: 1; 37 -webkit-box-flex: 1;
37 width: 30%; 38 width: 30%;
38 } 39 }
39 40
41 #saved-passwords-list .url,
42 #saved-passwords-list .name {
43 -webkit-user-select: text;
44 }
45
40 #saved-passwords-list .password, 46 #saved-passwords-list .password,
41 #saved-passwords-list .federation { 47 #saved-passwords-list .federation {
42 -webkit-box-flex: 1; 48 -webkit-box-flex: 1;
43 position: relative; 49 position: relative;
44 width: 30%; 50 width: 30%;
45 } 51 }
46 52
47 #saved-passwords-list .password input[type='password'], 53 #saved-passwords-list .password input[type='password'],
48 #saved-passwords-list .password input[type='text'] { 54 #saved-passwords-list .password input[type='text'] {
49 box-sizing: border-box; 55 box-sizing: border-box;
50 width: 100%; 56 width: 100%;
51 } 57 }
52 58
53 #password-exceptions-list .url { 59 #password-exceptions-list .url {
54 -webkit-box-flex: 1; 60 -webkit-box-flex: 1;
55 } 61 }
56 62
57 #saved-passwords-list .url, 63 #saved-passwords-list .url,
58 #saved-passwords-list .name, 64 #saved-passwords-list .name,
59 #saved-passwords-list .federation, 65 #saved-passwords-list .federation,
60 #password-exceptions-list .url { 66 #password-exceptions-list .url {
61 overflow: hidden; 67 overflow: hidden;
62 text-overflow: ellipsis; 68 text-overflow: ellipsis;
63 } 69 }
70
71 /* To elide URLs from the left, sets unicode-bidi=bidi-override and
72 * direction=rtl.
73 */
Evan Stade 2015/10/26 18:41:13 i think this */ belongs on the previous line
kolos1 2015/10/27 08:24:36 Done.
74 .left-elided-url {
75 direction: rtl;
76 unicode-bidi: bidi-override;
77 }
78
79 /* RTL direction in left-elided-url changes text-align to right, but URLs for
80 * left-to-right locales should still be left aligned.
81 * Since the direction is changed to RTL, the icon is at the end (i.e. left),
82 * but not at the start. So, swaps start and end margin/padding.
83 */
84 html[dir='ltr'] .left-elided-url {
85 -webkit-margin-end: 7px;
86 -webkit-margin-start: 0;
87 -webkit-padding-end: 26px;
88 -webkit-padding-start: 3px;
89 text-align: left;
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698