mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 826685 - Web Console and Inspector font is (much) larger than Debugger and StyleEditor font (sourceeditor). r=msucan
This commit is contained in:
parent
a3a379cb6b
commit
42d0cc65db
@ -879,7 +879,7 @@ this.CssRuleView = function CssRuleView(aDoc, aStore)
|
|||||||
this.store = aStore;
|
this.store = aStore;
|
||||||
this.element = this.doc.createElementNS(XUL_NS, "vbox");
|
this.element = this.doc.createElementNS(XUL_NS, "vbox");
|
||||||
this.element.setAttribute("tabindex", "0");
|
this.element.setAttribute("tabindex", "0");
|
||||||
this.element.classList.add("ruleview");
|
this.element.className = "ruleview devtools-monospace";
|
||||||
this.element.flex = 1;
|
this.element.flex = 1;
|
||||||
|
|
||||||
this._boundCopy = this._onCopy.bind(this);
|
this._boundCopy = this._onCopy.bind(this);
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
<?xml-stylesheet href="chrome://global/skin/global.css"?>
|
<?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/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/csshtmltree.css" type="text/css"?>
|
||||||
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
||||||
|
|
||||||
<!DOCTYPE window [
|
<!DOCTYPE window [
|
||||||
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
||||||
@ -40,7 +41,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- The output from #templateRoot (below) is inserted here. -->
|
<!-- 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. -->
|
<!-- When no properties are found the following block is displayed. -->
|
||||||
<div id="noResults" hidden="">
|
<div id="noResults" hidden="">
|
||||||
@ -48,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- The output from #templateProperty (below) is appended here. -->
|
<!-- The output from #templateProperty (below) is appended here. -->
|
||||||
<table id="propertyContainer">
|
<table id="propertyContainer" class="devtools-monospace">
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<xul:hbox id="footer">
|
<xul:hbox id="footer">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<?xml-stylesheet href="chrome://global/skin/global.css"?>
|
<?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/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/csshtmltree.css" type="text/css"?>
|
||||||
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
||||||
|
|
||||||
<!DOCTYPE window [
|
<!DOCTYPE window [
|
||||||
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
||||||
%inspectorDTD;
|
%inspectorDTD;
|
||||||
|
@ -5,9 +5,13 @@
|
|||||||
|
|
||||||
/* Font for code */
|
/* Font for code */
|
||||||
|
|
||||||
.devtools-monospace {
|
:root {
|
||||||
font: message-box;
|
font: message-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.devtools-monospace {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toolbar and Toolbar items */
|
/* Toolbar and Toolbar items */
|
||||||
|
@ -270,6 +270,10 @@
|
|||||||
border-left: 2px solid transparent;
|
border-left: 2px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ruleview-property > * {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.ruleview-property[dirty] {
|
.ruleview-property[dirty] {
|
||||||
border-left-color: #68E268;
|
border-left-color: #68E268;
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,11 @@
|
|||||||
|
|
||||||
/* Font for code */
|
/* Font for code */
|
||||||
|
|
||||||
.devtools-monospace {
|
:root {
|
||||||
font: message-box;
|
font: message-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.devtools-monospace {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -272,6 +272,10 @@
|
|||||||
border-left: 2px solid transparent;
|
border-left: 2px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ruleview-property > * {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.ruleview-property[dirty] {
|
.ruleview-property[dirty] {
|
||||||
border-left-color: #68E268;
|
border-left-color: #68E268;
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
|
|
||||||
/* Font for code */
|
/* Font for code */
|
||||||
|
|
||||||
.devtools-monospace {
|
:root {
|
||||||
font: message-box;
|
font: message-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.devtools-monospace {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -272,6 +272,10 @@
|
|||||||
border-left: 2px solid transparent;
|
border-left: 2px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ruleview-property > * {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.ruleview-property[dirty] {
|
.ruleview-property[dirty] {
|
||||||
border-left-color: #68E268;
|
border-left-color: #68E268;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user