bug 935773 Australis fix mark icon on windows, r=gijs

This commit is contained in:
Shane Caraveo 2014-01-09 15:49:08 -08:00
Родитель 6c092b83f0
Коммит 4fbefb39bf
2 изменённых файлов: 12 добавлений и 1 удалений

Просмотреть файл

@ -212,7 +212,9 @@
PanelUI.showSubView("PanelUI-socialapi", widget.node,
CustomizableUI.AREA_PANEL);
} else {
panel.openPopup(this, "bottomcenter topright", 0, 0, false, false);
let anchor = document.getAnonymousElementByAttribute(this, "class", "toolbarbutton-icon");
panel.openPopup(anchor, "bottomcenter topright", 0, 0, false, false);
this.setAttribute("open", "true");
}
if (aResetOnClose) {
let evName = inMenuPanel ? "ViewHiding": "popuphidden";
@ -331,6 +333,7 @@
]]></handler>
<handler event="popuphidden"><![CDATA[
this.dispatchPanelEvent("socialFrameHide");
this.removeAttribute("open");
]]></handler>
<handler event="command"><![CDATA[
this.markCurrentPage();

Просмотреть файл

@ -1315,6 +1315,14 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
max-height: 16px;
}
toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
width: auto;
height: auto;
max-width: 32px;
max-height: 24px;
}
/* fixup corners for share panel */
.social-panel > .social-panel-frame {
border-radius: inherit;