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