| 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 | /* EarlyBlue does currently not need any bindings here, if we once do, see sample in Classic */ |
| 47 | |
| 48 | |
| 49 | /** |
| 50 | * XXX-DEBUG: HTML namespace/titledbutton striping. |
| 51 | **/ |
| 52 | |
| 53 | /* |
| 54 | html|* |
| 55 | { |
| 56 | border : 1px solid green !important; |
| 57 | } |
| 58 | |
| 59 | html|form |
| 60 | { |
| 61 | border : none !important; |
| 62 | } |
| 63 | |
| 64 | titledbutton |
| 65 | { |
| 66 | border : 1px solid purple !important; |
| 67 | } |
| 68 | */ |
| 69 | |
| 70 | /** |
| 71 | * XUL <window> element |
| 72 | **/ |
| 73 | window |
| 74 | { |
| 75 | background-color : #CCD0DD; |
| 76 | color : black; |
| 77 | font : 3mm helvetica,arial,tahoma,sans-serif; |
| 78 | padding : 0px; |
| 79 | -moz-user-focus : ignore; |
| 80 | } |
| 81 | |
| 82 | window[wait-cursor] |
| 83 | { |
| 84 | cursor : wait !important; |
| 85 | } |
| 86 | |
| 87 | window.dialog |
| 88 | { |
| 89 | background-color : #CCD0DD; |
| 90 | padding : 7px 5px 5px 5px; |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * XUL <box> debugging |
| 95 | **/ |
| 96 | :-moz-horizontal-box-debug |
| 97 | { |
| 98 | border : 2px solid blue; |
| 99 | border-top-width : 10px; |
| 100 | padding : 2px; |
| 101 | margin : 2px; |
| 102 | color : white; |
| 103 | } |
| 104 | |
| 105 | :-moz-vertical-box-debug |
| 106 | { |
| 107 | border : 2px solid red; |
| 108 | border-left-width : 10px; |
| 109 | padding : 2px; |
| 110 | margin : 2px; |
| 111 | color : white; |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Utility icons (used for alert dialogs, etc) |
| 116 | **/ |
| 117 | .message-icon |
| 118 | { |
| 119 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
| 120 | } |
| 121 | |
| 122 | .alert-icon |
| 123 | { |
| 124 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
| 125 | } |
| 126 | |
| 127 | .error-icon |
| 128 | { |
| 129 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
| 130 | } |
| 131 | |
| 132 | .question-icon |
| 133 | { |
| 134 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * status-bar |
| 139 | */ |
| 140 | statusbar |
| 141 | { |
| 142 | border-top : 1px solid #9999CC; |
| 143 | background-color : #666699; |
| 144 | color : #CCD0DD; |
| 145 | user-focus : ignore; |
| 146 | overflow : hidden |
| 147 | } |
| 148 | |
| 149 | statusbarpanel, .statusbar-panel |
| 150 | { |
| 151 | padding : 0px 1px 0px 1px; |
| 152 | vertical-align : middle; |
| 153 | } |
| 154 | |
| 155 | .statusbarpanel-icononly |
| 156 | { |
| 157 | padding : 0px; |
| 158 | } |
| 159 | |
| 160 | .statusbar-panel-icon |
| 161 | { |
| 162 | list-style-image : inherit; |
| 163 | margin : 0px 2px 0px 0px; |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * iframe default sizing |
| 168 | **/ |
| 169 | iframe |
| 170 | { |
| 171 | min-width : 10px; |
| 172 | min-height : 10px; |
| 173 | width : 100px; |
| 174 | height : 100px; |
| 175 | border : none; |
| 176 | } |
| 177 | |
| 178 | |
| 179 | .tooltip-label |
| 180 | { |
| 181 | margin : 0px; |
| 182 | } |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |