Mercurial > hg > rc1
annotate plugins/thunderbird_labels/skins/larry/tb_label.css @ 41:d2414df68d78 default tip
Updated by Alex S Grebenschikov (www.poralix.com)
to make it compatible with RoundCube 1.3.0
author | Charlie Root |
---|---|
date | Fri, 24 Jan 2025 14:20:15 -0500 |
parents | 538b3d58eb89 |
children |
rev | line source |
---|---|
0 | 1 /** |
2 * Author: | |
3 * Michael Kefeder | |
4 * http://code.google.com/p/rcmail-thunderbird-labels/ | |
5 * | |
6 * CSS is Based on a patch for roundcube 0.3 I found a long time ago | |
7 */ | |
8 | |
26
b2b6c0af2383
remove _ from name, lots of other hacks to get label context menu working
Charlie Root
parents:
0
diff
changeset
|
9 #tblabelpopuplink { |
0 | 10 background-image: url(thunderbird_32.png); |
11 /*background-repeat: repeat;*/ | |
12 background-position: 50% 0px; | |
13 width: 32px; | |
14 height: 13px; | |
15 padding: 28px 2px 0px 2px; | |
16 margin: 0px 5px 0px 5px; | |
17 } | |
18 | |
26
b2b6c0af2383
remove _ from name, lots of other hacks to get label context menu working
Charlie Root
parents:
0
diff
changeset
|
19 #tblabelpopup |
0 | 20 { |
21 width: auto; | |
22 position: absolute; | |
23 } | |
24 | |
26
b2b6c0af2383
remove _ from name, lots of other hacks to get label context menu working
Charlie Root
parents:
0
diff
changeset
|
25 #tblabelpopup a.active |
0 | 26 { |
27 color: inherit; /* fix for firefox */ | |
28 } | |
29 | |
30 .toolbarmenu li.label0, | |
31 .toolbarmenu li.label0 a.active | |
32 { | |
33 color: #EEE; | |
34 } | |
35 /* Colors for single/preview message window headers display */ | |
36 table.label1 | |
37 { | |
38 background-color: #FCC; | |
39 } | |
40 table.label2 | |
41 { | |
42 background-color: #FC3; | |
43 } | |
44 table.label3 | |
45 { | |
46 background-color: #3C3; | |
47 } | |
48 table.label4 | |
49 { | |
50 background-color: #99F; | |
51 } | |
52 table.label5 | |
53 { | |
54 background-color: #C9C; | |
55 } | |
56 | |
57 /* Support for Thunderbird label: definition of the 5 label color */ | |
58 /* Unselected (unfocused) messages */ | |
59 #messagelist tr.label1 td, | |
60 #messagelist tr.label1 td a, | |
61 .toolbarmenu li.label1, | |
62 .toolbarmenu li.label1 a.active, | |
28 | 63 .toolbarmenu a.rcm_elem_tblabel1, |
0 | 64 span.label1, |
65 .records-table tr.selected td span.label1 | |
66 { | |
67 color: #FF0000 !important; | |
68 } | |
69 | |
70 #messagelist tr.label2 td, | |
71 #messagelist tr.label2 td a, | |
72 .toolbarmenu li.label2, | |
73 .toolbarmenu li.label2 a.active, | |
28 | 74 .toolbarmenu a.rcm_elem_tblabel2, |
0 | 75 span.label2, |
76 .records-table tr.selected td span.label2 | |
77 { | |
78 color: #FF9900 !important; | |
79 } | |
80 | |
81 | |
82 #messagelist tr.label3 td, | |
83 #messagelist tr.label3 td a, | |
84 .toolbarmenu li.label3, | |
85 .toolbarmenu li.label3 a.active, | |
28 | 86 .toolbarmenu a.rcm_elem_tblabel3, |
0 | 87 span.label3, |
88 .records-table tr.selected td span.label3 | |
89 { | |
90 color: #009900 !important; | |
91 } | |
92 | |
93 #messagelist tr.label4 td, | |
94 #messagelist tr.label4 td a, | |
95 span.label4, | |
96 .records-table tr.selected td span.label4 | |
97 { | |
98 color: #3333FF !important; | |
99 } | |
100 | |
101 /* lighter blue for dark-grey popup... */ | |
102 .toolbarmenu li.label4, | |
28 | 103 .toolbarmenu a.rcm_elem_tblabel4, |
0 | 104 .toolbarmenu li.label4 a.active |
105 { | |
28 | 106 color: #0CF !important; |
0 | 107 } |
108 | |
109 #messagelist tr.label5 td, | |
110 #messagelist tr.label5 td a, | |
111 span.label5, | |
112 .records-table tr.selected td span.label5 | |
113 { | |
114 color: #993399 !important; | |
115 } | |
116 | |
117 /* lighter purple for dark-grey popup... */ | |
118 .toolbarmenu li.label5, | |
28 | 119 .toolbarmenu a.rcm_elem_tblabel5, |
0 | 120 .toolbarmenu li.label5 a.active |
121 { | |
28 | 122 color: #B6F !important; |
0 | 123 } |
124 | |
125 /* Selected messages */ | |
126 #messagelist tr.selected.label1 td, | |
127 #messagelist tr.selected.label1 td a | |
128 { | |
129 color: #FFFFFF; | |
130 background-color: #FF0000; | |
131 } | |
132 | |
133 #messagelist tr.selected.label2 td, | |
134 #messagelist tr.selected.label2 td a | |
135 { | |
136 color: #FFFFFF; | |
137 background-color: #FF9900; | |
138 } | |
139 | |
140 #messagelist tr.selected.label3 td, | |
141 #messagelist tr.selected.label3 td a | |
142 { | |
143 color: #FFFFFF; | |
144 background-color: #009900; | |
145 } | |
146 | |
147 #messagelist tr.selected.label4 td, | |
148 #messagelist tr.selected.label4 td a | |
149 { | |
150 color: #FFFFFF; | |
151 background-color: #3333FF; | |
152 } | |
153 | |
154 #messagelist tr.selected.label5 td, | |
155 #messagelist tr.selected.label5 td a | |
156 { | |
157 color: #FFFFFF; | |
158 background-color: #993399; | |
159 } | |
160 | |
161 span.tb_label_dots { | |
162 float: right; | |
163 height: 0px; | |
164 display: block; | |
165 position:relative; | |
166 } | |
167 | |
168 /* hack for firefox : doesnt display the bullets at the correct height */ | |
169 @-moz-document url-prefix() { | |
170 span.tb_label_dots { | |
171 top: -19px; | |
172 } | |
173 } | |
174 | |
175 span.tb_label_dots span { | |
176 font-size: 32px; | |
177 vertical-align: middle; | |
178 line-height: 0px; | |
179 } | |
180 | |
181 | |
182 | |
183 div#labelbox { | |
184 white-space: nowrap; | |
185 position: absolute; | |
186 right: 67px; | |
187 top: 40px; | |
188 } | |
189 | |
190 div#labelbox span { | |
191 margin: 0 3px; | |
192 padding: 3px; | |
193 border: 1px solid black; | |
194 border-radius: 3px; | |
195 color: #black; | |
196 font-weight: bold; | |
197 } | |
198 | |
199 div#labelbox span.tb_label_span1 { | |
200 background-color: #FF2200; | |
201 } | |
202 | |
203 div#labelbox span.tb_label_span2 { | |
204 background-color: #FF9900; | |
205 } | |
206 | |
207 div#labelbox span.tb_label_span3 { | |
208 background-color: #00CC00; | |
209 } | |
210 | |
211 div#labelbox span.tb_label_span4 { | |
212 background-color: #0CF; | |
213 } | |
214 | |
215 div#labelbox span.tb_label_span5 { | |
216 background-color: #FF33FF; | |
217 } | |
218 | |
219 /* icon for settings-section */ | |
220 #sections-table tbody #rcmrowthunderbird_labels td.section { | |
221 background-image: url(thunderbird_24.png); | |
222 background-position: 3px 3px; | |
223 } | |
224 | |
225 /* Non-labeled selected message: changed to make it look "like" Thunderbird */ | |
226 /*#messagelist tr.selected td | |
227 { | |
228 color: #000000; | |
229 background-color: #F0CB82; | |
230 } | |
231 */ | |
232 /* Addition for selected RCM "flagged" message */ | |
233 /*#messagelist tr.selected.flagged td | |
234 { | |
235 color: #FFFFFF; | |
236 background-color: #CC3333; | |
237 } | |
238 */ | |
239 /* Non specific message : changed to make it look like Thunderbird */ | |
240 /*#messagelist tr.selected td a | |
241 { | |
242 color: #000000; | |
243 } | |
244 */ | |
245 /* Addition for selected RCM "flagged" message */ | |
246 /*#messagelist tr.selected.flagged td a | |
247 { | |
248 color: #FFFFFF; | |
249 } | |
250 */ |