X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcsshtmltree.css;fp=LCARStrek%2Fbrowser%2Fdevtools%2Fcsshtmltree.css;h=37b351465018b00c3d5924b43e94c27dfb823edd;hp=621d69e04524cf5bbde683b8fc0c3fe851ecbd05;hb=c5772fdfc8610c3a9c9979d3821839895f8afdde;hpb=0d686391fa6b72dbbe596b569e595f729dced27c diff --git a/LCARStrek/browser/devtools/csshtmltree.css b/LCARStrek/browser/devtools/csshtmltree.css index 621d69e0..37b35146 100644 --- a/LCARStrek/browser/devtools/csshtmltree.css +++ b/LCARStrek/browser/devtools/csshtmltree.css @@ -23,6 +23,7 @@ * Mihai Șucan * Michael Ratcliffe * Dão Gottwald + * Rob Campbell * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -48,17 +49,9 @@ } .property-header { - padding: 4px; - -moz-padding-start: 0; - -moz-padding-end: 5px; -} - -.rule-unmatched { - cursor: pointer; - padding: 2px; - -moz-padding-start: 4px; - -moz-padding-end: 0; + padding: 5px 0; white-space: nowrap; + vertical-align: text-top; } /* Take away these two :visited rules to get a core dumper */ @@ -74,11 +67,6 @@ text-decoration: none; } -.helplink-container { - position: relative; - top: 2px; -} - .helplink { display: block; height: 14px; @@ -87,19 +75,16 @@ -moz-padding-start: 14px; background-image: url("chrome://browser/skin/devtools/goto-mdn.png"); -moz-margin-end: 2px; + cursor: pointer; } -.property-header:not(:hover) > .helplink-container { +.property-view:not(:hover) > .helplink-container { visibility: hidden; } -.unmatchedSelectorTable { - -moz-margin-start: 15px; -} - .rulelink { color: -moz-dialogtext; - -moz-margin-start: 12px; + padding: 0; } .expander { @@ -108,6 +93,8 @@ -moz-margin-start: 5px; -moz-margin-end: 5px; background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat; + display: inline-block; + vertical-align: middle; } .expander[open] { @@ -122,22 +109,49 @@ visibility: hidden; } -.expandable > .match { +.expandable > .property-header > .match { visibility: visible; } -.only-unmatched { - -moz-margin-start: 0; -} - .property-name { font-size: 12px; color: #FF9F00; width: 220px; + display: inline-block; } .property-value { + padding: 0; font-size: 10px; color: #8050B0; + vertical-align: text-top; + width: 100%; +} + +.property-view-hidden, +.property-content-hidden { + display: none; +} + +.rule-link { + text-align: end; + -moz-padding-start: 10px; +} + +/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ +.rule-text { + direction: ltr; + padding: 0; + -moz-padding-start: 20px; +} + +.bestmatch { + color: #FFCF00; +} +.matched { + text-decoration: line-through; +} +.parentmatch { + color: #E7ADE7; } #propertyContainer { @@ -145,6 +159,7 @@ -moz-box-orient: vertical; -moz-box-flex: 1; overflow-y: auto; + border-collapse: collapse; } .darkrow { @@ -160,7 +175,6 @@ .headerControls { color: #9C9CFF; background-color: #000000; - padding-top: 5px; } .onlyuserstyles { @@ -168,14 +182,6 @@ font-size: 11px; } -.searchfield { - -moz-margin-start: 10px; -} - -.styleinspector-legend { - -moz-margin-start: 12px; -} - #footer { border-top: 1px solid #9C9CFF; } @@ -201,6 +207,10 @@ padding: 2px 5px; } +.ruleview-ruleopen { + -moz-padding-end: 5px; +} + .ruleview-propertylist { list-style: none; padding: 0;