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