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