From: Robert Kaiser Date: Fri, 13 Mar 2015 21:37:32 +0000 (+0100) Subject: second part of syncing LCARStrek with Firefox 36 windows theme changes X-Git-Tag: EarlyBlue-2.33~4 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=c1080df62f8b2f28ca13475f9ae69f68465cce86;p=themes.git second part of syncing LCARStrek with Firefox 36 windows theme changes --- diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 2c5602a4..343f0bd6 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -3580,136 +3580,6 @@ notification[value="translation"] { background-color: transparent !important; } -/* === BEGIN highlighter.inc.css === */ - -/* Box model highlighter */ -svg|g.box-model-container { - opacity: 0.4; -} - -svg|polygon.box-model-content { - fill: #008484; -} - -svg|polygon.box-model-padding { - fill: #9C9CFF; -} - -svg|polygon.box-model-border { - fill: #FFCF00; -} - -svg|polygon.box-model-margin { - fill: #A09090; -} - -svg|polygon.box-model-content, -svg|polygon.box-model-padding, -svg|polygon.box-model-border, -svg|polygon.box-model-margin { - stroke: none; -} - -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: #E7ADE7; - stroke-dasharray: 5 3; - shape-rendering: crispEdges; -} - -/* Highlighter - Node Infobar */ - -.highlighter-nodeinfobar { - color: #FF9F00; - border-radius: 3px; - background-color: #000000; - background-clip: padding-box; - border: 1px solid #008484; - padding: 5px; - /* Avoid cases where the infobar is smaller than the arrow, when the text is - short */ - min-width: 75px; -} - -/* Highlighter - Node Infobar - text */ - -.highlighter-nodeinfobar-text { - text-align: center; - /* 100% - size of the buttons and margins */ - max-width: calc(100% - 2 * (26px + 6px)); - padding-bottom: 1px; -} - -html|*.highlighter-nodeinfobar-tagname { - color: #FFCF00; -} - -html|*.highlighter-nodeinfobar-id { - color: #9C9CFF; -} - -html|*.highlighter-nodeinfobar-pseudo-classes { - color: #FF9F00; -} - -html|*.highlighter-nodeinfobar-dimensions { - color: #A09090; - -moz-border-start: 1px solid #9C9CFF; - -moz-margin-start: 6px; - -moz-padding-start: 6px; -} - -/* 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; - background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); -} - -.highlighter-nodeinfobar-arrow-bottom { - margin-top: -8px; - margin-bottom: 8px; - background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); -} - -.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { - margin: 7px 0; -} - -/* Css transform highlighter */ - -svg|polygon.css-transform-transformed { - fill: #9C9CFF; - opacity: 0.8; -} - -svg|polygon.css-transform-untransformed { - fill: #A09090; - opacity: 0.8; -} - -svg|polygon.css-transform-transformed, -svg|polygon.css-transform-untransformed, -svg|line.css-transform-line { - stroke: #E7ADE7; - stroke-dasharray: 5 3; - stroke-width: 2; -} - -/* === END highlighter.inc.css === */ - #full-screen-warning-message { background-color: #000000; color: #FF9F00; diff --git a/LCARStrek/browser/devtools/debugger-prettyprint.png b/LCARStrek/browser/devtools/debugger-prettyprint.png new file mode 100644 index 00000000..f85c82f8 Binary files /dev/null and b/LCARStrek/browser/devtools/debugger-prettyprint.png differ diff --git a/LCARStrek/browser/devtools/debugger-prettyprint@2x.png b/LCARStrek/browser/devtools/debugger-prettyprint@2x.png new file mode 100644 index 00000000..fd421a2b Binary files /dev/null and b/LCARStrek/browser/devtools/debugger-prettyprint@2x.png differ diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 580635f8..d953c9c3 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -34,7 +34,13 @@ window { } #pretty-print { - font-weight: bold; + list-style-image: url(debugger-prettyprint.png); +} + +@media (min-resolution: 2dppx) { + #pretty-print { + list-style-image: url(debugger-prettyprint@2x.png); + } } #toggle-breakpoints { diff --git a/LCARStrek/browser/devtools/highlighter.css b/LCARStrek/browser/devtools/highlighter.css new file mode 100644 index 00000000..5e02dc8f --- /dev/null +++ b/LCARStrek/browser/devtools/highlighter.css @@ -0,0 +1,169 @@ +/* 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/. */ + +/* + The :-moz-native-anonymous selector prefix prevents the styles defined here + from impacting web content. + Indeed, this pseudo-class is only available to chrome code. + This stylesheet is loaded as a ua stylesheet via the addon sdk, so having this + pseudo-class is important. + Having bug 1086532 fixed would make it possible to load this stylesheet in a +