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