Revision d8eabd0f snf-astakos-app/astakos/im/static/im/css/styles.less

b/snf-astakos-app/astakos/im/static/im/css/styles.less
13 13
    *behavior: url(boxsizing.htc);
14 14
}
15 15

  
16
.clearme { .clearfix() }
17

  
18
@verticalSpacing: @gridGutterWidth/1.5;
16 19
@gradCol: #ddd;
17 20
body {
18 21
    #font.main();
22
    font-size: 12px;
19 23
}
20 24

  
21 25
.topbar {
22 26
    background-color: @shadowColor;
23 27
    .head {
24 28
        float: left;    
25
            padding: @gridGutterWidth/2-5;
29
            padding: @verticalSpacing/2-5;
26 30
    }
27 31
    .links {
28 32
        .clearfix();
......
32 36
            display: block;
33 37
            float: left;
34 38
            margin-left: 10px;
35
            padding: @gridGutterWidth/2+1;
39
            padding: @verticalSpacing/2+1;
36 40

  
37 41
            &:hover {
38 42
                background-color: lighten(@black, 10%);
......
45 49
}
46 50

  
47 51
// default link styles
48
section a, p a, form a, .section a, .styledlinks a {
52
section a, p a, form a, .section a, .styledlinks a, a.styled {
49 53
    color: @black;
50 54
    text-decoration: none;
51 55
    border-bottom: 1px solid @linkColor;
......
104 108

  
105 109
div.header {
106 110
    position: relative;
107
    margin-top: 4*@gridGutterWidth;
108
    margin-bottom: @gridGutterWidth;
111
    margin-top: 2.5*@verticalSpacing;
112
    margin-bottom: @verticalSpacing;
109 113
    h1 {
110 114
        color: @shadowColor;
111 115
        display: inline;
......
126 130
.footer {
127 131
    border-bottom: 1px solid @mainBorderColor;
128 132
    border-top: 1px solid lighten(@mainBorderColor, 15%);
129
    padding-top: @gridGutterWidth;
130
    padding-bottom: @gridGutterWidth;
133
    padding-top: @verticalSpacing;
134
    padding-bottom: @verticalSpacing;
131 135
}
132 136

  
133 137
ul.inline {
......
142 146
.mainnav.quicknav {
143 147
    position: absolute;
144 148
    right: 0;
145
    top: -2.6*@gridGutterWidth;
149
    top: -2.6*@verticalSpacing;
146 150
    margin:0;
147 151

  
148 152
    li {
......
153 157

  
154 158
.navigation {
155 159
    height: 83px;    
160
    position: absolute;
161
    right: -15px;
162
    top: -23px;
156 163
}
157 164

  
158 165
.mainnav {
159
    font-size: 1.2em;
166
    font-size: 1.3em;
160 167
    
161 168
    &.subnav {
162
        margin-bottom: -@gridGutterWidth;
169
        margin-bottom: -@verticalSpacing;
163 170
        li {
164
            margin-top: 1.2em;
171
            margin-top: 0.4*@verticalSpacing;
172
            float: right;
165 173
        }
166 174
    }
167 175

  
168 176
    li {
169
        margin-top: 3*@gridGutterWidth;
177
        margin-top: 2*@verticalSpacing;
170 178
    }
171 179

  
172 180
    li.active {
......
207 215

  
208 216
div.page {
209 217
    .makeRow();
210
    margin-top: 6*@gridGutterWidth;
218
    margin-top: 5*@verticalSpacing;
211 219
    font-size: 1.1em;
212 220
    .page-inner {
213 221
        position: relative;    
......
216 224

  
217 225
// columnlayout
218 226
.maincol {
227
    position: relative;
219 228
    .makeColumn(5);
220 229
    
221 230
    &.wide {
......
227 236
        margin-left: 0;
228 237
        .makeColumn(10);
229 238
    }
239

  
240
    .nextlink {
241
         margin-top: 60px;
242
         text-align: right;
243
         float: right;
244
         margin-right: 50px;
245
         font-size: 1.1em;
246
    }   
247

  
248
    .content-bottom { position: relative; .clearfix(); }
249
}
250

  
251
.backlink {
252
    margin: 30px 0;    
230 253
}
231 254

  
232 255
.appbar {
......
311 334
        
312 335
        h3 {
313 336
            font-size: 1.2em;
314
            margin-bottom: @gridGutterWidth;    
337
            margin-bottom: @verticalSpacing;    
315 338
        }
316 339

  
317 340
        .text {
......
319 342
        }
320 343
    }
321 344

  
322
    margin-bottom: 3*@gridGutterWidth; 
345
    margin-bottom: 3*@verticalSpacing; 
323 346

  
324 347
    .left, .right {
325 348
        width: 50%;
......
387 410
form {
388 411
    
389 412
    &.login {
390
        margin-bottom: 1.5*@gridGutterWidth; 
413
        margin-bottom: 1.5*@verticalSpacing; 
391 414
    }
392 415

  
393 416
    h2 {
394 417
        color: @black;
395
        margin-bottom: @gridGutterWidth;
418
        margin-bottom: @verticalSpacing;
396 419
        font-size: 1.1em;
397 420

  
398 421
        span {
......
401 424
    }
402 425

  
403 426
    .form-row {
404
        min-height: 2*@gridGutterWidth;
427
        min-height: 2*@verticalSpacing;
405 428
        position: relative;
406 429
        &.submit {
407
            margin-top: 1.5*@gridGutterWidth;
430
            margin-top: 1.5*@verticalSpacing;
408 431
        }
409 432

  
410 433
        .extra-link {
......
415 438
            margin-top: 1.3em;
416 439
            float: right;
417 440
        }
441

  
442
        label {
443
            font-size: 1.1em;    
444
        }
418 445
    }
419 446
    
420 447
    &.innerlabels label { 
421 448
        position: absolute;
422
        top:1em;
423
        left:1.5em;
449
        top: 1.1em;
450
        left: 1.5em;
424 451
        color: #aaa;
425 452
    }
426 453

  
......
476 503
    background-image: url("../images/dashed_border.png");
477 504
    background-repeat: repeat-x;
478 505
    background-position: left bottom;
479
    padding-bottom: 2*@gridGutterWidth;
480
    margin-bottom: 2*@gridGutterWidth;
506
    padding-bottom: 2*@verticalSpacing;
507
    margin-bottom: 2*@verticalSpacing;
481 508

  
482 509
}
483 510

  
......
485 512
    h2 {
486 513
        font-size: 1.1em;
487 514
        line-height: 1.3em;
488
        margin-bottom: 1.5*@gridGutterWidth;    
515
        margin-bottom: 1.5*@verticalSpacing;    
489 516

  
490 517
        a {
491 518
            color: #4085A6;
......
497 524
    h3 {
498 525
        font-size: 1.1em;    
499 526
        line-height: 1.3em;
500
        margin-bottom: 1.5*@gridGutterWidth;    
527
        margin-bottom: 1.5*@verticalSpacing;    
501 528
    }
502 529

  
503 530
    p {
......
505 532
    }
506 533

  
507 534
    .section-img {
508
        margin-bottom: 1*@gridGutterWidth;    
535
        margin-bottom: 1*@verticalSpacing;    
509 536
    }
510 537
}
511 538

  
......
517 544
    margin: 2em 0;
518 545
    background-color: #ddd;
519 546
    margin-left: 0;
520

  
547
    font-size: 1.1em;
521 548
    li {
522 549
        padding: 1em;    
523 550

  
......
554 581

  
555 582
// footer
556 583
.footer {
557
    .makeRow()
558
    
584
    .clearfix();
585
    color: lighten(@gray, 20%);
586
    .transit();
587

  
588
    a { .transit() }
589

  
559 590
    &:hover {
591
        color: @gray !important;
560 592
        a {
561 593
            color: @gray !important;
562
            .transit();
563 594
        }
564 595
    }
565 596

  
566 597
    a {
567 598
        color: lighten(@gray, 20%);    
568
        .transit();
569 599
        text-decoration: none;
570 600

  
571 601
        &:hover {
572
            color: darken(@gray, 50%);    
602
            color: #000 !important;
573 603
        }
574 604
    }
575 605

  
576 606
    li {
577
        margin-bottom: @gridGutterWidth/2;
607
        margin-bottom: @verticalSpacing/2;
578 608

  
579 609
        &.header {
580
            margin-bottom: @gridGutterWidth;    
610
            margin-bottom: @verticalSpacing;    
581 611
        }
582 612
    }
583 613

  
......
588 618
            margin-right:0;
589 619
        }
590 620
    }
621
    
622
    .top.row, .last.row {
623
        .makeRow();
624
        margin: 20px 0;
625

  
626
        .col {
627
            .makeColumn(4);    
628

  
629
            &.first {
630
                margin-left: 0 !important;    
631
            }
632
            &.last {
633
                .makeColumn(2);    
634
            }
635
        }
636
    }
637
    .top.row {
638
        margin-top: 0;
639
    }
640
    
641
    .last.row { 
642
        text-align: left; 
643
        font-size: 0.8em;
644
        margin-bottom: 0;
645
    }
591 646

  
592 647
    .bottom.row {
593 648
        .col {
......
618 673

  
619 674
    .section();
620 675
    .clearfix();
621
    margin-bottom: 2*@gridGutterWidth;    
676
    margin-bottom: 2*@verticalSpacing;    
622 677

  
623 678
    .title {
624 679
        margin-bottom: 1em;    
......
633 688
    }
634 689
    
635 690
    .intro-content, .content {
636
        margin-top: @gridGutterWidth;
691
        margin-top: @verticalSpacing;
637 692

  
638 693
        object {
639
            margin: @gridGutterWidth 0;    
694
            margin: @verticalSpacing 0;    
640 695
        }
641 696
    }
642 697

  
643 698
    .entry-info {
644 699
        font-size: 0.7em;
645
        margin-top: @gridGutterWidth;    
700
        margin-top: @verticalSpacing;    
646 701
    }
647 702

  
648 703
    &.single {
649 704
        .entry-info {
650 705
            margin-top: 0;
651
            margin-bottom: @gridGutterWidth;
706
            margin-bottom: @verticalSpacing;
652 707
        }    
653 708
    }
654 709
}
655 710

  
656 711
.section.twitter-feed {
657 712
    
713
    font-size: 1.1em;
658 714
    .tweet {
659 715
        &:last-child { margin-bottom:0; padding-bottom:0; border-bottom: none }
660 716
        line-height: 1.3em;
661 717
        font-size: 0.9em;
662
        margin-bottom: @gridGutterWidth;
718
        margin-bottom: @verticalSpacing;
663 719
        color: @gray;
664 720

  
665 721
        .date {
......
708 764
        ul { .clearfix() }
709 765
        ul li { float: left; }
710 766
        .title {
711
            margin-bottom: @gridGutterWidth/2;    
767
            margin-bottom: @verticalSpacing/2;    
712 768
        }
713 769

  
714 770
        ul li a {
......
720 776

  
721 777
    .list {
722 778
        
723
        margin-top: 4*@gridGutterWidth;
779
        margin-top: 4*@verticalSpacing;
724 780

  
725 781
        .resource {
726 782
            .border-box();
727 783
            width: 33%;
728
            padding: 2*@gridGutterWidth;
784
            padding: 2*@verticalSpacing;
729 785
            float: left;
730 786
            border: 1px solid @resCol;
731
            height: 12*@gridGutterWidth;
787
            height: 12*@verticalSpacing;
732 788

  
733 789
            .description {
734 790
                display: none;    
......
749 805
        margin-bottom: 10px;
750 806
        display: block !important;
751 807
    }
808

  
809
    th, td {
810
        line-height: 1;    
811
    }
752 812
}
753 813

  
754 814
.checkbox-widget.checked {
......
764 824
    display: block;
765 825
    float: left;
766 826
    cursor: pointer;
767
    margin-top: @gridGutterWidth/2 - 2;
827
    margin-top: @verticalSpacing/2 - 2;
768 828
}
769 829

  
770 830

  

Also available in: Unified diff