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