1 /* 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 * Use of this source code is governed by a BSD-style license that can be 4 * found in the LICENSE file. 5 */ 6 7 button.password-button { 8 -webkit-transition: opacity .15s; 9 background: #8aaaed; 10 color: #fff; 11 display: inline; 12 font-size: 90%; 13 font-weight: bold; 14 height: 18px; 15 opacity: 0.3; 16 padding: 0 2px; 17 position: absolute; 18 top: 5px; 19 } 20 21 button.password-button:hover { 22 -webkit-transition: opacity .15s; 23 opacity: 1; 24 } 25 26 html[dir='ltr'] button.password-button { 27 right: 2px; 28 } 29 30 html[dir='rtl'] button.password-button { 31 left: 2px; 32 } 33 34 input[type="password"].inactive-password { 35 background: transparent; 36 border: none; 37 } 38 39 #saved-passwords-list .url { 40 box-sizing: border-box; 41 width: 40%; 42 } 43 44 #saved-passwords-list .name { 45 -webkit-box-flex: 1; 46 width: 20%; 47 } 48 49 #saved-passwords-list .password { 50 -webkit-box-flex: 1; 51 position: relative; 52 } 53 54 #saved-passwords-list .password input[type="password"], 55 #saved-passwords-list .password input[type="text"] { 56 box-sizing: border-box; 57 width: 100%; 58 } 59 60 #password-exceptions-list .url { 61 -webkit-box-flex: 1; 62 } 63 64 #saved-passwords-list .url, 65 #saved-passwords-list .name, 66 #password-exceptions-list .url { 67 overflow: hidden; 68 text-overflow: ellipsis; 69 } 70