| 1 | /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of |
| 2 | a particular application should be in that application's style sheet. |
| 3 | For example style definitions for navigator can be found in navigator.css |
| 4 | |
| 5 | THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR |
| 6 | CHANGES REVIEWED BY hyatt@netscape.com. |
| 7 | **/ |
| 8 | |
| 9 | /* import the widget style sheets */ |
| 10 | |
| 11 | /* all localizable skin settings shall live here */ |
| 12 | @import url(chrome://global/locale/intl.css); |
| 13 | |
| 14 | @import url("chrome://global/skin/formatting.css"); |
| 15 | /* |
| 16 | @import url("chrome://global/content/bindings/outliner.css"); |
| 17 | @import url("chrome://global/content/bindings/popup.css"); |
| 18 | @import url("chrome://global/content/bindings/scrollbar.css"); |
| 19 | @import url("chrome://global/content/bindings/tree.css"); |
| 20 | |
| 21 | @import url("chrome://global/skin/button.css"); |
| 22 | @import url("chrome://global/skin/checkbox.css"); |
| 23 | @import url("chrome://global/skin/colorpicker.css"); |
| 24 | @import url("chrome://global/skin/menu.css"); |
| 25 | @import url("chrome://global/skin/menubutton.css"); |
| 26 | @import url("chrome://global/skin/menulist.css"); |
| 27 | @import url("chrome://global/skin/outliner.css"); |
| 28 | @import url("chrome://global/skin/popup.css"); |
| 29 | @import url("chrome://global/skin/progressmeter.css"); |
| 30 | @import url("chrome://global/skin/radio.css"); |
| 31 | @import url("chrome://global/skin/scrollbox.css"); |
| 32 | @import url("chrome://global/skin/splitter.css"); |
| 33 | @import url("chrome://global/skin/tabcontrol.css"); |
| 34 | @import url("chrome://global/skin/textbox.css"); |
| 35 | @import url("chrome://global/skin/toolbar.css"); |
| 36 | @import url("chrome://global/skin/tree.css"); |
| 37 | */ |
| 38 | |
| 39 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 40 | |
| 41 | |
| 42 | /** |
| 43 | * bindings |
| 44 | **/ |
| 45 | |
| 46 | /* LCARStrek does currently not need many bindings here, if we once do, see sample in Classic */ |
| 47 | |
| 48 | statusbar |
| 49 | { |
| 50 | -moz-binding : url("chrome://global/skin/globalBindings.xml#statusbar"); |
| 51 | } |
| 52 | |
| 53 | |
| 54 | |
| 55 | /** |
| 56 | * XXX-DEBUG: HTML namespace/titledbutton striping. |
| 57 | **/ |
| 58 | |
| 59 | /* |
| 60 | html|* |
| 61 | { |
| 62 | border : 1px solid green !important; |
| 63 | } |
| 64 | |
| 65 | html|form |
| 66 | { |
| 67 | border : none !important; |
| 68 | } |
| 69 | |
| 70 | titledbutton |
| 71 | { |
| 72 | border : 1px solid purple !important; |
| 73 | } |
| 74 | */ |
| 75 | |
| 76 | /** |
| 77 | * XUL <window> element |
| 78 | **/ |
| 79 | window |
| 80 | { |
| 81 | background-color : #000000; |
| 82 | /* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ |
| 83 | font : 3mm helvetica,arial,tahoma,sans-serif; |
| 84 | color : #FF9F00; |
| 85 | padding : 3px; |
| 86 | -moz-user-focus : ignore; |
| 87 | } |
| 88 | |
| 89 | window[wait-cursor] |
| 90 | { |
| 91 | cursor : wait !important; |
| 92 | } |
| 93 | |
| 94 | window.dialog |
| 95 | { |
| 96 | background-color : #000000; |
| 97 | padding : 7px 5px 5px 5px; |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * XUL <box> debugging |
| 102 | **/ |
| 103 | :-moz-horizontal-box-debug |
| 104 | { |
| 105 | border : 2px solid blue; |
| 106 | border-top-width : 10px; |
| 107 | padding : 2px; |
| 108 | margin : 2px; |
| 109 | color : white; |
| 110 | } |
| 111 | |
| 112 | :-moz-vertical-box-debug |
| 113 | { |
| 114 | border : 2px solid red; |
| 115 | border-left-width : 10px; |
| 116 | padding : 2px; |
| 117 | margin : 2px; |
| 118 | color : white; |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Utility icons (used for alert dialogs, etc) |
| 123 | **/ |
| 124 | .message-icon |
| 125 | { |
| 126 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
| 127 | } |
| 128 | |
| 129 | .alert-icon |
| 130 | { |
| 131 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
| 132 | } |
| 133 | |
| 134 | .error-icon |
| 135 | { |
| 136 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
| 137 | } |
| 138 | |
| 139 | .question-icon |
| 140 | { |
| 141 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * statusbar |
| 146 | */ |
| 147 | statusbar |
| 148 | { |
| 149 | margin-top : 3px; |
| 150 | -moz-user-focus : ignore; |
| 151 | overflow : hidden |
| 152 | } |
| 153 | |
| 154 | .statusbar-center |
| 155 | { |
| 156 | background-color : #8050B0; |
| 157 | padding-left : 2px; |
| 158 | color : black; |
| 159 | } |
| 160 | |
| 161 | .statusbar-left |
| 162 | { |
| 163 | -moz-border-radius : 9px 0px 0px 9px; |
| 164 | background-color : #6000CF; |
| 165 | width : 13px; |
| 166 | margin-right : 3px; |
| 167 | } |
| 168 | |
| 169 | .statusbar-right |
| 170 | { |
| 171 | -moz-border-radius : 0px 9px 9px 0px; |
| 172 | background-color : #6000CF; |
| 173 | width : 13px; |
| 174 | margin-left : 3px; |
| 175 | } |
| 176 | |
| 177 | statusbarpanel, .statusbar-panel |
| 178 | { |
| 179 | padding : 0px 1px 0px 1px; |
| 180 | vertical-align : middle; |
| 181 | } |
| 182 | |
| 183 | .statusbarpanel-icononly |
| 184 | { |
| 185 | padding : 0px; |
| 186 | } |
| 187 | |
| 188 | .statusbar-panel-icon |
| 189 | { |
| 190 | margin : 0px 2px 0px 0px; |
| 191 | list-style-image : inherit; |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * iframe default sizing |
| 196 | **/ |
| 197 | iframe |
| 198 | { |
| 199 | min-width : 10px; |
| 200 | min-height : 10px; |
| 201 | width : 100px; |
| 202 | height : 100px; |
| 203 | border : none; |
| 204 | } |
| 205 | |
| 206 | .tooltip-label |
| 207 | { |
| 208 | margin : 0px; |
| 209 | } |
| 210 | |
| 211 | |
| 212 | |