]> git.wh0rd.org - tt-rss.git/blob - css/cdm.css
add experimental hack to show row unread status in floating title
[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.active div.cdmHeader span.titleWrap {
114 white-space : normal;
115 }
116
117 div.cdm.expandable div.cdmHeader a.title {
118 font-weight : bold;
119 color : #555;
120 }
121
122 div.cdm.expandable.Unread div.cdmHeader a.title {
123 color : black;
124 }
125
126 div.cdm.expandable.active div.cdmHeader a.title {
127 color : #4684ff;
128 }
129
130 div.cdm.expanded div.cdmHeader {
131 background : transparent ! important;
132 }
133
134 div.cdm.expanded div.cdmHeader a.title {
135 font-size : 14px;
136 color : #999;
137 font-weight : bold;
138 }
139
140 div.cdm.expanded.active {
141 background : white;
142 }
143
144 div.cdm.expanded.active div.cdmHeader a.title {
145 color : #4684ff;
146 }
147
148 div.cdm.expanded.Unread div.cdmHeader a.title {
149 color : black;
150 }
151
152 div.cdm.expanded div.cdmContent {
153 color : #555;
154 }
155
156 div.cdm.expanded.Unread div.cdmContent {
157 color : black;
158 }
159
160 div.cdm.active div.cdmContent {
161 color : black;
162 }
163
164 span.cdmExcerpt {
165 font-size : 11px;
166 color : #555;
167 font-weight : normal;
168 cursor : pointer;
169 }
170
171 div.cdmContent div.postEnclosures {
172 margin-top : 1em;
173 color : #555;
174 }
175
176 div.cdmFeedTitle {
177 border-color : #a0a0a0;
178 border-width : 0px 0px 1px 0px;
179 border-style : solid;
180 padding : 5px 3px 5px 5px;
181 background : url("images/toolbar.png") bottom left;
182 background-repeat : repeat-x;
183 }
184
185 div.cdmFeedTitle a.title {
186 color : #555;
187 font-style : italic;
188 font-weight : bold;
189 }
190
191 div.cdmFeedTitle a {
192 color : #555;
193 }
194
195 div.cdmFeedTitle a:hover {
196 color : #4684ff;
197 }
198
199 div.cdmHeader span.hlFeed {
200 float : right;
201 font-weight : normal;
202 font-style : italic;
203 }
204
205 div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
206 vertical-align : middle;
207 color : #555;
208 font-weight : normal;
209 font-style : italic;
210 font-size : 11px;
211 }
212
213 div.cdm .hlFeed a {
214 border-radius : 4px;
215 display : inline-block;
216 padding : 1px 4px 1px 4px;
217 }
218
219 div.cdmContentInner p {
220 max-width : 650px;
221 }
222
223 div.cdmContentInner iframe {
224 min-width : 50%;
225 }
226
227 div.cdmHeader span.author {
228 color : #555;
229 font-size : 11px;
230 font-weight : normal;
231 }
232
233
234 div#floatingTitle {
235 position : absolute;
236 z-index : 5;
237 top : 25px;
238 right : 0px;
239 left : 0px;
240 border-color : #ccc;
241 border-width : 1px 0px 1px 0px;
242 border-style : solid;
243 background : #fcfcfc;
244 color : #555;
245 box-shadow : 0px 1px 1px 0px rgba(0,0,0,0.1);
246 }
247
248 div#floatingTitle > * {
249 display : table-cell;
250 white-space : nowrap;
251 vertical-align : middle;
252 padding : 9px 5px;
253 }
254
255 div#floatingTitle img {
256 margin-right : 4px;
257 margin-left : 4px;
258 }
259
260 div#floatingTitle span.author {
261 color : #555;
262 font-size : 11px;
263 font-weight : normal;
264 }
265
266 div#floatingTitle a.title {
267 font-size : 14px;
268 color : #999;
269 font-weight : bold;
270 }
271
272 div#floatingTitle.Unread a.title {
273 color : black;
274 }
275
276 div#floatingTitle img.anchor {
277 margin-right : 1px;
278 margin-left : 0px;
279 }
280
281 div#floatingTitle div.hlFeed {
282 padding-right : 10px;
283 color : #555;
284 font-weight : normal;
285 font-style : italic;
286 font-size : 11px;
287 white-space : nowrap;
288 }
289
290 div#floatingTitle div.hlFeed a {
291 border-radius : 4px;
292 display : inline-block;
293 padding : 1px 4px 1px 4px;
294 }
295
296 div#floatingTitle span.updated {
297 padding-right : 10px;
298 white-space : nowrap;
299 color : #555;
300 font-size : 11px;
301 }
302
303 div#floatingTitle div.hlFeed a {
304 color : #555;
305 }
306
307 div#floatingTitle span.titleWrap {
308 width : 100%;
309 white-space : normal;
310 }
311
312 div#floatingTitle .dijit,
313 div#floatingTitle img.hlScorePic {
314 display : none;
315 }
316
317 .cdm.high .cdmHeader a.title.high, .cdm.high .cdmHeader .cdmExcerpt,
318 .cdm.high .cdmHeader span.author {
319 color : #00aa00;
320 }
321
322 .cdm.Unread.high .cdmHeader a.title.high, .cdm.Unread.high .cdmHeader .cdmExcerpt,
323 .cdm.Unread.high .cdmHeader span.author {
324 color : #00dd00;
325 }
326
327 .cdm .cdmHeader a.title.low, .cdm.low .cdmHeader .cdmExcerpt,
328 .cdm.Unread .cdmHeader a.title.low, .cdm.Unread.low .cdmHeader .cdmExcerpt,
329 .cdm.low .cdmHeader span.author {
330 color : #909090;
331 text-decoration : line-through;
332 }
333
334