X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcsshtmltree.css;h=bdf9f8315f2afc619467ed082a3d62c86b0e0440;hp=9b52a23e576e3f6f1e41fec2f7fa9b91461a86d7;hb=f30073a6e9628fead25132bc4464fabe25ee52a1;hpb=8d7ef0d90b767f02a75010e15f34fc004beb7c7c diff --git a/LCARStrek/browser/devtools/csshtmltree.css b/LCARStrek/browser/devtools/csshtmltree.css index 9b52a23e..bdf9f831 100644 --- a/LCARStrek/browser/devtools/csshtmltree.css +++ b/LCARStrek/browser/devtools/csshtmltree.css @@ -1,53 +1,11 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is the Mozilla Inspector Module. - * - * The Initial Developer of the Original Code is - * The Mozilla Foundation. - * Portions created by the Initial Developer are Copyright (C) 2011 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Walker (original author) - * 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 - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* 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/. */ :root { background: #000000; color: #FF9F00; -} - -.property-header { - padding: 5px 0; - white-space: nowrap; - vertical-align: text-top; + font: 12px "Liberation Mono", Consolas, "Courier New", monospace; } /* Take away these two :visited rules to get a core dumper */ @@ -91,12 +49,12 @@ link:hover { height: 9px; -moz-margin-start: 5px; -moz-margin-end: 5px; - background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat; + background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat; vertical-align: middle; } .expander[open] { - background-image: url("chrome://global/skin/tree/twisty-open.png"); + background-image: url("chrome://global/skin/tree/twisty-open.gif"); } .match { @@ -108,16 +66,20 @@ link:hover { visibility: visible; } +.expander-container { + vertical-align: text-top; +} + .property-name { - font-size: 12px; + padding: 2px 0; color: #FF9F00; width: 220px; } + .property-value { padding: 0; - font-size: 10px; + -moz-padding-end: 6px; color: #8050B0; - vertical-align: text-top; width: 100%; } @@ -163,7 +125,7 @@ link:hover { background-color: #000000; } -.onlyuserstyles { +.includebrowserstyles { cursor: pointer; font-size: 11px; } @@ -185,18 +147,34 @@ link:hover { } .ruleview-rule-source { - background-color: #000000; - color: #9C9CFF; - padding: 2px 5px; + color: #9C9CFF; /* original: green */ + -moz-padding-start: 5px; cursor: pointer; + text-align: right; + float: right; + -moz-user-select: none; +} + +.ruleview-rule-inheritance { + background-color: #000000; + color: #8050B0; + border-top: 1px solid #9C9CFF; + border-bottom: 1px solid #9C9CFF; + padding: 1px 4px; + margin-top: 4px; + -moz-user-select: none; } .ruleview-rule-source:hover { text-decoration: underline; } -.ruleview-code { - padding: 2px 5px; +.ruleview-rule { + padding: 2px 4px; +} + +.ruleview-rule + .ruleview-rule { + border-top: 1px dotted #008484; } .ruleview-warning { @@ -212,7 +190,7 @@ link:hover { } .ruleview-ruleclose { - width: -moz-min-content; + cursor: text; padding-right: 20px; } @@ -225,8 +203,15 @@ link:hover { .ruleview-enableproperty { height: 10px; width: 10px; - -moz-margin-start: 2px; + -moz-margin-start: 1px; -moz-margin-end: 0; + transition: opacity 100ms; + transition-delay: 200ms; +} + +.ruleview-property:not(:hover) > .ruleview-enableproperty[checked] { + opacity: 0; + transition: none; } .ruleview-expander { @@ -249,13 +234,17 @@ link:hover { .ruleview-propertyname { padding: 1px 0; - cursor: text; - color: #9C9CFF; - text-decoration: inherit; + color: #9C9CFF; /* original: blue */ } .ruleview-propertyvalue { - cursor: text; + padding: 1px 0; +} + +.ruleview-namecontainer, +.ruleview-propertycontainer, +.ruleview-propertyname, +.ruleview-propertyvalue { text-decoration: inherit; } @@ -276,3 +265,29 @@ link:hover { border: 1px solid #9C9CFF; padding: 0; } + +.ruleview-property { + border-left: 2px solid transparent; +} + +.ruleview-property > * { + vertical-align: middle; +} + +.ruleview-property[dirty] { + border-left-color: #008484; +} + +.ruleview-namecontainer > .ruleview-propertyname, +.ruleview-propertycontainer > .ruleview-propertyvalue { + border-bottom: 1px dashed transparent; +} + +.ruleview-namecontainer:hover > .ruleview-propertyname, +.ruleview-propertycontainer:hover > .ruleview-propertyvalue { + border-bottom-color: #9C9CFF; +} + +.ruleview-selector-separator, .ruleview-selector-unmatched { + color: #8050B0; +}