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