some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / EarlyBlue / messenger / addressbook / addressbook.css
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/. */
4
5 /* ===== addressbook.css ================================================
6   == Styles for the main Address Book window.
7   ======================================================================= */
8
9 @import url("chrome://messenger/skin/");
10
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
12 @namespace html url("http://www.w3.org/1999/xhtml");
13
14 /* ::::: primary toolbar buttons ::::: */
15
16 #button-newcard {
17   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
18   -moz-image-region: rect(42px 25px 63px 0px);
19 }
20
21 #button-newcard[disabled="true"] {
22   -moz-image-region: rect(42px 50px 63px 25px);
23 }
24
25 #button-newlist {
26   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
27   -moz-image-region: rect(63px 25px 84px 0px);
28 }
29
30 #button-newlist[disabled="true"] {
31   -moz-image-region: rect(63px 50px 84px 25px);
32 }
33
34 #button-editcard {
35   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
36   -moz-image-region: rect(21px 25px 42px 0px);
37 }
38
39 #button-editcard[disabled="true"] {
40   -moz-image-region: rect(21px 50px 42px 25px);
41 }
42
43 #button-newmessage {
44   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
45   -moz-image-region: rect(105px 25px 126px 0px);
46 }
47
48 #button-newmessage[disabled="true"] {
49   -moz-image-region: rect(105px 50px 126px 25px);
50 }
51
52 #button-newim {
53   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
54   -moz-image-region: rect(84px 25px 105px 0px);
55 }
56
57 #button-newim[disabled="true"] {
58   -moz-image-region: rect(84px 25px 105px 0px);
59 }
60
61 #button-abdelete {
62   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
63   -moz-image-region: rect(0px 25px 21px 0px);
64 }
65
66 #button-abdelete[disabled="true"] {
67   -moz-image-region: rect(0px 50px 21px 25px);
68 }
69
70 /* ::::: small primary toolbar buttons ::::: */
71
72 toolbar[iconsize="small"] > #button-newcard,
73 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
74   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
75   -moz-image-region: rect(32px 16px 48px 0);
76 }
77
78 toolbar[iconsize="small"] > #button-newcard[disabled] {
79   -moz-image-region: rect(32px 32px 48px 16px);
80 }
81
82 toolbar[iconsize="small"] > #button-newlist,
83 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
84   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
85   -moz-image-region: rect(48px 16px 64px 0);
86 }
87
88 toolbar[iconsize="small"] > #button-newlist[disabled] {
89   -moz-image-region: rect(48px 32px 64px 16px);
90 }
91
92 toolbar[iconsize="small"] > #button-editcard,
93 toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
94   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
95   -moz-image-region: rect(16px 16px 32px 0);
96 }
97
98 toolbar[iconsize="small"] > #button-editcard[disabled] {
99   -moz-image-region: rect(16px 32px 32px 16px);
100 }
101
102 toolbar[iconsize="small"] > #button-newmessage,
103 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
104   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
105   -moz-image-region: rect(80px 16px 96px 0);
106 }
107
108 toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
109   -moz-image-region: rect(80px 32px 96px 16px);
110 }
111
112 toolbar[iconsize="small"] > #button-newim,
113 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
114   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
115   -moz-image-region: rect(64px 16px 80px 0);
116 }
117
118 toolbar[iconsize="small"] > #button-newim[disabled] {
119   -moz-image-region: rect(64px 32px 80px 16px);
120 }
121
122 toolbar[iconsize="small"] > #button-abdelete,
123 toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
124   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
125   -moz-image-region: rect(0 16px 16px 0);
126 }
127
128 toolbar[iconsize="small"] > #button-abdelete[disabled] {
129   -moz-image-region: rect(0 32px 16px 16px);
130 }
131
132 /* CardView styles - used in the Card View Pane */
133
134 #CardViewOuterBox {
135 /*  border-left: 1px solid ThreeDShadow;
136   border-top: 1px solid ThreeDShadow;
137   border-right: 1px solid ThreeDHighlight; */
138 }
139
140 #CardViewBox {
141   -moz-user-focus: ignore;
142   overflow: auto;
143   min-width: 150px;
144   background-color: #CCD0DD;
145 }
146
147 #CardViewInnerBox {
148   margin-top: 2px;
149   margin-bottom: 2px;
150   padding-inline-start: 8px;
151   padding-inline-end: 8px;
152 }
153
154 #CardTitle {
155   font-size: 150%;
156   font-weight: bold;
157   border-bottom: 2px solid black;
158   min-width: 120px;
159   margin: 0px;
160 }
161
162 .cardViewGroup {
163   margin-top: 8px;
164   padding-bottom: 5px;
165   min-width: 50px;
166 }
167
168 .CardViewHeading {
169   padding: 1px;
170   padding-inline-start: 5px;
171   margin: 0 0 1px;
172   background-color: #9999CC;
173   color: #FFFFFF;
174   font-weight: bold;
175   min-width: 30px;
176 }
177
178 #cvBuddyIcon {
179   padding-inline-start: 20px;
180   padding-top: 2px;
181 }
182
183 .CardViewText,
184 .CardViewLink {
185   padding-inline-start: 20px;
186   padding-inline-end: 2px;
187   min-width: 30px;
188   margin: 0px;
189 }
190
191 .CardViewLink {
192   color: blue;
193   text-decoration: underline;
194   cursor: pointer;
195 }
196
197 #cvHomeMapIt, #cvWorkMapIt {
198   margin-bottom: 0px;
199 }
200
201 html|a {
202   padding-inline-start: 0px;
203   padding-inline-end: 2px;
204   border: none !important;
205 }
206
207 html|p {
208   border: none !important;
209 }
210
211 /* ::::: border adjustments ::::: */
212
213 #abResultsTree {
214 /*  border-left: 1px solid ThreeDShadow; */
215 }
216
217 /* ::::: lightweight themes ::::: */
218
219 #CardViewOuterBox:-moz-lwtheme,
220 treecols:-moz-lwtheme {
221   text-shadow: none;
222   /* color: -moz-dialogtext;
223   background-color: -moz-dialog; */
224 }