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

Side by Side Diff: chrome/browser/resources/options/password_manager_list.css

Issue 2567693002: Elide origins for passwords settings in CSS instead of JS (Closed)
Patch Set: Add a note about direction Created 4 years 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;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 -webkit-box-flex: 1; 64 -webkit-box-flex: 1;
65 } 65 }
66 66
67 #saved-passwords-list .url, 67 #saved-passwords-list .url,
68 #saved-passwords-list .name, 68 #saved-passwords-list .name,
69 #saved-passwords-list .federation, 69 #saved-passwords-list .federation,
70 #password-exceptions-list .url { 70 #password-exceptions-list .url {
71 overflow: hidden; 71 overflow: hidden;
72 text-overflow: ellipsis; 72 text-overflow: ellipsis;
73 } 73 }
74
75 html[dir='ltr'] #saved-passwords-list .url,
76 html[dir='ltr'] #password-exceptions-list .url {
77 -webkit-margin-end: 1em;
78 -webkit-margin-start: 0;
79 -webkit-padding-end: 2em;
80 -webkit-padding-start: 1em;
81 direction: rtl;
82 text-align: left;
83 }
84
85 html[dir='rtl'] #saved-passwords-list .url,
86 html[dir='rtl'] #password-exceptions-list .url {
87 -webkit-margin-end: 0;
88 -webkit-margin-start: 1em;
89 -webkit-padding-end: 1em;
90 -webkit-padding-start: 2em;
91 /* Explicitly mention the direction, which, while the same, is independent of
92 * the surrounding text the for URLs. */
93 direction: rtl;
94 text-align: right;
95 }
OLDNEW
« 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