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