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
|
|
9 #tb_label_popuplink {
|
|
10 background-image: url(thunderbird_32.png);
|
|
11 background-repeat: no-repeat;
|
|
12 width: 32px;
|
|
13 height: 32px;
|
|
14 padding: 0px;
|
|
15 margin: 0px 5px 0px 5px;
|
|
16 }
|
|
17
|
|
18 #tb_label_popup
|
|
19 {
|
|
20 width: auto;
|
|
21 position: absolute;
|
|
22 }
|
|
23
|
|
24 #tb_label_popup a.active
|
|
25 {
|
|
26 color: inherit; /* fix for firefox */
|
|
27 }
|
|
28
|
|
29 .toolbarmenu li.label0 a
|
|
30 {
|
|
31 color: #CCC;
|
|
32 }
|
|
33 .toolbarmenu li.label0,
|
|
34 .toolbarmenu li.label0 a.active
|
|
35 {
|
|
36 color: #333;
|
|
37 }
|
|
38 .toolbarmenu li.label1 a
|
|
39 {
|
|
40 color: #FCC;
|
|
41 }
|
|
42 .toolbarmenu li.label2 a
|
|
43 {
|
|
44 color: #FC3;
|
|
45 }
|
|
46 .toolbarmenu li.label3 a
|
|
47 {
|
|
48 color: #3C3;
|
|
49 }
|
|
50 .toolbarmenu li.label4 a
|
|
51 {
|
|
52 color: #99F;
|
|
53 }
|
|
54 .toolbarmenu li.label5 a
|
|
55 {
|
|
56 color: #C9C;
|
|
57 }
|
|
58 /* Colors for single/preview message window headers display */
|
|
59 table.label1
|
|
60 {
|
|
61 background-color: #FCC;
|
|
62 }
|
|
63 table.label2
|
|
64 {
|
|
65 background-color: #FC3;
|
|
66 }
|
|
67 table.label3
|
|
68 {
|
|
69 background-color: #3C3;
|
|
70 }
|
|
71 table.label4
|
|
72 {
|
|
73 background-color: #99F;
|
|
74 }
|
|
75 table.label5
|
|
76 {
|
|
77 background-color: #C9C;
|
|
78 }
|
|
79
|
|
80 /* Support for Thunderbird label: definition of the 5 label color */
|
|
81 /* Unselected (unfocused) messages */
|
|
82 #messagelist tr.label1 td,
|
|
83 #messagelist tr.label1 td a,
|
|
84 .toolbarmenu li.label1,
|
|
85 .toolbarmenu li.label1 a.active
|
|
86 {
|
|
87 color: #FF0000;
|
|
88 }
|
|
89
|
|
90 #messagelist tr.label2 td,
|
|
91 #messagelist tr.label2 td a,
|
|
92 .toolbarmenu li.label2,
|
|
93 .toolbarmenu li.label2 a.active
|
|
94 {
|
|
95 color: #FF9900;
|
|
96 }
|
|
97
|
|
98 #messagelist tr.label3 td,
|
|
99 #messagelist tr.label3 td a,
|
|
100 .toolbarmenu li.label3,
|
|
101 .toolbarmenu li.label3 a.active
|
|
102 {
|
|
103 color: #009900;
|
|
104 }
|
|
105
|
|
106 #messagelist tr.label4 td,
|
|
107 #messagelist tr.label4 td a,
|
|
108 .toolbarmenu li.label4,
|
|
109 .toolbarmenu li.label4 a.active
|
|
110 {
|
|
111 color: #3333FF;
|
|
112 }
|
|
113
|
|
114 #messagelist tr.label5 td,
|
|
115 #messagelist tr.label5 td a,
|
|
116 .toolbarmenu li.label5,
|
|
117 .toolbarmenu li.label5 a.active
|
|
118 {
|
|
119 color: #993399;
|
|
120 }
|
|
121
|
|
122 /* Selected messages */
|
|
123 #messagelist tr.selected.label1 td,
|
|
124 #messagelist tr.selected.label1 td a
|
|
125 {
|
|
126 color: #FFFFFF;
|
|
127 background-color: #FF0000;
|
|
128 }
|
|
129
|
|
130 #messagelist tr.selected.label2 td,
|
|
131 #messagelist tr.selected.label2 td a
|
|
132 {
|
|
133 color: #FFFFFF;
|
|
134 background-color: #FF9900;
|
|
135 }
|
|
136
|
|
137 #messagelist tr.selected.label3 td,
|
|
138 #messagelist tr.selected.label3 td a
|
|
139 {
|
|
140 color: #FFFFFF;
|
|
141 background-color: #009900;
|
|
142 }
|
|
143
|
|
144 #messagelist tr.selected.label4 td,
|
|
145 #messagelist tr.selected.label4 td a
|
|
146 {
|
|
147 color: #FFFFFF;
|
|
148 background-color: #3333FF;
|
|
149 }
|
|
150
|
|
151 #messagelist tr.selected.label5 td,
|
|
152 #messagelist tr.selected.label5 td a
|
|
153 {
|
|
154 color: #FFFFFF;
|
|
155 background-color: #993399;
|
|
156 }
|
|
157
|
|
158 /* Non-labeled selected message: changed to make it look "like" Thunderbird */
|
|
159 /*#messagelist tr.selected td
|
|
160 {
|
|
161 color: #000000;
|
|
162 background-color: #F0CB82;
|
|
163 }
|
|
164 */
|
|
165 /* Addition for selected RCM "flagged" message */
|
|
166 /*#messagelist tr.selected.flagged td
|
|
167 {
|
|
168 color: #FFFFFF;
|
|
169 background-color: #CC3333;
|
|
170 }
|
|
171 */
|
|
172 /* Non specific message : changed to make it look like Thunderbird */
|
|
173 /*#messagelist tr.selected td a
|
|
174 {
|
|
175 color: #000000;
|
|
176 }
|
|
177 */
|
|
178 /* Addition for selected RCM "flagged" message */
|
|
179 /*#messagelist tr.selected.flagged td a
|
|
180 {
|
|
181 color: #FFFFFF;
|
|
182 }
|
|
183 */
|