]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/quattro.less
make use of global.css
[friendica.git] / view / theme / quattro / quattro.less
1 // Quattro Theme LESS file
2
3 /* global */
4 body {
5         font-family: Liberation Sans,helvetica,arial,clean,sans-serif;
6         font-size: 11px;
7         background-color: @BodyBackground;
8         color: @BodyColor;
9         margin: 50px 0px 0px 0px;
10         display:table;
11 }
12 h4 { font-size: 1.1em }
13
14 .shadow(@x: 0px, @y: 5px){
15         -webkit-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
16         -moz-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
17         box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
18 }
19
20 .rounded(@tr: 5px, @tl: 5px, @bl: 5px, @br: 5px){
21         -moz-border-radius: @arguments;
22         -webkit-border-radius: @arguments;
23         border-radius: @arguments;
24 }
25 .roundbottom (@radius: 5px){ .rounded(0, 0, @radius, @radius); }
26 .roundtop (@radius: 5px){ .rounded(@radius, @radius, 0, 0); }
27
28 .opaque(@v: 0.5){
29         opacity: @v;
30         .transition();
31 }
32
33 .transition(@d: 0.2s){
34         -webkit-transition: all @d ease-in-out;
35         -moz-transition: all @d ease-in-out;
36         -o-transition: all @d ease-in-out;
37         -ms-transition: all @d ease-in-out;
38         transition: all @d ease-in-out;
39 }
40
41
42 a, a:link { color: @Link; text-decoration: none; }
43 a:visited { color: @LinkVisited; text-decoration: none; }
44 a:hover {color: @LinkHover; text-decoration: underline; }
45
46 .left { float: left; }
47 .right { float: right; }
48 .hidden { display: none; }
49 .clear { clear: both; }
50
51 .fakelink { color: @Link; text-decoration: none; cursor:pointer; }
52 .fakelink:hover { color: @LinkHover; text-decoration: underline; }
53
54 blockquote {
55         background:@BlockquoteBackgroundColor;
56         padding: 1em;
57         margin-left: 1em;
58         border-left: 1em solid @BlockquoteBorderColor;
59
60 }
61
62 code {
63         font-family: Courier, monospace;
64         white-space: pre;
65         display: block;
66         overflow: auto;
67         border: 1px solid #444;
68         background: #EEE;
69         color: #444;
70         padding: 10px;
71         margin-top: 20px;
72 }
73
74 #panel {
75         position: absolute;
76         width: 10em;
77         background: @MenuBg;
78         color: @Menu;
79         margin: 0px;
80         padding: 1em;
81         list-style: none;
82         border: 3px solid @MenuBorder;
83         z-index: 100000;
84
85         .shadow();
86 }
87
88
89
90 /* tool */
91
92 .tool {
93         height: auto; overflow: auto;
94         .label { float: left;}
95         .action { float: right; }
96         > img { float: left; }
97 }
98
99
100
101
102 /* popup notifications */
103 #jGrowl.top-right {
104         top: 30px;
105         right: 15px;
106 }
107 div.jGrowl div.notice {
108         background: @NoticeBackgroundColor url("../../../images/icons/48/notice.png") no-repeat 5px center;
109         color:  @NoticeColor;
110         padding-left: 58px;
111 }
112 div.jGrowl div.info {
113         background: @InfoBackgroundColor url("../../../images/icons/48/info.png") no-repeat 5px center;
114         color:  @InfoColor;
115         padding-left: 58px;
116 }
117
118 /* notifications page */
119 .notif-item {
120         padding: 0.5em;
121         &:nth-child(even) { background-color: @NotificationsPageListEvenBackground; }
122         &:nth-child(odd) { background-color: @NotificationsPageListOddBackground; }
123         .notif-image { width: 16px; }
124 }
125
126
127 /* header */
128 header {
129         position: fixed; left: 43%; right: 43%; top: 0px;
130         margin: 0px; padding: 0px;
131         /*width: 100%; height: 12px; */
132         z-index: 110;
133         color: @Grey1;
134         #site-location {
135                 display: none;
136         }
137
138         #banner {
139                 overflow: hidden;
140                 text-align: center;
141                 width: 100%;
142                 a, a:active, a:visited, a:link, a:hover { color: @Grey1; text-decoration: none; outline: none; vertical-align: bottom; }
143                 #logo-img { height: 22px; margin-top:5px;}
144                 #logo-text { font-size: 22px }
145         }
146 }
147 /* nav */
148 nav {
149         width: 100%; height: 32px;
150         position: fixed; left: 0px; top: 0px;
151         padding: 0px;
152         background-color: @NavbarBackground;
153         color: @Grey1;
154         z-index: 100;
155         .shadow(0px, 0px);
156
157                 a, a:active, a:visited, a:link, a:hover { color: @Banner; text-decoration: none; outline: none;  }
158
159                 ul {
160                         margin: 0px;
161                         padding: 0px 20px;
162                         li {
163                                 list-style: none;
164                                 margin: 0px; padding: 0px;
165                                 float: left;
166                                 .menu-popup{ left: 0px; right: auto; }
167                         }
168
169                 }
170
171                 .nav-menu-icon {
172                         position: relative;
173                         height: 22px;
174                         padding: 5px;
175                         margin: 0px 10px;
176                         .roundtop();
177
178                         &.selected {
179                                 background-color: @NavbarSelectedBg;
180                         }
181
182                                 img { width: 22px; height: 22px; }
183                                 .nav-notify { top: 3px; }
184                 }
185
186                 .nav-menu {
187                         position: relative;
188                         height: 16px;
189                         padding: 5px;
190                         margin: 3px 15px 0px;
191                         font-size: 14px;
192                         border-bottom: 3px solid @NavbarBackground;
193                         &.selected {
194                                 border-bottom: 3px solid @NavbarSelectedBorder;
195                         }
196
197                 }
198
199                 .nav-notify {
200                         display: none;
201                         position: absolute;
202                         background-color: @NavbarNotifBg;
203                         .rounded();
204                         font-size: 10px;
205                         padding: 1px 3px;
206                         top: 0px;
207                         right: -10px;
208                         min-width: 15px;
209                         text-align: right;
210
211                                 &.show{ display: block; }
212                 }
213
214
215                 #nav-help-link,
216                 #nav-search-link,
217                 #nav-directory-link,
218                 #nav-apps-link,
219                 #nav-site-linkmenu {
220                         float: right;
221                         .menu-popup{ right: 0px; left: auto; }
222                 }
223
224                 #nav-notifications-linkmenu.on .icon.s22.notify,
225                 #nav-notifications-linkmenu.selected .icon.s22.notify   { background-image: url("../../../images/icons/22/notify_on.png") }
226                 #nav-introductions-link.on .icon.s22.intro,
227                 #nav-introductions-link.selected .icon.s22.intro        { background-image: url("icons/contacts_on.png") }
228                 #nav-messages-link.on .icon.s22.mail,
229                 #nav-messages-link.selected .icon.s22.mail              { background-image: url("icons/messages_on.png") }
230                 #nav-apps-link.selected { background-color: @NavbarSelectedBg; }
231 }
232
233
234 ul.menu-popup {
235         position: absolute;
236         display: none;
237         width: 10em;
238         background: @MenuBg;
239         color: @Menu;
240         margin: 0px;
241         padding: 0px;
242         list-style: none;
243         border: 3px solid @MenuBorder;
244         z-index: 100000;
245
246         .shadow();
247
248                 a { display: block; color: @MenuItem; padding: 5px 10px; text-decoration: none;}
249                 a:hover { background-color: @MenuItemHoverBg; }
250                 .menu-sep  { border-top: 1px solid @MenuItemSeparator; }
251                 li { float: none;  overflow: auto; height: auto; display: block; }
252                 li img { float: left; width: 16px; height: 16px; padding-right: 5px;}
253                 .empty {
254                         padding: 5px;
255                         text-align: center;
256                         color: @MenuEmpty;
257                 }
258                 .toolbar {
259                         background-color:  @MenuEmpty;
260                         height: auto; overflow: auto;
261                         a { float: right; }
262                         a:hover { background-color: @MenuBg; }
263                 }
264
265 }
266
267 /* autocomplete popup */
268 .autocomplete,
269 .acpopup {
270         max-height:150px;
271         background-color:@MenuBg;
272         color: @Menu;
273         border:1px solid @MenuBorder;
274         overflow:auto;
275         z-index:100000;
276         .shadow();
277 }
278 .autocomplete > div,
279 .acpopupitem {
280         color: @MenuItem; padding: 4px;
281         clear:left;
282         overflow: auto;
283         height: auto;
284         img {
285                 float: left;
286                 margin-right: 4px;
287                 width: 16px !important;
288                 height: 16px !important;
289         }
290         &.selected{
291                 background-color: @MenuItemHoverBg;
292         }
293 }
294
295
296 #nav-notifications-menu {
297         width: 400px; max-height: 550px;
298         overflow: auto;
299         img { float: left; margin-right: 5px; }
300         .contactname { font-weight: bold; }
301         .notif-when { font-size: 10px; color: @MenuItemDetail; display: block; }
302 }
303
304
305
306
307 /* aside 230px*/
308 aside {
309         display: table-cell;
310         vertical-align: top;
311         width: 200px;
312         padding:0px 10px 0px 20px;
313         border-right: 1px solid @AsideBorder;
314
315         .profile-edit-side-div { display: none; }
316
317         .vcard {
318                 .fn { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
319                 .title { margin-bottom: 5px; }
320                 dl { height: auto; overflow: auto; }
321                 dt {float: left; margin-left: 0px; width: 35%; text-align: right; color: @VCardLabelColor; }
322                 dd {float: left; margin-left: 4px; width: 60%;}
323
324         }
325
326         #profile-extra-links {
327                 ul { padding: 0px; margin: 0px; }
328                 li { padding: 0px; margin: 0px; list-style: none; }
329         }
330
331         #wallmessage-link {
332                 display: block;
333                 .rounded();
334                 color: @AsideConnect;
335                 background: @AsideConnectBg url('../../../images/connect-bg.png') no-repeat left center;
336                 font-weight: bold;
337                 text-transform:uppercase;
338                 padding: 4px 2px 2px 35px;
339                 margin-top: 3px;
340
341                 &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; }
342         }
343         #dfrn-request-link {
344                 display: block;
345                 .rounded();
346                 color: @AsideConnect;
347                 background: @AsideConnectBg url('../../../images/connect-bg.png') no-repeat left center;
348                 font-weight: bold;
349                 text-transform:uppercase;
350                 padding: 4px 2px 2px 35px;
351
352                 &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; }
353         }
354
355         #profiles-menu { width: 20em; }
356
357         .posted-date-selector-months { margin-left: 10px; }
358 }
359
360 #contact-block {
361         overflow: auto; height: auto;
362         .contact-block-h4 { float: left; margin: 5px 0px; }
363         .allcontact-link { float: right; margin: 5px 0px; }
364         .contact-block-content {
365                 clear: both;
366                 overflow: hidden;
367                 height: auto;
368         }
369         /*.contact-block-div { width:60px; height: 60px; }*/
370         .contact-block-link {
371                 float: left;
372                 margin: 0px 2px 2px 0px;
373                 img { width: 48px; height: 48px; }
374         }
375 }
376
377 /* group member */
378 #contact-edit-drop-link,
379 .mail-list-delete-wrapper,
380 .group-delete-wrapper {
381         float: right;
382         margin-right: 50px;
383         .drophide {
384             background-image: url('../../../images/icons/22/delete.png');
385             display: block; width: 22px; height: 22px;
386             opacity: 0.3;
387             position: relative;
388             top: -50px;
389         }
390         .drop {
391             background-image: url('../../../images/icons/22/delete.png');
392             display: block; width: 22px; height: 22px;
393             position: relative;
394             top: -50px;
395         }
396 }
397 /*
398 #group-members {
399         margin-top: 20px;
400         padding: 10px;
401         height: 250px;
402         overflow: auto;
403         border: 1px solid #ddd;
404 }
405 #group-members-end {
406         clear: both;
407 }
408 #group-all-contacts {
409         padding: 10px;
410         height: 450px;
411         overflow: auto;
412         border: 1px solid #ddd;
413 }
414 #group-all-contacts-end {
415         clear: both;
416         margin-bottom: 10px;
417 }
418 .contact-block-div {
419         float: left;
420         width: 60px;
421         height: 60px;
422 }*/
423
424 /* widget */
425 .widget {
426         margin-bottom: 2em;
427
428         h3 { padding: 0px; margin: 2px;}
429         .action { .opaque(0.1); }
430         input.action { .opaque(0.5); }
431         &:hover .title .action { .opaque(1); }
432         .tool:hover .action { .opaque(1); }
433         .tool:hover .action.ticked { .opaque(1); }
434
435         ul { padding: 0px;}
436         ul li {padding-left: 16px; min-height: 16px; list-style: none; }
437
438         .tool.selected {
439                 background: url('../../../images/selected.png') no-repeat left center;
440         }
441
442         /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;}
443         .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/
444
445 }
446
447 /* widget: search */
448 #add-search-popup {
449         width: 200px;
450         top: 18px;
451 }
452
453
454 /* section 800px */
455 section {
456         display: table-cell;
457         vertical-align: top;
458         width: 770px;
459         padding:0px 20px 0px 10px;
460 }
461
462 .sparkle {
463   cursor: url('icons/lock.cur'), pointer;
464 }
465
466 /* wall item */
467 .tread-wrapper {
468         background-color: @ThreadBackgroundColor;
469         position: relative;
470         padding: 10px;
471         margin-bottom: 20px;
472         width: 750px;
473         border-bottom: 1px solid @ThreadBottomBorderColor;
474 }
475 .wall-item-decor { position: absolute; left: 97%; top: -10px;  width: 16px;}
476 .unstarred { display: none; }
477
478 .wall-item-container {
479         display: table;
480         width: 750px;
481
482         .wall-item-item,
483         .wall-item-bottom { display: table-row; }
484
485         .wall-item-bottom { .opaque(0.5); }
486         &:hover .wall-item-bottom { .opaque(1); }
487         .wall-item-info {
488                 display: table-cell;
489                 vertical-align: top;
490                 text-align: left;
491                 width: 60px;
492
493         }
494         .wall-item-location {
495                 word-wrap: break-word;
496                 width: 50px;
497         }
498         .wall-item-content {
499                 display: table-cell;
500                 font-size: 12px;
501                 max-width: 720px;
502                 word-wrap: break-word;
503         }
504         .wall-item-content img { max-width: 700px; }
505         .wall-item-links,
506         .wall-item-actions {
507                 display: table-cell;
508                 vertical-align: middle;
509
510                 .icon {
511                         .opaque(0.5);
512                 }
513                 .icon:hover  {
514                         .opaque(1.0);
515                 }
516         }
517
518         .wall-item-ago { padding-right: 40px; }
519         .wall-item-name { font-weight: bold; }
520
521         .wall-item-actions-author { float: left; width: 20em; margin-top: 0.5em; }
522         .wall-item-actions-social { float: left; margin-top: 0.5em;
523                 a { margin-right: 3em; }
524          }
525         .wall-item-actions-tools { float: right; width: 15%;
526                 a { float: right; }
527                 input { float: right; }
528         }
529
530 }
531
532
533 .wall-item-container.comment {
534         .contact-photo-wrapper { margin-left: 16px; }
535         .contact-photo {
536                 width: 32px; height: 32px;
537         }
538
539         .contact-photo-menu-button {
540                 top: 15px !important;
541                 left: 0px !important;
542         }
543         .wall-item-links { padding-left: 12px; }
544
545         .commentbox {
546                 height: 0px;
547                 overflow: hidden;
548                 .wall-item-comment-wrapper {
549                         border-top: 1px solid @CommentBoxEmptyBorderColor;
550                         height: 0px; overflow: hidden;
551                 }
552                 .transition();
553         }
554
555         &:hover .commentbox {
556                 height:auto; overflow: visible;
557                 .wall-item-comment-wrapper {
558                         border-top: 0px;
559                         height:auto;overflow: visible;
560                 }
561                 .transition();
562         }
563 }
564
565 /* 'tag' item type */
566 .wall-item-container.item-tag {
567         .wall-item-content {
568                 .opaque(0.5);
569         }
570         .contact-photo-wrapper { margin-left: 32px; }
571         .contact-photo {
572                 width: 16px; height: 16px;
573         }
574         .contact-photo-menu-button {
575                 top: 15px !important;
576                 left: 15px !important;
577         }
578 }
579
580
581 .wall-item-comment-wrapper {
582         margin: 1em 2em 1em 60px;
583         .comment-edit-photo { display: none; }
584
585         textarea {
586                 height: 1em; width: 100%; font-size: 10px;
587                 color: @CommentBoxEmptyColor;
588                 border: 1px solid @CommentBoxEmptyBorderColor;
589                 padding:0.3em;
590         }
591         .comment-edit-text-full {
592                 height: 4em;
593                 color: @CommentBoxFullColor;
594                 border: 1px solid @CommentBoxFullBorderColor;
595         }
596
597         &.photo {
598                 margin: 1em 2em 1em 0px;
599         }
600 }
601
602 .threaded .wall-item-comment-wrapper { margin-left: 0px; }
603
604 .comment-edit-preview {
605         width: 710px;
606         border: 1px solid @Grey5;
607         margin-top: 10px;
608         background-color: @JotPreviewBackgroundColor;
609
610         .contact-photo { width: 32px; height: 32px; margin-left: 16px;
611                 /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/
612         }
613         .contact-photo-menu-button {
614                 top: 15px !important;
615                 left: 15px !important;
616         }
617         .wall-item-links { padding-left: 12px; }
618
619         .wall-item-container { width: 90%; }
620         .tread-wrapper {
621                 width: 90%; padding: 0; margin: 10px 0;
622                 background-color: @JotPreviewBackgroundColor;
623                 border-bottom: 0px;
624         }
625         .wall-item-conv { display: none; }
626 }
627
628 .shiny { border-right:10px solid @ShinyBorderColor; }
629 #jot-preview-content .tread-wrapper { background-color: @JotPreviewBackgroundColor; }
630
631 .hide-comments-outer {margin-bottom: 0.8em; }
632
633 .wall-item-tags { padding-top: 5px; }
634 .tag {
635         background: url("icons/tag.png") no-repeat center right;
636         color: @TagColor;
637         padding-right: 8px;
638         padding-left: 3px;
639         a { color: @TagColor;   }
640 }
641 .mention {
642         background: url("icons/men.png") no-repeat 1px center;
643         color: @MentionColor;
644         padding-right: 3px;
645         padding-left: 18px;
646         a { color: @MentionColor;       }
647 }
648 .folder {
649         background: url("icons/folder.png") no-repeat 1px center;
650         color: @MentionColor;
651         padding-right: 3px;
652         padding-left: 15px;
653         a { color: @MentionColor;       }
654 }
655 .category {
656         background: url("icons/category.png") no-repeat 1px center;
657         color: @MentionColor;
658         padding-right: 3px;
659         padding-left: 15px;
660         a { color: @MentionColor;       }
661 }
662 /*.filesavetags {
663     padding: 3px 0px 3px 0px;
664     opacity: 0.5;
665 }*/
666
667 .wwto {
668         position: absolute !important;
669         background: #FFFFFF;
670         border: 2px solid @Metalic3;
671         height: 25px;
672         width: 25px;
673         overflow: hidden;
674         padding: 1px;
675         top: 40px;
676         left: 30px;
677
678         .shadow(0px, 0px);
679 }
680 .wwto .contact-photo { width: 25px; height: 25px; }
681
682 /* reshare e embed */
683 .wall-item-container .wall-item-content .type-link img,
684 .type-link img {
685         max-width: 160px;
686         max-height: 160px;
687         float: left;
688         margin-right: 10px;
689
690             &.attachment-image {
691                     max-width: 650px;
692                     max-height: inital;
693                     float: none;
694                     margin-right: 0px;
695             }
696
697 }
698 .type-link {
699         blockquote {
700             margin: 1em 0px;
701             max-height: 160px;
702             overflow: hidden;
703                     padding-left: 1em;
704         }
705         .oembed {}
706 }
707
708 .type-video blockquote { padding-left: 1em; }
709
710 .shared_header {
711         height: 32px;
712         color: #999;
713         border-top: 1px solid @ThreadBottomBorderColor;
714         padding-top: 5px;
715         margin-top: 5px;
716
717         img {
718             -webkit-border-radius: 4px;
719             -moz-border-radius: 4px;
720             border-radius: 4px;
721             float: left;
722         }
723
724         span { margin-left: 9px; }
725 }
726
727
728 blockquote.shared_content {
729         margin-left: 32px;
730         color: #000;
731         border: none;
732 }
733
734
735 .oembed.video {
736         > a.embed_video {
737                 display: block;
738                 float: none;
739                 > div {
740                         background:
741                                 rgba(255, 255, 255, 0.36)
742                                 url(../../../images/icons/48/play.png)
743                                 no-repeat center center
744                                 !important;
745                 }
746         }
747 }
748
749
750 /* threaded comments */
751 .children {
752         margin-top: 1em;
753         .hide-comments-outer { margin-left:60px; }
754
755         .wwto { display: none; }
756
757         .comment-edit-preview { width: 660px;
758                 .wall-item-container { width: 610px; }
759          }
760
761         & .children {
762
763                 margin-left: 40px;
764                 .wall-item-container { width: 710px; }
765                 .comment-edit-preview { width: 620px;
766                         .wall-item-container { width: 620px; }
767                  }
768
769                 & .children {
770                         .wall-item-container { width: 670px; }
771                         .comment-edit-preview { width: 580px;
772                                 .wall-item-container { width: 580px; }
773                         }
774
775                         & .children {
776                                 .wall-item-container { width: 630px; }
777                                 .comment-edit-preview { width: 540px;
778                                         .wall-item-container { width: 540px; }
779                                 }
780
781                                 & .children {
782                                         .wall-item-container { width: 590px; }
783                                         .comment-edit-preview { width: 500px;
784                                                 .wall-item-container { width: 500px; }
785                                         }
786
787                                         .children {
788                                                 margin-left: 0px;
789                                                 .hide-comments-outer { margin-left: 0px; }
790                                         }
791                                 }
792                         }
793                 }
794         }
795 }
796 /*.threaded .hide-comments-outer { margin-left: 20px; }*/
797
798 span[id^="showmore-teaser"]{
799         background: url("showmore-bg.jpg") no-repeat center bottom;
800 }
801 span[id^="showmore-wrap"] {
802         border-top: 1px solid #999999;
803         color: #999999;
804         display: block;
805         text-align: center;
806         background-color: @ThreadBackgroundColor;
807 }
808
809
810 #pause {
811         position: fixed;
812         bottom: 5px;
813         right: 5px;
814 }
815
816
817 .contact-photo-wrapper { position: relative; }
818 .contact-select {       position: absolute; top:64px; left:64px; display:none; }
819 .contact-select:checked,
820 .contact-photo:hover .contact-select {  display:block; }
821 #contacts-actions {
822         position: absolute;
823         left: 800px;
824         width: 200px;
825         background-color: @MenuBg;
826         border: 2px solid @MenuBorder;
827         .batch-action {
828                 display: block;
829                 width: 100%;
830                 background-color: @MenuBg;
831                 border: 0px;
832                 color: @MenuItem;
833                 text-align: left;
834                 padding: 5px 10px;
835                 font-size: 11px;
836         }
837         .batch-action:hover {
838                 background-color: @MenuItemHoverBg;
839         }
840         display: none;
841 }
842 @media (max-width: 1000px) {
843         #contacts-actions { left: 40px; }
844 }
845
846 .contact-photo {
847         width: 48px; height: 48px;
848         img { width: 48px; height: 48px; }
849         overflow: hidden;
850         display: block;
851  }
852 .contact-photo-menu-button {
853         display: none;
854         position: absolute;
855         left: -2px;
856         top: 31px;
857 }
858
859 .contact-wrapper {
860         float: left;
861         width: 300px;
862         height: 90px;
863         padding-right: 10px;
864         margin: 0 10px 10px 0px;
865         .contact-photo-wrapper {
866                 float: left;
867                 margin-right: 10px;
868         }
869         .contact-photo {
870                 width: 80px; height: 80px;
871                 img { width: 80px; height: 80px; }
872         }
873         .contact-photo-menu-button {
874                 left: 0px;
875                 top: 63px;
876         }
877 }
878 .directory-item {
879         float: left;
880         width: 200px;
881         height: 200px;
882         .contact-photo {
883                 width: 175px; height: 175px;
884                 img { width: 175px; height: 175px; }
885         }
886 }
887 .contact-name { font-weight: bold; padding-top: 15px; }
888 .contact-details {
889         color: @Grey3; white-space: nowrap;
890         overflow: hidden;
891         text-overflow: ellipsis;
892 }
893
894 /* editor */
895 .jothidden { display: none; }
896 #jot {
897
898         width: 100%;
899         margin: 0px 2em 20px 0px;
900
901         .profile-jot-text {
902                 height: 1em; width: 99%; font-size: 10px;
903                 color: @CommentBoxEmptyColor;
904                 border: 1px solid @CommentBoxEmptyBorderColor;
905                 padding:0.3em;
906         }
907
908         #jot-tools {
909                 margin: 0px; padding: 0px;
910                 height: 40px; overflow: none;
911                 width: 770px;
912                 background-color: @JotToolsBackgroundColor;
913                 border-bottom: 2px solid @JotToolsBorderColor;
914                 li {
915                         list-style: none;
916                         float: left;
917                         width: 80px;
918                         height: 40px;
919                         border-bottom: 2px solid @JotToolsBorderColor;
920                         a {
921                                 display: block;
922                                 color: @JotToolsText;
923                                 width: 100%;
924                                 height:40px;
925                                 text-align: center;
926                                 line-height: 40px;
927                                 overflow: hidden;
928                         }
929                 }
930                 li:hover {
931                         background-color: @JotToolsOverBackgroundColor;
932                         border-bottom: 2px solid @JotToolsOverBorderColor;
933                 }
934                 li.perms {
935                         float: right;
936                         width: 40px;
937                         a.unlock {
938                                 width: 30px;
939                                 border-left: 10px solid @JotPermissionUnlockBackgroundColor;
940                                 background-color: @JotPermissionUnlockBackgroundColor;
941                         }
942                         a.lock {
943                                 width: 30px;
944                                 border-left: 10px solid @JotPermissionLockBackgroundColor;
945                                 background-color: @JotPermissionLockBackgroundColor;
946                         }
947
948                 }
949                 li.submit {
950                         float: right;
951                         background-color: @JotSubmitBackgroundColor;
952                         border-bottom: 2px solid @JotSubmitBackgroundColor;
953                         border-right: 1px solid @Grey4;
954                         border-left: 1px solid @Grey4;
955                         input {
956                                 border: 0px; margin: 0px; padding: 0px;
957                                 background-color: @JotSubmitBackgroundColor;
958                                 color: @JotSubmitText;
959                                 width: 80px; height: 40px;
960                                 line-height: 40px;
961                         }
962                         input:hover {
963                                 background-color: @JotSubmitOverBackgroundColor;
964                                 color: @JotSubmitOverText;
965                         }
966                 }
967                 li.loading {
968                         float: right;
969                         background-color: @JotLoadingBackgroundColor;
970                         width:  20px;
971                         vertical-align: center;
972                         text-align: center;
973                         img { margin-top: 10px; }
974                         border-top: 2px solid @JotToolsBorderColor;
975                         height: 38px;
976                 }
977         }
978
979         #jot-title {
980                 border: 0px;
981                 margin: 0px;
982                 height: 20px;
983                 width: 500px;
984                 font-weight: bold;
985                 border: 1px solid @BodyBackground;
986
987                 &:-webkit-input-placeholder {
988                         font-weight: normal;
989                 }
990
991                 &:-moz-placeholder {
992                         font-weight: normal;
993                 }
994
995                 &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
996                 &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
997         }
998
999         #character-counter {
1000                 width: 40px;
1001                 float: right;
1002                 text-align: right;
1003                 height: 20px;
1004                 line-height: 20px;
1005                 padding-right: 20px;
1006         }
1007
1008         #jot-category {
1009                 border: 0px;
1010                 margin: 0px;
1011                 height: 20px;
1012                 width: 200px;
1013                 border: 1px solid @BodyBackground;
1014                 &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
1015                 &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
1016         }
1017 }
1018
1019
1020 /** buttons **/
1021 /*input[type="submit"] {
1022         border: 0px;
1023     background-color: @ButtonBackgroundColor;
1024     color: @ButtonColor;
1025     padding: 0px 10px;
1026         .rounded(5px);
1027     height: 18px;
1028 }*/
1029
1030
1031 /** acl **/
1032 #photo-edit-perms-select,
1033 #photos-upload-permissions-wrapper,
1034 #profile-jot-acl-wrapper{
1035         display:block!important;
1036 }
1037
1038
1039
1040 #acl-wrapper {
1041         width: 690px;
1042         float:left;
1043 }
1044 #acl-search {
1045         float:right;
1046         background: #ffffff url("../../../images/search_18.png") no-repeat right center;
1047         padding-right:20px;
1048 }
1049 #acl-showall {
1050         float: left;
1051         display: block;
1052         width: auto;
1053         height: 18px;
1054         background-color: #cccccc;
1055         background-image: url("../../../images/show_all_off.png");
1056         background-position: 7px 7px;
1057         background-repeat: no-repeat;
1058         padding: 7px 5px 0px 30px;
1059         color: #999999;
1060         .rounded(5px);
1061 }
1062 #acl-showall.selected {
1063         color: #000000;
1064         background-color: #ff9900;
1065         background-image: url("../../../images/show_all_on.png");
1066 }
1067
1068 #acl-list {
1069         height: 210px;
1070         border: 1px solid #cccccc;
1071         clear: both;
1072         margin-top: 30px;
1073         overflow: auto;
1074 }
1075 #acl-list-content {
1076
1077 }
1078 .acl-list-item {
1079         display: block;
1080         width: 150px;
1081         height: 30px;
1082         border: 1px solid #cccccc;
1083         margin: 5px;
1084         float: left;
1085 }
1086 .acl-list-item img{
1087         width:22px;
1088         height: 22px;
1089         float: left;
1090         margin: 4px;
1091 }
1092 .acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}
1093 .acl-list-item a {
1094         font-size: 8px;
1095         display: block;
1096         width: 40px;
1097         height: 10px;
1098         float: left;
1099         color: #999999;
1100         background-color: #cccccc;
1101         background-position: 3px 3px;
1102         background-repeat: no-repeat;
1103         margin-right: 5px;
1104         -webkit-border-radius: 2px ;
1105         -moz-border-radius: 2px;
1106         border-radius: 2px;
1107         padding-left: 15px;
1108 }
1109 #acl-wrapper a:hover {
1110         text-decoration: none;
1111         color:#000000;
1112 }
1113 .acl-button-show { background-image: url("../../../images/show_off.png"); }
1114 .acl-button-hide { background-image: url("../../../images/hide_off.png"); }
1115
1116 .acl-button-show.selected {
1117         color: #000000;
1118         background-color: #9ade00;
1119         background-image: url("../../../images/show_on.png");
1120 }
1121 .acl-button-hide.selected {
1122         color: #000000;
1123         background-color: #ff4141;
1124         background-image: url("../../../images/hide_on.png");
1125 }
1126 .acl-list-item.groupshow { border-color: #9ade00; }
1127 .acl-list-item.grouphide { border-color: #ff4141; }
1128 /** /acl **/
1129
1130 /** tab buttons **/
1131 ul.tabs {
1132     list-style-type: none;
1133     padding-bottom: 10px;
1134
1135     li {
1136         float: left;
1137         margin-left: 20px;
1138
1139         .active {
1140                         border-bottom: 1px solid @LinkVisited;
1141         }
1142     }
1143
1144 }
1145
1146
1147 /** group editor **/
1148 #group-edit-desc { margin-top: 1em; color: @FieldHelpColor; }
1149 #group-update-wrapper{
1150         height: auto; overflow: auto;
1151         #group {
1152                 width:300px;
1153                 float:left;
1154                 margin-right:20px;
1155         }
1156         #contacts {
1157                 width:300px;
1158                 float:left;
1159         }
1160         #group-separator { display: none; }
1161         .contact_list {
1162                 height: 300px;
1163                 border: 1px solid @MenuBorder;
1164                 overflow: auto;
1165                 .contact-block-div  {
1166                         width: 50px; height: 50px;
1167                         float: left;
1168                 }
1169         }
1170 }
1171
1172 /**
1173  * Form fields
1174  */
1175 .field {
1176         margin-bottom: 10px;
1177         padding-bottom: 10px;
1178         overflow: auto;
1179         width: 100%;
1180
1181
1182         label {
1183                 float: left;
1184                 width: 200px;
1185         }
1186
1187         input,
1188         textarea {
1189                 width: 400px;
1190         }
1191         input[type="checkbox"], input[type="radio"]{
1192                 width: auto;
1193         }
1194
1195         textarea { height: 100px; }
1196         .field_help {
1197                 display: block;
1198                 margin-left: 200px;
1199                 color: @FieldHelpColor;
1200
1201         }
1202
1203
1204         .onoff {
1205                 float: left;
1206                 width: 80px;
1207         }
1208         .onoff a {
1209                 display: block;
1210                 border:1px solid #666666;
1211                 background-image:url("../../../images/onoff.jpg");
1212                 background-repeat: no-repeat;
1213                 padding: 4px 2px 2px 2px;
1214                 height: 16px;
1215                 text-decoration: none;
1216         }
1217         .onoff .off {
1218                 border-color:#666666;
1219                 padding-left: 40px;
1220                 background-position: left center;
1221                 background-color: #cccccc;
1222                 color: #666666;
1223                 text-align: right;
1224         }
1225         .onoff .on {
1226                 border-color:#204A87;
1227                 padding-right: 40px;
1228                 background-position: right center;
1229                 background-color: #D7E3F1;
1230                 color: #204A87;
1231                 text-align: left;
1232         }
1233         .hidden { display: none!important; }
1234
1235         &.radio .field_help { margin-left: 0px; }
1236 }
1237
1238
1239 #profile-edit-links li {
1240         list-style: none;
1241         margin-top: 10px;
1242 }
1243
1244 #profile-edit-default-desc {
1245         color: #FF0000;
1246         border: 1px solid #FF8888;
1247         background-color: #FFEEEE;
1248         padding: 7px;
1249 }
1250 #profile-edit-profile-name-label,
1251 #profile-edit-name-label,
1252 #profile-edit-pdesc-label,
1253 #profile-edit-gender-label,
1254 #profile-edit-dob-label,
1255 #profile-edit-address-label,
1256 #profile-edit-locality-label,
1257 #profile-edit-region-label,
1258 #profile-edit-postal-code-label,
1259 #profile-edit-country-name-label,
1260 #profile-edit-marital-label,
1261 #profile-edit-with-label,
1262 #profile-edit-sexual-label,
1263 #profile-edit-politic-label,
1264 #profile-edit-religion-label,
1265 #profile-edit-pubkeywords-label,
1266 #profile-edit-prvkeywords-label,
1267 #profile-edit-gender-select,
1268 #profile-edit-homepage-label {
1269         float: left;
1270         width: 175px;
1271         padding-top: 7px;
1272 }
1273 #profile-edit-profile-name,
1274 #profile-edit-name,
1275 #gender-select,
1276 #profile-edit-pdesc,
1277 #profile-edit-gender,
1278 #profile-edit-dob,
1279 #profile-edit-address,
1280 #profile-edit-locality,
1281 #profile-edit-region,
1282 #profile-edit-postal-code,
1283 #profile-edit-country-name,
1284 #profile-edit-marital,
1285 #profile-edit-with,
1286 #profile-edit-sexual,
1287 #profile-edit-politic,
1288 #profile-edit-religion,
1289 #profile-edit-pubkeywords,
1290 #profile-edit-prvkeywords,
1291 #profile-edit-homepage {
1292         margin-top: 5px;
1293 }
1294
1295 /* oauth */
1296 .oauthapp {
1297         height: auto; overflow: auto;
1298         border-bottom: 2px solid #cccccc;
1299         padding-bottom: 1em;
1300         margin-bottom: 1em;
1301 }
1302 .oauthapp img {
1303         float: left;
1304         width: 48px; height: 48px;
1305         margin: 10px;
1306 }
1307 .oauthapp img.noicon {
1308         background-image: url("../../../images/icons/48/plugin.png");
1309         background-position: center center;
1310         background-repeat: no-repeat;
1311 }
1312 .oauthapp a {
1313         float: left;
1314 }
1315
1316 /* contacts */
1317 .contact-entry-wrapper {
1318         width: 50px; float: left;
1319 }
1320
1321 /* videos page */
1322 .videos {
1323         .video-top-wrapper {
1324                 width: 200px; float: left;
1325                 margin: 0px 10px 10px 0px;
1326                 position: relative;
1327
1328                 .video-js {
1329                         width: 200px!important;
1330                         height: 132px!important;
1331                 }
1332
1333                 .video-delete {
1334                         position: absolute;
1335                         opacity: 0;
1336                         right: 0px;
1337                         top: 0px;
1338                         transition: opacity 0.5s;
1339                 }
1340
1341                 &:hover .video-delete {
1342                         opacity: 1;
1343                 }
1344         }
1345 }
1346
1347 /* photo albums */
1348 @photosize: 150px;
1349
1350 #photo-edit-link-wrap { margin-bottom: 10px; }
1351
1352 #album-edit-link {
1353         border-right: 1px solid @MenuBorder;
1354         float: left;
1355         padding-right: 5px;
1356         margin-right: 5px;
1357 }
1358 #photo-edit-link,
1359 #album-edit-link a {
1360         background: url("../../../images/icons/16/edit.png") no-repeat left center;
1361         padding-left: 18px;
1362 }
1363 #photo-toprofile-link {
1364         background: url("../../../images/icons/16/user.png") no-repeat left center;
1365         padding-left: 18px;
1366 }
1367
1368 #photo-top-upload-link,
1369 .photos-upload-link { margin: 1em 0px; display: block; }
1370 .photos-upload-link a,
1371 #photo-top-upload-link {
1372         background: url("../../../images/icons/16/add.png") no-repeat left center;
1373         padding-left: 18px;
1374 }
1375
1376
1377 .photo-top-image-wrapper,
1378 .photo-album-image-wrapper {
1379         float: left;
1380         margin: 0px 10px 10px 0px;
1381         width:@photosize; height: @photosize;
1382         position: relative;
1383         overflow: hidden;
1384
1385         img { width: @photosize; }
1386
1387         .photo-top-album-name,
1388         .caption{
1389                 position: absolute;
1390                 color: @Menu;
1391                 background-color: @MenuBg;
1392
1393                 width: 100%;
1394                 .shadow(0px, 5px);
1395                 .transition(0.5s);
1396                 bottom: -@photosize;
1397         }
1398
1399         &:hover .photo-top-album-name,
1400         &:hover .caption {
1401                 bottom: 0px;
1402                 .shadow(0px, 0px);
1403                 .transition(0.5s);
1404         }
1405 }
1406
1407 #photo-photo {
1408         display: block; width: 660px;
1409         padding: 50px; margin-bottom: 0px;
1410         text-align: center;
1411         background-color: @Grey3;
1412         img { max-width: 560px; }
1413 }
1414 #photo-album-title {
1415         background: url("../../../images/icons/22/image.png") no-repeat top left;
1416         padding-left: 23px;
1417         min-height: 22px;
1418         padding-top: 6px;
1419         /* a { display: block;}*/
1420 }
1421
1422 #photo-caption {
1423         display: block; width: 660px;
1424         min-height: 55px;
1425         background-color:  @Grey2;
1426         padding:0 50px 0 50px;
1427 }
1428 #photo-next-link > a > div {
1429         background: url("icons/next.png") no-repeat center center;
1430         float: right;
1431         width: 50px; height: 50px;
1432 }
1433 #photo-prev-link > a > div {
1434         background: url("icons/prev.png") no-repeat center center;
1435         float: left;
1436         width: 50px; height: 50px;
1437 }
1438 #photo-like-div {
1439         display: block; width: 660px;
1440         height: 30px;
1441         background-color:  @Grey2;
1442         padding:0 50px 0 50px;
1443         .icon {float: left;}
1444         .like-rotator {float: right;}
1445 }
1446 /* profile match wrapper */
1447 .profile-match-wrapper {
1448         float: left;
1449         width: 110px;
1450         height: 110px;
1451         margin-bottom: 20px;
1452         .drop {
1453             background-image: url('../../../images/icons/22/delete.png');
1454             display: block; width: 22px; height: 22px;
1455             position: relative;
1456             top: 10px;
1457             left: -10px;
1458         }
1459         .drophide {
1460             background-image: url('../../../images/icons/22/delete.png');
1461             display: block; width: 22px; height: 22px;
1462             opacity: 0.3;
1463             position: relative;
1464             top: 10px;
1465             left: -10px;
1466         }
1467         .contact-photo {
1468                 width: 80px; height: 80px;
1469                 img { width: 80px; height: 80px; }
1470         }
1471         .contact-photo-menu-button {
1472                 left: 0px;
1473                 top: 63px;
1474         }
1475 }
1476
1477 /* messages */
1478 #message-new {
1479         background: @MessageNewBackgroundColor;
1480         border: 1px solid @MessageNewBorderColor;
1481         width: 150px;
1482         a {
1483                 color: @MessageNewColor;
1484                 text-align: center;
1485                 display: block;
1486                 font-weight: bold;
1487                 padding: 1em 0px;
1488         }
1489 }
1490
1491 .mail-list-wrapper {
1492         background-color: @MailListBackgroundColor;
1493         margin-bottom: 5px;
1494         width: 100%; height: auto; overflow: hidden;
1495
1496         span { display: block; float: left; width: 20%; overflow: hidden;}
1497
1498         .mail-subject {
1499                 width: 30%;
1500                 padding:4px 0px 0px 4px;
1501                 a { display: block; }
1502                 &.unseen a { font-weight: bold; }
1503         }
1504         .mail-date { padding: 4px 4px 0px 4px; }
1505         .mail-from { padding: 4px 4px 0px 4px; }
1506         .mail-count { padding: 4px 4px 0px 4px; text-align: right;}
1507
1508         .mail-delete { float: right; }
1509 }
1510
1511 #mail-display-subject {
1512         background-color: @MailDisplaySubjectBackgroundColor;
1513         color: @MailDisplaySubjectColor;
1514         margin-bottom: 10px;
1515         width: 100%; height: auto; overflow: hidden;
1516         span { float: left; overflow: hidden; padding: 4px 0px 0px 10px;}
1517         .mail-delete { float: right;  .opaque(0.5);}
1518         &:hover .mail-delete { .opaque(1); }
1519
1520 }
1521
1522 /* theme screenshot */
1523 .screenshot, #theme-preview {
1524         position: absolute;
1525         width:202px;
1526         left: 70%;
1527         top: 50px;
1528         img { width: 200px; height: 150px; }
1529 }
1530
1531 /* page footer */
1532 footer { height: 100px; display: table-row; }
1533
1534 .pager {
1535         margin-top: 25px;
1536         clear: both;
1537 }
1538
1539 /**
1540  * ADMIN
1541  */
1542 #pending-update {
1543         float:right;
1544         color: #ffffff;
1545         font-weight: bold;
1546         background-color: #FF0000;
1547         padding: 0em 0.3em;
1548
1549 }
1550 #adminpage {
1551     dl {
1552         clear: left;
1553         margin-bottom: 2px;
1554         padding-bottom: 2px;
1555         border-bottom: 1px solid black;
1556     }
1557     dt {
1558         width: 200px;
1559         float: left;
1560         font-weight: bold;
1561     }
1562     dd {
1563         margin-left: 200px;
1564     }
1565     h3 {
1566         border-bottom: 1px solid #cccccc;
1567     }
1568     .field label {
1569         font-weight: bold;
1570     }
1571     .submit {
1572         clear:left;
1573         text-align: right;
1574     }
1575     #pluginslist {
1576         margin: 0px; padding: 0px;
1577     }
1578     .plugin {
1579         list-style: none;
1580         display: block;
1581         border: 1px solid #888888;
1582         padding: 1em;
1583         margin-bottom: 5px;
1584         clear: left;
1585         desc {
1586             margin-left: 2.5em;
1587         }
1588     }
1589     .toggleplugin {
1590         float:left;
1591         margin-right: 1em;
1592     }
1593     table {
1594         width:100%;
1595         border-bottom: 1px solid #000000;
1596         margin: 5px 0px;
1597         th {
1598             text-align: left;
1599         }
1600         td .icon {
1601             float: left;
1602         }
1603         tr:hover {
1604             background-color: #bbc7d7;
1605         }
1606     }
1607     table#users img {
1608             width: 16px; height: 16px;
1609     }
1610     .selectall { text-align: right; }
1611 }
1612
1613 /* edit buttons for comments */
1614
1615 .icon.dim { opacity: 0.3;filter:alpha(opacity=30); }
1616 .comment-edit-bb {
1617         list-style: none;
1618         display: none;
1619         margin: 0px;
1620         padding: 0px;
1621         width: 75%;
1622 }
1623 .comment-edit-bb > li {
1624         display: inline-block;
1625         margin: 10px 10px 0 0;
1626         visibility: none;
1627 }
1628
1629 .editicon {
1630         display: inline-block;
1631         width: 16px;
1632         height: 16px;
1633         background-image: url(icons/bbedit.png);
1634         text-decoration: none;
1635         :hover {background-color: #ccc;}
1636 }
1637 .boldbb { background-position: 0px 0px; }
1638 .boldbb:hover { background-position: 0px -16px; }
1639 .italicbb { background-position: -16px 0px; }
1640 .italicbb:hover { background-position: -16px -16px; }
1641 .underlinebb { background-position: -32px 0px; }
1642 .underlinebb:hover { background-position: -32px -16px; }
1643 .quotebb { background-position: -48px 0px; }
1644 .quotebb:hover { background-position: -48px -16px; }
1645 .codebb { background-position: -64px 0px; }
1646 .codebb:hover { background-position: -64px -16px; }
1647 .imagebb { background-position: -80px 0px; }
1648 .imagebb:hover { background-position: -80px -16px; }
1649 .urlbb { background-position: -96px 0px; }
1650 .urlbb:hover { background-position: -96px -16px; }
1651 .videobb { background-position: -112px 0px; }
1652 .videobb:hover { background-position: -112px -16px; }
1653
1654
1655 /** range input css **/
1656 /* slider root element */
1657 .slider {
1658         height:2px;
1659         position:relative;
1660         cursor:pointer;
1661         border:1px solid #333;
1662         width:200px;
1663         margin:10px 0px 10px 0px;
1664             float: left;
1665 }
1666
1667 /* progress bar (enabled with progress: true) */
1668 .progress {
1669         height:9px;
1670         background-color:#C5FF00;
1671         display:none;
1672         opacity:0.6;
1673 }
1674
1675 /* drag handle */
1676 .handle {
1677         background-color:#ccc;
1678         height:16px;
1679         width:8px;
1680         top:-8px;
1681         position:absolute;
1682         display:block;
1683         margin-top:1px;
1684         border:1px solid #000;
1685         cursor:move;
1686             .roundbottom();
1687             .shadow();
1688 }
1689
1690 /* the input field */
1691 .range {
1692         width: 20px!important;
1693         font-size: 8pt;
1694         margin-left: 10px;
1695         border: 0px;
1696         color: @FieldHelpColor;
1697 }
1698