mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
70 lines
2.0 KiB
CSS
70 lines
2.0 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 */
|
|
textfield
|
|
{
|
|
border-left : 1px solid threedshadow;
|
|
border-top : 1px solid threedshadow;
|
|
border-right : 1px solid threedhighlight;
|
|
border-bottom : 1px solid threedhighlight;
|
|
font : field;
|
|
color : windowtext;
|
|
padding : 0px;
|
|
margin : 1px 3px 2px 4px;
|
|
background-color : white;
|
|
cursor : text;
|
|
}
|
|
|
|
textfield[readonly="true"]
|
|
{
|
|
background-color : threedface;
|
|
}
|
|
|
|
/* internal frame */
|
|
.textfield-internal-box
|
|
{
|
|
margin : 0px;
|
|
padding : 1px 2px 1px 2px;
|
|
cursor : text;
|
|
border-left : 1px solid threeddarkshadow;
|
|
border-top : 1px solid threeddarkshadow;
|
|
border-right : 1px solid threedface;
|
|
border-bottom : 1px solid threedface;
|
|
background-color : inherit;
|
|
color : inherit;
|
|
}
|
|
|
|
.textarea-internal-box
|
|
{
|
|
padding : 0px 0px 0px 2px;
|
|
}
|
|
|
|
/* internal text widget */
|
|
.textfield-input, .textfield-textarea
|
|
{
|
|
border : none !important;
|
|
margin : 0px;
|
|
font : inherit;
|
|
background-color : inherit;
|
|
}
|
|
|
|
textfield[disabled="true"]
|
|
{
|
|
cursor : default ! important;
|
|
background-color : threedface;
|
|
}
|
|
|
|
/** 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;
|
|
}
|