Bug 826685 - Web Console and Inspector font is (much) larger than Debugger and StyleEditor font (sourceeditor). r=msucan

This commit is contained in:
Paul Rouget 2013-02-04 11:48:24 +01:00
parent a3a379cb6b
commit 42d0cc65db
9 changed files with 31 additions and 6 deletions

View File

@ -879,7 +879,7 @@ this.CssRuleView = function CssRuleView(aDoc, aStore)
this.store = aStore;
this.element = this.doc.createElementNS(XUL_NS, "vbox");
this.element.setAttribute("tabindex", "0");
this.element.classList.add("ruleview");
this.element.className = "ruleview devtools-monospace";
this.element.flex = 1;
this._boundCopy = this._onCopy.bind(this);

View File

@ -6,6 +6,7 @@
<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://browser/content/devtools/styleinspector.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/csshtmltree.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
@ -40,7 +41,7 @@
</script>
<!-- The output from #templateRoot (below) is inserted here. -->
<div id="root"></div>
<div id="root" class="devtools-monospace"></div>
<!-- When no properties are found the following block is displayed. -->
<div id="noResults" hidden="">
@ -48,7 +49,7 @@
</div>
<!-- The output from #templateProperty (below) is appended here. -->
<table id="propertyContainer">
<table id="propertyContainer" class="devtools-monospace">
</table>
<xul:hbox id="footer">

View File

@ -5,6 +5,8 @@
<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://browser/content/devtools/styleinspector.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/csshtmltree.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
%inspectorDTD;

View File

@ -5,9 +5,13 @@
/* Font for code */
.devtools-monospace {
:root {
font: message-box;
}
.devtools-monospace {
font-family: monospace;
font-size: 85%;
}
/* Toolbar and Toolbar items */

View File

@ -270,6 +270,10 @@
border-left: 2px solid transparent;
}
.ruleview-property > * {
vertical-align: middle;
}
.ruleview-property[dirty] {
border-left-color: #68E268;
}

View File

@ -7,8 +7,11 @@
/* Font for code */
.devtools-monospace {
:root {
font: message-box;
}
.devtools-monospace {
font-family: monospace;
}

View File

@ -272,6 +272,10 @@
border-left: 2px solid transparent;
}
.ruleview-property > * {
vertical-align: middle;
}
.ruleview-property[dirty] {
border-left-color: #68E268;
}

View File

@ -5,8 +5,11 @@
/* Font for code */
.devtools-monospace {
:root {
font: message-box;
}
.devtools-monospace {
font-family: monospace;
}

View File

@ -272,6 +272,10 @@
border-left: 2px solid transparent;
}
.ruleview-property > * {
vertical-align: middle;
}
.ruleview-property[dirty] {
border-left-color: #68E268;
}