]> git.wh0rd.org Git - tt-rss.git/blob - css/cdm.css
add custom styles for .dijitDropDownButton
[tt-rss.git] / css / cdm.css
1 div.cdmHeader img, div.cdmHeader input, div.cdmFooter img {
2         vertical-align : middle;
3 }
4
5 div.cdmHeader {
6         display : table;
7 }
8
9 div.cdmHeader > * {
10         display : table-cell;
11         padding : 5px;
12 }
13
14 div.cdmHeader > div {
15         white-space : nowrap;
16 }
17
18 div.cdmHeader > span {
19         width : 100%;
20 }
21
22 div.cdmHeader span.updated {
23         color : #555;
24         font-weight : normal;
25         font-size : 11px;
26         white-space : nowrap;
27         vertical-align : middle;
28 }
29
30 div.cdmHeader input {
31         margin-right : 5px;
32 }
33
34 div.cdmHeader div.updPic {
35         width : 25px;
36         display : inline-block;
37         text-align : center;
38 }
39
40 div.cdmHeader div.updPic img {
41         vertical-align : middle;
42 }
43
44 div.cdmHeader img, div.cdmFooter img {
45         margin : 0px 4px;
46 }
47
48 div.cdmHeader input {
49         margin-left : 4px;
50         margin-right : 4px;
51 }
52
53 div.cdmContentInner {
54         margin : 10px;
55         line-height : 1.5;
56         font-size : 15px;
57 }
58
59 div.cdmContentInner img,
60 div.cdmContentInner video {
61         border-width : 0px;
62         max-width : 98%;
63         height : auto;
64 }
65
66 div.cdmContentInner h1 {
67         font-size : 16px;
68 }
69
70 div.cdmContentInner h2,
71 div.cdmContentInner h3,
72 div.cdmContentInner h4 {
73         font-size : 15px;
74 }
75
76 div.cdmFooter {
77         padding : 5px;
78         font-weight : normal;
79         color : #555;
80         clear : both;
81 }
82
83 div.cdm {
84         margin-right : 4px;
85 }
86
87 div.cdm.expanded {
88         margin-top : 4px;
89         margin-bottom : 4px;
90 }
91
92 div.cdm.expanded div.cdmFooter {
93         border-style : solid;
94         border-width : 0px 0px 1px 0px;
95         border-color : #ddd;
96 }
97
98 div.cdm.expandable {
99         background-color : #f0f0f0;
100         border-width : 0px 0px 1px 0px;
101         border-color : #ddd;
102         border-style : solid;
103 }
104
105 div.cdm.expandable > hr {
106         display : none;
107 }
108
109 div.cdm.expanded > hr {
110         margin-top : 0px;
111         margin-bottom : 0px;
112 }
113
114 div.cdm.expandable.Unread {
115         background : white;
116 }
117
118 div.cdm.expandable.Selected {
119         background : #f9fbff;
120 }
121
122 div.cdm.expandable.active {
123         background : white ! important;
124 }
125
126 div.cdm.expandable div.cdmHeader span.titleWrap {
127         white-space : nowrap;
128         text-overflow : ellipsis;
129         overflow : hidden;
130         max-width : 500px;
131 }
132
133 div.cdm.expandable.active div.cdmHeader span.titleWrap {
134         white-space : normal;
135 }
136
137 div.cdm.expandable div.cdmHeader a.title {
138         font-weight : 600;
139         color : #555;
140         font-size : 14px;
141         -webkit-transition : color 0.2s;
142         transition : color 0.2s;
143         text-rendering: optimizelegibility;
144         font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
145                 "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
146                 Helvetica, Arial, sans-serif;
147 }
148
149 div.cdm.expandable.Unread div.cdmHeader a.title {
150         color : black;
151 }
152
153 div.cdm.expandable.active div.cdmHeader a.title {
154         color : #4684ff;
155         font-size : 16px;
156         font-weight : 600;
157         text-rendering: optimizelegibility;
158         font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
159                 "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
160                 Helvetica, Arial, sans-serif;
161 }
162
163 div.cdm.expanded div.cdmHeader {
164         background : transparent ! important;
165 }
166
167 div.cdm.expanded div.cdmHeader a.title {
168         font-size : 16px;
169         color : #999;
170         font-weight : 600;
171         -webkit-transition : color 0.2s;
172         transition : color 0.2s;
173         text-rendering: optimizelegibility;
174         font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
175                 "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
176                 Helvetica, Arial, sans-serif;
177 }
178
179 div.cdm.expanded.active {
180         background : white;
181 }
182
183 div.cdm.expanded.active div.cdmHeader a.title {
184         color : #4684ff;
185 }
186
187 div.cdm.expanded.Unread div.cdmHeader a.title {
188         color : black;
189 }
190
191 div.cdm.expanded div.cdmContent {
192         color : #555;
193 }
194
195 div.cdm.expanded.Unread div.cdmContent {
196         color : black;
197 }
198
199 div.cdm.active div.cdmContent {
200         color : black;
201 }
202
203 span.cdmExcerpt {
204         font-size : 11px;
205         color : #999;
206         font-weight : normal;
207         cursor : pointer;
208 }
209
210 div.cdmContent div.postEnclosures {
211         margin-top : 1em;
212         color : #555;
213 }
214
215 div.cdmFeedTitle {
216         border-color : #4684ff;
217         border-width : 0px 0px 1px 0px;
218         border-style : solid;
219         padding : 5px 3px 5px 5px;
220 }
221
222 div.cdmFeedTitle a.title {
223         color : #555;
224         font-weight : bold;
225 }
226
227 div.cdmFeedTitle a {
228         color : #555;
229 }
230
231 div.cdmFeedTitle a:hover {
232         color : #4684ff;
233 }
234
235 div.cdmHeader span.hlFeed {
236         float : right;
237         font-weight : normal;
238         font-style : italic;
239 }
240
241 div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
242         vertical-align : middle;
243         color : #555;
244         font-weight : normal;
245         font-style : italic;
246         font-size : 11px;
247 }
248
249 div.cdm .hlFeed a {
250         border-radius : 4px;
251         display : inline-block;
252         padding : 1px 4px 1px 4px;
253 }
254
255 div.cdmContentInner p {
256         max-width : 650px;
257         -webkit-hyphens: auto;
258         -moz-hyphens: auto;
259         hyphens: auto;
260 }
261
262 div.cdmContentInner iframe {
263         min-width : 50%;
264         max-width : 98%;
265 }
266
267 div.cdmHeader span.author {
268         color : #555;
269         font-size : 11px;
270         font-weight : normal;
271 }
272
273
274 div#floatingTitle {
275         position : absolute;
276         z-index : 5;
277         top : 0px;
278         right : 0px;
279         left : 0px;
280         border-color : #ddd;
281         border-width : 0px 0px 1px 0px;
282         border-style : solid;
283         background : white;
284         color : #555;
285         box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
286 }
287
288 div#floatingTitle > * {
289         display : table-cell;
290         white-space : nowrap;
291         vertical-align : middle;
292         padding : 9px 5px;
293 }
294
295 div#floatingTitle img {
296         margin-right : 4px;
297         margin-left : 4px;
298 }
299
300 div#floatingTitle span.author {
301         color : #555;
302         font-size : 11px;
303         font-weight : normal;
304 }
305
306 div#floatingTitle a.title {
307         font-size : 16px;
308         color : #999;
309         -webkit-transition : color 0.2s;
310         transition : color 0.2s;
311         font-weight : 600;
312         text-rendering: optimizelegibility;
313         font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
314                 "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
315                 Helvetica, Arial, sans-serif;
316 }
317
318 div#floatingTitle.Unread a.title {
319         color : black;
320 }
321
322 div#floatingTitle img.anchor {
323         margin-left : 0px;
324 }
325
326 div#floatingTitle div.hlFeed {
327         padding-right : 10px;
328         color : #555;
329         font-weight : normal;
330         font-style : italic;
331         font-size : 11px;
332         white-space : nowrap;
333 }
334
335 div#floatingTitle div.hlFeed a {
336         border-radius : 4px;
337         display : inline-block;
338         padding : 1px 4px 1px 4px;
339 }
340
341 div#floatingTitle span.updated {
342         padding-right : 10px;
343         white-space : nowrap;
344         color : #555;
345         font-size : 11px;
346 }
347
348 div#floatingTitle div.hlFeed a {
349         color : #555;
350 }
351
352 div#floatingTitle span.titleWrap {
353         width : 100%;
354         white-space : normal;
355 }
356
357 div#floatingTitle .dijit,
358 div#floatingTitle img.hlScorePic { 
359         display : none;
360 }
361
362 .cdm.high .cdmHeader a.title.high, .cdm.high .cdmHeader .cdmExcerpt,
363 .cdm.high .cdmHeader span.author {
364         color : #00aa00;
365 }
366
367 .cdm.Unread.high .cdmHeader a.title.high, .cdm.Unread.high .cdmHeader .cdmExcerpt,
368 .cdm.Unread.high .cdmHeader span.author {
369         color : #00dd00;
370 }
371
372 .cdm .cdmHeader a.title.low, .cdm.low .cdmHeader .cdmExcerpt,
373 .cdm.Unread .cdmHeader a.title.low, .cdm.Unread.low .cdmHeader .cdmExcerpt,
374 .cdm.low .cdmHeader span.author {
375         color : #909090;
376         text-decoration : line-through;
377 }
378
379 div.cdmFeedTitle > * {
380         display : table-cell;
381         vertical-align : middle;
382 }
383
384 div.cdmFeedTitle a.title {
385         width : 100%;
386 }
387
388 div.cdmFeedTitle a.catchup {
389         text-align : right;
390         color : #555;
391         padding-right : 10px;
392         font-size : 11px;
393         white-space : nowrap;
394 }
395
396 div.cdmFeedTitle a.catchup:hover {
397         color : #4684ff;
398 }
399