michael@0: %if 0 michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: %endif michael@0: michael@0: /* Box model highlighter */ michael@0: svg|g.box-model-container { michael@0: opacity: 0.4; michael@0: } michael@0: michael@0: svg|polygon.box-model-content { michael@0: fill: #80d4ff; michael@0: } michael@0: michael@0: svg|polygon.box-model-padding { michael@0: fill: #66cc52; michael@0: } michael@0: michael@0: svg|polygon.box-model-border { michael@0: fill: #ffe431; michael@0: } michael@0: michael@0: svg|polygon.box-model-margin { michael@0: fill: #d89b28; michael@0: } michael@0: michael@0: svg|polygon.box-model-content, michael@0: svg|polygon.box-model-padding, michael@0: svg|polygon.box-model-border, michael@0: svg|polygon.box-model-margin { michael@0: stroke: none; michael@0: } michael@0: michael@0: svg|line.box-model-guide-top, michael@0: svg|line.box-model-guide-right, michael@0: svg|line.box-model-guide-bottom, michael@0: svg|line.box-model-guide-left { michael@0: stroke: #08C; michael@0: stroke-dasharray: 5 3; michael@0: } michael@0: michael@0: /* Highlighter - Node Infobar */ michael@0: michael@0: .highlighter-nodeinfobar { michael@0: color: hsl(216,33%,97%); michael@0: border-radius: 3px; michael@0: background: hsl(214,13%,24%) no-repeat padding-box; michael@0: padding: 5px; michael@0: /* Avoid cases where the infobar is smaller than the arrow, when the text is michael@0: short */ michael@0: min-width: 75px; michael@0: } michael@0: michael@0: /* Highlighter - Node Infobar - text */ michael@0: michael@0: .highlighter-nodeinfobar-text { michael@0: text-align: center; michael@0: /* 100% - size of the buttons and margins */ michael@0: max-width: calc(100% - 2 * (26px + 6px)); michael@0: padding-bottom: 1px; michael@0: } michael@0: michael@0: html|*.highlighter-nodeinfobar-tagname { michael@0: color: hsl(285,100%,75%); michael@0: } michael@0: michael@0: html|*.highlighter-nodeinfobar-id { michael@0: color: hsl(103,46%,54%); michael@0: } michael@0: michael@0: html|*.highlighter-nodeinfobar-classes, michael@0: html|*.highlighter-nodeinfobar-pseudo-classes { michael@0: color: hsl(200,74%,57%); michael@0: } michael@0: michael@0: /* Highlighter - Node Infobar - box & arrow */ michael@0: michael@0: .highlighter-nodeinfobar-arrow { michael@0: width: 14px; michael@0: height: 14px; michael@0: -moz-margin-start: calc(50% - 7px); michael@0: transform: rotate(-45deg); michael@0: background-clip: padding-box; michael@0: background-repeat: no-repeat; michael@0: } michael@0: michael@0: .highlighter-nodeinfobar-arrow-top { michael@0: margin-bottom: -8px; michael@0: margin-top: 8px; michael@0: background-image: linear-gradient(to top right, transparent 50%, hsl(210,2%,22%) 50%); michael@0: } michael@0: michael@0: .highlighter-nodeinfobar-arrow-bottom { michael@0: margin-top: -8px; michael@0: margin-bottom: 8px; michael@0: background-image: linear-gradient(to bottom left, transparent 50%, hsl(210,2%,22%) 50%); michael@0: } michael@0: michael@0: .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { michael@0: margin: 7px 0; michael@0: }