]> git.wh0rd.org - tt-rss.git/blame - css/cdm.css
add simple plugin to prevent tt-rss tab flashing on new articles
[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;
1bd46688 225 text-align : justify;
54bc5594 226}
b5d4716a 227
922bfe73
AD
228div.cdmContentInner iframe {
229 min-width : 50%;
230}
11bd95b4
AD
231
232div.cdmHeader span.author {
81aa9e2b 233 color : #555;
11bd95b4 234 font-size : 11px;
d080678c 235 font-weight : normal;
11bd95b4 236}
472219f0 237
d2f3467b 238
08820be7
AD
239div#floatingTitle {
240 position : absolute;
241 z-index : 5;
da0f0237 242 top : 25px;
8ee5e9e5
AD
243 right : 0px;
244 left : 0px;
245 border-color : #ccc;
da0f0237 246 border-width : 1px 0px 1px 0px;
8ee5e9e5
AD
247 border-style : solid;
248 background : #fcfcfc;
08820be7 249 color : #555;
8ee5e9e5 250 box-shadow : 0px 1px 1px 0px rgba(0,0,0,0.1);
08820be7
AD
251}
252
253div#floatingTitle > * {
254 display : table-cell;
255 white-space : nowrap;
256 vertical-align : middle;
8ee5e9e5 257 padding : 9px 5px;
08820be7
AD
258}
259
8ee5e9e5
AD
260div#floatingTitle img {
261 margin-right : 4px;
262 margin-left : 4px;
d1692b4c
AD
263}
264
8ee5e9e5
AD
265div#floatingTitle span.author {
266 color : #555;
267 font-size : 11px;
268 font-weight : normal;
269}
270
271div#floatingTitle a.title {
272 font-size : 14px;
273 color : #999;
274 font-weight : bold;
898f86c0
AD
275 -webkit-transition : color 0.2s;
276 transition : color 0.2s;
8ee5e9e5 277}
41d37fb2
AD
278
279div#floatingTitle.Unread a.title {
280 color : black;
281}
282
8ee5e9e5
AD
283div#floatingTitle img.anchor {
284 margin-right : 1px;
285 margin-left : 0px;
286}
287
288div#floatingTitle div.hlFeed {
289 padding-right : 10px;
290 color : #555;
291 font-weight : normal;
292 font-style : italic;
293 font-size : 11px;
294 white-space : nowrap;
295}
296
b532ef24
AD
297div#floatingTitle div.hlFeed a {
298 border-radius : 4px;
299 display : inline-block;
300 padding : 1px 4px 1px 4px;
301}
302
8ee5e9e5
AD
303div#floatingTitle span.updated {
304 padding-right : 10px;
305 white-space : nowrap;
306 color : #555;
307 font-size : 11px;
308}
309
310div#floatingTitle div.hlFeed a {
311 color : #555;
312}
313
314div#floatingTitle span.titleWrap {
315 width : 100%;
8043035b 316 white-space : normal;
08820be7
AD
317}
318
8ee5e9e5
AD
319div#floatingTitle .dijit,
320div#floatingTitle img.hlScorePic {
08820be7
AD
321 display : none;
322}
4b7ebe93
AD
323
324.cdm.high .cdmHeader a.title.high, .cdm.high .cdmHeader .cdmExcerpt,
325.cdm.high .cdmHeader span.author {
326 color : #00aa00;
327}
328
329.cdm.Unread.high .cdmHeader a.title.high, .cdm.Unread.high .cdmHeader .cdmExcerpt,
330.cdm.Unread.high .cdmHeader span.author {
331 color : #00dd00;
332}
333
334.cdm .cdmHeader a.title.low, .cdm.low .cdmHeader .cdmExcerpt,
335.cdm.Unread .cdmHeader a.title.low, .cdm.Unread.low .cdmHeader .cdmExcerpt,
336.cdm.low .cdmHeader span.author {
337 color : #909090;
338 text-decoration : line-through;
339}
340
341