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