| 1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ |
| 2 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ |
| 3 | |
| 4 | /** generic text fields (in dialogs) |
| 5 | **/ |
| 6 | |
| 7 | /* outer frame */ |
| 8 | textbox |
| 9 | { |
| 10 | border : 1px inset #CCD0DD; |
| 11 | color : #000000; |
| 12 | padding : 0px; |
| 13 | margin : 1px 3px 2px 4px; |
| 14 | background-color : #FFFFFF; |
| 15 | cursor : text; |
| 16 | } |
| 17 | |
| 18 | textbox[readonly="true"] |
| 19 | { |
| 20 | background-color : #CCCCCC; |
| 21 | } |
| 22 | |
| 23 | textbox[focused="true"] |
| 24 | { |
| 25 | border : 2px solid #6699cc; |
| 26 | margin : 0px 2px 1px 3px; |
| 27 | } |
| 28 | |
| 29 | textbox[focused="true"][readonly="true"] |
| 30 | { |
| 31 | border : 1px inset #CCCCCC; |
| 32 | margin : 1px 3px 2px 4px; |
| 33 | } |
| 34 | |
| 35 | /* internal frame */ |
| 36 | .textbox-internal-box, .textarea-internal-box |
| 37 | { |
| 38 | margin : 0px; |
| 39 | padding : 1px 2px 1px 2px; |
| 40 | border : none; |
| 41 | } |
| 42 | |
| 43 | /* internal text widget */ |
| 44 | html|*.textbox-input, html|*.textbox-textarea |
| 45 | { |
| 46 | border : none !important; |
| 47 | margin : 0px; |
| 48 | padding : 0px; |
| 49 | font : inherit; |
| 50 | background-color : inherit; |
| 51 | color : inherit; |
| 52 | } |
| 53 | |
| 54 | textbox[disabled="true"] |
| 55 | { |
| 56 | cursor : default !important; |
| 57 | background-color : white; |
| 58 | color : #CCCCCC; |
| 59 | } |
| 60 | |
| 61 | /** plain atomic textboxs, class="plain" **/ |
| 62 | textbox.plain, |
| 63 | textbox.plain > .textbox-internal-box, |
| 64 | textbox.plain > .textarea-internal-box |
| 65 | { |
| 66 | padding : 0px !important; |
| 67 | margin : 0px !important; |
| 68 | border : none !important; |
| 69 | } |
| 70 | |
| 71 | /** inline edit textbox **/ |
| 72 | |
| 73 | .textbox-inline-edit |
| 74 | { |
| 75 | border : 1px solid #6699FF !important; |
| 76 | margin : 0px !important; |
| 77 | } |
| 78 | |
| 79 | .textbox-inline-edit > .textbox-internal-box > html|*.textbox-input |
| 80 | { |
| 81 | border : none !important; |
| 82 | padding : 0px !important; |
| 83 | margin : 0px !important; |
| 84 | } |
| 85 | |
| 86 | .textbox-inline-edit > .textbox-internal-box |
| 87 | { |
| 88 | border : none !important; |
| 89 | padding : 1px !important; |
| 90 | margin : 0px !important; |
| 91 | } |
| 92 | |