Revision b694b7a8
b/cloudcms/static/cloudcms/css/forms.css | ||
---|---|---|
1 | 1 |
/* generic form styles */ |
2 |
input, textarea, .form-widget { |
|
3 |
background-color: #ffffff; |
|
4 |
color: #000; |
|
5 |
border-color: #000000; |
|
6 |
} |
|
7 |
#forms .input, #forms input { |
|
8 |
font-family: 'Antic', sans-serif; |
|
9 |
font-size: 14px; |
|
10 |
font-weight: normal; |
|
11 |
line-height: 22px; |
|
12 |
letter-spacing: 1px; |
|
13 |
border: 1px solid #808080; |
|
14 |
height: 21px; |
|
15 |
display: inline-block; |
|
16 |
margin-bottom: -1px; |
|
17 |
padding: 0.8em; |
|
18 |
padding-left: 1.5em; |
|
19 |
z-index: 2; |
|
20 |
} |
|
21 |
#forms .input:focus, #forms input:focus { |
|
22 |
position: relative; |
|
23 |
border: 1px solid #000; |
|
24 |
z-index: 100; |
|
25 |
} |
|
26 |
#forms .input:focus label, #forms input:focus label { |
|
27 |
z-index: 300; |
|
28 |
} |
|
29 |
.altcol { |
|
30 |
background-color: #c3c3b9 !important; |
|
31 |
} |
|
32 |
.altcol:hover { |
|
33 |
background-color: #f89a1c !important; |
|
34 |
} |
|
35 |
|
|
36 |
form.withlabels label { |
|
37 |
width: 224px; |
|
38 |
display: block; |
|
39 |
float: left; |
|
40 |
padding-top: 1em; |
|
41 |
} |
|
42 |
form.withlabels input[type=text], form.withlabels input[type=password] { |
|
43 |
width: 224px; |
|
44 |
} |
|
45 |
form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long { |
|
46 |
width: 224px; |
|
47 |
} |
|
48 |
.login-section a.button { |
|
49 |
margin-bottom: 12px; |
|
50 |
} |
|
51 |
.login-section a.button:last-child { |
|
52 |
margin-bottom: none; |
|
53 |
} |
|
54 |
.login-section a.button.withicon { |
|
55 |
background-repeat: no-repeat; |
|
56 |
background-position: 15px 50%; |
|
57 |
padding-left: 40px; |
|
58 |
} |
|
59 |
.login-section.loggedin { |
|
60 |
padding-bottom: 0 !important; |
|
61 |
background-image: none !important; |
|
62 |
} |
|
63 |
form.login { |
|
64 |
margin-bottom: 22px; |
|
65 |
width:340px; |
|
66 |
} |
|
67 |
|
|
68 |
form h2 span { |
|
69 |
padding-bottom: 3px; |
|
70 |
} |
|
71 |
form .form-row { |
|
72 |
min-height: 29.333333333333332px; |
|
73 |
position: relative; |
|
74 |
} |
|
75 |
form .form-row.submit { |
|
76 |
margin: 22px 0 ; |
|
77 |
} |
|
78 |
form .form-row .extra-link { |
|
79 |
color: #808080; |
|
80 |
text-decoration: none; |
|
81 |
border: none; |
|
82 |
|
|
83 |
line-height:42px; |
|
84 |
float: right; |
|
85 |
} |
|
86 |
form .form-row .extra-link:hover { text-decoration:underline;} |
|
87 |
form .form-row label { |
|
88 |
font-size: 1.1em; |
|
89 |
} |
|
90 |
form.innerlabels label { |
|
91 |
position: absolute; |
|
92 |
top: 1.1em; |
|
93 |
left: 1.5em; |
|
94 |
color: #808080 ; |
|
95 |
} |
|
96 |
form.innerlabels p { |
|
97 |
margin:0; |
|
98 |
position: relative; |
|
99 |
} |
|
100 |
form.innerlabels p.p15px { font-size:1.154em;} |
|
101 |
form.innerlabels p.p15px a { margin:0 5px;} |
|
102 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
|
2 |
input, textarea, .form-widget { background-color: #ffffff; color: #000;border-color: #000000; } |
|
3 |
#forms .input, #forms input { font-family: 'Antic', sans-serif; font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; } |
|
4 |
#forms .input:focus, |
|
5 |
#forms input:focus { position: relative; border: 1px solid #000; z-index: 100; } |
|
6 |
#forms .input:focus label, |
|
7 |
#forms input:focus label { z-index: 300; } |
|
8 |
.altcol { background-color: #c3c3b9 !important; } |
|
9 |
.altcol:hover { background-color: #f89a1c !important; } |
|
10 |
form.withlabels label { width: 224px; display: block; float: left; padding-top: 1em; } |
|
11 |
form.withlabels input[type=text], |
|
12 |
form.withlabels input[type=password] { width: 224px; } |
|
13 |
form.withlabels input[type=text].long, |
|
14 |
form.withlabels input[type=password].long, |
|
15 |
form.withlabels textarea.long { width: 224px; } |
|
16 |
.login-section a.button { margin-bottom: 12px; } |
|
17 |
.login-section a.button:last-child { margin-bottom: none;} |
|
18 |
.login-section a.button.withicon { background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; } |
|
19 |
.login-section.loggedin { padding-bottom: 0 !important; background-image: none !important; } |
|
20 |
form.login { margin-bottom: 22px; width:340px; } |
|
21 |
form h2 span { padding-bottom: 3px; } |
|
22 |
form .form-row { min-height: 30px; position: relative;} |
|
23 |
form .form-row.submit { margin: 22px 0 ;} |
|
24 |
form .form-row .extra-link { color: #808080; text-decoration: none; border: none; margin-top:15px; line-height:42px; float: right; } |
|
25 |
form .form-row .extra-link:hover { text-decoration:underline;} |
|
26 |
form .form-row label { font-size: 1.1em; } |
|
27 |
form.innerlabels label { position: absolute; top: 1.1em; left: 1.5em; color: #808080 ; } |
|
28 |
form.innerlabels p { margin:0; position: relative;} |
|
29 |
form.innerlabels p.p15px { font-size:1.154em;} |
|
30 |
form.innerlabels p.p15px a { margin:0 5px;} |
|
31 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
|
103 | 32 |
form.innerlabels a, |
104 |
form.innerlabels a:hover { border:0 none;} |
|
33 |
form.innerlabels a:hover { border:0 none;}
|
|
105 | 34 |
form textarea, |
106 | 35 |
form input.text, |
107 | 36 |
form input[type="text"], |
108 |
form input[type="password"] { |
|
109 |
color:#808080; |
|
110 |
font-family: 'Antic', sans-serif; |
|
111 |
font-weight: normal; |
|
112 |
line-height: 22px; |
|
113 |
letter-spacing: 1px; |
|
114 |
border: 1px solid #808080; |
|
115 |
height: 21px; |
|
116 |
display: inline-block; |
|
117 |
margin-bottom: -1px; |
|
118 |
padding: 0.8em; |
|
119 |
padding-left: 1.5em; |
|
120 |
z-index: 2; |
|
121 |
width:300px; |
|
122 |
} |
|
123 |
|
|
124 |
form select { |
|
125 |
font-family: 'Antic', sans-serif; |
|
126 |
font-weight: normal; |
|
127 |
line-height: 22px; |
|
128 |
letter-spacing: 1px; |
|
129 |
border: 1px solid #808080; |
|
130 |
display:block; |
|
131 |
margin-bottom: -1px; |
|
132 |
padding: 0.8em; |
|
133 |
padding-left: 1.5em; |
|
134 |
z-index: 2; |
|
135 |
width:331px; |
|
136 |
} |
|
37 |
form input[type="password"] { color:#808080; font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px;border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:300px; } |
|
38 |
form select { font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; display:block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:331px; } |
|
137 | 39 |
form textarea:focus, |
138 | 40 |
form input.text:focus, |
139 | 41 |
form input[type="text"]:focus, |
140 |
form input[type="password"]:focus { |
|
141 |
position: relative; |
|
142 |
border: 1px solid #000; |
|
143 |
z-index: 100; |
|
144 |
} |
|
42 |
form input[type="password"]:focus {position: relative; border: 1px solid #000; z-index: 100;} |
|
145 | 43 |
form textarea:focus label, |
146 | 44 |
form input.text:focus label, |
147 | 45 |
form input[type="text"]:focus label, |
148 |
form input[type="password"]:focus label { |
|
149 |
z-index: 300; |
|
150 |
} |
|
151 |
form input.submit, form input[type="submit"] { |
|
152 |
font-family: 'Antic', sans-serif; |
|
153 |
font-size: 14px; |
|
154 |
font-weight: normal; |
|
155 |
line-height: 22px; |
|
156 |
letter-spacing:1px; |
|
157 |
background-color: #3582ac; |
|
158 |
color: #ffffff; |
|
159 |
border: none; |
|
160 |
padding: 10px 22px; |
|
161 |
font-size: 1em; |
|
162 |
|
|
163 |
} |
|
164 |
form input.submit:hover, form input[type="submit"]:hover { |
|
165 |
background-color: #f89a1c; |
|
166 |
} |
|
167 |
form input.submit.back, form input[type="submit"].back { |
|
168 |
text-decoration: none; |
|
169 |
bottom: 0; |
|
170 |
float: right; |
|
171 |
z-index: 500; |
|
172 |
} |
|
173 |
form input.submit.back.right, form input[type="submit"].back.right { |
|
174 |
right: 0; |
|
175 |
} |
|
176 |
form input.submit:hover, form input[type="submit"]:hover { |
|
177 |
background-color: #f89a1c; |
|
178 |
} |
|
179 |
form input.submit.back, form input[type="submit"].back { |
|
180 |
text-decoration: none; |
|
181 |
bottom: 0; |
|
182 |
float: right; |
|
183 |
z-index: 500; |
|
184 |
} |
|
185 |
form input.submit.back.right, form input[type="submit"].back.right { |
|
186 |
right: 0; |
|
187 |
} |
|
188 |
form textarea { |
|
189 |
height: 150px; |
|
190 |
width: 350px; |
|
191 |
max-height:150px; |
|
192 |
max-width:350px; |
|
193 |
} |
|
194 |
form .with-errors input, form .with-errors textarea, form .with-errors select { |
|
195 |
color: #9d261d; |
|
196 |
} |
|
197 |
form .with-errors label { |
|
198 |
color: #e4776f; |
|
199 |
} |
|
200 |
.form-error { |
|
201 |
background-color: #9d261d; |
|
202 |
color: #fff; |
|
203 |
font-size: 0.8em; |
|
204 |
padding: 5px 5px; |
|
205 |
} |
|
206 |
.form-errors.all .form-error { |
|
207 |
position: relative; |
|
208 |
border-radius: 0; |
|
209 |
margin-bottom: 1.3em; |
|
210 |
padding: 0.5em; |
|
211 |
} |
|
212 |
div.form-stacked { |
|
213 |
margin-bottom: 4em; |
|
214 |
} |
|
215 |
|
|
216 |
.checkbox-widget.checked { |
|
217 |
background-color: #FF0000; |
|
218 |
background-image: url("../images/checkbox.png"); |
|
219 |
background-position: 50% 50%; |
|
220 |
} |
|
221 |
.checkbox-widget { |
|
222 |
border: 1px solid #808080; |
|
223 |
cursor: pointer; |
|
224 |
display: block; |
|
225 |
float: left; |
|
226 |
height: 25px; |
|
227 |
margin:5px 20px 0 0 ; |
|
228 |
width: 25px; |
|
229 |
|
|
230 |
} |
|
231 |
|
|
232 |
|
|
233 |
form.withlabels .checkbox-widget{ |
|
234 |
margin-top:20px; |
|
235 |
} |
|
236 |
|
|
237 |
form.innerlabels .checkbox-widget + label { |
|
238 |
position:static; |
|
239 |
line-height:36px; |
|
240 |
color:#808080; |
|
241 |
|
|
242 |
} |
|
243 |
|
|
244 |
form.innerlabels .checkbox-widget + label + a { |
|
245 |
border-bottom:1px solid #F89A1C; |
|
246 |
font-size: 1.1em; |
|
247 |
|
|
248 |
} |
|
249 |
|
|
250 |
form span.info{ |
|
251 |
position:absolute; |
|
252 |
z-index:10; |
|
253 |
top:8px; |
|
254 |
left: 260px; |
|
255 |
|
|
256 |
} |
|
257 |
form span.info em { |
|
258 |
display:block; |
|
259 |
overflow:hidden; |
|
260 |
position:absolute; |
|
261 |
left:0; |
|
262 |
text-indent:-100px; |
|
263 |
top:0; |
|
264 |
height:28px; |
|
265 |
width:28px; |
|
266 |
background:url(../images/question-mark.jpg) no-repeat left bottom; |
|
267 |
cursor:pointer; |
|
268 |
} |
|
269 |
|
|
270 |
form span.info:hover em { |
|
271 |
background-position:left top; |
|
272 |
} |
|
273 |
|
|
274 |
form span.info span { |
|
275 |
position:absolute; |
|
276 |
left:42px; |
|
277 |
top:2px; |
|
278 |
width:150px; |
|
279 |
padding-left:55px; |
|
280 |
background:url(../images/black-line.jpg ) no-repeat left 12px; |
|
281 |
min-height:50px; |
|
282 |
display:none; |
|
283 |
} |
|
284 |
|
|
285 |
form span.info:hover span { |
|
286 |
display:block; |
|
287 |
} |
|
288 |
|
|
289 |
form p { |
|
290 |
margin-bottom:0; |
|
291 |
} |
|
292 |
|
|
46 |
form input[type="password"]:focus label { z-index: 300;} |
|
47 |
form input.submit, |
|
48 |
form input[type="submit"] {font-family: 'Antic', sans-serif;font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px; background-color: #3582ac; color: #ffffff; border: none; padding: 10px 22px;font-size: 1em; margin:15px 0 0 223px; height:43px; } |
|
49 |
form.innerlabels input.submit, |
|
50 |
form.innerlabels input[type="submit"] {margin-left:0;} |
|
51 |
form input.submit:hover, |
|
52 |
form input[type="submit"]:hover { background-color: #f89a1c;} |
|
53 |
form input.submit.back, |
|
54 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
|
55 |
form input.submit.back.right, |
|
56 |
form input[type="submit"].back.right {right: 0;} |
|
57 |
form input.submit:hover, |
|
58 |
form input[type="submit"]:hover { background-color: #f89a1c;} |
|
59 |
form input.submit.back, |
|
60 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
|
61 |
form input.submit.back.right, |
|
62 |
form input[type="submit"].back.right { right: 0; } |
|
63 |
form textarea { height: 150px; width: 350px; max-height:150px; max-width:350px;} |
|
64 |
form .with-errors input, |
|
65 |
form .with-errors textarea, |
|
66 |
form .with-errors select { color: #9d261d;} |
|
67 |
form .with-errors label { color: #e4776f; } |
|
68 |
.form-error { color:red; font-style:italic; font-size: 0.8em; padding: 5px 5px; } |
|
69 |
.form-errors.all .form-error { position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; } |
|
70 |
div.form-stacked { margin-bottom: 4em; } |
|
71 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
|
72 |
.checkbox-widget { border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; } |
|
73 |
form.withlabels .checkbox-widget { margin-top:20px; } |
|
74 |
form.innerlabels .checkbox-widget + label { position:static; line-height:36px; color:#808080; } |
|
75 |
form.innerlabels .checkbox-widget + label + a { border-bottom:1px solid #F89A1C; font-size: 1.1em; } |
|
76 |
form span.info { position:absolute;z-index:10; top:8px; left: 260px; } |
|
77 |
form span.info em { display:block; overflow:hidden; position:absolute; left:0; text-indent:-100px; top:0; height:28px; width:28px; background:url(../images/question-mark.jpg) no-repeat left bottom;cursor:pointer; } |
|
78 |
form span.info:hover em { background-position:left top; } |
|
79 |
form span.info span { position:absolute; left:42px; top:2px; width:150px; padding-left:55px; background:url(../images/black-line.jpg ) no-repeat left 12px; min-height:50px; display:none; } |
|
80 |
form span.info:hover span { display:block; } |
|
81 |
form p { margin-bottom:0;position:relative;} |
|
82 |
form input[readonly=true] { background-color: #ddd; color: #5e5e5e; } |
|
83 |
#recaptcha_area { margin-top:20px; } |
|
84 |
form.innerlabels .with-checkbox .checkbox-widget { margin-top:15px; } |
|
85 |
form.innerlabels .with-checkbox .checkbox-label { left:2.5em; } |
|
86 |
|
|
87 |
form .extra-img { display:block; width:21px; height:21px; overflow:hidden; position:absolute; left:440px;top:10px; z-index:101;} |
|
88 |
form .with-errors .extra-img { background:url(../images/symbols.png) no-repeat -58px -3px;} |
|
89 |
form .with-errors textarea+.extra-img, |
|
90 |
form .with-errors noscript+.extra-img { background:transparent;} |
|
91 |
form .with-errors input[type="text"], |
|
92 |
form .with-errors input[type="password"] { border:1px solid red;} |
|
93 |
form.innerlabels .with-errors .extra-img { left:290px;} |
|
94 |
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px;} |
|
95 |
.errorlist { margin:0; padding:0;} |
|
96 |
.errorlist li { list-style:none outside;} |
|
293 | 97 |
|
294 |
form input[readonly=true] { |
|
295 |
background-color: #ddd; |
|
296 |
color: #5e5e5e; |
|
297 |
} |
|
298 | 98 |
|
299 |
#recaptcha_area { |
|
300 |
margin-top:20px; |
|
301 |
} |
b/cloudcms/static/cloudcms/css/modules.css | ||
---|---|---|
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:150px; padding:0 20px; text-align:right; } |
|
13 |
.header .profile { float:right; background:#01A1AE; min-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:190px; display:none; }
|
|
16 |
.header .profile ul li { list-style:none outside; line-height:35px; border-top:1px solid #000; padding:0 20px;}
|
|
17 |
.header .profile ul li:hover { background:#000;}
|
|
15 |
.header .profile ul { position:absolute; right:0; top:35px; padding:0; margin:0; width:190px; display:none; z-index:9; background:#fff;}
|
|
16 |
.header .profile ul li { list-style:none outside; line-height:35px; padding:0 20px;} |
|
17 |
.header .profile ul li:hover a { color:#01A1AE;}
|
|
18 | 18 |
.header .profile:hover ul { display:block; } |
19 |
.header .profile .full a { padding-right:20px; background:url(../images/arrow-white.png) no-repeat right center;} |
|
20 |
.header .profile .full ul { border:1px dashed #000; border-top:0 none; border-right:0 none;} |
|
21 |
.header .profile ul li a { padding-right:0; background:none; color:#000;} |
|
19 | 22 |
.header ul.services { margin:0; padding:0; } |
20 | 23 |
.header ul.services li { float:left; height:35px; line-height:35px; text-align:center; padding: 0 30px; list-style:none outside;} |
21 | 24 |
.header ul.services li:first-child { padding:0 5px;} |
22 | 25 |
.header ul.services li.active { background:#333;} |
23 |
.header ul.services li:hover { background:#444; } |
|
26 |
.header ul.services li:hover { background:#444; }
|
|
24 | 27 |
|
25 | 28 |
|
26 | 29 |
/* footer */ |
... | ... | |
36 | 39 |
|
37 | 40 |
|
38 | 41 |
/*top message*/ |
39 |
.top-msg { margin:-36px -70px 40px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative; font-size:1.538em;}
|
|
42 |
.top-msg { margin:-36px -70px 36px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative; font-size:1.538em;}
|
|
40 | 43 |
.top-msg p.title { font-size:1.3em; } |
41 | 44 |
.top-msg p.title span { border-bottom:2px dotted #fff; padding:0 0 10px 0;} |
42 | 45 |
.top-msg.active { display:block;} |
43 |
.active+h1 { display:none;}
|
|
46 |
.top-msg +.mainlogo { margin-top:-73px;}
|
|
44 | 47 |
.top-msg .close { position:absolute; bottom:20px; right:20px; font-size:1.3em; font-weight:bold; border:0 none; color:#fff; text-decoration:none;} |
45 |
|
|
46 |
|
|
48 |
.top-msg .close:hover { color:#000;} |
|
47 | 49 |
|
48 | 50 |
/* container */ |
49 |
.container h1 { margin:0; line-height:100%;} |
|
50 | 51 |
.container .wrapper { padding-bottom:100px;} |
51 | 52 |
.container .navigation { margin:20px 0 40px; font-size:1.231em;} |
52 | 53 |
.container .navigation ul { margin:5px 0; padding:0;} |
53 | 54 |
.container .navigation ul li { list-style:none outside; padding:0; margin:0 0 0 1em; display:inline-block;} |
54 | 55 |
.container .navigation ul li:first-child { margin-left:0;} |
55 | 56 |
.container .navigation ul li a { color:#000; text-decoration:none; } |
56 |
.container .navigation ul li a:hover { border-bottom:1px solid #F89A1C;}
|
|
57 |
.container .navigation ul li a:hover { color:#F89A1C; }
|
|
57 | 58 |
.container .navigation ul li.active a { color:#F89A1C; } |
58 |
.dotted { background:url(../images/double-dots.jpg) no-repeat bottom center; padding:30px 0; margin-bottom:30px;}
|
|
59 |
.dotted { background:url(../images/double-dots.jpg) no-repeat bottom center; padding:0 0 30px; margin-bottom:30px;}
|
|
59 | 60 |
.two-cols .rt { float:right; width:390px;} |
60 | 61 |
.two-cols .lt { float:left; width:390px;} |
61 | 62 |
.two-cols .lt p { padding-right:40px;} |
... | ... | |
71 | 72 |
.container ul.options li a:hover { text-decoration:underline;} |
72 | 73 |
.landing h2, .landing a:hover { color:#01A1AE;} |
73 | 74 |
.faq h2, .faq a:hover { color:#EF4F54; border:0 none;} |
75 |
.faq h3 { color:#4085a6; margin:0;} |
|
74 | 76 |
.faq ul { padding:0; margin:0; } |
75 |
.faq ul li { list-style:none outside; padding:0 0 0 5px; margin:0; }
|
|
77 |
.faq ul li { list-style:none outside; padding:0; margin:0; } |
|
76 | 78 |
.faq ul li a { color:#222222; border:0 none;} |
79 |
.faq .faq-category { margin: 0 0 1.5em;} |
|
77 | 80 |
.follow h3 a { color:#4085A6;} |
78 | 81 |
.follow a { border:0 none;} |
79 | 82 |
.follow ul { margin:0; padding:0;} |
80 | 83 |
.follow ul li { list-style:none outside; padding:0; margin:0 0 20px 0; font-size:0.923em; color:#808080;} |
81 | 84 |
.follow ul li p.title { margin-bottom:0; color:#000;} |
82 | 85 |
.follow ul li p.title a { color:#000;} |
83 |
.follow ul li p a { color:#808080;} |
|
86 |
.follow ul li p a { color:#808080;}
|
|
84 | 87 |
.posts ul { margin:0;padding:0; } |
85 | 88 |
.posts ul li { padding:0; margin:0 0 50px; list-style:none outside; } |
86 |
.posts ul li .img-div { float:left; width:160px; margin-right:20px; } |
|
87 |
.posts ul li .img-div img { max-width:160px;} |
|
88 |
.posts ul li .img-div p { font-size:1.154em; color:#01A1AE;} |
|
89 |
.posts ul li .txt { overflow:hidden;} |
|
90 |
.posts ul li .txt h3 { color:#F89A1C;} |
|
91 |
.posts ul li .txt h3 a { color:#F89A1C; border:0 none; } |
|
92 |
.posts ul li p.info { background:url(../images/blog-dots.jpg) no-repeat top; padding-top:10px; margin-top:20px; font-size:0.923em; color:#808080;} |
|
93 |
.article p.info { margin-top:20px; padding-top:10px; font-size:0.923em; color:#808080; border-top:1px dashed #ccc;} |
|
94 |
p.info a { color:#808080; } |
|
89 |
.posts ul li img { max-width:580px; margin-bottom:1em;} |
|
90 |
.posts ul li p.info { padding-bottom:10px; margin-bottom:20px; font-size:0.923em; color:#808080; border-bottom:1px dashed #000;} |
|
91 |
.article p.info { margin-top:20px; padding-top:10px; font-size:0.923em; color:#808080; } |
|
92 |
.article h2, .posts h2 { color:#ef4f53; } |
|
93 |
.posts h2 a, .posts h2 a:hover { border:0 none;color:#ef4f53;} |
|
94 |
.posts p.date, .article p.date { margin:0; font-size:1.231em; color:#01a1ae; } |
|
95 |
p.info a { color:#808080; border-bottom:0 none; } |
|
96 |
p.info a:hover { color:#000; border-bottom:0 none;} |
|
95 | 97 |
.bg-wrap { background-position:right top; background-repeat:no-repeat;} |
96 | 98 |
.bg-wrap .extra { display:none;} |
97 | 99 |
.bg-wrap.open .extra { display:block;} |
... | ... | |
122 | 124 |
a.videolink { border: 0 none; display:block; width:367px; height:207px; background:url(../images/video_image_hover.png) no-repeat; text-decoration:none;} |
123 | 125 |
a.videolink:hover { background:url(../images/video_image.png)no-repeat; text-decoration:none; border:0 none;} |
124 | 126 |
.container .full { position:relative;} |
125 |
|
|
127 |
.container .bottom-bordered { border-bottom:1px dashed #000000;margin-bottom:20px } |
|
128 |
.container .lt-div { width:234px; float:left; } |
|
129 |
.container .overflow-hidden { overflow:hidden;} |
|
126 | 130 |
|
127 | 131 |
|
128 | 132 |
/* resources*/ |
129 |
.resources .categories .clear { color: #000000; float: right; margin-right: 4px;}
|
|
133 |
.resources .categories .clear { color: #000000; position:relative; top:-1px;}
|
|
130 | 134 |
.resources a, .resources a:hover { border:0 none;} |
131 | 135 |
.resources .categories ul { margin:0;padding:0;} |
132 | 136 |
.resources .categories ul li { float: left; list-style:none outside;} |
... | ... | |
166 | 170 |
.resources .list .resource-cat-2.resource .description { background-color: #FF6F00 } |
167 | 171 |
.resources .resource-cat-2.filter-item a { color: #FF6F00 } |
168 | 172 |
|
169 |
table { width:100%;} |
|
170 |
table th, table td { padding:10px; } |
|
171 |
table td { border-top: 1px solid #DDDDDD; } |
|
173 |
table { width:80%; color:#B3B3B3;} |
|
174 |
table th, table td { padding:5px 5px 5px 0; } |
|
175 |
/*table td { border-top: 1px solid #DDDDDD; }*/ |
|
176 |
table th { color:#222; font-weight:normal;} |
|
172 | 177 |
table td.consumed { color: #9D261D; } |
173 | 178 |
|
174 |
.zebra-striped tbody tr:nth-child(2n+1) td, |
|
175 |
.zebra-striped tbody tr:nth-child(2n+1) th { background-color: #F9F9F9; } |
|
179 |
/*.zebra-striped tbody tr:nth-child(2n+1) td,
|
|
180 |
.zebra-striped tbody tr:nth-child(2n+1) th { background-color: #F9F9F9; }*/
|
|
176 | 181 |
.zebra-striped tbody tr:hover td, |
177 | 182 |
.zebra-striped tbody tr:hover th { background-color: #F5F5F5; } |
178 | 183 |
|
... | ... | |
189 | 194 |
.pagination .nums { text-align:right;} |
190 | 195 |
.pagination .nums span { color:#F89A1C;} |
191 | 196 |
|
192 |
|
|
197 |
.two-cols .lt .clients-wrapper p { padding:0; } |
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", ""))); |
|
1 |
function setContainerMinHeight( applicableDiv){ |
|
2 |
|
|
3 |
if ( $(applicableDiv).length > 0 ) { |
|
4 |
//var h = $('.header').height(); div.header is not found |
|
5 |
var f = $('.footer').height(); |
|
6 |
var w = $(window).height(); |
|
7 |
var pTop = parseInt (($(applicableDiv).css('padding-top').replace("px", "")) ); |
|
8 |
var pBottom = parseInt (($(applicableDiv).css('padding-bottom').replace("px", ""))); |
|
8 | 9 |
|
9 |
var c = w - ( h+f+pTop+pBottom);
|
|
10 |
$('.container .wrapper').css('min-height', c);
|
|
11 |
|
|
10 |
var c = w - ( f+pTop+pBottom+36);//36 is header's height.
|
|
11 |
$(applicableDiv).css('min-height', c);
|
|
12 |
} |
|
12 | 13 |
|
13 | 14 |
} |
14 | 15 |
|
15 | 16 |
$(document).ready(function() { |
16 |
|
|
17 |
setContainerMinHeight(); |
|
18 | 17 |
|
19 |
$('.show-extra').click(function(e) { |
|
18 |
|
|
19 |
setContainerMinHeight('.container .wrapper'); |
|
20 |
|
|
21 |
|
|
22 |
$('.show-extra').click(function(e) { |
|
20 | 23 |
e.preventDefault(); |
21 | 24 |
|
22 | 25 |
$(this).parents('.bg-wrap').find('.extra').toggle('slow'); |
... | ... | |
34 | 37 |
}); |
35 | 38 |
|
36 | 39 |
|
40 |
var topMargin=parseInt($('.mainlogo').height())+parseInt($('.top-msg').css('marginBottom')); |
|
41 |
$('.mainlogo').css('marginTop','-'+topMargin+'px') |
|
42 |
|
|
37 | 43 |
$('.top-msg a.close').click(function(e) { |
38 |
e.preventDefault(); |
|
39 |
$(this).parents('.top-msg').slideUp('5000', function() { |
|
44 |
$('.top-msg').animate({ |
|
45 |
paddingTop:'0', |
|
46 |
paddingBottom:'0', |
|
47 |
height:'0' |
|
48 |
}, 1000, function (){ |
|
40 | 49 |
$('.top-msg').removeClass('active') |
41 | 50 |
}); |
42 |
}); |
|
43 |
|
|
51 |
$('.mainlogo').animate({ |
|
52 |
marginTop:'0' |
|
53 |
}, 1000, function (){ |
|
54 |
//todo |
|
55 |
}); |
|
56 |
}); |
|
44 | 57 |
//$('select').dropkick(); |
45 | 58 |
|
46 |
|
|
47 |
if ( $('#os').length > 0 ) { |
|
48 |
var os = BrowserDetect.OS; |
|
49 |
if ( os!=="an unknown OS" ) { |
|
50 |
$('#os').html('version '+os); |
|
51 |
} |
|
52 |
} |
|
59 |
|
|
53 | 60 |
|
54 | 61 |
$('.top-msg .success').parents('.top-msg').css( |
55 | 62 |
{ |
... | ... | |
74 | 81 |
) |
75 | 82 |
|
76 | 83 |
}); |
84 |
|
|
85 |
$(window).resize(function() { |
|
86 |
|
|
87 |
setContainerMinHeight('.container .wrapper'); |
|
88 |
|
|
89 |
}); |
b/cloudcmsresources/templates/content/resources_list.html | ||
---|---|---|
11 | 11 |
|
12 | 12 |
<div class="categories"> |
13 | 13 |
<h2 class="title">{{ content.filter_title }}</h2> |
14 |
<a href="#" class="clear">show all</a> |
|
14 |
|
|
15 | 15 |
<ul> |
16 | 16 |
{% for cat in categories %} |
17 | 17 |
<li class="{{ cat.get_css_class }} filter-item" data-id="{{ cat.pk }}"> |
... | ... | |
19 | 19 |
</li> |
20 | 20 |
{% endfor %} |
21 | 21 |
</ul> |
22 |
<a href="#" class="clear">show all</a> |
|
22 | 23 |
</div> |
23 | 24 |
|
24 | 25 |
<div class="list"> |
Also available in: Unified diff