2000-05-23 08:04:02 +04:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
|
2000-06-15 13:54:41 +04:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
|
2000-05-23 08:04:02 +04:00
|
|
|
|
|
|
|
/** generic text fields (in dialogs)
|
|
|
|
**/
|
|
|
|
|
|
|
|
/* outer frame */
|
|
|
|
textfield
|
|
|
|
{
|
2000-08-12 13:12:23 +04:00
|
|
|
margin : 1px 5px 2px 5px;
|
2001-02-02 06:27:57 +03:00
|
|
|
border-top : 1px solid ThreeDShadow;
|
|
|
|
border-right : 1px solid ThreeDHighlight;
|
|
|
|
border-bottom : 1px solid ThreeDHighlight;
|
|
|
|
border-left : 1px solid ThreeDShadow;
|
|
|
|
padding : 0px;
|
|
|
|
background-color : -moz-field;
|
|
|
|
color : WindowText;
|
2000-05-23 08:04:02 +04:00
|
|
|
cursor : text;
|
|
|
|
}
|
|
|
|
|
|
|
|
textfield[readonly="true"]
|
|
|
|
{
|
2001-02-02 06:27:57 +03:00
|
|
|
background-color : ThreeDFace;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* internal frame */
|
2001-02-02 06:27:57 +03:00
|
|
|
.textfield-internal-box, .textarea-internal-box
|
2000-05-23 08:04:02 +04:00
|
|
|
{
|
|
|
|
margin : 0px;
|
|
|
|
padding : 1px 2px 1px 2px;
|
2001-02-02 06:27:57 +03:00
|
|
|
border-left : 1px solid ThreeDDarkShadow;
|
|
|
|
border-top : 1px solid ThreeDDarkShadow;
|
|
|
|
border-right : 1px solid ThreeDFace;
|
|
|
|
border-bottom : 1px solid ThreeDFace;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* internal text widget */
|
|
|
|
.textfield-input, .textfield-textarea
|
|
|
|
{
|
|
|
|
border : none !important;
|
|
|
|
margin : 0px;
|
|
|
|
font : inherit;
|
|
|
|
background-color : inherit;
|
2000-08-18 08:52:04 +04:00
|
|
|
color : inherit;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
textfield[disabled="true"]
|
|
|
|
{
|
2001-02-02 06:27:57 +03:00
|
|
|
cursor : default !important;
|
|
|
|
background-color : ThreeDFace;
|
|
|
|
color : GrayText;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/** plain atomic textfields, class="plain" **/
|
|
|
|
textfield.plain,
|
|
|
|
textfield.plain > .textfield-internal-box,
|
|
|
|
textfield.plain > .textarea-internal-box
|
|
|
|
{
|
|
|
|
padding : 0px !important;
|
|
|
|
margin : 0px !important;
|
|
|
|
border : none !important;
|
|
|
|
}
|
2000-08-12 13:12:23 +04:00
|
|
|
|
2001-01-05 03:49:30 +03:00
|
|
|
/* autocomplete text field */
|
|
|
|
.textfield-popup > menuitem
|
2001-02-02 06:27:57 +03:00
|
|
|
{
|
2001-01-05 03:49:30 +03:00
|
|
|
max-width : none !important;
|
2001-02-02 06:27:57 +03:00
|
|
|
}
|