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