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