Revision dde9bcd4

b/cloudcms/cms.py
104 104
    'path': 'cms/pages/onecol.html',
105 105
    'regions': (
106 106
        ('main', 'Main region'),
107
        ('bottom', 'Bottom region'),
107 108
        ),
108 109
    },
109 110
    {
b/cloudcms/static/cloudcms/css/styles.css
604 604
  box-sizing: border-box;
605 605
  *behavior: url(boxsizing.htc);
606 606
}
607
.clearme {
608
  zoom: 1;
609
}
610
.clearme:before, .clearme:after {
611
  display: table;
612
  content: "";
613
  zoom: 1;
614
}
615
.clearme:after {
616
  clear: both;
617
}
607 618
body {
608 619
  font-family: 'Antic', sans-serif;
609 620
  font-size: 14px;
......
651 662
p a,
652 663
form a,
653 664
.section a,
654
.styledlinks a {
665
.styledlinks a,
666
a.styled {
655 667
  color: #000000;
656 668
  text-decoration: none;
657 669
  border-bottom: 1px solid #f89a1c;
......
660 672
p a:hover,
661 673
form a:hover,
662 674
.section a:hover,
663
.styledlinks a:hover {
675
.styledlinks a:hover,
676
a.styled:hover {
664 677
  color: #f89a1c;
665 678
}
666 679
section a.noborder,
667 680
p a.noborder,
668 681
form a.noborder,
669 682
.section a.noborder,
670
.styledlinks a.noborder {
683
.styledlinks a.noborder,
684
a.styled.noborder {
671 685
  border: none;
672 686
}
673 687
section a em,
674 688
p a em,
675 689
form a em,
676 690
.section a em,
677
.styledlinks a em {
691
.styledlinks a em,
692
a.styled em {
678 693
  color: #3582ac;
679 694
}
680 695
a.simple {
......
858 873
  position: relative;
859 874
}
860 875
.maincol {
876
  position: relative;
861 877
  display: inline;
862 878
  float: left;
863 879
  margin-left: 22px;
......
896 912
.maincol.full:after {
897 913
  clear: both;
898 914
}
915
.maincol .nextlink {
916
  margin-top: 60px;
917
  text-align: right;
918
  float: right;
919
  margin-right: 50px;
920
  font-size: 1.1em;
921
}
922
.maincol .content-bottom {
923
  position: relative;
924
  zoom: 1;
925
}
926
.maincol .content-bottom:before, .maincol .content-bottom:after {
927
  display: table;
928
  content: "";
929
  zoom: 1;
930
}
931
.maincol .content-bottom:after {
932
  clear: both;
933
}
899 934
.appbar {
900 935
  height: 30px;
901 936
  background-color: #3582ac;
b/cloudcms/static/cloudcms/less/styles.less
14 14
    *behavior: url(boxsizing.htc);
15 15
}
16 16

  
17
.clearme { .clearfix() }
18

  
17 19
@gradCol: #ddd;
18 20
body {
19 21
    #font.main();
......
46 48
}
47 49

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

  
218 220
// columnlayout
219 221
.maincol {
222
    position: relative;
220 223
    .makeColumn(5);
221 224
    
222 225
    &.wide {
......
228 231
        margin-left: 0;
229 232
        .makeColumn(10);
230 233
    }
234

  
235
    .nextlink {
236
         margin-top: 60px;
237
         text-align: right;
238
         float: right;
239
         margin-right: 50px;
240
         font-size: 1.1em;
241
    }   
242

  
243
    .content-bottom { position: relative; .clearfix(); }
231 244
}
232 245

  
233 246
.appbar {
b/cloudcms/synnefo_settings.py
66 66
        'feincms': '',
67 67
        'django.contrib.admin': ('media', 'admin_media'),
68 68
}
69

  
69 70
cloudcms_context_processors = [
70 71
    'cloudcms.context_processors.application',
71 72
    'synnefo.lib.context_processors.cloudbar'
b/cloudcms/templates/cms/pages/onecol.html
2 2

  
3 3
{% block page.body %}
4 4
<div class="maincol full">
5
    {% for content in feincms_page.content.main %}
6
        {{ content.render }}
7
    {% endfor %}
5
    <div class="clearme">
6
        {% block page.maincol.content %}
7
            {% for content in feincms_page.content.main %}
8
                {{ content.render }}
9
            {% endfor %}
10
        {% endblock %}
11
    </div>
12
    <div class="content-bottom">
13
        {% block page.bottom.content %}
14
            {% for content in feincms_page.content.bottom %}
15
                {{ content.render }}
16
            {% endfor %}
17
        {% endblock %}
18
    </div>
8 19
</div>
9 20
{% endblock %}
10 21

  

Also available in: Unified diff