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