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