1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
* The contents of this file are subject to the Mozilla Public License Version
5
* 1.1 (the "License"); you may not use this file except in compliance with
6
* the License. You may obtain a copy of the License at
7
* http://www.mozilla.org/MPL/
9
* Software distributed under the License is distributed on an "AS IS" basis,
10
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
* for the specific language governing rights and limitations under the
14
* The Original Code is Mozilla Calendar code.
16
* The Initial Developer of the Original Code is
17
* Philipp Kewisch <mozilla@kewis.ch>
18
* Portions created by the Initial Developer are Copyright (C) 2010
19
* the Initial Developer. All Rights Reserved.
22
* Richard Marti <mozilla@paenglab.ch>
24
* Alternatively, the contents of this file may be used under the terms of
25
* either the GNU General Public License Version 2 or later (the "GPL"), or
26
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
* in which case the provisions of the GPL or the LGPL are applicable instead
28
* of those above. If you wish to allow use of your version of this file only
29
* under the terms of either the GPL or the LGPL, and not to allow others to
30
* use your version of this file under the terms of the MPL, indicate your
31
* decision by deleting the provisions above and replace them with the notice
32
* and other provisions required by the GPL or the LGPL. If you do not delete
33
* the provisions above, a recipient may use your version of this file under
34
* the terms of any one of the MPL, the GPL or the LGPL.
36
* ***** END LICENSE BLOCK ***** */
38
/* Lightning "Calendar" Toolbarbutton */
39
#lightning-button-calendar {
40
list-style-image: url(chrome://lightning/skin/mode-switch-icons.png);
41
-moz-image-region: rect(0px 24px 24px 0px);
44
#lightning-button-calendar[disabled] {
45
-moz-image-region: rect(48px 24px 72px 0px);
47
toolbar[iconsize="small"] #lightning-button-calendar {
48
-moz-image-region: rect(0px 64px 16px 48px);
51
toolbar[iconsize="small"] #lightning-button-calendar[disabled] {
52
-moz-image-region: rect(32px 64px 48px 48px);
55
/* Lightning "Tasks" Toolbarbutton */
56
#lightning-button-tasks {
57
list-style-image: url(chrome://lightning/skin/mode-switch-icons.png);
58
-moz-image-region: rect(0px 48px 24px 24px);
61
#lightning-button-tasks[disabled] {
62
-moz-image-region: rect(48px 48px 72px 24px);
65
toolbar[iconsize="small"] #lightning-button-tasks {
66
-moz-image-region: rect(0px 80px 16px 64px);
68
toolbar[iconsize="small"] #lightning-button-tasks[disabled] {
69
-moz-image-region: rect(32px 80px 48px 64px);
74
.calbar-toolbarbutton-1 {
75
list-style-image: url(chrome://calendar/skin/toolbar-large.png);
78
toolbar[iconsize="small"] .calbar-toolbarbutton-1 {
79
list-style-image: url(chrome://calendar/skin/toolbar-small.png);
82
#calendar-synchronize-button,
83
#task-synchronize-button {
84
-moz-image-region: rect(0px 648px 24px 624px);
87
#calendar-synchronize-button[disabled],
88
#task-synchronize-button[disabled] {
89
-moz-image-region: rect(48px 648px 72px 624px);
92
toolbar[iconsize="small"] #calendar-synchronize-button,
93
toolbar[iconsize="small"] #task-synchronize-button {
94
-moz-image-region: rect(0px 432px 16px 416px);
97
toolbar[iconsize="small"] #calendar-synchronize-button[disabled],
98
toolbar[iconsize="small"] #task-synchronize-button[disabled] {
99
-moz-image-region: rect(32px 432px 48px 416px);
102
#calendar-newevent-button,
103
#task-newevent-button {
104
-moz-image-region: rect(0px 24px 24px 0px);
107
#calendar-newevent-button[disabled],
108
#task-newevent-button[disabled] {
109
-moz-image-region: rect(48px 24px 72px 0px);
112
toolbar[iconsize="small"] #calendar-newevent-button,
113
toolbar[iconsize="small"] #task-newevent-button {
114
-moz-image-region: rect(0px 16px 16px 0px);
117
toolbar[iconsize="small"] #calendar-newevent-button[disabled],
118
toolbar[iconsize="small"] #task-newevent-button[disabled] {
119
-moz-image-region: rect(32px 16px 48px 0px);
122
#calendar-newtask-button,
123
#task-newtask-button {
124
-moz-image-region: rect(0px 384px 24px 360px);
127
#calendar-newtask-button[disabled],
128
#task-newtask-button[disabled] {
129
-moz-image-region: rect(48px 384px 72px 360px);
132
toolbar[iconsize="small"] #calendar-newtask-button,
133
toolbar[iconsize="small"] #task-newtask-button {
134
-moz-image-region: rect(0px 256px 16px 240px);
137
toolbar[iconsize="small"] #calendar-newtask-button[disabled],
138
toolbar[iconsize="small"] #task-newtask-button[disabled] {
139
-moz-image-region: rect(32px 256px 48px 240px);
142
#calendar-edit-button,
144
-moz-image-region: rect(0px 48px 24px 24px);
147
#calendar-edit-button[disabled],
148
#task-edit-button[disabled] {
149
-moz-image-region: rect(48px 48px 72px 24px);
152
toolbar[iconsize="small"] #calendar-edit-button,
153
toolbar[iconsize="small"] #task-edit-button {
154
-moz-image-region: rect(0px 32px 16px 16px);
157
toolbar[iconsize="small"] #calendar-edit-button[disabled],
158
toolbar[iconsize="small"] #task-edit-button[disabled] {
159
-moz-image-region: rect(32px 32px 48px 16px);
162
#calendar-delete-button,
163
#task-delete-button {
164
-moz-image-region: rect(0px 72px 24px 48px);
167
#calendar-delete-button[disabled],
168
#task-delete-button[disabled] {
169
-moz-image-region: rect(48px 72px 72px 48px);
172
toolbar[iconsize="small"] #calendar-delete-button,
173
toolbar[iconsize="small"] #task-delete-button {
174
-moz-image-region: rect(0px 48px 16px 32px);
177
toolbar[iconsize="small"] #calendar-delete-button[disabled],
178
toolbar[iconsize="small"] #task-delete-button[disabled] {
179
-moz-image-region: rect(32px 48px 48px 32px);
182
#calendar-goto-today-button {
183
-moz-image-region: rect(0px 408px 24px 384px);
186
#calendar-goto-today-button[disabled] {
187
-moz-image-region: rect(48px 408px 72px 384px);
190
toolbar[iconsize="small"] #calendar-goto-today-button {
191
-moz-image-region: rect(0px 272px 16px 256px);
194
toolbar[iconsize="small"] #calendar-goto-today-button[disabled] {
195
-moz-image-region: rect(32px 272px 48px 256px);
198
#calendar-print-button,
200
-moz-image-region: rect(0px 360px 24px 336px);
203
#calendar-print-button[disabled],
204
#task-print-button[disabled] {
205
-moz-image-region: rect(48px 360px 72px 336px);
208
toolbar[iconsize="small"] #calendar-print-button,
209
toolbar[iconsize="small"] #task-print-button {
210
-moz-image-region: rect(0px 240px 16px 224px);
213
toolbar[iconsize="small"] #calendar-print-button[disabled],
214
toolbar[iconsize="small"] #task-print-button[disabled] {
215
-moz-image-region: rect(32px 240px 48px 224px);