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