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 | ||
27 | /* ::::: online/offline icons ::::: */ | |
28 | ||
259c0f10 | 29 | #offline-status[offline="true"] { |
30 | list-style-image: url("chrome://communicator/skin/icons/offline.gif"); | |
31 | } | |
f6e0a33f | 32 | |
259c0f10 | 33 | #offline-status { |
34 | list-style-image: url("chrome://communicator/skin/icons/online.gif"); | |
35 | } | |
e68e2f2b | 36 | |
2bea26d6 | 37 | /* ::::: spell checker ::::: */ |
38 | ||
39 | .spell-suggestion { | |
40 | font-weight: bold; | |
41 | } | |
42 | ||
74d14f90 | 43 | /* ::::: directional button icons ::::: */ |
44 | ||
f6e0a33f | 45 | .up { |
259c0f10 | 46 | list-style-image:url("chrome://global/skin/arrow/arrow-up.gif"); |
f6e0a33f | 47 | min-width: 0px; |
48 | } | |
49 | ||
50 | .up[disabled="true"] { | |
259c0f10 | 51 | list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif"); |
f6e0a33f | 52 | } |
53 | ||
54 | .down { | |
55 | min-width: 0px; | |
259c0f10 | 56 | list-style-image:url("chrome://global/skin/arrow/arrow-down.gif"); |
f6e0a33f | 57 | } |
58 | ||
59 | .down[disabled="true"] { | |
259c0f10 | 60 | list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif"); |
f6e0a33f | 61 | } |
74d14f90 | 62 | |
63 | .sidebarTree { | |
64 | border: none; | |
65 | margin: 0px !important; | |
66 | } | |
e1597424 | 67 | |
8b17a53f RK |
68 | /* ::::: iconic menu and menuitems ::::: */ |
69 | ||
70 | menu.menu-iconic > .menu-iconic-left, | |
71 | menuitem.menuitem-iconic > .menu-iconic-left { | |
72 | display: -moz-box; | |
73 | } | |
ff5bd775 RK |
74 | |
75 | /******* lightweight themes *******/ | |
ff5bd775 | 76 | |
fb2b5761 RK |
77 | toolbar button:-moz-lwtheme, |
78 | toolbar menulist:-moz-lwtheme:not([open="true"]), | |
79 | toolbar textbox:-moz-lwtheme:not([focused="true"]) { | |
80 | opacity: .8; | |
ff5bd775 | 81 | } |
0c8f119a RK |
82 | |
83 | treecols:-moz-lwtheme { | |
84 | text-shadow: none; | |
85 | color: #000000; | |
86 | background-color: #CCD0DD; | |
87 | } | |
d16df6f2 RK |
88 | |
89 | /* ::::: toolbar print button ::::: */ | |
90 | #print-button { | |
91 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
92 | -moz-image-region: rect(0px 25px 21px 0px); | |
93 | } | |
94 | ||
95 | #print-button[disabled="true"] { | |
96 | -moz-image-region: rect(0px 50px 21px 25px); | |
97 | } | |
98 | ||
99 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, | |
100 | toolbar[iconsize="small"] > #print-button { | |
101 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
102 | -moz-image-region: rect(0 16px 16px 0); | |
103 | } | |
104 | ||
105 | toolbar[iconsize="small"] > #print-button[disabled="true"] { | |
106 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
107 | } | |
82ad4ab2 RK |
108 | |
109 | /* ::::: notification bars ::::: */ | |
110 | ||
111 | .messageImage[value="refresh-blocked"] { | |
112 | list-style-image: url("chrome://communicator/skin/icons/application.png"); | |
113 | } | |
114 | ||
115 | .messageImage[value="blocked-plugins"], | |
116 | .messageImage[value="carbon-failure-plugins"], | |
117 | .messageImage[value="missing-plugins"], | |
118 | .messageImage[value="outdated-plugins"], | |
119 | .messageImage[value="click-to-play-plugins"], | |
120 | .messageImage[value="plugin-crashed"] { | |
121 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); | |
122 | } | |
123 | ||
124 | .messageImage[value="geolocation"] { | |
125 | list-style-image: url("chrome://communicator/skin/icons/geo.png"); | |
126 | } | |
127 | ||
128 | .messageImage[value="indexedDB-permissions-prompt"], | |
129 | .messageImage[value="indexedDB-quota-prompt"] { | |
130 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
131 | } | |
132 | ||
133 | .messageImage[value="addon-install-blocked"], | |
134 | .messageImage[value="addon-install-cancelled"], | |
135 | .messageImage[value="addon-install-complete"], | |
136 | .messageImage[value="addon-install-disabled"], | |
137 | .messageImage[value="addon-install-failed"], | |
138 | .messageImage[value="addon-install-started"], | |
139 | .messageImage[value="lwtheme-install-request"], | |
140 | .messageImage[value="lwtheme-install-notification"] { | |
141 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
142 | } | |
143 | ||
144 | .messageImage[value="popup-blocked"] { | |
145 | list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
146 | } |