Bug 1296955 - add missing style rules and remove preprocessor directives. r=stefanh a=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Fri, 26 Aug 2016 17:17:46 +0200
changeset 27451 88191cf1923e10d7cf6c2b965e09ff33fb78ca7f
parent 27450 55291c180572457e1d38468afd83721cc3e3d840
child 27452 559856ab82753dff76e2bc71fe95765506a7a9b2
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstefanh, IanN
bugs1296955
Bug 1296955 - add missing style rules and remove preprocessor directives. r=stefanh a=IanN
suite/themes/classic/mac/communicator/console/console.css
--- a/suite/themes/classic/mac/communicator/console/console.css
+++ b/suite/themes/classic/mac/communicator/console/console.css
@@ -4,17 +4,16 @@
 
 /* ===== console.css ====================================================
   == Styles used by the Error Console window.
   ======================================================================= */
 
 /* View buttons */
 @import "chrome://global/skin/viewbuttons.css";
 
-%include ../shared.inc
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 .console-box {
   background-color: -moz-Field;
   color: -moz-FieldText;
   overflow: auto;
 }
 
@@ -104,44 +103,44 @@
 .console-row[type="message"] {
   background-color: #D3EDFF;
 }
 
 /* ::::: toolbars ::::: */
 
 #ToolbarEval {
   -moz-appearance: none;
-  background: @scopeBarBackground@;
-  border-bottom: @scopeBarSeparatorBorder@;
+  background: linear-gradient(#E8E8E8, #D0D0D0) repeat-x; /* @scopeBarBackground@ */
+  border-bottom: 1px solid #888; /* @scopeBarSeparatorBorder@ */
   padding: 2px;
 }
 
 #ToolbarEval > label {
   font-weight: bold;
-  color: @scopeBarTitleColor@;
+  color: #6D6D6D; /* @scopeBarTitleColor@ */
 }
 
 #TextfieldEval {
   margin: 2px !important;
 }
 
 #ButtonEval {
   margin: 0 4px;
   padding: 1px 10px;
   -moz-appearance: none;
   border-radius: 10000px;
-  border: @roundButtonBorder@;
-  background: @roundButtonBackground@;
-  box-shadow: @roundButtonShadow@;
+  border: 1px solid rgba(0, 0, 0, 0.35); /* @roundButtonBorder@ */
+  background: linear-gradient(#F6F6F6, #E9E9E9); /* @roundButtonBackground@ */
+  box-shadow: 0 1px rgba(255, 255, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5); /* @roundButtonShadow@ */
 }
 
 #ButtonEval:hover:active {
-  text-shadow: @loweredShadow@;
-  background: @roundButtonPressedBackground@;
-  box-shadow: @roundButtonPressedShadow@;
+  text-shadow: 0 1px rgba(255, 255, 255, 0.4); /* @loweredShadow@ */
+  background: #DADADA; /* @roundButtonPressedBackground@ */
+  box-shadow: 0 1px rgba(255, 255, 255, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.2); /* @roundButtonPressedShadow@ */
 }
 
 toolbarseparator {
   min-height: 1em;
   background-image: none;
 }
 
 /* Toolbar icons */
@@ -154,12 +153,12 @@ toolbarseparator {
   display: none;
 }
 
 #Console\:clear {
   -moz-box-orient: vertical;
   -moz-box-align: center;
   -moz-appearance: toolbarbutton;
   font: menu;
-  text-shadow: @loweredShadow@;
+  text-shadow: 0 1px rgba(255, 255, 255, 0.4); /* @loweredShadow@ */
   margin: 4px 0 9px;
   padding: 0 1px;
 }