Revision 8dd49103

b/cloudcms/static/cloudcms/css/forms.css
296 296
  color: #5e5e5e;
297 297
}
298 298

  
299
 
299
#recaptcha_area {
300
	margin-top:20px;
301
} 
b/cloudcms/static/cloudcms/css/modules.css
1
.wrapper                                        { margin:0 auto; position:relative; width:820px; padding:20px 70px; }
1
.wrapper                                        { margin:0 auto; position:relative; width:820px; padding:36px 70px; }
2 2
.container .wrapper,
3 3
.footer .wrapper                                { border: 1px solid #808080; border-top:0 none;}
4 4
.centered                                       { text-align:center;}
......
10 10
.header                                         { background:#000; color:#fff;	 height:35px; line-height:35px; }	
11 11
.header .wrapper                                { width:auto; padding:0;}			
12 12
.header a                                       { color:#fff; text-decoration:none;}
13
.header .profile                                { float:right; background:#01A1AE; width:100px; padding:0 20px; text-align:right;  }
13
.header .profile                                { float:right; background:#01A1AE; width:150px; padding:0 20px; text-align:right;  }
14 14
.header .profile a                              { text-decoration:none; color:#fff; }
15
.header .profile ul                             { position:absolute; right:0; top:35px; padding:0; margin:0; background:#01A1AE; width:140px; display:none;	}
15
.header .profile ul                             { position:absolute; right:0; top:35px; padding:0; margin:0; background:#01A1AE; width:190px; display:none;	}
16 16
.header .profile ul li                          { list-style:none outside; line-height:35px; border-top:1px solid #000; padding:0 20px;}
17 17
.header .profile ul li:hover					{ background:#000;}
18 18
.header .profile:hover ul                       { display:block; }
......
36 36

  
37 37

  
38 38
/*top message*/
39
.top-msg	                                    { margin:-20px -70px 40px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative;}
39
.top-msg	                                    { margin:-36px -70px 40px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative;}
40 40
.top-msg  p	                                    { font-size:1.5em;}
41 41
.top-msg  p.title	                            { font-size:2em;  }
42 42
.top-msg  p.title span	                        { border-bottom:2px dotted #fff; padding:0 0 10px 0;}
......
45 45
.top-msg .close                                 { position:absolute; bottom:20px; right:20px; font-size:2em; font-weight:bold; border:0 none; color:#fff; text-decoration:none;}
46 46

  
47 47
/* container */
48
.container h1									{ margin:0; line-height:100%;}
48 49
.container .wrapper                             { padding-bottom:100px;}
49 50
.container .navigation                          { margin:20px 0 40px; font-size:1.231em;}
50 51
.container .navigation ul                       { margin:5px 0; padding:0;}
......
78 79
.follow ul li                                   { list-style:none outside; padding:0; margin:0 0 20px 0; font-size:0.923em; color:#808080;}
79 80
.follow ul li p.title                           { margin-bottom:0; color:#000;}
80 81
.follow ul li p.title a                         { color:#000;}
81
.follow ul li p.date                           { margin-bottom:0; color:#000;}
82
.follow ul li p.date a                         { color:#000;}
83 82
.follow ul li p a                               { color:#808080;}
84 83
.posts ul                                       { margin:0;padding:0; }
85 84
.posts ul li                                    { padding:0; margin:0 0 50px; list-style:none outside; }
......
136 135
.resources .categories ul li a.selected         { color: #000000 }
137 136
.resources .categories ul li.inactive           { opacity: 0.3; }
138 137
.resources .categories ul li.active             { font-weight: bold; opacity: 1; }
139
.resources .list                                { line-height: 1em; margin-top: 60px; position: relative; width:855px;}
140
.resources .list .resource-wrapper              { float: left; height: 250px; margin-bottom: 22px; margin-right: 35px; overflow: hidden; position: relative; width: 250px; } 
138
.resources .list                                { line-height: 1em; margin-top: 60px; position: relative; width:855px; }
139
.resources .list .resource-wrapper.first .resource      { margin-left: 0; }
140
.resources .list .resource-wrapper              { float: left; height: 250px; margin-bottom: 22px; margin-right: 35px; overflow: hidden; position: relative; width: 250px; }
141
.resources .list .resource-wrapper.first        { margin-left: 0; }
141 142
.resources .list .resource-wrapper.hidden       { display: none; }
142 143
.resources .list .resource                      { border: 1px solid #000000; height: 188px; overflow: hidden; padding: 30px; }
143 144
.resources .list .resource .date                { color: #808080; margin-bottom: 3px; }
......
186 187
.pagination .next-prev                          { float:left; }
187 188
.pagination .nums                               { text-align:right;}
188 189
.pagination .nums span                          { color:#F89A1C;}
190
                    
189 191

  
b/cloudcms/static/cloudcms/js/common.js
1
function setContainerMinHeight(){
2

  
3
    var h = $('.header').height();
4
    var f = $('.footer').height();
5
    var w = $(window).height();
6
    var pTop = parseInt (($('.container .wrapper').css('padding-top').replace("px", "")) );
7
    var pBottom = parseInt (($('.container .wrapper').css('padding-bottom').replace("px", "")));
8

  
9
    var c = w - ( h+f+pTop+pBottom);
10
    $('.container .wrapper').css('min-height', c);
11
    
12

  
13
}
14

  
1 15
$(document).ready(function() {
2 16

  
17
	setContainerMinHeight();
3 18
	
4
    $('.show-extra').click(function(e) {
19
     $('.show-extra').click(function(e) {
5 20
        e.preventDefault();
6
        $(this).parents('.bg-wrap').find('.extra').show('slow');
21
        
22
        $(this).parents('.bg-wrap').find('.extra').toggle('slow');
23
        $('.hide-extra').toggle();    
7 24
    });
8 25
    $('.hide-extra').click(function(e) {
9 26
        e.preventDefault();
27
        $(this).hide();
10 28
        $(this).parents('.bg-wrap').find('.extra').hide('slow');
11 29
    });
12 30
    
......
15 33
        $(this).parents('.box-more').toggleClass('border');
16 34
    });
17 35
	
18
    
19
	$('select').dropkick();
36
		
20 37
	$('.top-msg a.close').click(function(e) {
21 38
        e.preventDefault();
22 39
        $(this).parents('.top-msg').slideUp('5000', function() {
......
24 41
        });
25 42
    });
26 43
    
27
    if ( $('#os') ) {
44
    //$('select').dropkick();
45
    
46
  
47
    if ( $('#os').length > 0 ) {
28 48
       var os = BrowserDetect.OS;
29 49
       if ( os!=="an unknown OS" ) {
30 50
           $('#os').html('version '+os);
31 51
        }
32 52
    }
53
    
54
    $('.top-msg .success').parents('.top-msg').css(
55
    	{
56
    		backgroundColor: '#f3c',
57
    		color: '#fff'
58
    	}
59
    )
60
    
61
    $('.top-msg .error').parents('.top-msg').css(
62
    	{
63
    		backgroundColor: 'red',
64
    		color: '#fff'
65
    	}
66
    )
67
    
68
    
69
    $('.top-msg .warning').parents('.top-msg').css(
70
    	{
71
    		backgroundColor: '#90f',
72
    		color: '#fff'
73
    	}
74
    )
75
    
33 76
});
b/cloudcmsblog/templates/cloudcmsblog/archive.html
1 1
{% load applicationcontent_tags pagination_tags i18n %}
2 2

  
3
{% autopaginate entries 1 %}
3
{% autopaginate entries ENTRIES_PER_PAGE %}
4 4
{% fragment request "maincol" %}
5 5
<div class="posts">
6 6
	<ul>

Also available in: Unified diff