better user icon style.

This commit is contained in:
Saman Bemel-Benrud
2013-01-29 13:23:52 -05:00
parent 7b374de5f8
commit 6d6d3ce7fe
3 changed files with 10 additions and 7 deletions
+8 -5
View File
@@ -407,6 +407,14 @@ button[disabled] .label {
margin-right: 3px;
}
.user-icon {
max-height: 20px;
max-width: 20px;
height: auto;
width: auto;
border-radius: 3px;
}
/* Definitions for every icon */
.icon.browse { background-position: 0px -20px;}
.icon.add-point { background-position: -20px -20px;}
@@ -961,11 +969,6 @@ div.typeahead a:first-child {
right: -30px;
}
.user-icon {
max-width: 50px;
max-height: 50px;
}
.modal-section {
padding: 20px;
}
+1 -1
View File
@@ -60,7 +60,7 @@ iD.ui.commit = function(map) {
user_link
.append('img')
.attr('src', user.image_url)
.attr('class', 'icon icon-pre-text');
.attr('class', 'icon icon-pre-text user-icon');
}
// Confirm / Cancel Buttons
+1 -1
View File
@@ -18,7 +18,7 @@ iD.ui.userpanel = function(connection) {
// Add thumbnail or dont
if (user_details.image_url) {
userLink.append('img')
.attr('class', 'icon icon-pre-text')
.attr('class', 'icon icon-pre-text user-icon')
.attr('src', user_details.image_url);
} else {
userLink.append('span')