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

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: Elide through CSS 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 #password-exceptions-list .url { 63 #password-exceptions-list .url {
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 direction: rtl;
71 overflow: hidden; 72 overflow: hidden;
72 text-overflow: ellipsis; 73 text-overflow: ellipsis;
73 } 74 }
75
76 html[dir='ltr'] #saved-passwords-list .url,
77 html[dir='ltr'] #password-exceptions-list .url {
78 -webkit-margin-end: 7px;
vabr (Chromium) 2016/12/10 23:39:43 These numbers seem a bit random. But I stole them
kolos1 2016/12/12 09:55:57 The links points to this CL.
vabr (Chromium) 2016/12/12 10:35:52 Thanks! The correct link should have been https://
79 -webkit-margin-start: 0;
80 -webkit-padding-end: 26px;
81 -webkit-padding-start: 3px;
82 text-align: left;
Dan Beam 2016/12/13 04:07:33 don't we have to set direction: ltr in the RTL cas
83 }
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