]> git.wh0rd.org - tt-rss.git/blame - css/cdm.less
minor css fixes (mostly for zoom mode)
[tt-rss.git] / css / cdm.less
CommitLineData
481ab9ac
AD
1.cdm {
2 margin-right : 4px;
3
8359ca6d 4 .header, .footer {
481ab9ac
AD
5 display : table;
6 }
7
8359ca6d 8 .header img, .header input, .footer img {
481ab9ac
AD
9 vertical-align : middle;
10 }
11
8359ca6d 12 .header > div, .footer > div {
481ab9ac
AD
13 white-space : nowrap;
14 }
15
8359ca6d 16 .header > span, .footer > span.left {
481ab9ac
AD
17 width : 100%;
18 }
19
8359ca6d 20 .header img, .footer img {
481ab9ac
AD
21 margin : 0px 4px;
22 }
23
8359ca6d 24 .header {
481ab9ac
AD
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
8359ca6d 58 .footer {
481ab9ac
AD
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
8359ca6d 71 .intermediate {
481ab9ac
AD
72 margin : 10px;
73 }
74
8359ca6d 75 .content-inner {
481ab9ac
AD
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
8359ca6d
AD
92 .intermediate img,
93 .intermediate video,
94 .content-inner img,
95 .content-inner video {
481ab9ac
AD
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
8359ca6d 106 .footer {
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
8359ca6d 118div.cdm.expanded div.header {
481ab9ac
AD
119 background : transparent ! important;
120}
121
8359ca6d 122div.cdm.expanded div.header a.title {
481ab9ac
AD
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
8359ca6d 135div.cdm.expanded.active div.header a.title {
f9ffef66 136 color : @color-link;
481ab9ac
AD
137}
138
8359ca6d 139div.cdm.expanded.Unread div.header a.title {
481ab9ac
AD
140 color : black;
141}
142
8359ca6d 143div.cdm.expanded div.content {
4d10b4ab 144 color : @default-text;
481ab9ac
AD
145}
146
8359ca6d 147div.cdm.expanded.Unread div.content {
481ab9ac
AD
148 color : black;
149}
150
8359ca6d 151div.cdm.active div.content {
481ab9ac
AD
152 color : black;
153}
154
07fd4f8d
AD
155.cdm {
156 div.content div.postEnclosures {
157 margin-top: 1em;
158 color: @default-text;
159 }
481ab9ac 160
07fd4f8d
AD
161 div.feed-title {
162 border: 0px solid @color-link;
163 border-bottom-width: 1px;
164 padding: 5px 3px 5px 5px;
165 }
481ab9ac 166
07fd4f8d
AD
167 div.feed-title a.title {
168 color: @default-text;
169 font-weight: bold;
170 }
481ab9ac 171
07fd4f8d
AD
172 div.feed-title a {
173 color: @default-text;
174 }
481ab9ac 175
07fd4f8d
AD
176 div.feed-title a:hover {
177 color: @color-link;
178 }
481ab9ac 179
07fd4f8d
AD
180 div.header span.feed {
181 float: right;
182 font-weight: normal;
183 font-style: italic;
184 }
481ab9ac 185
07fd4f8d
AD
186 div.header div.feed, div.header div.feed a {
187 vertical-align: middle;
188 color: @default-text;
189 font-weight: normal;
190 font-style: italic;
191 font-size: 11px;
192 }
481ab9ac 193
07fd4f8d
AD
194 div.content-inner p {
195 /*max-width : 650px;*/
196 -webkit-hyphens: auto;
197 -moz-hyphens: auto;
198 hyphens: auto;
199 }
481ab9ac 200
07fd4f8d
AD
201 div.content-inner iframe {
202 min-width : 50%;
203 max-width : 98%;
204 }
481ab9ac 205
07fd4f8d
AD
206 div.header span.author {
207 white-space : nowrap;
208 color : @default-text;
209 font-size : 11px;
210 font-weight : normal;
211 }
481ab9ac 212
07fd4f8d
AD
213 .feed a {
214 border-radius : 4px;
215 display : inline-block;
216 padding : 1px 4px 1px 4px;
217 }
481ab9ac
AD
218}
219
220div#floatingTitle {
221 position : absolute;
222 z-index : 5;
223 top : 0px;
224 right : 0px;
225 left : 0px;
9dd336a2
AD
226 border: 0px solid #ddd;
227 border-bottom-width: 1px;
481ab9ac 228 background : white;
4d10b4ab 229 color : @default-text;
481ab9ac
AD
230 box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
231
232 > * {
233 display : table-cell;
234 white-space : nowrap;
235 vertical-align : middle;
236 padding : 9px 5px;
237 }
238
239 img {
240 margin-right : 4px;
241 margin-left : 4px;
242 }
243
244 span.author {
4d10b4ab 245 color : @default-text;
481ab9ac
AD
246 font-size : 11px;
247 font-weight : normal;
248 }
249
250 a.title {
251 font-size : 16px;
252 color : #999;
6184f526 253 transition : color 0.2s, background 0.2s;
481ab9ac
AD
254 font-weight : 600;
255 text-rendering: optimizelegibility;
9dd336a2 256 font-family : @fonts-ui-bold;
481ab9ac
AD
257 }
258
259 img.anchor {
260 margin-left : 0px;
261 }
262
8359ca6d 263 div.feed {
481ab9ac 264 padding-right : 10px;
4d10b4ab 265 color : @default-text;
481ab9ac
AD
266 font-weight : normal;
267 font-style : italic;
268 font-size : 11px;
269 white-space : nowrap;
270 }
271
8359ca6d 272 div.feed a {
481ab9ac
AD
273 border-radius : 4px;
274 display : inline-block;
275 padding : 1px 4px 1px 4px;
276 }
277
278 span.updated {
279 padding-right : 10px;
280 white-space : nowrap;
4d10b4ab 281 color : @default-text;
481ab9ac
AD
282 font-size : 11px;
283 }
284
8359ca6d 285 div.feed a {
4d10b4ab 286 color : @default-text;
481ab9ac
AD
287 }
288
289 span.titleWrap {
290 width : 100%;
291 white-space : normal;
292 }
293
294 .dijit,
8359ca6d 295 img.score-pic {
481ab9ac
AD
296 display : none;
297 }
298
07fd4f8d
AD
299 .feed-title {
300 > * {
301 display : table-cell;
302 vertical-align : middle;
303 }
304
305 a.title {
306 width : 100%;
307 }
308
309 a.catchup {
310 text-align : right;
311 color : @default-text;
312 padding-right : 10px;
313 font-size : 11px;
314 white-space : nowrap;
315 }
316
317 a.catchup:hover {
318 color : @color-link;
319 }
320
321 }
481ab9ac
AD
322}
323
324div#floatingTitle.Unread a.title {
325 color : black;
326}
327
8359ca6d 328.cdm.high .header {
481ab9ac
AD
329 a.title.high,
330 .cdmExcerpt,
331 span.author {
332 color : #00aa00;
333 }
334}
335
8359ca6d 336.cdm.Unread.high .header {
481ab9ac
AD
337 a.title.high,
338 .cdmExcerpt,
339 span.author {
340 color : #00dd00;
341 }
342}
343
8359ca6d
AD
344.cdm .header a.title.low,
345.cdm.low .header .cdmExcerpt,
346.cdm.Unread .header a.title.low,
347.cdm.Unread.low .header .cdmExcerpt,
348.cdm.low .header span.author {
481ab9ac
AD
349 color : #909090;
350 text-decoration : line-through;
351}
352