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/. */ | |
128000f4 | 4 | |
74d14f90 | 5 | /* ==== communicator.css ==================================================== |
6 | == Styles shared everywhere throughout the Communicator suite. | |
7 | ========================================================================== */ | |
f6e0a33f | 8 | |
d36c7ec4 | 9 | @import url("chrome://global/skin/"); |
c8120ee9 | 10 | @import url("chrome://communicator/content/communicator.css"); |
d36c7ec4 | 11 | @import url("chrome://communicator/skin/brand.css"); |
12 | @import url("chrome://communicator/skin/button.css"); | |
048d3467 | 13 | @import url("chrome://communicator/skin/toolbar.css"); |
f6e0a33f | 14 | |
128000f4 | 15 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
f6e0a33f | 16 | |
459f2165 | 17 | .toolbar-primary { |
1d4ddf30 | 18 | -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary"); |
459f2165 | 19 | } |
20 | ||
6c5a63bb RK |
21 | /* ::::: autocomplete ::::: */ |
22 | ||
23 | .autocomplete-history-popup { | |
24 | max-height: 25em; | |
25 | } | |
26 | ||
66c00ea1 RK |
27 | textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { |
28 | width: 16px; | |
29 | height: 16px; | |
30 | margin-left: 1px; | |
31 | } | |
32 | ||
33 | textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, directory) { | |
34 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
35 | } | |
36 | ||
37 | textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, file) { | |
38 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
39 | } | |
40 | ||
6c5a63bb RK |
41 | /* ::::: online/offline icons ::::: */ |
42 | ||
259c0f10 | 43 | #offline-status[offline="true"] { |
44 | list-style-image: url("chrome://communicator/skin/icons/offline.gif"); | |
45 | } | |
f6e0a33f | 46 | |
259c0f10 | 47 | #offline-status { |
48 | list-style-image: url("chrome://communicator/skin/icons/online.gif"); | |
49 | } | |
e68e2f2b | 50 | |
2bea26d6 | 51 | /* ::::: spell checker ::::: */ |
52 | ||
53 | .spell-suggestion { | |
54 | font-weight: bold; | |
55 | } | |
56 | ||
8f5d5e21 RK |
57 | /* ::::: error messages ::::: */ |
58 | ||
59 | description.error { | |
60 | color: #FF0000; | |
61 | } | |
62 | ||
74d14f90 | 63 | /* ::::: directional button icons ::::: */ |
64 | ||
f6e0a33f | 65 | .up { |
259c0f10 | 66 | list-style-image:url("chrome://global/skin/arrow/arrow-up.gif"); |
f6e0a33f | 67 | min-width: 0px; |
68 | } | |
69 | ||
70 | .up[disabled="true"] { | |
259c0f10 | 71 | list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif"); |
f6e0a33f | 72 | } |
73 | ||
74 | .down { | |
75 | min-width: 0px; | |
259c0f10 | 76 | list-style-image:url("chrome://global/skin/arrow/arrow-down.gif"); |
f6e0a33f | 77 | } |
78 | ||
79 | .down[disabled="true"] { | |
259c0f10 | 80 | list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif"); |
f6e0a33f | 81 | } |
74d14f90 | 82 | |
83 | .sidebarTree { | |
84 | border: none; | |
85 | margin: 0px !important; | |
86 | } | |
e1597424 | 87 | |
8b17a53f RK |
88 | /* ::::: iconic menu and menuitems ::::: */ |
89 | ||
90 | menu.menu-iconic > .menu-iconic-left, | |
91 | menuitem.menuitem-iconic > .menu-iconic-left { | |
92 | display: -moz-box; | |
93 | } | |
ff5bd775 RK |
94 | |
95 | /******* lightweight themes *******/ | |
ff5bd775 | 96 | |
fb2b5761 RK |
97 | toolbar button:-moz-lwtheme, |
98 | toolbar menulist:-moz-lwtheme:not([open="true"]), | |
99 | toolbar textbox:-moz-lwtheme:not([focused="true"]) { | |
100 | opacity: .8; | |
ff5bd775 | 101 | } |
0c8f119a RK |
102 | |
103 | treecols:-moz-lwtheme { | |
104 | text-shadow: none; | |
105 | color: #000000; | |
106 | background-color: #CCD0DD; | |
107 | } | |
d16df6f2 RK |
108 | |
109 | /* ::::: toolbar print button ::::: */ | |
110 | #print-button { | |
111 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
112 | -moz-image-region: rect(0px 25px 21px 0px); | |
113 | } | |
114 | ||
115 | #print-button[disabled="true"] { | |
116 | -moz-image-region: rect(0px 50px 21px 25px); | |
117 | } | |
118 | ||
119 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, | |
120 | toolbar[iconsize="small"] > #print-button { | |
121 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
122 | -moz-image-region: rect(0 16px 16px 0); | |
123 | } | |
124 | ||
125 | toolbar[iconsize="small"] > #print-button[disabled="true"] { | |
126 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
127 | } | |
82ad4ab2 RK |
128 | |
129 | /* ::::: notification bars ::::: */ | |
130 | ||
131 | .messageImage[value="refresh-blocked"] { | |
132 | list-style-image: url("chrome://communicator/skin/icons/application.png"); | |
133 | } | |
134 | ||
135 | .messageImage[value="blocked-plugins"], | |
136 | .messageImage[value="carbon-failure-plugins"], | |
66c00ea1 | 137 | .messageImage[value="disabled-plugins"], |
82ad4ab2 RK |
138 | .messageImage[value="missing-plugins"], |
139 | .messageImage[value="outdated-plugins"], | |
140 | .messageImage[value="click-to-play-plugins"], | |
141 | .messageImage[value="plugin-crashed"] { | |
142 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); | |
143 | } | |
144 | ||
145 | .messageImage[value="geolocation"] { | |
146 | list-style-image: url("chrome://communicator/skin/icons/geo.png"); | |
147 | } | |
148 | ||
e90cc3a4 RK |
149 | .messageImage[value="webNotifications"] { |
150 | list-style-image: url("chrome://communicator/skin/icons/notification-16.png"); | |
151 | } | |
152 | ||
82ad4ab2 RK |
153 | .messageImage[value="indexedDB-permissions-prompt"], |
154 | .messageImage[value="indexedDB-quota-prompt"] { | |
155 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
156 | } | |
157 | ||
158 | .messageImage[value="addon-install-blocked"], | |
159 | .messageImage[value="addon-install-cancelled"], | |
160 | .messageImage[value="addon-install-complete"], | |
161 | .messageImage[value="addon-install-disabled"], | |
162 | .messageImage[value="addon-install-failed"], | |
163 | .messageImage[value="addon-install-started"], | |
164 | .messageImage[value="lwtheme-install-request"], | |
165 | .messageImage[value="lwtheme-install-notification"] { | |
166 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
167 | } | |
168 | ||
169 | .messageImage[value="popup-blocked"] { | |
170 | list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
171 | } | |
c3c5761b RK |
172 | |
173 | .messageImage[value="blocked-badware-page"] { | |
174 | list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png"); | |
175 | } | |
9b1c3cf9 RK |
176 | |
177 | .messageImage[value="EnterInsecureMessage"] { | |
178 | list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png"); | |
179 | } | |
180 | ||
181 | .messageImage[value="EnterSecureMessage"], | |
182 | .messageImage[value="BlockedActiveContentMessage"], | |
183 | .messageImage[value="BlockedDisplayContentMessage"] { | |
184 | list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png"); | |
185 | } | |
186 | ||
187 | .messageImage[value="MixedContentMessage"], | |
188 | .messageImage[value="MixedActiveContentMessage"], | |
189 | .messageImage[value="MixedDisplayContentMessage"] { | |
190 | list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png"); | |
191 | } | |
66c00ea1 RK |
192 | |
193 | /* ::::: tree rows ::::: */ | |
194 | ||
195 | @media (-moz-windows-default-theme) { | |
196 | treechildren:not(.autocomplete-treebody)::-moz-tree-row { | |
197 | height: 1.3em !important; | |
198 | border-width: 1px !important; | |
199 | } | |
200 | } |