X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftextbox.css;h=104c141676254ed60b0aaa271ff1d825eec5ecfb;hp=5f48a5f4dda7f9381a7c27f494fd87594c5dbacc;hb=5815254d0fee2aef4e8c399b4eb560b2be9ee502;hpb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index 5f48a5f4..104c1416 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -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; }