зеркало из https://github.com/mozilla/gecko-dev.git
bug 935773 Australis fix mark icon on windows, r=gijs
This commit is contained in:
Родитель
6c092b83f0
Коммит
4fbefb39bf
|
@ -212,7 +212,9 @@
|
||||||
PanelUI.showSubView("PanelUI-socialapi", widget.node,
|
PanelUI.showSubView("PanelUI-socialapi", widget.node,
|
||||||
CustomizableUI.AREA_PANEL);
|
CustomizableUI.AREA_PANEL);
|
||||||
} else {
|
} 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) {
|
if (aResetOnClose) {
|
||||||
let evName = inMenuPanel ? "ViewHiding": "popuphidden";
|
let evName = inMenuPanel ? "ViewHiding": "popuphidden";
|
||||||
|
@ -331,6 +333,7 @@
|
||||||
]]></handler>
|
]]></handler>
|
||||||
<handler event="popuphidden"><![CDATA[
|
<handler event="popuphidden"><![CDATA[
|
||||||
this.dispatchPanelEvent("socialFrameHide");
|
this.dispatchPanelEvent("socialFrameHide");
|
||||||
|
this.removeAttribute("open");
|
||||||
]]></handler>
|
]]></handler>
|
||||||
<handler event="command"><![CDATA[
|
<handler event="command"><![CDATA[
|
||||||
this.markCurrentPage();
|
this.markCurrentPage();
|
||||||
|
|
|
@ -1315,6 +1315,14 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||||
max-height: 16px;
|
max-height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
max-width: 32px;
|
||||||
|
max-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
/* fixup corners for share panel */
|
/* fixup corners for share panel */
|
||||||
.social-panel > .social-panel-frame {
|
.social-panel > .social-panel-frame {
|
||||||
border-radius: inherit;
|
border-radius: inherit;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче