Bug 607163 - Part 3: Remove !important from the Web Console CSS, r=dao, a=gavin
authorPatrick Walton <pwalton@mozilla.com>
Wed, 10 Nov 2010 11:10:25 -0500
changeset 57253 7780f04b558be3423e813954e317dc2e9741ea38
parent 57252 84ab587e76155686645c06c70cedc618237fc0d0
child 57254 f9966f6545e0a34e51a05e981c54142e1189f1bc
push id16848
push userrcampbell@mozilla.com
push dateWed, 10 Nov 2010 16:11:14 +0000
treeherdermozilla-central@bdcaec24bbcb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, gavin
bugs607163
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 607163 - Part 3: Remove !important from the Web Console CSS, r=dao, a=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
@@ -54,17 +54,17 @@
 
 .hud-main-label {
   font-size: 1em;
   padding-top: 0.33em;
   font-weight: bold;
 }
 
 .hud-clickable {
-  cursor: pointer !important;
+  cursor: pointer;
   text-decoration: underline;
 }
 
 .hud-network {
   color: blue;
 }
 
 .hud-error {
@@ -152,43 +152,43 @@
   display: block;
 }
 
 .jsterm-input-node {
   width: 98%;
   font-family: monospace;
   font-size: 9pt;
   background: url("chrome://global/skin/icons/commandline.png") 4px 3px
-      no-repeat !important;
-  border: none !important;
-  padding: 0px 0px 0px 16px !important;
-  -moz-appearance: none !important;
+    no-repeat;
+  border: none;
+  padding: 0px 0px 0px 16px;
+  -moz-appearance: none;
 }
 
 .jsterm-input-node > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
 .hud-console-filter-toolbar {
   padding: 1px 0px;
   -moz-box-align: center;
 }
 
 .jsterm-close-button {
-  background: none !important;
-  border: none !important;
+  background: none;
+  border: none;
   list-style-image: url("chrome://global/skin/icons/close.png");
-  margin: 0px !important;
-  min-width: 0px !important;
-  padding: 1px 3px 1px 7px !important;
-  -moz-appearance: none !important;
+  margin: 0px;
+  min-width: 0px;
+  padding: 1px 3px 1px 7px;
+  -moz-appearance: none;
   -moz-image-region: rect(0, 16px, 16px, 0);
   -moz-user-focus: ignore;
 }
 
 .jsterm-close-button:hover {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
--- a/toolkit/themes/pinstripe/global/webConsole.css
+++ b/toolkit/themes/pinstripe/global/webConsole.css
@@ -55,17 +55,17 @@
 
 .hud-main-label {
   font-size: 1em;
   padding-top: 0.33em;
   font-weight: bold;
 }
 
 .hud-clickable {
-  cursor: pointer !important;
+  cursor: pointer;
   text-decoration: underline;
 }
 
 .hud-network {
   color: blue;
 }
 
 .hud-error {
@@ -153,46 +153,46 @@
   top: 92%;
   display: block;
 }
 
 .jsterm-input-node {
   font-family: monospace;
   font-size: 9pt;
   background: url("chrome://global/skin/icons/commandline.png") 4px 2px
-      no-repeat !important;
-  border: none !important;
-  padding: 0px 0px 0px 16px !important;
-  -moz-appearance: none !important;
+      no-repeat;
+  border: none;
+  padding: 0px 0px 0px 16px;
+  -moz-appearance: none;
 }
 
 .jsterm-input-node > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
 .hud-console-filter-toolbar {
-  background: @scopeBarBackground@ !important;
-  border-bottom: @scopeBarSeparatorBorder@ !important;
+  background: @scopeBarBackground@;
+  border-bottom: @scopeBarSeparatorBorder@;
   padding: 0px 1px;
-  -moz-appearance: none !important;
+  -moz-appearance: none;
   -moz-box-align: center;
 }
 
 .hud-console-filter-toolbar:-moz-lwtheme {
-  border-top: @scopeBarSeparatorBorder@ !important;
+  border-top: @scopeBarSeparatorBorder@;
 }
 
 .jsterm-close-button {
   list-style-image: url("chrome://global/skin/icons/console-close.png");
-  margin: 0px !important;
-  min-width: 0px !important;
-  padding: 1px 3px 1px 7px !important;
-  -moz-appearance: none !important;
+  margin: 0px;
+  min-width: 0px;
+  padding: 1px 3px 1px 7px;
+  -moz-appearance: none;
 }
 
 .jsterm-close-button:active {
   background-color: rgb(175, 175, 175);
 }
 
--- a/toolkit/themes/winstripe/global/webConsole.css
+++ b/toolkit/themes/winstripe/global/webConsole.css
@@ -53,17 +53,17 @@
 
 .hud-main-label {
   font-size: 1em;
   padding-top: 0.33em;
   font-weight: bold;
 }
 
 .hud-clickable {
-  cursor: pointer !important;
+  cursor: pointer;
   text-decoration: underline;
 }
 
 .hud-network {
   color: blue;
 }
 
 .hud-error {
@@ -150,47 +150,47 @@
   top: 92%;
   display: block;
 }
 
 .jsterm-input-node {
   font-family: monospace;
   font-size: 9pt;
   background: url("chrome://global/skin/icons/commandline.png") 4px 3px
-      no-repeat !important;
-  border: none !important;
-  padding: 0px 0px 0px 16px !important;
-  -moz-appearance: none !important;
+    no-repeat;
+  border: none;
+  padding: 0px 0px 0px 16px;
+  -moz-appearance: none;
 }
 
 .jsterm-input-node > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
 .jsterm-output-line {
   font-size: 1em;
 }
 
 .hud-console-filter-toolbar {
   padding: 1px 0px;
   -moz-box-align: center;
-  -moz-appearance: none !important;
+  -moz-appearance: none;
   background-color: -moz-dialog;
   border-top: none;
 }
 
 
 .jsterm-close-button {
-  background: none !important;
-  border: none !important;
+  background: none;
+  border: none;
   list-style-image: url("chrome://global/skin/icons/close.png");
-  margin: 0px !important;
-  min-width: 0px !important;
-  padding: 1px 3px 1px 7px !important;
-  -moz-appearance: none !important;
+  margin: 0px;
+  min-width: 0px;
+  padding: 1px 3px 1px 7px;
+  -moz-appearance: none;
   -moz-image-region: rect(0, 16px, 16px, 0);
   -moz-user-focus: ignore;
 }
 
 .jsterm-close-button:hover {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }