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