]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/quattro.less
quattro css changes added to the less file
[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 }
361
362 #contact-block {
363         overflow: auto; height: auto;
364         .contact-block-h4 { float: left; margin: 5px 0px; }
365         .allcontact-link { float: right; margin: 5px 0px; }
366         .contact-block-content {
367                 clear: both;
368                 overflow: hidden;
369                 height: auto;
370         }
371         /*.contact-block-div { width:60px; height: 60px; }*/
372         .contact-block-link {
373                 float: left;
374                 margin: 0px 2px 2px 0px;
375                 img { width: 48px; height: 48px; }
376         }
377 }
378
379 /* group member */
380 #contact-edit-drop-link,
381 .mail-list-delete-wrapper,
382 .group-delete-wrapper {
383         float: right;
384         margin-right: 50px;
385         .drophide {
386             background-image: url('../../../images/icons/22/delete.png');
387             display: block; width: 22px; height: 22px;
388             opacity: 0.3;
389             position: relative;
390             top: -50px;
391         }
392         .drop {
393             background-image: url('../../../images/icons/22/delete.png');
394             display: block; width: 22px; height: 22px;
395             position: relative;
396             top: -50px;
397         }
398 }
399 /*
400 #group-members {
401         margin-top: 20px;
402         padding: 10px;
403         height: 250px;
404         overflow: auto;
405         border: 1px solid #ddd;
406 }
407 #group-members-end {
408         clear: both;
409 }
410 #group-all-contacts {
411         padding: 10px;
412         height: 450px;
413         overflow: auto;
414         border: 1px solid #ddd;
415 }
416 #group-all-contacts-end {
417         clear: both;
418         margin-bottom: 10px;
419 }
420 .contact-block-div {
421         float: left;
422         width: 60px;
423         height: 60px;
424 }*/
425  
426 /* widget */
427 .widget {
428         margin-bottom: 2em;
429         
430         h3 { padding: 0px; margin: 2px;}
431         .action { .opaque(0.1); }
432         input.action { .opaque(0.5); }
433         &:hover .title .action { .opaque(1); }
434         .tool:hover .action { .opaque(1); }
435         .tool:hover .action.ticked { .opaque(1); }
436
437         ul { padding: 0px;}
438         ul li {padding-left: 16px; min-height: 16px; list-style: none; }
439         
440         .tool.selected {
441                 background: url('../../../images/selected.png') no-repeat left center;
442         }
443         
444         /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;}
445         .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/
446         
447 }
448
449 /* widget: search */
450 #add-search-popup {
451         width: 200px;
452         top: 18px;
453 }
454
455
456 /* section 800px */
457 section { 
458         display: table-cell;
459         vertical-align: top;
460         width: 770px;
461         padding:0px 20px 0px 10px;
462 }
463
464 .sparkle {
465   cursor: url('icons/lock.cur'), pointer;
466 }
467
468 /* wall item */
469 .tread-wrapper { 
470         background-color: @ThreadBackgroundColor;
471         position: relative;
472         padding: 10px;
473         margin-bottom: 20px;
474         width: 750px;
475         border-bottom: 1px solid @ThreadBottomBorderColor;
476 }
477 .wall-item-decor { position: absolute; left: 97%; top: -10px;  width: 16px;}
478 .unstarred { display: none; }
479
480 .wall-item-container {
481         display: table;
482         width: 750px;
483         
484         .wall-item-item,
485         .wall-item-bottom { display: table-row; }
486         
487         .wall-item-bottom { .opaque(0.5); }
488         &:hover .wall-item-bottom { .opaque(1); }
489         .wall-item-info {
490                 display: table-cell;
491                 vertical-align: top;
492                 text-align: left;
493                 width: 60px;
494                 
495         } 
496         .wall-item-location {
497                 word-wrap: break-word;
498                 width: 50px;
499         }
500         .wall-item-content {
501                 display: table-cell;
502                 font-size: 12px;
503                 max-width: 720px;
504                 word-wrap: break-word;
505         }
506         .wall-item-content img { max-width: 700px; }
507         .wall-item-links,
508         .wall-item-actions { 
509                 display: table-cell; 
510                 vertical-align: middle; 
511                 
512                 .icon {
513                         .opaque(0.5);
514                 }
515                 .icon:hover  {
516                         .opaque(1.0);
517                 }               
518         }
519         
520         .wall-item-ago { padding-right: 40px; }
521         .wall-item-name { font-weight: bold; }
522         
523         .wall-item-actions-author { float: left; width: 20em; margin-top: 0.5em; }
524         .wall-item-actions-social { float: left; margin-top: 0.5em;
525                 a { margin-right: 3em; }
526          }
527         .wall-item-actions-tools { float: right; width: 15%; 
528                 a { float: right; }
529                 input { float: right; }
530         }
531                 
532 }
533
534
535 .wall-item-container.comment {
536         .contact-photo-wrapper { margin-left: 16px; }
537         .contact-photo { 
538                 width: 32px; height: 32px; 
539         }
540         
541         .contact-photo-menu-button {
542                 top: 15px !important;
543                 left: 0px !important;
544         }
545         .wall-item-links { padding-left: 12px; }
546         
547         .commentbox {
548                 height: 0px;
549                 overflow: hidden;
550                 .wall-item-comment-wrapper {
551                         border-top: 1px solid @CommentBoxEmptyBorderColor;
552                         height: 0px; overflow: hidden;
553                 }
554                 .transition();
555         }
556         
557         &:hover .commentbox {
558                 height:auto; overflow: visible;
559                 .wall-item-comment-wrapper {
560                         border-top: 0px;
561                         height:auto;overflow: visible;
562                 }
563                 .transition();
564         }
565 }
566
567 /* 'tag' item type */
568 .wall-item-container.item-tag {
569         .wall-item-content {
570                 .opaque(0.5);
571         }
572         .contact-photo-wrapper { margin-left: 32px; }
573         .contact-photo { 
574                 width: 16px; height: 16px;
575         }       
576         .contact-photo-menu-button {
577                 top: 15px !important;
578                 left: 15px !important;
579         }
580 }
581
582
583 .wall-item-comment-wrapper {
584         margin: 1em 2em 1em 60px;
585         .comment-edit-photo { display: none; }
586         
587         textarea {      
588                 height: 1em; width: 100%; font-size: 10px;
589                 color: @CommentBoxEmptyColor;
590                 border: 1px solid @CommentBoxEmptyBorderColor;
591                 padding:0.3em;
592         }
593         .comment-edit-text-full {
594                 height: 4em;
595                 color: @CommentBoxFullColor;
596                 border: 1px solid @CommentBoxFullBorderColor;
597         }
598         
599         &.photo {
600                 margin: 1em 2em 1em 0px;
601         }
602 }
603
604 .threaded .wall-item-comment-wrapper { margin-left: 0px; }
605
606 .comment-edit-preview {
607         width: 710px;
608         border: 1px solid @Grey5;
609         margin-top: 10px;
610         background-color: @JotPreviewBackgroundColor;
611         
612         .contact-photo { width: 32px; height: 32px; margin-left: 16px;
613                 /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/
614         }       
615         .contact-photo-menu-button {
616                 top: 15px !important;
617                 left: 15px !important;
618         }
619         .wall-item-links { padding-left: 12px; }
620
621         .wall-item-container { width: 90%; }
622         .tread-wrapper { 
623                 width: 90%; padding: 0; margin: 10px 0; 
624                 background-color: @JotPreviewBackgroundColor;
625                 border-bottom: 0px;
626         }
627         .wall-item-conv { display: none; }
628 }
629
630 .shiny { border-right:10px solid @ShinyBorderColor; }
631 #jot-preview-content .tread-wrapper { background-color: @JotPreviewBackgroundColor; }
632
633 .hide-comments-outer {margin-bottom: 0.8em; }
634
635 .wall-item-tags { padding-top: 5px; }
636 .tag {
637         background: url("icons/tag.png") no-repeat center right;
638         color: @TagColor;
639         padding-right: 8px;
640         padding-left: 3px;
641         a { color: @TagColor;   }
642 }
643 .mention {
644         background: url("icons/men.png") no-repeat 1px center;
645         color: @MentionColor;
646         padding-right: 3px;
647         padding-left: 18px;
648         a { color: @MentionColor;       }
649 }
650 .folder {
651         background: url("icons/folder.png") no-repeat 1px center;
652         color: @MentionColor;
653         padding-right: 3px;
654         padding-left: 15px;
655         a { color: @MentionColor;       }
656 }
657 .category {
658         background: url("icons/category.png") no-repeat 1px center;
659         color: @MentionColor;
660         padding-right: 3px;
661         padding-left: 15px;
662         a { color: @MentionColor;       }
663 }
664 /*.filesavetags {
665     padding: 3px 0px 3px 0px;
666     opacity: 0.5;
667 }*/
668
669 .wwto { 
670         position: absolute !important; 
671         width: 25px; height: 25px; 
672     background: #FFFFFF;
673     border: 2px solid @Metalic3;
674     height: 25px;
675     width: 25px;
676     overflow: hidden;
677     padding: 1px;
678     position: absolute !important;
679     top: 40px;
680     left: 30px;
681     
682     .shadow(0px, 0px)
683 }
684 .wwto .contact-photo { width: 25px; height: 25px; }
685
686 /* reshare e embed */
687 .wall-item-container .wall-item-content .type-link img,
688 .type-link img {
689     max-width: 160px;
690     max-height: 160px;
691     float: left;
692     margin-right: 10px;
693
694         &.attachment-image {
695                 max-width: 650px;
696                 max-height: inital;
697                 float: none;
698                 margin-right: 0px;
699         }
700         
701 }
702 .type-link {
703     blockquote {
704         margin: 1em 0px;
705         max-height: 160px;
706         overflow: hidden;
707                 padding-left: 1em;
708     }
709     .oembed {}
710 }
711
712 .type-video blockquote { padding-left: 1em; }
713
714 .shared_header {
715     height: 32px;
716     color: #999;
717     border-top: 1px solid @ThreadBottomBorderColor;
718     padding-top: 5px;
719     margin-top: 5px;
720     
721     img {
722         -webkit-border-radius: 4px;
723         -moz-border-radius: 4px;
724         border-radius: 4px;
725         float: left;
726     }
727     
728     span { margin-left: 9px; }
729 }
730
731
732 blockquote.shared_content {
733     margin-left: 32px;
734     color: #000;
735     border: none;
736 }
737
738
739 .oembed.video {
740         > a.embed_video { 
741                 display: block;
742                 float: none;
743                 > div {
744                         background:
745                                 rgba(255, 255, 255, 0.36)
746                                 url(../../../images/icons/48/play.png)
747                                 no-repeat center center
748                                 !important;
749                 }
750         }
751 }
752
753
754 /* threaded comments */
755 .children {
756         margin-top: 1em;
757         .hide-comments-outer { margin-left:60px; }
758         
759         .wwto { display: none; }
760         
761         .comment-edit-preview { width: 660px;
762                 .wall-item-container { width: 610px; }
763          }
764         
765         & .children {
766                 
767                 margin-left: 40px;
768                 .wall-item-container { width: 710px; }
769                 .comment-edit-preview { width: 620px;
770                         .wall-item-container { width: 620px; }
771                  }
772         
773                 & .children {
774                         .wall-item-container { width: 670px; }
775                         .comment-edit-preview { width: 580px; 
776                                 .wall-item-container { width: 580px; }
777                         }
778                 
779                         & .children {
780                                 .wall-item-container { width: 630px; }
781                                 .comment-edit-preview { width: 540px; 
782                                         .wall-item-container { width: 540px; }
783                                 }
784
785                                 & .children {
786                                         .wall-item-container { width: 590px; }
787                                         .comment-edit-preview { width: 500px; 
788                                                 .wall-item-container { width: 500px; }
789                                         }
790                                         
791                                         .children {
792                                                 margin-left: 0px;
793                                                 .hide-comments-outer { margin-left: 0px; }
794                                         }
795                                 }
796                         }               
797                 }
798         }
799 }
800 /*.threaded .hide-comments-outer { margin-left: 20px; }*/
801
802 span[id^="showmore-teaser"]{
803     background: url("showmore-bg.jpg") no-repeat center bottom;
804 }
805 span[id^="showmore-wrap"] {
806     border-top: 1px solid #999999;
807     color: #999999;
808     display: block;
809     text-align: center;
810     background-color: @ThreadBackgroundColor;
811 }
812
813
814 #pause {
815  position: fixed;
816  bottom: 5px;
817  right: 5px;
818 }
819
820
821 .contact-photo-wrapper { position: relative; }
822 .contact-select {       position: absolute; top:64px; left:64px; display:none; }
823 .contact-select:checked,
824 .contact-photo:hover .contact-select {  display:block; }
825 #contacts-actions { 
826         position: absolute; 
827         left: 800px;
828         width: 200px;
829         background-color: @MenuBg;
830         border: 2px solid @MenuBorder;
831         .batch-action {
832                 display: block;
833                 width: 100%;
834                 background-color: @MenuBg;
835                 border: 0px;
836                 color: @MenuItem;
837                 text-align: left;
838                 padding: 5px 10px;
839                 font-size: 11px;
840         }
841         .batch-action:hover {
842                 background-color: @MenuItemHoverBg;
843         }
844         display: none;
845 }
846 @media (max-width: 1000px) {
847         #contacts-actions { left: 40px; }
848 }
849
850 .contact-photo { 
851         width: 48px; height: 48px;
852         img { width: 48px; height: 48px; }
853         overflow: hidden;
854         display: block;
855  }              
856 .contact-photo-menu-button {
857         display: none;
858         position: absolute;
859         left: -2px;
860         top: 31px;
861 }
862
863 .contact-wrapper {
864         float: left;
865         width: 300px;
866         height: 90px;
867         padding-right: 10px;
868         margin: 0 10px 10px 0px;
869         .contact-photo-wrapper { 
870                 float: left; 
871                 margin-right: 10px;
872         }
873         .contact-photo { 
874                 width: 80px; height: 80px;
875                 img { width: 80px; height: 80px; }
876         }
877         .contact-photo-menu-button {
878                 left: 0px;
879                 top: 63px;
880         }       
881 }
882 .directory-item {
883         float: left;
884         width: 200px;
885         height: 200px;
886         .contact-photo { 
887                 width: 175px; height: 175px;
888                 img { width: 175px; height: 175px; }
889         }
890 }
891 .contact-name { font-weight: bold; padding-top: 15px; }
892 .contact-details { 
893         color: @Grey3; white-space: nowrap;
894         overflow: hidden;
895         text-overflow: ellipsis;
896 }
897
898 /* editor */
899 .jothidden { display: none; }
900 #jot {
901
902         width: 100%;
903         margin: 0px 2em 20px 0px;
904         
905         
906         .profile-jot-text {
907                 height: 1em; width: 99%; font-size: 10px;
908                 color: @CommentBoxEmptyColor;
909                 border: 1px solid @CommentBoxEmptyBorderColor;
910                 padding:0.3em;
911         }
912
913         #jot-tools {
914                 margin: 0px; padding: 0px;
915                 height: 40px; overflow: none;
916                 width: 770px;
917                 background-color: @JotToolsBackgroundColor;
918                 border-bottom: 2px solid @JotToolsBorderColor;
919                 li {
920                         list-style: none;
921                         float: left;
922                         width: 80px;
923                         height: 40px;
924                         border-bottom: 2px solid @JotToolsBorderColor;
925                         a {
926                                 display: block;
927                                 color: @JotToolsText;
928                                 width: 100%;
929                                 height:40px;
930                                 text-align: center;
931                                 line-height: 40px;
932                                 overflow: hidden;
933                         }
934                 }
935                 li:hover {
936                         background-color: @JotToolsOverBackgroundColor;
937                         border-bottom: 2px solid @JotToolsOverBorderColor;
938                 }
939                 li.perms {
940                         float: right;
941                         width: 40px;
942                         a.unlock {
943                                 width: 30px;
944                                 border-left: 10px solid @JotPermissionUnlockBackgroundColor;
945                                 background-color: @JotPermissionUnlockBackgroundColor;
946                         }
947                         a.lock {
948                                 width: 30px;
949                                 border-left: 10px solid @JotPermissionLockBackgroundColor;
950                                 background-color: @JotPermissionLockBackgroundColor;
951                         }
952                         
953                 }
954                 li.submit {
955                         float: right;
956                         background-color: @JotSubmitBackgroundColor;
957                         border-bottom: 2px solid @JotSubmitBackgroundColor;
958                         border-right: 1px solid @Grey4;
959                         border-left: 1px solid @Grey4;
960                         input {
961                                 border: 0px; margin: 0px; padding: 0px;
962                                 background-color: @JotSubmitBackgroundColor;
963                                 color: @JotSubmitText;
964                                 width: 80px; height: 40px;
965                                 line-height: 40px;
966                         }
967                         input:hover {
968                                 background-color: @JotSubmitOverBackgroundColor;
969                                 color: @JotSubmitOverText;
970                         }
971                 }
972                 li.loading {
973                         float: right;
974                         background-color: @JotLoadingBackgroundColor;
975                         width:  20px;
976                         vertical-align: center;
977                         text-align: center;
978                         img { margin-top: 10px; }
979                         border-top: 2px solid @JotToolsBorderColor;
980                         height: 38px;
981                 }
982         }
983
984         #jot-title {
985                 border: 0px;
986                 margin: 0px;
987                 height: 20px;
988                 width: 500px;
989                 font-weight: bold;
990                 border: 1px solid @BodyBackground;
991
992                 &:-webkit-input-placeholder {
993                         font-weight: normal;
994                 }
995
996                 &:-moz-placeholder {
997                         font-weight: normal;
998                 }               
999         
1000                 &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
1001                 &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
1002         }
1003         
1004         #character-counter {
1005                 width: 40px;
1006                 float: right;
1007                 text-align: right;
1008                 height: 20px;
1009                 line-height: 20px;
1010                 padding-right: 20px;
1011         }
1012         
1013         #jot-category {
1014                 border: 0px;
1015                 margin: 0px;
1016                 height: 20px;
1017                 width: 200px;
1018                 border: 1px solid @BodyBackground;
1019                 &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
1020                 &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
1021         }
1022 }
1023
1024
1025 /** buttons **/
1026 /*input[type="submit"] {
1027         border: 0px;
1028     background-color: @ButtonBackgroundColor;
1029     color: @ButtonColor;
1030     padding: 0px 10px;
1031         .rounded(5px);
1032     height: 18px;
1033 }*/
1034
1035
1036 /** acl **/
1037 #photo-edit-perms-select,
1038 #photos-upload-permissions-wrapper,
1039 #profile-jot-acl-wrapper{
1040         display:block!important;
1041 }
1042
1043
1044
1045 #acl-wrapper {
1046         width: 690px;
1047         float:left;
1048 }
1049 #acl-search {
1050         float:right;
1051         background: #ffffff url("../../../images/search_18.png") no-repeat right center;
1052         padding-right:20px;
1053 }
1054 #acl-showall {
1055         float: left;
1056         display: block;
1057         width: auto;
1058         height: 18px;
1059         background-color: #cccccc;
1060         background-image: url("../../../images/show_all_off.png");
1061         background-position: 7px 7px;
1062         background-repeat: no-repeat;
1063         padding: 7px 5px 0px 30px;
1064         color: #999999;
1065         .rounded(5px);
1066 }
1067 #acl-showall.selected {
1068         color: #000000;
1069         background-color: #ff9900;
1070         background-image: url("../../../images/show_all_on.png");
1071 }
1072
1073 #acl-list {
1074         height: 210px;
1075         border: 1px solid #cccccc;
1076         clear: both;
1077         margin-top: 30px;
1078         overflow: auto;
1079 }
1080 #acl-list-content {
1081         
1082 }
1083 .acl-list-item {
1084         display: block;
1085         width: 150px;
1086         height: 30px;
1087         border: 1px solid #cccccc;
1088         margin: 5px;
1089         float: left;
1090 }
1091 .acl-list-item img{
1092         width:22px;
1093         height: 22px;
1094         float: left;
1095         margin: 4px;
1096 }
1097 .acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}
1098 .acl-list-item a { 
1099         font-size: 8px;
1100         display: block;
1101         width: 40px;
1102         height: 10px;
1103         float: left;
1104         color: #999999;
1105         background-color: #cccccc;
1106         background-position: 3px 3px;
1107         background-repeat: no-repeat;
1108         margin-right: 5px;
1109         -webkit-border-radius: 2px ;
1110         -moz-border-radius: 2px;
1111         border-radius: 2px;
1112         padding-left: 15px;
1113 }
1114 #acl-wrapper a:hover {
1115         text-decoration: none;
1116         color:#000000;
1117 }
1118 .acl-button-show { background-image: url("../../../images/show_off.png"); }
1119 .acl-button-hide { background-image: url("../../../images/hide_off.png"); }
1120
1121 .acl-button-show.selected {
1122         color: #000000;
1123         background-color: #9ade00;
1124         background-image: url("../../../images/show_on.png");
1125 }
1126 .acl-button-hide.selected {
1127         color: #000000;
1128         background-color: #ff4141;
1129         background-image: url("../../../images/hide_on.png");
1130 }
1131 .acl-list-item.groupshow { border-color: #9ade00; }
1132 .acl-list-item.grouphide { border-color: #ff4141; }
1133 /** /acl **/
1134
1135 /** tab buttons **/
1136 ul.tabs {
1137     list-style-type: none;
1138     padding-bottom: 10px;
1139
1140     li {
1141         float: left;
1142         margin-left: 20px;
1143         
1144         .active {
1145                         border-bottom: 1px solid @LinkVisited;
1146         }
1147     }
1148     
1149 }
1150
1151
1152 /** group editor **/
1153 #group-edit-desc { margin-top: 1em; color: @FieldHelpColor; }
1154 #group-update-wrapper{
1155         height: auto; overflow: auto;
1156         #group {
1157                 width:300px; 
1158                 float:left;
1159                 margin-right:20px;
1160         }
1161         #contacts {
1162                 width:300px;
1163                 float:left;
1164         }
1165         #group-separator { display: none; }
1166         .contact_list {
1167                 height: 300px;
1168                 border: 1px solid @MenuBorder;
1169                 overflow: auto;
1170                 .contact-block-div  {
1171                         width: 50px; height: 50px;
1172                         float: left;
1173                 }
1174         }
1175 }
1176
1177 /**
1178  * Form fields
1179  */
1180 .field {
1181         margin-bottom: 10px;
1182         padding-bottom: 10px;
1183         overflow: auto;
1184         width: 100%;
1185
1186
1187         label {
1188                 float: left;
1189                 width: 200px;
1190         }
1191
1192         input,
1193         textarea {
1194                 width: 400px;
1195         }
1196         input[type="checkbox"], input[type="radio"]{
1197                 width: auto;
1198         }
1199         
1200         textarea { height: 100px; }
1201         .field_help {
1202                 display: block;
1203                 margin-left: 200px;
1204                 color: @FieldHelpColor;
1205                 
1206         }
1207
1208
1209         .onoff {
1210                 float: left;
1211                 width: 80px;
1212         }
1213         .onoff a {
1214                 display: block;
1215                 border:1px solid #666666;
1216                 background-image:url("../../../images/onoff.jpg");
1217                 background-repeat: no-repeat;
1218                 padding: 4px 2px 2px 2px;
1219                 height: 16px;
1220                 text-decoration: none;
1221         }
1222         .onoff .off {
1223                 border-color:#666666;
1224                 padding-left: 40px;
1225                 background-position: left center;
1226                 background-color: #cccccc;
1227                 color: #666666;
1228                 text-align: right;
1229         }
1230         .onoff .on {
1231                 border-color:#204A87;
1232                 padding-right: 40px;
1233                 background-position: right center;
1234                 background-color: #D7E3F1;
1235                 color: #204A87;
1236                 text-align: left;
1237         }
1238         .hidden { display: none!important; }
1239
1240         &.radio .field_help { margin-left: 0px; }
1241 }
1242
1243
1244 #profile-edit-links li {
1245         list-style: none;
1246         margin-top: 10px;
1247 }
1248
1249 #profile-edit-default-desc {
1250         color: #FF0000;
1251         border: 1px solid #FF8888;
1252         background-color: #FFEEEE;
1253         padding: 7px;
1254 }
1255 #profile-edit-profile-name-label,
1256 #profile-edit-name-label,
1257 #profile-edit-pdesc-label,
1258 #profile-edit-gender-label,
1259 #profile-edit-dob-label,
1260 #profile-edit-address-label,
1261 #profile-edit-locality-label,
1262 #profile-edit-region-label,
1263 #profile-edit-postal-code-label,
1264 #profile-edit-country-name-label,
1265 #profile-edit-marital-label,
1266 #profile-edit-with-label,
1267 #profile-edit-sexual-label,
1268 #profile-edit-politic-label,
1269 #profile-edit-religion-label,
1270 #profile-edit-pubkeywords-label,
1271 #profile-edit-prvkeywords-label,
1272 #profile-edit-gender-select,
1273 #profile-edit-homepage-label {
1274         float: left;
1275         width: 175px;
1276         padding-top: 7px;
1277 }
1278 #profile-edit-profile-name,
1279 #profile-edit-name,
1280 #gender-select, 
1281 #profile-edit-pdesc,
1282 #profile-edit-gender,
1283 #profile-edit-dob,
1284 #profile-edit-address,
1285 #profile-edit-locality,
1286 #profile-edit-region,
1287 #profile-edit-postal-code,
1288 #profile-edit-country-name,
1289 #profile-edit-marital,
1290 #profile-edit-with,
1291 #profile-edit-sexual,
1292 #profile-edit-politic,
1293 #profile-edit-religion,
1294 #profile-edit-pubkeywords,
1295 #profile-edit-prvkeywords,
1296 #profile-edit-homepage {
1297     margin-top: 5px;
1298 }
1299
1300 /* oauth */
1301 .oauthapp {
1302         height: auto; overflow: auto;
1303         border-bottom: 2px solid #cccccc;
1304         padding-bottom: 1em;
1305         margin-bottom: 1em;     
1306 }
1307 .oauthapp img {
1308         float: left;
1309         width: 48px; height: 48px;
1310         margin: 10px;
1311 }
1312 .oauthapp img.noicon {
1313         background-image: url("../../../images/icons/48/plugin.png");
1314         background-position: center center;
1315         background-repeat: no-repeat;
1316 }
1317 .oauthapp a {
1318         float: left;
1319 }
1320
1321 /* contacts */
1322 .contact-entry-wrapper {
1323         width: 50px; float: left;
1324 }
1325
1326 /* photo albums */
1327 @photosize: 150px;
1328
1329 #photo-edit-link-wrap { margin-bottom: 10px; }
1330         
1331 #album-edit-link {
1332         border-right: 1px solid @MenuBorder;
1333         float: left;
1334         padding-right: 5px;
1335         margin-right: 5px;
1336 }
1337 #photo-edit-link,
1338 #album-edit-link a {
1339         background: url("../../../images/icons/16/edit.png") no-repeat left center;
1340         padding-left: 18px;
1341 }
1342 #photo-toprofile-link {
1343         background: url("../../../images/icons/16/user.png") no-repeat left center;
1344         padding-left: 18px;
1345 }
1346
1347 #photo-top-upload-link,
1348 .photos-upload-link { margin: 1em 0px; display: block; }
1349 .photos-upload-link a,
1350 #photo-top-upload-link {
1351         background: url("../../../images/icons/16/add.png") no-repeat left center;
1352         padding-left: 18px;
1353 }
1354
1355
1356 .photo-top-image-wrapper,
1357 .photo-album-image-wrapper {
1358         float: left;
1359         margin: 0px 10px 10px 0px;
1360         width:@photosize; height: @photosize;
1361         position: relative;
1362         overflow: hidden;
1363         
1364         img { width: @photosize; }
1365                 
1366         .photo-top-album-name,
1367         .caption{
1368                 position: absolute;
1369                 color: @Menu;
1370                 background-color: @MenuBg;
1371                 
1372                 width: 100%;
1373                 .shadow(0px, 5px);
1374                 .transition(0.5s);
1375                 bottom: -@photosize;
1376         }
1377         
1378         &:hover .photo-top-album-name,
1379         &:hover .caption {
1380                 bottom: 0px;
1381                 .shadow(0px, 0px);
1382                 .transition(0.5s);
1383         }
1384 }
1385
1386 #photo-photo {
1387         display: block; width: 660px;
1388         padding: 50px; margin-bottom: 0px;
1389         text-align: center;
1390         background-color: @Grey3;
1391         img { max-width: 560px; }
1392 }
1393 #photo-album-title {
1394         background: url("../../../images/icons/22/image.png") no-repeat top left;
1395         padding-left: 23px;
1396         min-height: 22px;
1397         padding-top: 6px; 
1398         /* a { display: block;}*/ 
1399 }
1400
1401 #photo-caption {
1402         display: block; width: 660px;
1403         min-height: 55px;
1404         background-color:  @Grey2;
1405         padding:0 50px 0 50px;
1406 }
1407 #photo-next-link > a > div {
1408         background: url("icons/next.png") no-repeat center center;
1409         float: right;
1410         width: 50px; height: 50px;
1411 }
1412 #photo-prev-link > a > div {
1413         background: url("icons/prev.png") no-repeat center center;
1414         float: left;
1415         width: 50px; height: 50px;
1416 }
1417 #photo-like-div {
1418         display: block; width: 660px;
1419         height: 30px;
1420         background-color:  @Grey2;
1421         padding:0 50px 0 50px;
1422         .icon {float: left;}
1423         .like-rotator {float: right;}
1424 }
1425 /* profile match wrapper */
1426 .profile-match-wrapper {
1427         float: left;
1428         width: 110px;
1429         height: 110px;
1430         margin-bottom: 20px;
1431         .drop {
1432             background-image: url('../../../images/icons/22/delete.png');
1433             display: block; width: 22px; height: 22px;
1434             position: relative;
1435             top: 10px;
1436             left: -10px;
1437         }
1438         .drophide {
1439             background-image: url('../../../images/icons/22/delete.png');
1440             display: block; width: 22px; height: 22px;
1441             opacity: 0.3;
1442             position: relative;
1443             top: 10px;
1444             left: -10px;
1445         }
1446         .contact-photo { 
1447                 width: 80px; height: 80px;
1448                 img { width: 80px; height: 80px; }
1449         }
1450         .contact-photo-menu-button {
1451                 left: 0px;
1452                 top: 63px;
1453         }       
1454 }
1455
1456 /* messages */
1457 #message-new {
1458         background: @MessageNewBackgroundColor;
1459         border: 1px solid @MessageNewBorderColor;
1460         width: 150px;
1461         a {
1462                 color: @MessageNewColor;
1463                 text-align: center;
1464                 display: block;
1465                 font-weight: bold;
1466                 padding: 1em 0px;
1467         }
1468 }
1469
1470 .mail-list-wrapper {
1471         background-color: @MailListBackgroundColor;
1472         margin-bottom: 5px;
1473         width: 100%; height: auto; overflow: hidden;
1474         
1475         span { display: block; float: left; width: 20%; overflow: hidden;}
1476         
1477         .mail-subject { 
1478                 width: 30%;
1479                 padding:4px 0px 0px 4px;
1480                 a { display: block; }
1481                 &.unseen a { font-weight: bold; }
1482         }
1483         .mail-date { padding: 4px 4px 0px 4px; }
1484         .mail-from { padding: 4px 4px 0px 4px; }
1485         .mail-count { padding: 4px 4px 0px 4px; text-align: right;}
1486         
1487         .mail-delete { float: right; }
1488 }
1489
1490 #mail-display-subject {
1491         background-color: @MailDisplaySubjectBackgroundColor;
1492         color: @MailDisplaySubjectColor;
1493         margin-bottom: 10px;
1494         width: 100%; height: auto; overflow: hidden;
1495         span { float: left; overflow: hidden; padding: 4px 0px 0px 10px;}
1496         .mail-delete { float: right;  .opaque(0.5);}
1497         &:hover .mail-delete { .opaque(1); }
1498         
1499 }
1500
1501 /* theme screenshot */
1502 .screenshot, #theme-preview {
1503         position: absolute;
1504         width:202px;
1505         left: 70%;
1506         top: 50px;
1507         img { width: 200px; height: 150px; }
1508 }
1509
1510 /* page footer */
1511 footer { height: 100px; display: table-row; }
1512
1513 .pager {
1514     margin-top: 25px;
1515     clear: both;
1516 }
1517
1518 /**
1519  * ADMIN
1520  */
1521 #pending-update {
1522         float:right;
1523         color: #ffffff;
1524         font-weight: bold;
1525         background-color: #FF0000;
1526         padding: 0em 0.3em;
1527         
1528 }
1529 #adminpage {
1530     dl {
1531         clear: left;
1532         margin-bottom: 2px;
1533         padding-bottom: 2px;
1534         border-bottom: 1px solid black;
1535     }
1536     dt {
1537         width: 200px;
1538         float: left;
1539         font-weight: bold;
1540     }
1541     dd {
1542         margin-left: 200px;
1543     }
1544     h3 {
1545         border-bottom: 1px solid #cccccc;
1546     }
1547     .field label {
1548         font-weight: bold;
1549     }
1550     .submit {
1551         clear:left;
1552         text-align: right;
1553     }
1554     #pluginslist {
1555         margin: 0px; padding: 0px;
1556     }
1557     .plugin {
1558         list-style: none;
1559         display: block;
1560         border: 1px solid #888888;
1561         padding: 1em;
1562         margin-bottom: 5px;
1563         clear: left;
1564         desc {
1565             margin-left: 2.5em;
1566         }
1567     }
1568     .toggleplugin {
1569         float:left;
1570         margin-right: 1em;
1571     }
1572     table {
1573         width:100%;
1574         border-bottom: 1px solid #000000; 
1575         margin: 5px 0px;
1576         th { 
1577             text-align: left;
1578         }
1579         td .icon { 
1580             float: left;
1581         }
1582         tr:hover { 
1583             background-color: #bbc7d7;
1584         }
1585     }
1586     table#users img { 
1587             width: 16px; height: 16px; 
1588     }
1589     .selectall { text-align: right; }
1590 }
1591
1592 /* edit buttons for comments */
1593
1594 .icon.dim { opacity: 0.3;filter:alpha(opacity=30); }
1595 .comment-edit-bb {
1596         list-style: none;
1597         display: none;
1598         margin: 0px;
1599         padding: 0px;
1600         width: 75%;
1601 }
1602 .comment-edit-bb > li {
1603         display: inline-block;
1604         margin: 10px 10px 0 0;
1605         visibility: none;
1606 }
1607
1608 .editicon {
1609     display: inline-block;
1610     width: 16px;
1611     height: 16px;
1612     background-image: url(icons/bbedit.png);
1613     text-decoration: none;
1614     :hover {background-color: #ccc;}
1615 }
1616 .boldbb { background-position: 0px 0px; }
1617 .boldbb:hover { background-position: 0px -16px; }
1618 .italicbb { background-position: -16px 0px; }
1619 .italicbb:hover { background-position: -16px -16px; }
1620 .underlinebb { background-position: -32px 0px; }
1621 .underlinebb:hover { background-position: -32px -16px; }
1622 .quotebb { background-position: -48px 0px; }
1623 .quotebb:hover { background-position: -48px -16px; }
1624 .codebb { background-position: -64px 0px; }
1625 .codebb:hover { background-position: -64px -16px; }
1626 .imagebb { background-position: -80px 0px; }
1627 .imagebb:hover { background-position: -80px -16px; }
1628 .urlbb { background-position: -96px 0px; }
1629 .urlbb:hover { background-position: -96px -16px; }
1630 .videobb { background-position: -112px 0px; }
1631 .videobb:hover { background-position: -112px -16px; }
1632
1633
1634 /** range input css **/
1635 /* slider root element */
1636 .slider {
1637     height:2px;
1638     position:relative;
1639     cursor:pointer;
1640     border:1px solid #333;
1641     width:200px;
1642     margin:10px 0px 10px 0px;
1643         float: left;
1644 }
1645
1646 /* progress bar (enabled with progress: true) */
1647 .progress {
1648     height:9px;
1649     background-color:#C5FF00;
1650     display:none;
1651     opacity:0.6;
1652 }
1653
1654 /* drag handle */
1655 .handle {
1656         background-color:#ccc;
1657     height:16px;
1658     width:8px;
1659     top:-8px;
1660     position:absolute;
1661     display:block;
1662     margin-top:1px;
1663     border:1px solid #000;
1664     cursor:move;
1665         .roundbottom();
1666         .shadow();
1667
1668 }
1669
1670 /* the input field */
1671 .range {
1672         width: 20px!important;
1673         font-size: 8pt;
1674         margin-left: 10px;
1675         border: 0px;
1676         color: @FieldHelpColor;
1677 }
1678