diff -r 000000000000 -r 6474c204b198 browser/base/content/highlighter.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/browser/base/content/highlighter.css Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,72 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +.highlighter-container { + pointer-events: none; +} + +/* + * Box model highlighter + */ +svg|svg.box-model-root[hidden], +svg|line.box-model-guide-top[hidden], +svg|line.box-model-guide-right[hidden], +svg|line.box-model-guide-left[hidden], +svg|line.box-model-guide-bottom[hidden] { + display: none; +} + +/* + * Node Infobar + */ +.highlighter-nodeinfobar-container { + position: relative; +} + +.highlighter-nodeinfobar-positioner { + position: absolute; + max-width: 95%; +} + +.highlighter-nodeinfobar-positioner[hidden] { + opacity: 0; + pointer-events: none; + display: -moz-box; +} + +.highlighter-nodeinfobar-text { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + direction: ltr; +} + +html|*.highlighter-nodeinfobar-id, +html|*.highlighter-nodeinfobar-classes, +html|*.highlighter-nodeinfobar-pseudo-classes, +html|*.highlighter-nodeinfobar-tagname { + -moz-user-select: text; + -moz-user-focus: normal; + cursor: text; +} + +.highlighter-nodeinfobar-arrow { + display: none; +} + +.highlighter-nodeinfobar-positioner[position="top"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-bottom { + display: block; +} + +.highlighter-nodeinfobar-positioner[position="bottom"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-top { + display: block; +} + +.highlighter-nodeinfobar-positioner[disabled] { + visibility: hidden; +} + +html|*.highlighter-nodeinfobar-tagname { + text-transform: lowercase; +}