this doesn't work, makes textboxes in main toolbar look bad, needs a different solution
[themes.git] / LCARStrek / global / textbox.css
index 5f48a5f4dda7f9381a7c27f494fd87594c5dbacc..104c141676254ed60b0aaa271ff1d825eec5ecfb 100644 (file)
@@ -35,12 +35,21 @@ html|*.textbox-textarea {
   font: inherit;
 }
 
-html|*.textbox-input::-moz-placeholder,
-html|*.textbox-textarea::-moz-placeholder {
+html|*.textbox-input::placeholder,
+html|*.textbox-textarea::placeholder {
   color: #8050B0;
   opacity: 1.0;
 }
 
+html|*.textbox-input > .anonymous-div,
+html|*.textbox-input::placeholder {
+  line-height: 1em; /* This would be ideal but doesn't work */
+}
+
+html|*.textbox-input {
+  /* max-height: 1em; work around the above rule that does not work */
+}
+
 .textbox-input-box menupopup {
   cursor: default;
 }
@@ -48,8 +57,8 @@ html|*.textbox-textarea::-moz-placeholder {
 /* ..... readonly state ..... */
 
 textbox[readonly="true"] {
-  border: 1px solid #8050B0;
-  color: #8050B0;
+  border: 1px solid #A09090;
+  color: #A09090;
 }
 
 /* ..... disabled state ..... */
@@ -68,7 +77,7 @@ textbox[focused="true"] {
 }
 
 textbox[focused="true"][readonly="true"] {
-  border: 1px solid #8050B0;
+  border: 1px solid #A09090;
   outline: none;
 }