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