fix up page info, including making readonly textboxes gray instead of disabled-purple
[themes.git] / LCARStrek / global / textbox.css
index 227757d7ddcccc4aac211197fb484b8fdffd5263..83e3172520e38a7b2ecac1ffe66c26e19efcee00 100644 (file)
@@ -41,6 +41,15 @@ html|*.textbox-textarea::placeholder {
   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::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;
 }