Bug 617876 - Fix up theme code from bug 601183. r=gavin
authorDão Gottwald <dao@mozilla.com>
Thu, 09 Dec 2010 11:56:44 +0100
changeset 58963 9c76b830138bbbf1ea62030ba66ce50ec91e135f
parent 58962 b26cf63f51a921f21be84c7ad6b6f3228569a9ea
child 58964 d03bbf388b4c3d4f91a496e8cb574fcbded70c91
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersgavin
bugs617876, 601183
milestone2.0b8pre
Bug 617876 - Fix up theme code from bug 601183. r=gavin
toolkit/themes/gnomestripe/global/webConsole.css
toolkit/themes/pinstripe/global/webConsole.css
toolkit/themes/winstripe/global/webConsole.css
--- a/toolkit/themes/gnomestripe/global/webConsole.css
+++ b/toolkit/themes/gnomestripe/global/webConsole.css
@@ -181,40 +181,35 @@
 .jsterm-scroll-to-node {
   height: 1px;
   width: 1px;
   position: relative;
   top: 92%;
   display: block;
 }
 
-.jsterm-input-node {
-  width: 98%;
+.jsterm-input-node,
+.jsterm-complete-node {
   font-family: monospace;
   font-size: 9pt;
-  background: url("chrome://global/skin/icons/commandline.png") 4px 3px
-    no-repeat;
   border: none;
-  padding: 0px 0px 0px 16px;
+  padding: 0 0 0 16px;
   -moz-appearance: none;
 }
 
-.jsterm-input-node > .textbox-input-box > .textbox-textarea {
+.jsterm-input-node {
+  width: 98%;
+  background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
+}
+
+:-moz-any(.jsterm-input-node,
+          .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
-.jsterm-complete-node {
-    font-family: monospace;
-    font-size: 9pt;
-    border: none;
-    padding: 0px 0px 0px 16px;
-    -moz-appearance: none;
-}
-
-.jsterm-complete-node textarea {
-    overflow-x: hidden;
-    color: #AAA;
+.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
+  color: GrayText;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
--- a/toolkit/themes/pinstripe/global/webConsole.css
+++ b/toolkit/themes/pinstripe/global/webConsole.css
@@ -249,41 +249,36 @@
 .jsterm-scroll-to-node {
   height: 1px;
   width: 1px;
   position: relative;
   top: 92%;
   display: block;
 }
 
-.jsterm-input-node {
+.jsterm-input-node,
+.jsterm-complete-node {
   font-family: monospace;
   font-size: 9pt;
-  background: url("chrome://global/skin/icons/commandline.png") 4px 2px
-      no-repeat;
   border: none;
-  padding: 0px 0px 0px 16px;
+  padding: 0 0 0 16px;
   -moz-appearance: none;
 }
 
-.jsterm-input-node > .textbox-input-box > .textbox-textarea {
+.jsterm-input-node {
+  background: url("chrome://global/skin/icons/commandline.png") 4px 2px no-repeat;
+}
+
+:-moz-any(.jsterm-input-node,
+          .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
-.jsterm-complete-node {
-    font-family: monospace;
-    font-size: 9pt;
-    border: none;
-    padding: 0px 0px 0px 16px;
-    -moz-appearance: none;
-}
-
-.jsterm-complete-node textarea {
-    overflow-x: hidden;
-    color: #AAA;
+.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
+  color: GrayText;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
 .hud-console-filter-toolbar {
   background: @scopeBarBackground@;
--- a/toolkit/themes/winstripe/global/webConsole.css
+++ b/toolkit/themes/winstripe/global/webConsole.css
@@ -191,41 +191,36 @@
 .jsterm-scroll-to-node {
   height: 1px;
   width: 1px;
   position: relative;
   top: 92%;
   display: block;
 }
 
-.jsterm-input-node {
+.jsterm-input-node,
+.jsterm-complete-node {
   font-family: monospace;
   font-size: 9pt;
-  background: url("chrome://global/skin/icons/commandline.png") 4px 3px
-    no-repeat;
   border: none;
-  padding: 0px 0px 0px 16px;
+  padding: 0 0 0 16px;
   -moz-appearance: none;
 }
 
-.jsterm-input-node > .textbox-input-box > .textbox-textarea {
+.jsterm-input-node {
+  background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
+}
+
+:-moz-any(.jsterm-input-node,
+          .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
-.jsterm-complete-node {
-    font-family: monospace;
-    font-size: 9pt;
-    border: none;
-    padding: 0px 0px 0px 16px;
-    -moz-appearance: none;
-}
-
-.jsterm-complete-node textarea {
-    overflow-x: hidden;
-    color: #AAA;
+.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
+  color: GrayText;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
 .hud-console-filter-toolbar {
   padding: 1px 0px;