2013-02-19 12:34:48 -08:00
|
|
|
%if 0
|
|
|
|
/* 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/. */
|
|
|
|
%endif
|
|
|
|
|
2014-03-13 14:36:48 -07:00
|
|
|
/* Box model highlighter */
|
2014-06-13 07:27:10 -07:00
|
|
|
|
2014-03-13 14:36:48 -07:00
|
|
|
svg|g.box-model-container {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.box-model-content {
|
|
|
|
fill: #80d4ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.box-model-padding {
|
|
|
|
fill: #66cc52;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.box-model-border {
|
|
|
|
fill: #ffe431;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.box-model-margin {
|
|
|
|
fill: #d89b28;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.box-model-content,
|
|
|
|
svg|polygon.box-model-padding,
|
|
|
|
svg|polygon.box-model-border,
|
|
|
|
svg|polygon.box-model-margin {
|
|
|
|
stroke: none;
|
|
|
|
}
|
2013-02-19 12:34:48 -08:00
|
|
|
|
2014-03-13 14:36:48 -07:00
|
|
|
svg|line.box-model-guide-top,
|
|
|
|
svg|line.box-model-guide-right,
|
|
|
|
svg|line.box-model-guide-bottom,
|
|
|
|
svg|line.box-model-guide-left {
|
|
|
|
stroke: #08C;
|
|
|
|
stroke-dasharray: 5 3;
|
2014-06-25 07:40:34 -07:00
|
|
|
shape-rendering: crispEdges;
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Highlighter - Node Infobar */
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar {
|
2013-10-21 04:57:00 -07:00
|
|
|
color: hsl(216,33%,97%);
|
2013-02-19 12:34:48 -08:00
|
|
|
border-radius: 3px;
|
2013-10-21 04:57:00 -07:00
|
|
|
background: hsl(214,13%,24%) no-repeat padding-box;
|
2014-01-09 03:36:01 -08:00
|
|
|
padding: 5px;
|
|
|
|
/* Avoid cases where the infobar is smaller than the arrow, when the text is
|
|
|
|
short */
|
|
|
|
min-width: 75px;
|
2014-07-17 08:07:56 -07:00
|
|
|
/* Avoid a shadow with lightweight themes - Bug 1037908 */
|
|
|
|
text-shadow: none;
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Highlighter - Node Infobar - text */
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar-text {
|
2014-01-09 03:36:01 -08:00
|
|
|
text-align: center;
|
2013-02-19 12:34:48 -08:00
|
|
|
/* 100% - size of the buttons and margins */
|
|
|
|
max-width: calc(100% - 2 * (26px + 6px));
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html|*.highlighter-nodeinfobar-tagname {
|
2013-10-21 04:57:00 -07:00
|
|
|
color: hsl(285,100%,75%);
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
html|*.highlighter-nodeinfobar-id {
|
2013-10-21 04:57:00 -07:00
|
|
|
color: hsl(103,46%,54%);
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
2013-10-21 04:57:00 -07:00
|
|
|
html|*.highlighter-nodeinfobar-classes,
|
2013-02-19 12:34:48 -08:00
|
|
|
html|*.highlighter-nodeinfobar-pseudo-classes {
|
2013-10-21 04:57:00 -07:00
|
|
|
color: hsl(200,74%,57%);
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
2014-06-04 08:38:41 -07:00
|
|
|
html|*.highlighter-nodeinfobar-dimensions {
|
|
|
|
color: hsl(210,30%,85%);
|
|
|
|
-moz-border-start: 1px solid #5a6169;
|
|
|
|
-moz-margin-start: 6px;
|
|
|
|
-moz-padding-start: 6px;
|
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
/* Highlighter - Node Infobar - box & arrow */
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar-arrow {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
-moz-margin-start: calc(50% - 7px);
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar-arrow-top {
|
|
|
|
margin-bottom: -8px;
|
|
|
|
margin-top: 8px;
|
2013-10-21 04:57:00 -07:00
|
|
|
background-image: linear-gradient(to top right, transparent 50%, hsl(210,2%,22%) 50%);
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar-arrow-bottom {
|
|
|
|
margin-top: -8px;
|
|
|
|
margin-bottom: 8px;
|
2013-10-21 04:57:00 -07:00
|
|
|
background-image: linear-gradient(to bottom left, transparent 50%, hsl(210,2%,22%) 50%);
|
2013-02-19 12:34:48 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
|
|
|
|
margin: 7px 0;
|
|
|
|
}
|
2014-06-13 07:27:10 -07:00
|
|
|
|
|
|
|
/* Css transform highlighter */
|
|
|
|
|
|
|
|
svg|polygon.css-transform-transformed {
|
|
|
|
fill: #80d4ff;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.css-transform-untransformed {
|
|
|
|
fill: #66cc52;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg|polygon.css-transform-transformed,
|
|
|
|
svg|polygon.css-transform-untransformed,
|
|
|
|
svg|line.css-transform-line {
|
|
|
|
stroke: #08C;
|
|
|
|
stroke-dasharray: 5 3;
|
|
|
|
stroke-width: 2;
|
|
|
|
}
|