]> git.wh0rd.org Git - tt-rss.git/blob - css/cdm.css
floating title: fix feed styling
[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 : 20px;
56 }
57
58 div.cdmContentInner img {
59         border-width : 0px;
60         max-width : 98%;
61         height : auto;
62 }
63
64 div.cdmFooter {
65         padding : 5px;
66         font-weight : normal;
67         color : #555;
68         clear : both;
69 }
70
71 div.cdm.expanded {
72         margin-top : 4px;
73         margin-bottom : 4px;
74 }
75
76 div.cdm.expandable {
77         background-color : #f0f0f0;
78         border-width : 0px 0px 1px 0px;
79         border-color : #c0c0c0;
80         border-style : solid;
81 }
82
83 div.cdm.expandable > hr {
84         display : none;
85 }
86
87 div.cdm.expanded > hr {
88         margin-top : 0px;
89         margin-bottom : 0px;
90 }
91
92 div.cdm.expandable.Unread {
93         background : white;
94 }
95
96 div.cdm.expandable.Selected {
97         background : #f9fbff;
98 }
99
100 div.cdm.expandable.active {
101         box-shadow : inset 0px 0px 3px 0px rgba(0,0,0,0.1);
102         border-color : #88b0f0;
103         background : white ! important;
104 }
105
106 div.cdm.expandable div.cdmHeader span.titleWrap {
107         white-space : nowrap;
108         text-overflow : ellipsis;
109         overflow : hidden;
110         max-width : 500px;
111 }
112
113 div.cdm.expandable div.cdmHeader a.title {
114         font-weight : bold;
115         color : #555;
116 }
117
118 div.cdm.expandable.Unread div.cdmHeader a.title {
119         color : black;
120 }
121
122 div.cdm.expandable.active div.cdmHeader a.title {
123         color : #4684ff;
124 }
125
126 div.cdm.expanded div.cdmHeader {
127         background : transparent ! important;
128 }
129
130 div.cdm.expanded div.cdmHeader a.title {
131         font-size : 14px;
132         color : #999;
133         font-weight : bold;
134 }
135
136 div.cdm.expanded.active {
137         background : white;
138 }
139
140 div.cdm.expanded.active div.cdmHeader a.title {
141         color : #4684ff;
142 }
143
144 div.cdm.expanded.Unread div.cdmHeader a.title {
145         color : black;
146 }
147
148 div.cdm.expanded div.cdmContent {
149         color : #555;
150 }
151
152 div.cdm.expanded.Unread div.cdmContent {
153         color : black;
154 }
155
156 div.cdm.active div.cdmContent {
157         color : black;
158 }
159
160 span.cdmExcerpt {
161         font-size : 11px;
162         color : #555;
163         font-weight : normal;
164         cursor : pointer;
165 }
166
167 div.cdmContent div.postEnclosures {
168         margin-top : 1em;
169         color : #555;
170 }
171
172 div.cdmFeedTitle {
173         border-color : #a0a0a0;
174         border-width : 0px 0px 1px 0px;
175         border-style : solid;
176         padding : 5px 3px 5px 5px;
177         background : url("images/toolbar.png") bottom left;
178         background-repeat : repeat-x;
179 }
180
181 div.cdmFeedTitle a.title {
182         color : #555;
183         font-style : italic;
184         font-weight : bold;
185 }
186
187 div.cdmFeedTitle a {
188         color : #555;
189 }
190
191 div.cdmFeedTitle a:hover {
192         color : #4684ff;
193 }
194
195 div.cdmHeader span.hlFeed {
196         float : right;
197         font-weight : normal;
198         font-style : italic;
199 }
200
201 div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
202         vertical-align : middle;
203         color : #555;
204         font-weight : normal;
205         font-style : italic;
206         font-size : 11px;
207 }
208
209 div.cdm .hlFeed a {
210         border-radius : 4px;
211         display : inline-block;
212         padding : 1px 4px 1px 4px;
213 }
214
215 div.cdmContentInner p {
216         max-width : 650px;
217 }
218
219 div.cdmContentInner iframe {
220         min-width : 50%;
221 }
222
223 div.cdmHeader span.author {
224         color : #555;
225         font-size : 11px;
226         font-weight : normal;
227 }
228
229
230 div#floatingTitle {
231         position : absolute;
232         z-index : 5;
233         top : 26px;
234         right : 0px;
235         left : 0px;
236         border-color : #ccc;
237         border-width : 0px 0px 1px 0px;
238         border-style : solid;
239         background : #fcfcfc;
240         color : #555;
241         box-shadow : 0px 1px 1px 0px rgba(0,0,0,0.1);
242 }
243
244 div#floatingTitle > * {
245         display : table-cell;
246         white-space : nowrap;
247         vertical-align : middle;
248         padding : 9px 5px;
249 }
250
251 div#floatingTitle img {
252         margin-right : 4px;
253         margin-left : 4px;
254 }
255
256 div#floatingTitle span.author {
257         color : #555;
258         font-size : 11px;
259         font-weight : normal;
260 }
261
262 div#floatingTitle a.title {
263         font-size : 14px;
264         color : #999;
265         font-weight : bold;
266 }
267 div#floatingTitle img.anchor {
268         margin-right : 1px;
269         margin-left : 0px;
270 }
271
272 div#floatingTitle div.hlFeed {
273         padding-right : 10px;
274         color : #555;
275         font-weight : normal;
276         font-style : italic;
277         font-size : 11px;
278         white-space : nowrap;
279 }
280
281 div#floatingTitle div.hlFeed a {
282         border-radius : 4px;
283         display : inline-block;
284         padding : 1px 4px 1px 4px;
285 }
286
287 div#floatingTitle span.updated {
288         padding-right : 10px;
289         white-space : nowrap;
290         color : #555;
291         font-size : 11px;
292 }
293
294 div#floatingTitle div.hlFeed a {
295         color : #555;
296 }
297
298 div#floatingTitle span.titleWrap {
299         width : 100%;
300 }
301
302 div#floatingTitle .dijit,
303 div#floatingTitle img.hlScorePic { 
304         display : none;
305 }
306
307 .cdm.high .cdmHeader a.title.high, .cdm.high .cdmHeader .cdmExcerpt,
308 .cdm.high .cdmHeader span.author {
309         color : #00aa00;
310 }
311
312 .cdm.Unread.high .cdmHeader a.title.high, .cdm.Unread.high .cdmHeader .cdmExcerpt,
313 .cdm.Unread.high .cdmHeader span.author {
314         color : #00dd00;
315 }
316
317 .cdm .cdmHeader a.title.low, .cdm.low .cdmHeader .cdmExcerpt,
318 .cdm.Unread .cdmHeader a.title.low, .cdm.Unread.low .cdmHeader .cdmExcerpt,
319 .cdm.low .cdmHeader span.author {
320         color : #909090;
321         text-decoration : line-through;
322 }
323
324