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=0cfe4b5277b799988448fe5fbbe950969c5eb284;hp=f7f2363865807dcb01a18c0e1ea16c910739aaad;hb=e0c47e26dd93b86f3dbd5c0042b56f3b24b3c2ae;hpb=8ad8bf83a252ba11e812866d40a22f78223a9b8a diff --git a/LCARStrek/browser/devtools/csshtmltree.css b/LCARStrek/browser/devtools/csshtmltree.css index f7f23638..0cfe4b52 100644 --- a/LCARStrek/browser/devtools/csshtmltree.css +++ b/LCARStrek/browser/devtools/csshtmltree.css @@ -22,6 +22,7 @@ * Joe Walker (original author) * Mihai Șucan * Michael Ratcliffe + * Dão Gottwald * * 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 @@ -37,150 +38,232 @@ * * ***** END LICENSE BLOCK ***** */ -body { - font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; - font-size: 11px; +:root { background: #000000; + color: #FF9F00; } -.path, -.filters { - font-size: 11px; - word-spacing: -1px; -} -.path ol { - list-style: none outside none; - margin: 0; - padding: 0; -} -.path li { - border-radius: 3px; - padding: 2px 3px; - font-weight: bold; - font-size: 11px; - display: inline-block; -} -.path li:after { - content: " > "; -} -.path li:last-child { -} -.path li:last-child:after { - color: red; - content: ""; + +#root { + display: -moz-box; } .property-header { - padding: 2px 5px; - color: #9C9CFF; + padding: 4px; + -moz-padding-start: 0; + -moz-padding-end: 5px; } -.property-name, -.rule-matched, .rule-unmatched { cursor: pointer; + padding: 2px; + -moz-padding-start: 4px; + -moz-padding-end: 0; + white-space: nowrap; } /* Take away these two :visited rules to get a core dumper */ /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ -.link { - color: #55A; -} +.link, .link:visited { - color: #55A; + color: #0091ff; } -a.link { +.link, +.helplink, +.link:visited, +.helplink:visited { text-decoration: none; - cursor: pointer; } -a.link:visited { - text-decoration: none; + +.helplink-container { + position: relative; + top: 2px; } -.rule-matched, -.rule-unmatched { - padding: 2px 0; - white-space: nowrap; +.helplink { + display: block; + height: 14px; + width: 0; + overflow: hidden; + -moz-padding-start: 14px; + background-image: url("chrome://browser/skin/devtools/goto-mdn.png"); + -moz-margin-end: 2px; +} + +.property-header:not(:hover) > .helplink-container { + visibility: hidden; +} + +.unmatchedSelectorTable { + -moz-margin-start: 15px; } .rulelink { - color: #55A; + color: -moz-dialogtext; + -moz-margin-start: 12px; } .expander { - width: 8px; - height: 8px; - float: left; - -moz-margin-start: 15px; + width: 9px; + height: 9px; + -moz-margin-start: 5px; -moz-margin-end: 5px; - margin-top: 3px; - background: url("chrome://browser/skin/devtools/arrows.png"); - background-position: 24px 0; + background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat; } -.searchfield { - background: url("chrome://browser/skin/devtools/search.png") no-repeat; - border-radius: 5px; - -moz-padding-start: 20px; - width: 135px; - float: right; +.expander[open] { + background-image: url("chrome://global/skin/tree/twisty-open.png"); } -.expander[dir="rtl"] { - background-position: 16px 0; +.expandable { + cursor: pointer; } -.expander[open] { - background-position: 8px 0; + +.match { + visibility: hidden; +} + +.expandable > .match { + visibility: visible; +} + +.only-unmatched { + -moz-margin-start: 0; } .property-name { - display: inline-block; font-size: 12px; - font-weight: bold; color: #FF9F00; + width: 220px; } .property-value { - display: inline-block; font-size: 10px; + color: #8050B0; } -.property-view-hidden { - display: none; +#propertyContainer { + display: -moz-box; + -moz-box-orient: vertical; + -moz-box-flex: 1; + overflow-y: auto; } -.rule-link { - text-align: end; - -moz-padding-start: 10px; +.darkrow { + background-color: #404000; } -/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ -.rule-text { - direction: ltr; - -moz-padding-start: 10px; +#noResults { + font-size: 18px; + margin-top: 5px; + text-align: center; } -.resizerbox { +.headerControls { + color: #9C9CFF; background-color: #000000; + padding-top: 5px; } -.bestmatch { - color: #FFCF00; +.onlyuserstyles { + cursor: pointer; + font-size: 11px; } -.matched { - text-decoration: line-through; + +.searchfield { + -moz-margin-start: 10px; } -.parentmatch { - color: #9C9CFF; + +.styleinspector-legend { + -moz-margin-start: 12px; } -.unmatched { - color: #E7ADE7; + +#footer { + border-top: 1px solid #9C9CFF; } -.userStyles { - position: relative; - top: 3px; +.legendKey { + margin: 0 5px; } -.userStyles, -.userStylesLabel { +/** + * CSS Rule View + */ + +.ruleview { + background-color: #000000; +} + +.ruleview-rule-source { + background-color: #000000; + padding: 2px 5px; +} + +.ruleview-code { + padding: 2px 5px; +} + +.ruleview-propertylist { + list-style: none; + padding: 0; + margin: 0; +} + +.ruleview-enableproperty { + height: 10px; + width: 10px; + -moz-margin-start: 2px; + -moz-margin-end: 0; +} + +.ruleview-expander { + display: inline-block; + width: 8px; + height: 8px; + background: url("chrome://browser/skin/devtools/arrows.png") 24px 0; cursor: pointer; + -moz-margin-start: 2px; + -moz-margin-end: 5px; +} + +.ruleview-expander:-moz-locale-dir(rtl) { + background-position: 16px 0; +} + +.ruleview-expander.styleinspector-open { + background-position: 8px 0; +} + +.ruleview-newproperty { + /* (enable checkbox width: 12px) + (expander width: 15px) */ + -moz-margin-start: 27px; +} + +.ruleview-propertyname { + display: inline-block; + padding: 1px 0; + cursor: text; + color: #9C9CFF; + text-decoration: inherit; +} + +.ruleview-propertyvalue { + cursor: text; + text-decoration: inherit; +} + +.ruleview-computedlist { + list-style: none; + padding: 0; +} + +.ruleview-computed { + -moz-margin-start: 4em; +} + +.ruleview-overridden { + text-decoration: line-through; +} + +.styleinspector-propertyeditor { + border: 1px solid #9C9CFF; + padding: 0; }