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