browser/base/content/highlighter.css

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     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/. */
     5 .highlighter-container {
     6   pointer-events: none;
     7 }
     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 }
    20 /*
    21  * Node Infobar
    22  */
    23 .highlighter-nodeinfobar-container {
    24   position: relative;
    25 }
    27 .highlighter-nodeinfobar-positioner {
    28   position: absolute;
    29   max-width: 95%;
    30 }
    32 .highlighter-nodeinfobar-positioner[hidden] {
    33   opacity: 0;
    34   pointer-events: none;
    35   display: -moz-box;
    36 }
    38 .highlighter-nodeinfobar-text {
    39   overflow: hidden;
    40   white-space: nowrap;
    41   text-overflow: ellipsis;
    42   direction: ltr;
    43 }
    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 }
    54 .highlighter-nodeinfobar-arrow {
    55   display: none;
    56 }
    58 .highlighter-nodeinfobar-positioner[position="top"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-bottom {
    59   display: block;
    60 }
    62 .highlighter-nodeinfobar-positioner[position="bottom"]:not([hide-arrow]) > .highlighter-nodeinfobar-arrow-top {
    63   display: block;
    64 }
    66 .highlighter-nodeinfobar-positioner[disabled] {
    67   visibility: hidden;
    68 }
    70 html|*.highlighter-nodeinfobar-tagname {
    71   text-transform: lowercase;
    72 }

mercurial