]> git.mxchange.org Git - friendica.git/blob - view/global.css
Merge remote-tracking branch 'upstream/develop' into dfrn-reshare
[friendica.git] / view / global.css
1 /* General style rules .*/
2 .pull-right { float: right }
3
4 /* General designing elements */
5 .btn {
6   outline: none;
7   -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
8   -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
9   box-shadow: inset 0px 1px 0px 0px #ffffff;
10   background-color: #ededed;
11   text-indent: 0;
12   border: 1px solid #dcdcdc;
13   display: inline-block;
14   color: #777777;
15   padding: 5px 10px;
16   text-align: center;
17 }
18 a.btn, a.btn:hover {
19   text-decoration: none;
20   color: inherit;
21 }
22
23 .menu-popup .divider {
24   height: 1px;
25   margin: 3px 0;
26   overflow: hidden;
27   background-color: #2d2d2d;
28 }
29
30 .overline {
31   text-decoration: overline;
32 }
33
34 /* List of social Networks */
35 img.connector, img.connector-disabled {
36   height: 40px;
37   margin-right: 10px;
38   border-radius: 10px;
39 }
40
41 img.connector-disabled {
42   opacity: 0.5;
43 }
44
45 h3.connector {
46   display: inline-block;
47   vertical-align: bottom;
48 }
49 span.connector {
50   vertical-align: super;
51 }
52
53 /* Embedded link information */
54 .type-link, .type-video {
55   border-top: 1px solid #D2D2D2;
56   border-bottom: 1px solid #D2D2D2;
57   display: block;
58   padding-top: 5px;
59   padding-bottom: 5px;
60   margin-top: 10px;
61 }
62
63 .type-link:after, .type-video:after,
64 .oembed.video:after {
65   content: ".";
66   display: block;
67   height: 0;
68   clear: both;
69   visibility: hidden;
70 }
71
72 .type-video .oembed.video:after {
73   float: left;
74 }
75
76 .wall-item-container .wall-item-content .type-link img,
77 .type-link img, .type-video img, img.attachment-preview {
78   max-width: 160px;
79   max-height: 160px;
80   float: left;
81   margin-right: 10px;
82 }
83
84 .wall-item-container .wall-item-content .type-link img.attachment-image,
85 .type-link img.attachment-image, .type-video img.attachment-image  {
86   /* max-width: 640px; */
87   max-width: 100%;
88   max-height: initial;
89   float: initial;
90   margin-right: 0px;
91 }
92
93 .type-link blockquote, .type-video blockquote {
94   margin-left: 0px;
95   max-height: 160px;
96   overflow: hidden;
97   border-left: 0px;
98   padding-left: 0px;
99   font-size: 13px;
100   line-height: normal;
101 }
102
103 .type-link .oembed, .type-video .oembed {
104   font-size: 18px;
105   font-weight: 300;
106   line-height: normal;
107 }
108 .type-link img, .type-video img {
109 }
110
111 .type-video .embed_video {
112   margin: 0em;
113 }
114
115 .type-link span.oembed + br, .type-video span.oembed + br,
116 .type-link a + br, .type-video a + br,
117 .type-link img + br, .type-video img + br{
118   display: none;
119 }
120
121 .embed_video {
122   float:left;
123   margin: 1em;
124   position: relative;
125 }
126
127 .embed_video.active {
128   float: none;
129 }
130
131 .oembed.video .embed_video > div {
132   position: absolute;
133   top: 0px;
134   left: 0px;
135 }
136 .embed_rich {
137   display: block;
138   transition: height .75s;
139 }
140
141 /* Shared Messages */
142 .shared_header {
143   min-height: 32px;
144   color: #999;
145   border-top: 1px solid #D2D2D2;
146   padding-top: 5px;
147   margin-top: 5px;
148 }
149
150 .shared_header a {
151   color: black;
152   -webkit-transition: all 0.2s ease-in-out;
153   -moz-transition: all 0.2s ease-in-out;
154   -o-transition: all 0.2s ease-in-out;
155   -ms-transition: all 0.2s ease-in-out;
156   transition: all 0.2s ease-in-out;
157 }
158
159 .shared_header a:hover {
160   color: #36c;
161 }
162
163 .shared_header img {
164   -webkit-border-radius: 4px;
165   -moz-border-radius: 4px;
166   border-radius: 4px;
167   float: left;
168   margin-right: 9px;
169 }
170
171 .shared_header span {
172   display: table-cell;
173   float: none;
174 }
175
176 blockquote.shared_content {
177   margin-left: 32px;
178   color: #000;
179   border: none;
180 }
181
182 /* Events */
183 .event-summary {
184   margin: 0px 0px 10px 0px;
185   font-weight: bold;
186 }
187
188 .vevent .event-summary {
189   margin: 0px 0px 10px 0px;
190 }
191
192 .vevent .event-description {
193   padding: 10px 0;
194 }
195
196 .event-label {
197   font-weight: bold;
198 }
199
200 .settings-heading a:after{
201   content: ' »';
202 }
203
204 #profile-photo-wrapper {
205   overflow: hidden;
206 }
207
208 /* headers */
209 h1, h2, h3, h4, h5, h6 {
210   margin: 5px 0px 5px 0px;
211   font-weight: normal;
212   line-height: normal;
213   text-rendering: optimizelegibility;
214 }
215
216 h1 {
217   font-size: 31.5px;
218 }
219
220 h2 {
221   font-size: 24.5px;
222 }
223
224 h3 {
225   font-size: 20.5px;
226 }
227
228 h4 {
229   font-size: 18px;
230 }
231
232 h5 {
233   font-size: 16.5px;
234 }
235
236 h6 {
237   font-size: 14.95px;
238 }
239
240 span.oembed, h4 {
241   margin: 0px 0px 0px 0px;
242 }
243
244 code {
245   display: block;
246   background-color: #eee;
247   color: #666;
248   padding: 1em;
249   font-size: 0.85em;
250   font-family: monospace;
251 }
252 key {
253   display: inline;
254   background-color: #eee;
255   color: #666;
256   padding: 0.2em;
257   font-size: 0.85em;
258   font-family: monospace;
259 }
260
261 /* fields help text */
262 .field .field_help {
263   clear: left;
264 }
265
266 /* notifications unseen */
267 .notify-unseen { background-color: #cceeFF; }
268
269 /* autocomplete popup */
270 ul.acpopup {
271   list-style: none;
272   float: left;
273   min-width: 160px;
274   padding: 5px 0;
275   margin: 2px 0 0;
276 }
277 nav .acpopup {
278   width: 290px;
279   max-height: 450px;
280   max-width: 300px;
281   overflow-y: auto;
282   overflow-x: hidden;
283   margin-top: 0px;
284 }
285 img.acpopup-img {
286   float: left;
287   width: 36px;
288   height: 36px;
289   margin-right: 5px;
290   vertical-align: middle;
291 }
292 .acpopup-contactname {
293   padding-top: 2px;
294   font-weight: bold;
295   line-height: 1em;
296   white-space: nowrap;
297   overflow: hidden;
298   text-overflow: ellipsis;
299   display: block;
300 }
301 .acpopup-sub-text {
302   color: #777;
303   font-size: 0.833em;
304   line-height: 1em;
305   overflow: hidden;
306   text-overflow: ellipsis;
307   display: block;
308 }
309 .textcomplete-item a {
310   color: inherit;
311   overflow: hidden;
312   text-overflow: ellipsis;
313   clear: both;
314   white-space: nowrap;
315   padding: 3px 20px;
316   display: block;
317 }
318 .textcomplete-item a:hover {
319   text-decoration: none;
320 }
321
322 /* plain text editor upload/select popup */
323
324 .fbrowser .path a, .fbrowser .path .btn-link { padding: 5px; }
325 .fbrowser .path a:before, .fbrowser .path .btn-link:before { content: "/"; padding-right: 5px;}
326 .fbrowser .folders ul { list-style-type: none; padding-left: 10px;}
327 .fbrowser .list { height: auto; overflow-y: hidden; margin: 10px 0px; }
328 .fbrowser.image .photo-album-image-wrapper { float: left; }
329 .fbrowser.image a img, .fbrowser.image .btn-link img { height: 48px; }
330 .fbrowser.image a p, .fbrowser.image .btn-link p { display: none;}
331 .fbrowser.file .photo-album-image-wrapper { float:none;  white-space: nowrap; }
332 .fbrowser.file img { display: inline; }
333 .fbrowser.file p  { display: inline; white-space: nowrap; }
334 .fbrowser .upload { clear: both; padding-top: 1em;}
335 .fbrowser .error { background: #ffeeee; border: 1px solid #994444; color: #994444; padding: 0.5em;}
336 .fbrowser .error .close { float: right; font-weight: bold; }
337 .fbrowser .error.hidden { display: none; }
338
339 a {
340   cursor: pointer;
341 }
342
343 .sr-only {
344   position: absolute;
345   width: 1px;
346   height: 1px;
347   padding: 0;
348   margin: -1px;
349   overflow: hidden;
350   clip: rect(0,0,0,0);
351   border: 0;
352 }
353
354 .itentity-match-wrapper {
355   float: left;
356   padding: 10px;
357   width: 120px;
358   height: 140px;
359   margin-bottom: 20px;
360 }
361
362 .identity-match-photo {
363   float: left;
364   text-align: center;
365   width: 120px;
366 }
367
368 .identity-match-name {
369   text-align: center;
370 }
371
372 .identity-match-details {
373   float: left;
374   text-align: center;
375   width: 120px;
376   overflow: hidden;
377   font-size: 10px;
378   font-weight: 500;
379   color: #999999;
380 }
381
382 .identity-match-break, .identity-match-end {
383   clear: both;
384 }
385
386 .identity-match-photo button {
387   border: none;
388   padding: 0;
389   margin: 0;
390   background: none;
391   height: 80px;
392   width: 80px;
393   cursor: pointer;
394 }
395
396 .selected-identity img {
397   border: 2px solid #ff0000;
398 }
399 /* poke */
400 #poke-desc {
401   margin: 5px 0 10px;
402 }
403
404 #poke-wrapper  {
405   padding: 10px 0 0px;
406 }
407
408 #poke-recipient, #poke-action, #poke-privacy-settings {
409   margin: 10px 0 30px;
410 }
411
412 #poke-recip-label, #poke-action-label, #prvmail-message-label {
413   margin: 10px 0 10px;
414 }
415 .version-match {
416   font-weight: bold;
417   color: #00a700;
418 }
419 .federation-graph {
420   margin: 0 auto;
421   float: right;
422 }
423 .federation-network-graph {
424   float: left;
425   margin: 20px;
426 }
427 ul.federation-stats,
428 ul.credits {
429   list-style: none;
430 }
431 ul.federation-stats li,
432 ul.credits li {
433   float: left;
434   width: 240px;
435 }
436 table#federation-stats {
437   width: 100%;
438 }
439 td.federation-data {
440   border-bottom: 1px solid #000;
441 }
442
443 .contact-entry-photo img {
444   max-width: 80px;
445   max-height: 80px;
446 }
447
448 /* forumlist widget */
449 .forumlist-img {
450   height: 20px;
451   width: 20px;
452   vertical-align: middle;
453 }
454
455 #forum-widget-collapse {
456   opacity: 0.3;
457 }
458
459 #forum-widget-collapse:hover {
460   opacity: 1.0;
461 }
462
463 .crepair-label {
464   margin-top: 10px;
465   float: left;
466   width: 250px;
467 }
468
469 .crepair-input {
470   margin-top: 10px;
471   float: left;
472   width: 200px;
473 }
474
475 .renderinfo {
476   clear: both;
477 }
478
479 .p-addr {
480   clear: both;
481 }
482
483 #live-community {
484   clear: both;
485 }
486
487 /* contact-edit */
488 #contact-edit-status-wrapper {
489   border: 1px solid;
490   padding: 10px;
491 }
492 #contact-edit-actions {
493   float: right;
494   display: inline-block;
495   position: relative;
496 }
497 #contact-edit-actions > .menu-popup {
498   right: 0;
499   left: auto;
500 }
501
502 #contact-edit-settings-label:after {
503   content: ' »';
504 }
505
506 #contact-edit-settings {
507   display: none;
508   margin: 10px 0;
509 }
510
511 /* settings page */
512 #settings-form .pageflags {
513     margin: 0 0 20px 30px;
514 }
515
516 /* admin pending user notes */
517 td.pendingnote {
518   padding-left: 20px;
519   padding-right: 20px;
520 }
521 td.pendingnote > p > span {
522   font-weight: bold;
523 }
524
525 /* warning message */
526 .warning-message {
527   padding: 10px;
528   margin: 5px;
529   border-left: 5px solid #f00;
530   font-weight: bold;
531 }
532
533 /* src/href attributes filter error display */
534 .invalid-src { border: 1px dotted red;}
535 .invalid-href { border-bottom: 1px dotted red;}
536 .invalid-src:after,
537 .invalid-href:after { content: '⚠️'}
538 img.invalid-src:after { vertical-align: top;}
539
540 /* Tag cloud */
541 .tag1, .tag1:hover {
542   font-size: 0.9em ;
543   color: DarkGray;
544 }
545 .tag2, .tag2:hover {
546   font-size: 1.0em;
547   color: LawnGreen;
548 }
549 .tag3, .tag3:hover {
550   font-size: 1.1em;
551   color: DarkOrange;
552 }
553 .tag4, .tag4:hover {
554   font-size: 1.2em;
555   color: Red;
556 }
557 .tag5, .tag5:hover {
558   font-size: 1.3em;
559   color: Gold;
560 }
561 .tag6, .tag6:hover {
562   font-size: 1.4em;
563   color: Teal;
564 }
565 .tag7, .tag7:hover {
566   font-size: 1.5em;
567   color: DarkMagenta;
568 }
569 .tag8, .tag8:hover {
570   font-size: 1.6em;
571   color: DarkGoldenRod;
572 }
573 .tag9, .tag9:hover {
574   font-size: 1.7em;
575   color: DarkBlue;
576 }
577 .tag10 .tag10:hover {
578   font-size: 1.8em;
579   color: DeepPink;
580 }
581 .tags > a:hover {
582   text-decoration: underline;
583 }
584 .tag-cloud {
585   word-wrap: break-word;
586 }