correct appearance of inactive window menus
[themes.git] / EarlyBlue / global / textbox.css
index c452403ad8447ab3adcd614ada3f453608fdadeb..1258006ad3087296c2a84bc6a92c5e3161e929f1 100644 (file)
@@ -48,12 +48,19 @@ textbox {
   cursor: text;
   margin: 2px 3px;
   border: 1px inset #CCD0DD;
-  padding: 1px 0px 1px 2px;
+  padding: 1px 0px;
+  -moz-padding-start: 2px;
   background-color: #FFFFFF;
   color: #000000;
   min-height: 19px;
 }
 
+/* this color should be on the -moz-placeholder
+textbox[isempty="true"] {
+  color: #CCD0DD;
+}
+*/
+
 html|*.textbox-input,
 html|*.textbox-textarea {
   margin: 0px !important;
@@ -81,6 +88,7 @@ textbox[disabled="true"] {
   cursor: default;
   background-color: #FFFFFF;
   color: #CCCCCC;
+  border: 1px solid #666699;
 }
 
 textbox[focused="true"] {
@@ -100,11 +108,35 @@ textbox.plain {
   margin: 0px !important;
   border: none !important;
   outline: none !important;
-  background-color: inherit !important;
+  background-color: transparent;
   color: inherit !important;
   min-height: 0px;
 }
 
+/* ::::: search textbox ::::: */
+
+.textbox-search-icon {
+  list-style-image: url("chrome://global/skin/icons/search.png");
+  -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+.textbox-search-icon:-moz-locale-dir(rtl) {
+  -moz-transform: scaleX(-1);
+}
+
+.textbox-search-icon[searchbutton]:not([disabled]) {
+  cursor: pointer;
+}
+
+.textbox-search-clear {
+  list-style-image: url("chrome://global/skin/icons/search.png");
+  -moz-image-region: rect(16px, 16px, 32px, 0);
+}
+
+.textbox-search-clear:not([disabled]) {
+  cursor: default;
+}
+
 /* ::::: textboxes inside toolbarpaletteitems ::::: */
 
 toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {