Bug 669656 - [highlighter] Once a node is locked, the highlighter should give a visual feedback; r=rcampbell,dao

This commit is contained in:
Paul Rouget 2011-07-22 16:18:27 -03:00
parent 3fecee7e86
commit 2dcdf92e2c
4 changed files with 17 additions and 0 deletions

View File

@ -882,6 +882,7 @@ var InspectorUI = {
{
this.attachPageListeners();
this.inspecting = true;
this.highlighter.veilTransparentBox.removeAttribute("locked");
},
/**
@ -901,6 +902,7 @@ var InspectorUI = {
} else {
this.select(null, true, true);
}
this.highlighter.veilTransparentBox.setAttribute("locked", true);
},
/**

View File

@ -1959,3 +1959,8 @@ panel[dimmed="true"] {
outline: 1px dashed rgba(255,255,255,0.5);
outline-offset: -1px;
}
#highlighter-veil-transparentbox[locked] {
box-shadow: 0 0 0 1px black;
outline-color: white;
}

View File

@ -2533,3 +2533,8 @@ panel[dimmed="true"] {
outline: 1px dashed rgba(255,255,255,0.5);
outline-offset: -1px;
}
#highlighter-veil-transparentbox[locked] {
box-shadow: 0 0 0 1px black;
outline-color: white;
}

View File

@ -2520,3 +2520,8 @@ panel[dimmed="true"] {
outline: 1px dashed rgba(255,255,255,0.5);
outline-offset: -1px;
}
#highlighter-veil-transparentbox[locked] {
box-shadow: 0 0 0 1px black;
outline-color: white;
}