Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
2b722888 | 5 | @import url("chrome://global/skin/"); |
80916bc4 | 6 | @import url("chrome://communicator/content/communicator.css"); |
2b722888 | 7 | @import url("chrome://communicator/skin/brand.css"); |
8 | @import url("chrome://communicator/skin/button.css"); | |
2b722888 | 9 | @import url("chrome://communicator/skin/toolbar.css"); |
351107c9 | 10 | |
11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ | |
351107c9 | 12 | |
b1eaa419 | 13 | /* ==== communicator.css ==================================================== |
14 | == Styles shared everywhere throughout the Communicator suite. | |
15 | ========================================================================== */ | |
16 | ||
dd676468 RK |
17 | toolbar { |
18 | -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar"); | |
19 | } | |
20 | ||
507ac708 RK |
21 | menubar, |
22 | toolbar[type="menubar"] { | |
dd676468 RK |
23 | -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar"); |
24 | } | |
25 | ||
dc8e1207 | 26 | .toolbar-primary { |
dd676468 RK |
27 | -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary"); |
28 | } | |
29 | ||
30 | toolbar[xpfe="false"] { | |
31 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
32 | } | |
33 | ||
34 | menubar[xpfe="false"] { | |
35 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); | |
dc8e1207 | 36 | } |
37 | ||
c79d2bbe RK |
38 | /* ::::: autocomplete ::::: */ |
39 | ||
40 | .autocomplete-history-popup { | |
41 | max-height: 25em; | |
42 | } | |
43 | ||
44 | /* ::::: online/offline icons ::::: */ | |
45 | ||
b1eaa419 | 46 | #offline-status[offline="true"] { |
47 | list-style-image: url("chrome://communicator/skin/icons/offline.gif"); | |
48 | } | |
351107c9 | 49 | |
b1eaa419 | 50 | #offline-status { |
51 | list-style-image: url("chrome://communicator/skin/icons/online.gif"); | |
52 | } | |
6046f027 | 53 | |
020a0978 | 54 | /* ::::: spell checker ::::: */ |
55 | ||
56 | .spell-suggestion { | |
57 | font-weight: bold; | |
58 | } | |
59 | ||
b1eaa419 | 60 | /* ::::: directional button icons ::::: */ |
61 | ||
351107c9 | 62 | .up { |
b1eaa419 | 63 | list-style-image:url("chrome://global/skin/arrow/arrow-up.gif"); |
351107c9 | 64 | min-width: 0px; |
65 | } | |
66 | ||
67 | .up[disabled="true"] { | |
b1eaa419 | 68 | list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif"); |
351107c9 | 69 | } |
70 | ||
71 | .down { | |
72 | min-width: 0px; | |
b1eaa419 | 73 | list-style-image:url("chrome://global/skin/arrow/arrow-down.gif"); |
351107c9 | 74 | } |
75 | ||
76 | .down[disabled="true"] { | |
b1eaa419 | 77 | list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif"); |
78 | } | |
79 | ||
80 | .sidebarTree { | |
81 | border: none; | |
82 | margin: 0px !important; | |
351107c9 | 83 | } |
7aa65558 | 84 | |
8b17a53f RK |
85 | /* ::::: iconic menus and menuitems ::::: */ |
86 | ||
87 | menu.menu-iconic > .menu-iconic-left, | |
88 | menuitem.menuitem-iconic > .menu-iconic-left { | |
89 | display: -moz-box; | |
90 | } | |
ff5bd775 | 91 | |
0c5f9076 RK |
92 | /* ::::: sync notification ::::: */ |
93 | ||
94 | #sync-notifications > notification { | |
95 | margin-top: 3px; | |
96 | } | |
97 | ||
98 | #sync-notifications > notification > .notification-inner > hbox > button { | |
99 | margin: 0; | |
100 | } | |
101 | ||
ff5bd775 | 102 | /******* lightweight themes *******/ |
ff5bd775 | 103 | |
fb2b5761 RK |
104 | toolbar button:-moz-lwtheme, |
105 | toolbar menulist:-moz-lwtheme:not([open="true"]), | |
106 | toolbar textbox:-moz-lwtheme:not([focused="true"]) { | |
107 | opacity: .8; | |
ff5bd775 | 108 | } |
0c8f119a RK |
109 | |
110 | treecols:-moz-lwtheme { | |
111 | text-shadow: none; | |
112 | color: #000000; | |
113 | background-color: #9C9CFF; | |
114 | } | |
d16df6f2 RK |
115 | |
116 | /* ::::: toolbar print button ::::: */ | |
117 | #print-button { | |
118 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
119 | -moz-image-region: rect(0px 25px 21px 0px); | |
120 | } | |
121 | ||
122 | #print-button[disabled="true"] { | |
123 | -moz-image-region: rect(0px 50px 21px 25px); | |
124 | } | |
125 | ||
126 | #print-button:not([disabled="true"]):hover, | |
127 | #print-button:not([disabled="true"]):hover:active, | |
128 | #print-button[open="true"] { | |
129 | -moz-image-region: rect(0px 75px 21px 50px); | |
130 | } | |
131 | ||
132 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, | |
133 | toolbar[iconsize="small"] > #print-button { | |
134 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
135 | -moz-image-region: rect(0 16px 16px 0); | |
136 | } | |
137 | ||
138 | toolbar[iconsize="small"] > #print-button[disabled="true"] { | |
139 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
140 | } | |
141 | ||
142 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, | |
143 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { | |
144 | -moz-image-region: rect(0 48px 16px 32px); | |
145 | } | |
82ad4ab2 RK |
146 | |
147 | /* ::::: notification bars ::::: */ | |
148 | ||
149 | .messageImage[value="refresh-blocked"] { | |
150 | list-style-image: url("chrome://communicator/skin/icons/application.png"); | |
151 | } | |
152 | ||
153 | .messageImage[value="blocked-plugins"], | |
154 | .messageImage[value="carbon-failure-plugins"], | |
155 | .messageImage[value="missing-plugins"], | |
156 | .messageImage[value="outdated-plugins"], | |
157 | .messageImage[value="click-to-play-plugins"], | |
158 | .messageImage[value="plugin-crashed"] { | |
159 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); | |
160 | } | |
161 | ||
162 | .messageImage[value="geolocation"] { | |
163 | list-style-image: url("chrome://communicator/skin/icons/geo.png"); | |
164 | } | |
165 | ||
166 | .messageImage[value="indexedDB-permissions-prompt"], | |
167 | .messageImage[value="indexedDB-quota-prompt"] { | |
168 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
169 | } | |
170 | ||
171 | .messageImage[value="addon-install-blocked"], | |
172 | .messageImage[value="addon-install-cancelled"], | |
173 | .messageImage[value="addon-install-complete"], | |
174 | .messageImage[value="addon-install-disabled"], | |
175 | .messageImage[value="addon-install-failed"], | |
176 | .messageImage[value="addon-install-started"], | |
177 | .messageImage[value="lwtheme-install-request"], | |
178 | .messageImage[value="lwtheme-install-notification"] { | |
179 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
180 | } | |
181 | ||
182 | .messageImage[value="popup-blocked"] { | |
183 | list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
184 | } |