Bug 650511 [Modern 2.1] global fixes: autocomplete.css to menulist.css. r=Neil
authorPhilip Chee <philip.chee@gmail.com>
Fri, 22 Apr 2011 12:21:54 +0800
changeset 7597 1cb31f2bbbfc7db50ff27732107863dff97bd850
parent 7596 9940f4ed9275d8501ee33c908bbf2bb2389f2030
child 7598 6cfc468bd1e79b9b7b1ef1fadae3e5c7193341ce
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs650511
Bug 650511 [Modern 2.1] global fixes: autocomplete.css to menulist.css. r=Neil
suite/themes/modern/global/autocomplete.css
suite/themes/modern/global/button.css
suite/themes/modern/global/findBar.css
suite/themes/modern/global/global.css
suite/themes/modern/global/menulist.css
suite/themes/modern/global/popup.css
--- a/suite/themes/modern/global/autocomplete.css
+++ b/suite/themes/modern/global/autocomplete.css
@@ -44,17 +44,17 @@
 
 /* ::::: autocomplete ::::: */
 
 textbox[type="autocomplete"] {
   cursor: default !important;
 }
 
 textbox[nomatch="true"][highlightnonmatches="true"] {
-  color: red;
+  color: #F00;
 }
 
 .textbox-input-box {
   -moz-box-align: center;
 }
 
 /* ::::: history button ::::: */
 
@@ -108,8 +108,13 @@ panel[type="autocomplete"] {
 
 .autocomplete-treebody::-moz-tree-row(selected) {
   background-color: #9499AC;
 }
 
 .autocomplete-treebody::-moz-tree-cell-text(selected) {
   color: #FFFFFF !important;
 }
+
+.autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
+  max-width: 16px;
+  height: 16px;
+}
--- a/suite/themes/modern/global/button.css
+++ b/suite/themes/modern/global/button.css
@@ -139,33 +139,29 @@ button[default="true"]:focus {
   -moz-border-right-colors: #98A5B2 #98A5B2 #000000 #000000 #A2AEBB #A7B4C1;
   -moz-border-bottom-colors: #98A5B2 #98A5B2 #000000 #000000 #97A6B6 #9DAAB9;
   -moz-border-left-colors: #98A5B2 #98A5B2 #000000 #000000 #BBC6D1 #B1BBC9;
 }
 
 /* ::::: menu/menu-button buttons ::::: */
 
 button[type="menu-button"] {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  border: none !important;
+  border: none;
   background: transparent !important;
 }
 
 .button-menubutton-button {
   margin: 0;
 }
 
 .button-menu-dropmarker,
 .button-menubutton-dropmarker {
   margin: 1px;
-  background-color: transparent !important;
-  border: none !important;
-  min-width:9px;
-  min-height:5px;
+  background-color: transparent;
+  border: none;
 }
   
 .button-menubutton-dropmarker[open="true"] {
   margin-top: 2px;
   margin-bottom: 0px;
   -moz-margin-start: 2px;
   -moz-margin-end: 0px;
 }
--- a/suite/themes/modern/global/findBar.css
+++ b/suite/themes/modern/global/findBar.css
@@ -76,20 +76,19 @@ findbar {
   width: 16px;
   height: 16px;
 }
 
 .find-status-icon[status="notfound"] {
   list-style-image: url("chrome://global/skin/icons/notfound.png");
 }
 
-.findbar-textbox {
-  -moz-binding: url("chrome://global/content/bindings/findbar.xml#findbar-textbox");
-}
-
-
 .findbar-textbox[status="notfound"] {
   background-color: #FFCCCC;
 }
 
+.findbar-textbox[flash="true"] {
+  background-color: #FFFF00;
+}
+
 .find-status-icon[status="wrapped"] {
   list-style-image: url("chrome://global/skin/icons/wrap.png");
-}
\ No newline at end of file
+}
--- a/suite/themes/modern/global/global.css
+++ b/suite/themes/modern/global/global.css
@@ -313,16 +313,20 @@ label {
   margin: 1px 5px 2px 5px;
 }
 
 description[disabled="true"],
 label[disabled="true"] {
   color: #8C99AB;
 }
 
+.tooltip-label {
+  margin: 0px;
+}
+
 .header {
   font-weight: bold;
 }
 
 .monospace {
   font-family: monospace;
 }
 
--- a/suite/themes/modern/global/menulist.css
+++ b/suite/themes/modern/global/menulist.css
@@ -185,17 +185,17 @@ menulist[focused="true"] {
   color: #000000;
 }
 
 .menulist-compact > .menulist-label {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
   -moz-margin-start: 0px !important;
   -moz-margin-end: 3px !important;
-  text-align: right;
+  text-align: end;
 }  
 
 .menulist-compact > .menulist-dropmarker {
   border: none;
   background: transparent;
 }
 
 .menulist-compact > .menulist-dropmarker,
--- a/suite/themes/modern/global/popup.css
+++ b/suite/themes/modern/global/popup.css
@@ -110,20 +110,16 @@ tooltip {
   border: 1px solid #000000;
   padding: 2px 3px;
   max-width: 40em;
   background-color: #FFFFE7;
   color: #000000;
   font: message-box;
 }
 
-.tooltip-label {
-  margin: 0px !important;
-}
-
 tooltip[titletip="true"] {
   /* See bug 32157 comment 128
    * margin-top: -2px;
    * margin-bottom: 0px;
    * -moz-margin-start: -4px;
    * -moz-margin-end: 0px;
    */
   max-width: none;