gecko-dev/themes/classic/global/win/textbox.css

88 строки
2.4 KiB
CSS

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
/** generic text fields (in dialogs)
**/
/* outer frame */
textbox
{
margin : 1px 5px 2px 5px;
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 : -moz-FieldText;
cursor : text;
}
textbox[readonly="true"]
{
background-color : -moz-Dialog;
}
/* internal frame */
.textbox-internal-box, .textarea-internal-box
{
margin : 0px;
padding : 1px 2px 1px 2px;
border-left : 1px solid ThreeDDarkShadow;
border-top : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace;
}
/* internal text widget */
.textbox-input, .textbox-textarea
{
border : none !important;
margin : 0px;
padding : 0px;
font : inherit;
background-color : inherit;
color : inherit;
}
textbox[disabled="true"]
{
cursor : default !important;
background-color : -moz-Dialog;
color : GrayText;
}
/** plain atomic textboxs, class="plain" **/
textbox.plain,
textbox.plain > .textbox-internal-box,
textbox.plain > .textarea-internal-box
{
padding : 0px !important;
margin : 0px !important;
border : none !important;
}
/** inline edit textbox **/
.textbox-inline-edit
{
border : 1px solid WindowFrame !important;
margin : 0px !important;
}
.textbox-inline-edit > .textbox-internal-box > .textbox-input
{
border : none !important;
padding : 0px !important;
margin : 0px !important;
}
.textbox-inline-edit > .textbox-internal-box
{
border : none !important;
padding : 1px !important;
margin : 0px !important;
}