browser/base/content/highlighter.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial