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