Bug 797700 - Restrict height/width of ambient notification icons to 16x16. r=mixedpuppy

This commit is contained in:
Jared Wein 2012-10-05 13:06:39 -07:00
parent 58350ce96f
commit aa802d3aee
4 changed files with 9 additions and 17 deletions

View File

@ -654,6 +654,7 @@ var SocialToolbar = {
stack.classList.add("toolbarbutton-icon");
image = document.createElement("image");
image.setAttribute("id", imageId);
image.classList.add("social-notification-icon-image");
image = stack.appendChild(image);
label = document.createElement("label");
label.setAttribute("id", labelId);

View File

@ -2637,9 +2637,10 @@ html|*#gcli-output-frame {
padding: 0;
}
.social-notification-icon-stack > image {
.social-notification-icon-image {
margin: 5px 3px;
max-height: 16px;
width: 16px;
height: 16px;
}
.social-notification-icon-hbox {

View File

@ -4050,10 +4050,6 @@ html|*#gcli-output-frame {
padding: 0;
}
.social-notification-icon-stack > image {
max-height: 16px;
}
.social-notification-icon-hbox {
padding: 0;
}
@ -4081,10 +4077,9 @@ html|*#gcli-output-frame {
}
}
@media (min-resolution: 2dppx) {
.social-notification-icon-image {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
}
.social-notification-icon-image {
width: 16px;
height: 16px;
}
/* === end of social toolbar button === */

View File

@ -3329,14 +3329,9 @@ html|*#gcli-output-frame {
display: none;
}
/* notification image */
.social-notification-icon-image {
padding: 2px;
margin: 0;
min-width: 20px;
max-width: 32px;
max-height: 20px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
width: 16px;
height: 16px;
}
/* social toolbar provider menu */