]> git.wh0rd.org - tt-rss.git/blame - css/cdm.css
add some transitions for headline title color changes
[tt-rss.git] / css / cdm.css
CommitLineData
dad14b51
AD
1div.cdmHeader img, div.cdmHeader input, div.cdmFooter img {
2 vertical-align : middle;
3}
4
5div.cdmHeader {
915b61ef
AD
6 display : table;
7}
8
9div.cdmHeader > * {
10 display : table-cell;
dad14b51
AD
11 padding : 5px;
12}
13
915b61ef
AD
14div.cdmHeader > div {
15 white-space : nowrap;
16}
17
18div.cdmHeader > span {
19 width : 100%;
20}
21
dad14b51 22div.cdmHeader span.updated {
81aa9e2b 23 color : #555;
dad14b51 24 font-weight : normal;
23ac03ff 25 font-size : 11px;
804ab1f7 26 white-space : nowrap;
47837c09 27 vertical-align : middle;
dad14b51
AD
28}
29
30div.cdmHeader input {
31 margin-right : 5px;
32}
33
8cc5e965 34div.cdmHeader div.updPic {
62b800b4
AD
35 width : 25px;
36 display : inline-block;
37 text-align : center;
38}
39
8cc5e965 40div.cdmHeader div.updPic img {
62b800b4
AD
41 vertical-align : middle;
42}
43
dad14b51 44div.cdmHeader img, div.cdmFooter img {
0e70e4a4
AD
45 margin : 0px 4px;
46}
47
48div.cdmHeader input {
49 margin-left : 4px;
50 margin-right : 4px;
dad14b51
AD
51}
52
dad14b51 53div.cdmContentInner {
dbd7e915 54 margin : 10px;
17809d7c 55 line-height : 20px;
dad14b51
AD
56}
57
16b59fc8
AD
58div.cdmContentInner img {
59 border-width : 0px;
60 max-width : 98%;
5b27cb05 61 height : auto;
16b59fc8
AD
62}
63
dad14b51 64div.cdmFooter {
dad14b51
AD
65 padding : 5px;
66 font-weight : normal;
81aa9e2b 67 color : #555;
dad14b51
AD
68 clear : both;
69}
70
14c53e4e
AD
71div.cdm.expanded {
72 margin-top : 4px;
73 margin-bottom : 4px;
c2fd7468
AD
74}
75
76div.cdm.expandable {
14c53e4e
AD
77 background-color : #f0f0f0;
78 border-width : 0px 0px 1px 0px;
79 border-color : #c0c0c0;
80 border-style : solid;
a0ddecb9
AD
81}
82
14c53e4e
AD
83div.cdm.expandable > hr {
84 display : none;
c2fd7468
AD
85}
86
14c53e4e
AD
87div.cdm.expanded > hr {
88 margin-top : 0px;
89 margin-bottom : 0px;
a0ddecb9
AD
90}
91
ee71a9ff 92div.cdm.expandable.Unread {
12a80ad5 93 background : white;
a0ddecb9
AD
94}
95
9e14c591
AD
96div.cdm.expandable.Selected {
97 background : #f9fbff;
98}
99
ee71a9ff 100div.cdm.expandable.active {
9e14c591 101 box-shadow : inset 0px 0px 3px 0px rgba(0,0,0,0.1);
c2fd7468 102 border-color : #88b0f0;
a0ddecb9 103 background : white ! important;
42c43ff7
AD
104}
105
f8900c31
AD
106div.cdm.expandable div.cdmHeader span.titleWrap {
107 white-space : nowrap;
108 text-overflow : ellipsis;
109 overflow : hidden;
110 max-width : 500px;
111}
112
7415fcf2
AD
113div.cdm.expandable.active div.cdmHeader span.titleWrap {
114 white-space : normal;
115}
116
14c53e4e
AD
117div.cdm.expandable div.cdmHeader a.title {
118 font-weight : bold;
81aa9e2b 119 color : #555;
898f86c0
AD
120 -webkit-transition : color 0.2s;
121 transition : color 0.2s;
14c53e4e
AD
122}
123
124div.cdm.expandable.Unread div.cdmHeader a.title {
125 color : black;
a0ddecb9
AD
126}
127
14c53e4e 128div.cdm.expandable.active div.cdmHeader a.title {
a0ddecb9 129 color : #4684ff;
a0ddecb9
AD
130}
131
14c53e4e
AD
132div.cdm.expanded div.cdmHeader {
133 background : transparent ! important;
134}
135
136div.cdm.expanded div.cdmHeader a.title {
137 font-size : 14px;
b79da019 138 color : #999;
14c53e4e 139 font-weight : bold;
898f86c0
AD
140 -webkit-transition : color 0.2s;
141 transition : color 0.2s;
14c53e4e
AD
142}
143
9e14c591
AD
144div.cdm.expanded.active {
145 background : white;
146}
14c53e4e
AD
147
148div.cdm.expanded.active div.cdmHeader a.title {
149 color : #4684ff;
150}
151
152div.cdm.expanded.Unread div.cdmHeader a.title {
153 color : black;
154}
155
156div.cdm.expanded div.cdmContent {
81aa9e2b 157 color : #555;
14c53e4e
AD
158}
159
160div.cdm.expanded.Unread div.cdmContent {
161 color : black;
162}
163
a0ddecb9 164div.cdm.active div.cdmContent {
14c53e4e 165 color : black;
dad14b51
AD
166}
167
168span.cdmExcerpt {
169 font-size : 11px;
81aa9e2b 170 color : #555;
dad14b51
AD
171 font-weight : normal;
172 cursor : pointer;
173}
174
175div.cdmContent div.postEnclosures {
176 margin-top : 1em;
81aa9e2b 177 color : #555;
dad14b51
AD
178}
179
8cc5e965
AD
180div.cdmFeedTitle {
181 border-color : #a0a0a0;
182 border-width : 0px 0px 1px 0px;
183 border-style : solid;
184 padding : 5px 3px 5px 5px;
185 background : url("images/toolbar.png") bottom left;
186 background-repeat : repeat-x;
187}
188
36b4cf2f 189div.cdmFeedTitle a.title {
81aa9e2b 190 color : #555;
36b4cf2f
AD
191 font-style : italic;
192 font-weight : bold;
193}
14c53e4e 194
36b4cf2f 195div.cdmFeedTitle a {
81aa9e2b 196 color : #555;
36b4cf2f
AD
197}
198
199div.cdmFeedTitle a:hover {
200 color : #4684ff;
201}
202
ef69681b
AD
203div.cdmHeader span.hlFeed {
204 float : right;
205 font-weight : normal;
23ac03ff 206 font-style : italic;
ef69681b 207}
c06289d3 208
d56ec700
AD
209div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
210 vertical-align : middle;
81aa9e2b 211 color : #555;
e17e99fb 212 font-weight : normal;
23ac03ff
AD
213 font-style : italic;
214 font-size : 11px;
d56ec700 215}
54bc5594 216
d3103484
AD
217div.cdm .hlFeed a {
218 border-radius : 4px;
219 display : inline-block;
220 padding : 1px 4px 1px 4px;
221}
222
54bc5594
AD
223div.cdmContentInner p {
224 max-width : 650px;
225}
b5d4716a 226
922bfe73
AD
227div.cdmContentInner iframe {
228 min-width : 50%;
229}
11bd95b4
AD
230
231div.cdmHeader span.author {
81aa9e2b 232 color : #555;
11bd95b4 233 font-size : 11px;
d080678c 234 font-weight : normal;
11bd95b4 235}
472219f0 236
d2f3467b 237
08820be7
AD
238div#floatingTitle {
239 position : absolute;
240 z-index : 5;
da0f0237 241 top : 25px;
8ee5e9e5
AD
242 right : 0px;
243 left : 0px;
244 border-color : #ccc;
da0f0237 245 border-width : 1px 0px 1px 0px;
8ee5e9e5
AD
246 border-style : solid;
247 background : #fcfcfc;
08820be7 248 color : #555;
8ee5e9e5 249 box-shadow : 0px 1px 1px 0px rgba(0,0,0,0.1);
08820be7
AD
250}
251
252div#floatingTitle > * {
253 display : table-cell;
254 white-space : nowrap;
255 vertical-align : middle;
8ee5e9e5 256 padding : 9px 5px;
08820be7
AD
257}
258
8ee5e9e5
AD
259div#floatingTitle img {
260 margin-right : 4px;
261 margin-left : 4px;
d1692b4c
AD
262}
263
8ee5e9e5
AD
264div#floatingTitle span.author {
265 color : #555;
266 font-size : 11px;
267 font-weight : normal;
268}
269
270div#floatingTitle a.title {
271 font-size : 14px;
272 color : #999;
273 font-weight : bold;
898f86c0
AD
274 -webkit-transition : color 0.2s;
275 transition : color 0.2s;
8ee5e9e5 276}
41d37fb2
AD
277
278div#floatingTitle.Unread a.title {
279 color : black;
280}
281
8ee5e9e5
AD
282div#floatingTitle img.anchor {
283 margin-right : 1px;
284 margin-left : 0px;
285}
286
287div#floatingTitle div.hlFeed {
288 padding-right : 10px;
289 color : #555;
290 font-weight : normal;
291 font-style : italic;
292 font-size : 11px;
293 white-space : nowrap;
294}
295
b532ef24
AD
296div#floatingTitle div.hlFeed a {
297 border-radius : 4px;
298 display : inline-block;
299 padding : 1px 4px 1px 4px;
300}
301
8ee5e9e5
AD
302div#floatingTitle span.updated {
303 padding-right : 10px;
304 white-space : nowrap;
305 color : #555;
306 font-size : 11px;
307}
308
309div#floatingTitle div.hlFeed a {
310 color : #555;
311}
312
313div#floatingTitle span.titleWrap {
314 width : 100%;
8043035b 315 white-space : normal;
08820be7
AD
316}
317
8ee5e9e5
AD
318div#floatingTitle .dijit,
319div#floatingTitle img.hlScorePic {
08820be7
AD
320 display : none;
321}
4b7ebe93
AD
322
323.cdm.high .cdmHeader a.title.high, .cdm.high .cdmHeader .cdmExcerpt,
324.cdm.high .cdmHeader span.author {
325 color : #00aa00;
326}
327
328.cdm.Unread.high .cdmHeader a.title.high, .cdm.Unread.high .cdmHeader .cdmExcerpt,
329.cdm.Unread.high .cdmHeader span.author {
330 color : #00dd00;
331}
332
333.cdm .cdmHeader a.title.low, .cdm.low .cdmHeader .cdmExcerpt,
334.cdm.Unread .cdmHeader a.title.low, .cdm.Unread.low .cdmHeader .cdmExcerpt,
335.cdm.low .cdmHeader span.author {
336 color : #909090;
337 text-decoration : line-through;
338}
339
340