@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 { -moz-border-radius : 3px; border : 1px solid #9C9CFF; font : inherit; color : #E7ADE7; padding : 0px; margin : 1px 3px 2px 4px; background-color : #000000; cursor : text; } textfield[readonly="true"] { border : 1px solid #8050B0; color : #8050B0; } textfield[focused="true"] { border : 2px solid #FFCF00; margin : 0px 2px 1px 3px; } textfield[focused="true"][readonly="true"] { border : 1px solid #8050B0; margin : 1px 3px 2px 4px; } /* internal frame */ .textfield-internal-box { -moz-border-radius : 3px; margin : 0px; padding : 1px 2px 1px 2px; cursor : text; border : none; background-color : inherit; color : inherit; } textfield[disabled="true"] > .textfield-internal-box { border : none; } .textarea-internal-box { padding : 0px 0px 0px 2px; } /* internal text widget */ .textfield-input, .textfield-textarea { color : inherit; border : none !important; margin : 0px; font : inherit; background-color : inherit; } textfield[disabled="true"] { cursor : default ! important; } /** 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; } .scrollfield { border : none !important; margin : 0px; margin-top : 1px; padding : 0px !important; background : inherit; } .scrollfield > .textfield-internal-box { border : none !important; margin : 0px !important; padding : 0px !important; }