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