mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 669656 - [highlighter] Once a node is locked, the highlighter should give a visual feedback; r=rcampbell,dao
This commit is contained in:
parent
3fecee7e86
commit
2dcdf92e2c
@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user