]> git.mxchange.org Git - friendica.git/blob - view/global.css
Merge pull request #4961 from annando/direct-dfrn
[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   clear: both;
206   overflow: hidden;
207 }
208
209 #newmember-tips {
210   font-size: 1.2em;
211   float: right;
212   margin-top: -32px;
213   padding-right: 10px;
214 }
215
216 /* headers */
217 h1, h2, h3, h4, h5, h6 {
218   margin: 5px 0px 5px 0px;
219   font-weight: normal;
220   line-height: normal;
221   text-rendering: optimizelegibility;
222 }
223
224 h1 {
225   font-size: 31.5px;
226 }
227
228 h2 {
229   font-size: 24.5px;
230 }
231
232 h3 {
233   font-size: 20.5px;
234 }
235
236 h4 {
237   font-size: 18px;
238 }
239
240 h5 {
241   font-size: 16.5px;
242 }
243
244 h6 {
245   font-size: 14.95px;
246 }
247
248 span.oembed, h4 {
249   margin: 0px 0px 0px 0px;
250 }
251
252 code {
253   display: block;
254   background-color: #eee;
255   color: #666;
256   padding: 1em;
257   font-size: 0.85em;
258   font-family: monospace;
259 }
260 key {
261   display: inline;
262   background-color: #eee;
263   color: #666;
264   padding: 0.2em;
265   font-size: 0.85em;
266   font-family: monospace;
267 }
268
269 /* fields help text */
270 .field .field_help {
271   clear: left;
272 }
273
274 /* notifications unseen */
275 .notify-unseen { background-color: #cceeFF; }
276
277 /* autocomplete popup */
278 ul.acpopup {
279   list-style: none;
280   float: left;
281   min-width: 160px;
282   padding: 5px 0;
283   margin: 2px 0 0;
284 }
285 nav .acpopup {
286   width: 290px;
287   max-height: 450px;
288   max-width: 300px;
289   overflow-y: auto;
290   overflow-x: hidden;
291   margin-top: 0px;
292 }
293 img.acpopup-img {
294   float: left;
295   width: 36px;
296   height: 36px;
297   margin-right: 5px;
298   vertical-align: middle;
299 }
300 .acpopup-contactname {
301   padding-top: 2px;
302   font-weight: bold;
303   line-height: 1em;
304   white-space: nowrap;
305   overflow: hidden;
306   text-overflow: ellipsis;
307   display: block;
308 }
309 .acpopup-sub-text {
310   color: #777;
311   font-size: 0.833em;
312   line-height: 1em;
313   overflow: hidden;
314   text-overflow: ellipsis;
315   display: block;
316 }
317 .textcomplete-item a {
318   color: inherit;
319   overflow: hidden;
320   text-overflow: ellipsis;
321   clear: both;
322   white-space: nowrap;
323   padding: 3px 20px;
324   display: block;
325 }
326 .textcomplete-item a:hover {
327   text-decoration: none;
328 }
329
330 /* plain text editor upload/select popup */
331
332 .fbrowser .path a, .fbrowser .path .btn-link { padding: 5px; }
333 .fbrowser .path a:before, .fbrowser .path .btn-link:before { content: "/"; padding-right: 5px;}
334 .fbrowser .folders ul { list-style-type: none; padding-left: 10px;}
335 .fbrowser .list { height: auto; overflow-y: hidden; margin: 10px 0px; }
336 .fbrowser.image .photo-album-image-wrapper { float: left; }
337 .fbrowser.image a img, .fbrowser.image .btn-link img { height: 48px; }
338 .fbrowser.image a p, .fbrowser.image .btn-link p { display: none;}
339 .fbrowser.file .photo-album-image-wrapper { float:none;  white-space: nowrap; }
340 .fbrowser.file img { display: inline; }
341 .fbrowser.file p  { display: inline; white-space: nowrap; }
342 .fbrowser .upload { clear: both; padding-top: 1em;}
343 .fbrowser .error { background: #ffeeee; border: 1px solid #994444; color: #994444; padding: 0.5em;}
344 .fbrowser .error .close { float: right; font-weight: bold; }
345 .fbrowser .error.hidden { display: none; }
346
347 a {
348   cursor: pointer;
349 }
350
351 .sr-only {
352   position: absolute;
353   width: 1px;
354   height: 1px;
355   padding: 0;
356   margin: -1px;
357   overflow: hidden;
358   clip: rect(0,0,0,0);
359   border: 0;
360 }
361
362 .itentity-match-wrapper {
363   float: left;
364   padding: 10px;
365   width: 120px;
366   height: 140px;
367   margin-bottom: 20px;
368 }
369
370 .identity-match-photo {
371   float: left;
372   text-align: center;
373   width: 120px;
374 }
375
376 .identity-match-name {
377   text-align: center;
378 }
379
380 .identity-match-details {
381   float: left;
382   text-align: center;
383   width: 120px;
384   overflow: hidden;
385   font-size: 10px;
386   font-weight: 500;
387   color: #999999;
388 }
389
390 .identity-match-break, .identity-match-end {
391   clear: both;
392 }
393
394 .identity-match-photo button {
395   border: none;
396   padding: 0;
397   margin: 0;
398   background: none;
399   height: 80px;
400   width: 80px;
401   cursor: pointer;
402 }
403
404 .selected-identity img {
405   border: 2px solid #ff0000;
406 }
407 /* poke */
408 #poke-desc {
409   margin: 5px 0 10px;
410 }
411
412 #poke-wrapper  {
413   padding: 10px 0 0px;
414 }
415
416 #poke-recipient, #poke-action, #poke-privacy-settings {
417   margin: 10px 0 30px;
418 }
419
420 #poke-recip-label, #poke-action-label, #prvmail-message-label {
421   margin: 10px 0 10px;
422 }
423 .version-match {
424   font-weight: bold;
425   color: #00a700;
426 }
427 .federation-graph {
428   margin: 0 auto;
429   float: right;
430 }
431 .federation-network-graph {
432   float: left;
433   margin: 20px;
434 }
435 ul.federation-stats,
436 ul.credits {
437   list-style: none;
438 }
439 ul.federation-stats li,
440 ul.credits li {
441   float: left;
442   width: 240px;
443 }
444 table#federation-stats {
445   width: 100%;
446 }
447 td.federation-data {
448   border-bottom: 1px solid #000;
449 }
450
451 .contact-entry-photo img {
452   max-width: 80px;
453   max-height: 80px;
454 }
455
456 /* forumlist widget */
457 .forumlist-img {
458   height: 20px;
459   width: 20px;
460   vertical-align: middle;
461 }
462
463 #forum-widget-collapse {
464   opacity: 0.3;
465 }
466
467 /* help widget */
468 aside .help-aside-wrapper ul {
469   padding-left: 1em;
470 }
471
472 aside .help-aside-wrapper h1 {
473   font-size:2em
474 }
475
476 .md_warning {
477   padding: 1em;
478   border: #ff0000 solid 2px;
479   background-color: #f9a3a3;
480   color: #ffffff;
481 }
482
483 #forum-widget-collapse:hover {
484   opacity: 1.0;
485 }
486
487 .crepair-label {
488   margin-top: 10px;
489   float: left;
490   width: 250px;
491 }
492
493 .crepair-input {
494   margin-top: 10px;
495   float: left;
496   width: 200px;
497 }
498
499 .renderinfo {
500   clear: both;
501 }
502
503 .p-addr {
504   clear: both;
505 }
506
507 #live-community {
508   clear: both;
509 }
510
511 /* contact-edit */
512 #contact-edit-status-wrapper {
513   border: 1px solid;
514   padding: 10px;
515 }
516 #contact-edit-actions {
517   float: right;
518   display: inline-block;
519   position: relative;
520 }
521 #contact-edit-actions > .menu-popup {
522   right: 0;
523   left: auto;
524 }
525
526 #contact-edit-settings-label:after {
527   content: ' »';
528 }
529
530 #contact-edit-settings {
531   display: none;
532   margin: 10px 0;
533 }
534
535 /* settings page */
536 #settings-form .pageflags {
537     margin: 0 0 20px 30px;
538 }
539
540 /* admin pending user notes */
541 td.pendingnote {
542   padding-left: 20px;
543   padding-right: 20px;
544 }
545 td.pendingnote > p > span {
546   font-weight: bold;
547 }
548
549 /* warning message */
550 .warning-message {
551   padding: 10px;
552   margin: 5px;
553   border-left: 5px solid #f00;
554   font-weight: bold;
555 }
556
557 /* src/href attributes filter error display */
558 .invalid-src { border: 1px dotted red;}
559 .invalid-href { border-bottom: 1px dotted red;}
560 .invalid-src:after,
561 .invalid-href:after { content: '⚠️'}
562 img.invalid-src:after { vertical-align: top;}
563
564 /* Tag cloud */
565 .tag1, .tag1:hover {
566   font-size: 0.9em ;
567   color: DarkGray;
568 }
569 .tag2, .tag2:hover {
570   font-size: 1.0em;
571   color: LawnGreen;
572 }
573 .tag3, .tag3:hover {
574   font-size: 1.1em;
575   color: DarkOrange;
576 }
577 .tag4, .tag4:hover {
578   font-size: 1.2em;
579   color: Red;
580 }
581 .tag5, .tag5:hover {
582   font-size: 1.3em;
583   color: Gold;
584 }
585 .tag6, .tag6:hover {
586   font-size: 1.4em;
587   color: Teal;
588 }
589 .tag7, .tag7:hover {
590   font-size: 1.5em;
591   color: DarkMagenta;
592 }
593 .tag8, .tag8:hover {
594   font-size: 1.6em;
595   color: DarkGoldenRod;
596 }
597 .tag9, .tag9:hover {
598   font-size: 1.7em;
599   color: DarkBlue;
600 }
601 .tag10 .tag10:hover {
602   font-size: 1.8em;
603   color: DeepPink;
604 }
605 .tags > a:hover {
606   text-decoration: underline;
607 }
608 .tag-cloud {
609   word-wrap: break-word;
610 }