Bug 1208078, improve drag feedback appearance in e10s, r=jared

This commit is contained in:
Neil Deakin 2016-06-15 08:49:06 -04:00
parent f731d220ed
commit 1d9f4fd998
2 changed files with 7 additions and 0 deletions

View File

@ -1282,3 +1282,9 @@ toolbarpaletteitem[place="palette"][hidden] {
.popup-notification-invalid-input[focused] {
box-shadow: 0 0 2px 2px rgba(255,0,0,0.4);
}
.dragfeedback-tab {
-moz-appearance: none;
opacity: 0.65;
-moz-window-shadow: none;
}

View File

@ -5866,6 +5866,7 @@
if (!this._dndPanel) {
this._dndCanvas = canvas;
this._dndPanel = document.createElement("panel");
this._dndPanel.className = "dragfeedback-tab";
this._dndPanel.setAttribute("type", "drag");
let wrapper = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
wrapper.style.width = "160px";