X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcsshtmltree.css;h=89c26eb82b0bb1db919f6e0b3826116b5ffca52b;hp=0cfe4b5277b799988448fe5fbbe950969c5eb284;hb=ef304ad92db0e356f3cf7e7c51a30584d7dbee2f;hpb=e0c47e26dd93b86f3dbd5c0042b56f3b24b3c2ae diff --git a/LCARStrek/browser/devtools/csshtmltree.css b/LCARStrek/browser/devtools/csshtmltree.css index 0cfe4b52..89c26eb8 100644 --- a/LCARStrek/browser/devtools/csshtmltree.css +++ b/LCARStrek/browser/devtools/csshtmltree.css @@ -1,66 +1,12 @@ -/* ***** 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 - * - * 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; } -#root { - display: -moz-box; -} - -.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; - 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, @@ -73,33 +19,28 @@ .helplink:visited { text-decoration: none; } - -.helplink-container { - position: relative; - top: 2px; +link:hover { + text-decoration: underline; } .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; + 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; + cursor: pointer; } .expander { @@ -107,44 +48,65 @@ 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"); -} - -.expandable { - cursor: pointer; + background-image: url("chrome://global/skin/tree/twisty-open.gif"); } .match { visibility: hidden; } -.expandable > .match { +.expandable { + cursor: pointer; visibility: visible; } -.only-unmatched { - -moz-margin-start: 0; +.expander-container { + vertical-align: text-top; } .property-name { - font-size: 12px; + padding: 2px 0; color: #FF9F00; width: 220px; } + .property-value { - font-size: 10px; + padding: 0; + -moz-padding-end: 6px; color: #8050B0; + width: 100%; +} + +.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; + vertical-align: text-bottom; +} + +.bestmatch { + color: #FFCF00; +} +.matched { + text-decoration: line-through; +} +.parentmatch { + color: #E7ADE7; } #propertyContainer { - display: -moz-box; - -moz-box-orient: vertical; - -moz-box-flex: 1; - overflow-y: auto; + border-collapse: collapse; } .darkrow { @@ -160,7 +122,6 @@ .headerControls { color: #9C9CFF; background-color: #000000; - padding-top: 5px; } .onlyuserstyles { @@ -168,14 +129,6 @@ font-size: 11px; } -.searchfield { - -moz-margin-start: 10px; -} - -.styleinspector-legend { - -moz-margin-start: 12px; -} - #footer { border-top: 1px solid #9C9CFF; } @@ -193,12 +146,51 @@ } .ruleview-rule-source { + color: #9C9CFF; /* original: green */ + -moz-padding-start: 5px; + cursor: pointer; + text-align: right; + float: right; + -moz-user-select: -moz-none; +} + +.ruleview-rule-inheritance { background-color: #000000; - padding: 2px 5px; + color: #8050B0; + border-top: 1px solid #9C9CFF; + border-bottom: 1px solid #9C9CFF; + padding: 1px 4px; + margin-top: 4px; + -moz-user-select: -moz-none; +} + +.ruleview-rule-source:hover { + text-decoration: underline; +} + +.ruleview-rule { + padding: 2px 4px; +} + +.ruleview-rule + .ruleview-rule { + border-top: 1px dotted #008484; +} + +.ruleview-warning { + background: url("chrome://browser/skin/devtools/alerticon-warning.png"); + -moz-margin-start: 5px; + vertical-align: middle; + width: 13px; + height: 12px; } -.ruleview-code { - padding: 2px 5px; +.ruleview-ruleopen { + -moz-padding-end: 5px; +} + +.ruleview-ruleclose { + cursor: text; + padding-right: 20px; } .ruleview-propertylist { @@ -210,12 +202,18 @@ .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 { - display: inline-block; width: 8px; height: 8px; background: url("chrome://browser/skin/devtools/arrows.png") 24px 0; @@ -224,10 +222,6 @@ -moz-margin-end: 5px; } -.ruleview-expander:-moz-locale-dir(rtl) { - background-position: 16px 0; -} - .ruleview-expander.styleinspector-open { background-position: 8px 0; } @@ -238,15 +232,18 @@ } .ruleview-propertyname { - display: inline-block; 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; } @@ -267,3 +264,25 @@ border: 1px solid #9C9CFF; padding: 0; } + +.ruleview-property { + border-left: 2px solid transparent; +} + +.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; +}