summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 20:19:22 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 20:19:22 +0000
commit13a952267859f27c136e1239229288422bed41a1 (patch)
treea84d7e0a87c61ddef62b65db223c740c7d69d28b
parentce8bac3bf86d9a038a189c6b37808572525e26a5 (diff)
downloadchromium_src-13a952267859f27c136e1239229288422bed41a1.zip
chromium_src-13a952267859f27c136e1239229288422bed41a1.tar.gz
chromium_src-13a952267859f27c136e1239229288422bed41a1.tar.bz2
Options: Fix a few issues with the password lists.
* Elide the password exceptions URL. * Add transparency to the show/hide button so the user can see the pw better. * Remove the set width of the show/hide button to accomodate for different languages. BUG=74273,75395,75618 TEST=none R=stuartmorgan@chromium.org Review URL: http://codereview.chromium.org/6670034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78418 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/options/password_manager_list.css22
1 files changed, 19 insertions, 3 deletions
diff --git a/chrome/browser/resources/options/password_manager_list.css b/chrome/browser/resources/options/password_manager_list.css
index fd7e733..576ecfd 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -5,24 +5,30 @@
*/
button.password-button {
+ -webkit-transition: opacity .15s;
background: #8aaaed;
color: #fff;
display: inline;
font-size: 90%;
font-weight: bold;
height: 18px;
+ opacity: 0.3;
padding: 0 2px;
position: absolute;
top: 5px;
- width: 50px;
+}
+
+button.password-button:hover {
+ -webkit-transition: opacity .15s;
+ opacity: 1;
}
html[dir='ltr'] button.password-button {
- right: 50px;
+ right: 2px;
}
html[dir='rtl'] button.password-button {
- left: 50px;
+ left: 2px;
}
input[type="password"].inactive-password {
@@ -45,6 +51,16 @@ input[type="password"].inactive-password {
position: relative;
}
+#saved-passwords-list .password input[type="password"],
+#saved-passwords-list .password input[type="text"] {
+ box-sizing: border-box;
+ width: 100%;
+}
+
+#password-exceptions-list .url {
+ -webkit-box-flex: 1;
+}
+
#saved-passwords-list .url,
#saved-passwords-list .name,
#password-exceptions-list .url {