|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 .highlighter-container { |
|
6 pointer-events: none; |
|
7 } |
|
8 |
|
9 /* |
|
10 * Box model highlighter |
|
11 */ |
|
12 svg|svg.box-model-root[hidden], |
|
13 svg|line.box-model-guide-top[hidden], |
|
14 svg|line.box-model-guide-right[hidden], |
|
15 svg|line.box-model-guide-left[hidden], |
|
16 svg|line.box-model-guide-bottom[hidden] { |
|
17 display: none; |
|
18 } |
|
19 |
|
20 /* |
|
21 * Node Infobar |
|
22 */ |
|
23 .highlighter-nodeinfobar-container { |
|
24 position: relative; |
|
25 } |
|
26 |
|
27 .highlighter-nodeinfobar-positioner { |
|
28 position: absolute; |
|
29 max-width: 95%; |
|
30 } |
|
31 |
|
32 .highlighter-nodeinfobar-positioner[hidden] { |
|
33 opacity: 0; |
|
34 pointer-events: none; |
|
35 display: -moz-box; |
|
36 } |
|
37 |
|
38 .highlighter-nodeinfobar-text { |
|
39 overflow: hidden; |
|
40 white-space: nowrap; |
|
41 text-overflow: ellipsis; |
|
42 direction: ltr; |
|
43 } |
|
44 |
|
45 html|*.highlighter-nodeinfobar-id, |
|
46 html|*.highlighter-nodeinfobar-classes, |
|
47 html|*.highlighter-nodeinfobar-pseudo-classes, |
|
48 html|*.highlighter-nodeinfobar-tagname { |
|
49 -moz-user-select: text; |
|
50 -moz-user-focus: normal; |
|
51 cursor: text; |
|
52 } |
|
53 |
|
54 .highlighter-nodeinfobar-arrow { |
|
55 display: none; |
|
56 } |
|
57 |
|
58 .highlighter-nodeinfobar-positioner[position="top"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-bottom { |
|
59 display: block; |
|
60 } |
|
61 |
|
62 .highlighter-nodeinfobar-positioner[position="bottom"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-top { |
|
63 display: block; |
|
64 } |
|
65 |
|
66 .highlighter-nodeinfobar-positioner[disabled] { |
|
67 visibility: hidden; |
|
68 } |
|
69 |
|
70 html|*.highlighter-nodeinfobar-tagname { |
|
71 text-transform: lowercase; |
|
72 } |