Revision 7405e79a

b/cloudcms/static/cloudcms/css/boxsizing.htc
1
/**
2
* CSS-JS-BOOSTER
3
* 
4
* A polyfill for box-sizing: border-box for IE6 & IE7.
5
* 
6
* JScript
7
* 
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU Lesser General Public License as published 
10
* by the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
* 
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU Lesser General Public License for more details.
17
* 
18
* See <http://www.gnu.org/licenses/lgpl-3.0.txt>
19
* 
20
* @category  JScript 
21
* @package   box-sizing-polyfill
22
* @author    Christian Schepp Schaefer <schaepp@gmx.de> <http://twitter.com/derSchepp>
23
* @copyright 2010 Christian Schepp Schaefer
24
* @license   http://www.gnu.org/copyleft/lesser.html The GNU LESSER GENERAL PUBLIC LICENSE, Version 3.0
25
* @link      http://github.com/Schepp/box-sizing-polyfill 
26
*
27
* PREFACE:
28
*
29
* This box-sizing polyfill is based on previous work done by Erik Arvidsson, 
30
* which he published in 2002 on http://webfx.eae.net/dhtml/boxsizing/boxsizing.html.
31
*
32
* USAGE:
33
* 	
34
* Add the behavior/HTC after every `box-sizing: border-box;` that you assign:
35
* 
36
* box-sizing: border-box;
37
* *behavior: url(/scripts/boxsizing.htc);`
38
* 
39
* If you prefix the `behavior` property with a star, like seen above, it will only be seen by 
40
* IE6 & IE7, not by IE8+ (it's a hack) which is better for the performance on those newer browsers.
41
*
42
* The URL to the HTC file must be relative to your HTML(!) document, not relative to your CSS.
43
* That's why I'd advise you to use absolute paths like in the example.
44
*
45
*/
46
<component lightWeight="true">
47
<attach event="onpropertychange" onevent="checkPropertyChange()" />
48
<attach event="ondetach" onevent="restore()" />
49
<attach event="onresize" for="window" onevent="restore();init()" />
50
<script type="text/javascript">
51
//<![CDATA[
52

  
53
var viewportwidth = (typeof window.innerWidth != 'undefined' ? window.innerWidth : element.document.documentElement.clientWidth);
54
// Shortcut for the document object
55
var doc = element.document;
56

  
57
/*
58
* init gets called once at the start and then never again, 
59
* triggers box-sizing calculations and updates width and height
60
*/
61
function init(){
62
	// check for IE8+
63
	if(typeof(element.style.boxSizing) == "undefined"){
64
		updateBorderBoxWidth();
65
		updateBorderBoxHeight();
66
	}
67
}
68

  
69
/*
70
* restore gets called when the behavior is being detached (see event binding at the top),
71
* resets everything like it was before applying the behavior
72
*/
73
function restore(){
74
	// check for IE8+
75
	if(typeof(element.style.boxSizing) == "undefined"){
76
		element.runtimeStyle.width = "";
77
		element.runtimeStyle.height = "";
78
	}
79
}
80

  
81
/*
82
* checkPropertyChange gets called as soon as an element property changes 
83
* (see event binding at the top), it then checks if any property influencing its 
84
* dimensions was changed and if yes recalculates width and height 
85
*/
86
function checkPropertyChange(){
87
	// check for IE8+
88
	if(typeof(element.style.boxSizing) == "undefined"){
89
		var pn = event.propertyName;
90
		var undef;
91
		if(pn == "style.boxSizing" && element.style.boxSizing == ""){
92
			element.style.removeAttribute("boxSizing");
93
			element.runtimeStyle.boxSizing = undef;
94
		}
95
		switch (pn){
96
			case "style.width":
97
			case "style.borderLeftWidth":
98
			case "style.borderLeftStyle":
99
			case "style.borderRightWidth":
100
			case "style.borderRightStyle":
101
			case "style.paddingLeft":
102
			case "style.paddingRight":
103
				updateBorderBoxWidth();
104
			break;
105
		
106
			case "style.height":
107
			case "style.borderTopWidth":
108
			case "style.borderTopStyle":
109
			case "style.borderBottomWidth":
110
			case "style.borderBottomStyle":
111
			case "style.paddingTop":
112
			case "style.paddingBottom":
113
				updateBorderBoxHeight();
114
			break;
115
		
116
			case "className":
117
			case "style.boxSizing":
118
				updateBorderBoxWidth();
119
				updateBorderBoxHeight();
120
			break;
121
		}
122
	}
123
}
124

  
125
/* 
126
 * Helper function, taken from Dean Edward's IE7 framework,
127
 * added by Schepp on 12.06.2010.
128
 * http://code.google.com/p/ie7-js/
129
 *
130
 * Allows us to convert from relative to pixel-values.
131
 */
132
function getPixelValue(value){
133
	var PIXEL = /^\d+(px)?$/i;
134
	if (PIXEL.test(value)) return parseInt(value);
135
	var style = element.style.left;
136
	var runtimeStyle = element.runtimeStyle.left;
137
	element.runtimeStyle.left = element.currentStyle.left;
138
	element.style.left = value || 0;
139
	value = parseInt(element.style.pixelLeft);
140
	element.style.left = style;
141
	element.runtimeStyle.left = runtimeStyle;
142
	
143
	return value;
144
}
145

  
146
function getPixelWidth(object, value){
147
	// For Pixel Values
148
	var PIXEL = /^\d+(px)?$/i;
149
	if (PIXEL.test(value)) return parseInt(value);
150
	
151
	// For Percentage Values
152
	var PERCENT = /^[\d\.]+%$/i;
153
	if (PERCENT.test(value)){
154
		try{
155
			parentWidth = getPixelWidth(object.parentElement,(object.parentElement.currentStyle.width != "auto" ? object.parentElement.currentStyle.width : "100%"));
156
			value = (parseFloat(value) / 100) * parentWidth;
157
		}
158
		catch(e){
159
			value = (parseFloat(value) / 100) * element.document.documentElement.clientWidth;
160
		}
161
		return parseInt(value);
162
	}
163
	
164
	// For EM Values
165
	var style = object.style.left;
166
	var runtimeStyle = object.runtimeStyle.left;
167
	object.runtimeStyle.left = object.currentStyle.left;
168
	object.style.left = value || 0;
169
	value = parseInt(object.style.pixelLeft);
170
	object.style.left = style;
171
	object.runtimeStyle.left = runtimeStyle;
172
	
173
	return value;
174
}
175

  
176

  
177
/*
178
 * getBorderWidth & friends
179
 * Border width getters
180
 */
181
function getBorderWidth(sSide){
182
	if(element.currentStyle["border" + sSide + "Style"] == "none"){
183
		return 0;
184
	}
185
	var n = getPixelValue(element.currentStyle["border" + sSide + "Width"]);
186
	return n || 0;
187
}
188
function getBorderLeftWidth() { return getBorderWidth("Left"); }
189
function getBorderRightWidth() { return getBorderWidth("Right"); }
190
function getBorderTopWidth() { return getBorderWidth("Top"); }
191
function getBorderBottomWidth() { return getBorderWidth("Bottom"); }
192

  
193

  
194
/*
195
 * getPadding & friends
196
 * Padding width getters
197
 */
198
function getPadding(sSide) {
199
	var n = getPixelValue(element.currentStyle["padding" + sSide]);
200
	return n || 0;
201
}
202
function getPaddingLeft() { return getPadding("Left"); }
203
function getPaddingRight() { return getPadding("Right"); }
204
function getPaddingTop() { return getPadding("Top"); }
205
function getPaddingBottom() { return getPadding("Bottom"); }
206

  
207

  
208

  
209
/*
210
 * getBoxSizing
211
 * Get the box-sizing value for the current element
212
 */
213
function getBoxSizing(){
214
	var s = element.style;
215
	var cs = element.currentStyle
216
	if(typeof s.boxSizing != "undefined" && s.boxSizing != ""){
217
		return s.boxSizing;
218
	}
219
	if(typeof s["box-sizing"] != "undefined" && s["box-sizing"] != ""){
220
		return s["box-sizing"];
221
	}
222
	if(typeof cs.boxSizing != "undefined" && cs.boxSizing != ""){
223
		return cs.boxSizing;
224
	}
225
	if(typeof cs["box-sizing"] != "undefined" && cs["box-sizing"] != ""){
226
		return cs["box-sizing"];
227
	}
228
	return getDocumentBoxSizing();
229
}
230

  
231

  
232
/*
233
 * getDocumentBoxSizing
234
 * Get the default document box sizing (check for quirks mode)
235
 */
236
function getDocumentBoxSizing(){
237
	if(doc.compatMode == null || doc.compatMode == "BackCompat"){
238
		return "border-box";
239
	}
240
	return "content-box"
241
}
242

  
243

  
244
/*
245
 * setBorderBoxWidth & friends
246
 * Width and height setters
247
 */
248
function setBorderBoxWidth(n){
249
	element.runtimeStyle.width = Math.max(0, n - getBorderLeftWidth() -
250
		getPaddingLeft() - getPaddingRight() - getBorderRightWidth()) + "px";
251
}
252
function setBorderBoxHeight(n){
253
	element.runtimeStyle.height = Math.max(0, n - getBorderTopWidth() -
254
		getPaddingTop() - getPaddingBottom() - getBorderBottomWidth()) + "px";
255
}
256
function setContentBoxWidth(n){
257
	element.runtimeStyle.width = Math.max(0, n + getBorderLeftWidth() +
258
		getPaddingLeft() + getPaddingRight() + getBorderRightWidth()) + "px";
259
}
260
function setContentBoxHeight(n){
261
	element.runtimeStyle.height = Math.max(0, n + getBorderTopWidth() +
262
		getPaddingTop() + getPaddingBottom() + getBorderBottomWidth()) + "px";
263
}
264

  
265

  
266
/*
267
 * updateBorderBoxWidth & updateBorderBoxHeight
268
 * 
269
 */
270
function updateBorderBoxWidth() {
271
	if(getDocumentBoxSizing() == getBoxSizing()){
272
		return;
273
	}
274
	var csw = element.currentStyle.width;
275
	if(csw != "auto"){
276
		csw = getPixelWidth(element,csw);
277
		if(getBoxSizing() == "border-box"){
278
			setBorderBoxWidth(parseInt(csw));
279
		}
280
		else{
281
			setContentBoxWidth(parseInt(csw));
282
		}
283
	}
284
}
285

  
286
function updateBorderBoxHeight() {
287
	if(getDocumentBoxSizing() == getBoxSizing()){
288
		return;
289
	}
290
	var csh = element.currentStyle.height;
291
	if(csh != "auto"){
292
		csh = getPixelValue(csh);
293
		if(getBoxSizing() == "border-box"){
294
			setBorderBoxHeight(parseInt(csh));
295
		}
296
		else{
297
			setContentBoxHeight(parseInt(csh));
298
		}
299
	}
300
}
301

  
302

  
303
// Run the calculations
304
init();
305

  
306
//]]>
307
</script>
308
</component>
b/cloudcms/static/cloudcms/css/custom.css
1
ul.messages li { margin-bottom: 5px }
2
ul.messages { background-color: transparent; }
3
ul.messages li a { font-weight: normal !important }
4
ul.messages li.notice { background-color: #284A5E }
5
ul.messages li.notice { color: #FFF }
6
ul.messages li.notice a { color: #FFF }
7
ul.messages li.notice2 { background-color: #F54500 }
8
ul.messages li.notice2 { color: #FFF }
9
ul.messages li.notice2 { background-color: #F54500 }
10
ul.messages li.notice2 a { color: #FFF }
b/cloudcms/static/cloudcms/css/formating.css
39 39
h1, h2, h3, h4, h5, h6							{ font-weight:bold; line-height:1.4; margin-bottom:0; }
40 40
/* Typographic scale based on 12px body size */
41 41
h1												{ font-size:4em; }
42
h2												{ font-size:1em; }
42
h2												{ font-size:1.154em; }
43 43
h3												{ font-size:1em; }
44 44
h4												{ font-size:1.5em; }
45 45
h5												{ font-size:1.333em; }
b/cloudcms/static/cloudcms/css/forms.css
5 5
#forms input:focus 							{ position: relative; border: 1px solid #000; z-index: 100; }
6 6
#forms .input:focus label,
7 7
#forms input:focus label 					{ z-index: 300; }
8
.altcol 									{ background-color: #c3c3b9 !important; }
9
.altcol:hover 								{ background-color: #f89a1c !important; }
10 8
form.withlabels label 						{ width: 224px; display: block; float: left; padding-top: 1em; }
11 9
form.withlabels input[type=text], 
12 10
form.withlabels input[type=password] 		{ width: 224px; }
......
45 43
form input[type="text"]:focus label,
46 44
form input[type="password"]:focus label 	{ z-index: 300;}
47 45
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; }
46
form input[type="submit"]					{font-family: 'Antic', sans-serif;font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px;  background-color: #f89a1c;color: #ffffff; border: none; padding: 10px 22px;font-size: 1em; margin:15px 0 0 223px; height:43px; }
49 47
form.innerlabels input.submit, 
50 48
form.innerlabels input[type="submit"]		{margin-left:0;}
51 49
form input.submit:hover, 
52
form input[type="submit"]:hover 			{ background-color: #f89a1c;}
50
form input[type="submit"]:hover 			{ background-color:#3582ac;border-color:#3582ac;}
53 51
form input.submit.back, 
54 52
form input[type="submit"].back 				{ text-decoration: none; bottom: 0; float: right; z-index: 500; }
55 53
form input.submit.back.right, 
56 54
form input[type="submit"].back.right 		{right: 0;}
57
form input.submit:hover, 
58
form input[type="submit"]:hover 			{ background-color: #f89a1c; border-color:#f89a1c;}
59 55
form input.submit.back, 
60 56
form input[type="submit"].back 				{ text-decoration: none; bottom: 0; float: right; z-index: 500; }
61 57
form input.submit.back.right, 
......
121 117
#okeanos_recaptcha .actions-wrap				{ border-top:1px solid #808080 }
122 118

  
123 119
input.submit:focus,
124
input[type="submit"]:focus						{ box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #C3C3B9; outline:0 none; }						
120
input[type="submit"]:focus						{ box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; }						
125 121

  
126 122
@media screen and (max-width : 591px) 		{ 
127 123
	form.withlabels .extra-img	   				{ left:222px; }
......
146 142
	#okeanos_recaptcha							{ width:inherit }
147 143
	#okeanos_recaptcha #recaptcha_response_field	{ width:55%; }
148 144
	#okeanos_recaptcha #recaptcha_image	img		{ width:80%; }
145
}
146

  
147

  
148
@media screen and ( width : 320px) 		{ 
149
	#okeanos_recaptcha							{ width:259px }
150
    
149 151
}
b/cloudcms/static/cloudcms/css/max768.css
6 6
.buttons-list .button 							{ margin-left:0; }
7 7
.container .lt-div								{ float:none; width:auto; }
8 8
.container ul.options 							{ margin-bottom:30px; }
9
.documentation .wrap							{ width:auto; }
10
.documentation img								{ max-width:100%; }
9 11
/* forms */
10 12
form input.submit, form input[type="submit"] 	{ margin:0; }
11 13
form .form-row .extra-link 						{ padding-top:0; }
b/cloudcms/static/cloudcms/css/modules.css
1
body											{ min-width:320px; overflow-y: scroll;}
1
body											{ overflow-y: scroll;}
2 2
.wrapper                                        { margin:0 auto; position:relative; width:820px; padding:36px 70px; }
3 3
.container .wrapper,
4 4
.footer .wrapper                                { border: 1px solid #808080; border-top:0 none;}
......
13 13
.footer a                                       { color:#B3B3B3; text-decoration:none; transition:color 0.15s ease-in-out 0s; -moz-transition: color 0.15s ease-in-out 0s;  -webkit-transition: color 0.15s ease-in-out 0s;  -o-transition: color 0.15s ease-in-out 0s; } 
14 14
.footer:hover a                                 { color:#808080;}
15 15
.footer a:hover                                 { color:#000;}
16
.footer ul                                      { float:left; margin:0 22px 0 0; width:140px;  padding:0;}
16
.footer ul                                      { float:left; margin:0 10px 0 0; width:125px;  padding:0;}
17 17
.footer ul li                                   { padding:0; margin:0; list-style:none outside;}
18 18
.footer ul li:first-child                       { margin-bottom:1em;	}
19 19
.footer .clearfix                               { padding-bottom:20px;}
......
35 35
.mainlogo h1									{ line-height:100%; font-size:1em; }
36 36
.container .navigation                          { margin:20px 0 0; font-size:1.154em; height:95px;}
37 37
.container .navigation ul                       { margin:5px 0; padding:0;}
38
.container .navigation ul + ul					{ font-size:0.933em; }
38 39
.container .navigation ul li                    { list-style:none outside; padding:0; margin:0 1em 0 0; display:inline-block;}
39 40
.container .navigation ul li a                  { color:#000; text-decoration:none; }
40 41
.container .navigation ul li a:hover            { color:#F89A1C; }	
41 42
.container .navigation ul li.active a           { color:#F89A1C; }					
42 43

  
43 44
.dotted                                         { background:url(../images/double-dots.jpg) no-repeat bottom center; padding:0 0 30px; margin-bottom:30px;}
45
.full-dotted									{ background:url(../images/dots.jpg) repeat-x top; margin-top:20px; padding-top:20px; }
46
.full-dotted:first-child						{ background:none; padding-top:0; margin-top:0; }
44 47
.two-cols .rt                                   { float:right; width:400px;}
45 48
.two-cols .lt                                   { float:left; width:400px;}
46 49
.two-cols-blog .rt                              { float:right; width:220px; margin-left:80px; padding-right:65px;}
47 50
.two-cols-blog .lt 	                            { overflow:hidden;}
48 51
.container h2, .container h3                    { font-weight:normal; margin-bottom:1em; }
49 52
.container h2 em 								{ color: #3582AC; font-style:normal; }
50
.content a						                { border-bottom: 1px solid #F89A1C; text-decoration:none; color:#000; }
51
.content a:hover					            { border-bottom: 1px solid #F89A1C; text-decoration:none; color:#F89A1C; }
53
/*.content a						                { border-bottom: 1px solid #F89A1C; text-decoration:none; color:#000; }
54
.content a:hover					            { border-bottom: 1px solid #F89A1C; text-decoration:none; color:#F89A1C; }*/
55

  
56

  
57
.content a						                { text-decoration:none; }
58
.content a:hover					            { text-decoration:underline; }
59

  
52 60
.container ul.options                           { padding:0; margin:0; font-size:1.154em;}
53 61
.container ul.options li                        { list-style:none outside; margin:0 0 1em 0;padding:0;}
54 62
.container ul.options li h3						{ font-size:1em; margin-bottom:0; }
......
57 65
.container .extra ul.options					{ font-size:1em; margin:0 ; padding:15px; }
58 66
.landing h2, .landing a:hover                   { color:#01A1AE;}
59 67
.faq h2, .faq a:hover, .faq .current a          { color:#EF4F54; border:0 none;}
60
.content .question h2							{ color:#4085A6 }
68
.content .question h2							{ color:#EF4F54 }
61 69
.content .backlink								{ margin:1em 0; }
62
.content .question .backlink a					{ border:0 none; color:#F89A1C }
63 70
.content .question .backlink a:hover			{ border-bottom:1px solid #F89A1C }
64 71
.faq h3											{ color:#4085a6; margin:0;}
65 72
.faq ul                                         { padding:0; margin:0; }
......
92 99
.cyclades .bg-wrap .extra .hide-extra:hover img { margin-top:-32px;}
93 100
.pithos h2, .pithos a:hover,                     
94 101
.pithos .extra .options li h3                     { color:#F89A1C; }
95
.cyclades h2, .cyclades a:hover,                     
102
.cyclades h2,                 
96 103
.cyclades .extra .options li h3                   { color:#4085A6; }
97
.cyclades a							            { border-bottom:1px solid #4085A6; }
98
.cyclades a:hover							    { border-bottom:1px solid #4085A6; }
99 104
a.btn_01                                        { display:block; text-align:center; background:#F6921E; color:#000; padding:10px; text-decoration:none; border:0 none;}
100
a.btn_01:hover                                  { background:#01A1AE; color:#000; border:0 none;}
105
a.btn_01:hover                                  { background:#01A1AE; color:#000; text-decoration:none;}
101 106
a.btn_01 em                                     { font-style:normal; display:block; }
102 107
a.btn_01 span                                   { color:#fff; }
103 108
.lt .box-more                                   { text-align:center; padding:5px 10px; }
......
116 121
.container .bottom-bordered                     { border-bottom:1px dashed #000000;margin-bottom:20px }
117 122
.container .lt-div                              { width:234px; float:left; }
118 123
.container .overflow-hidden                     { overflow:hidden;}
124
.documentation .wrap							{ width:500px; }
119 125

  
120 126

  
121 127
/* resources*/
122 128
.resources .categories .clear 	                { color: #000000; position:relative; top:-1px; line-height:100%; display:inline-block;}
123
.resources .categories .clear:hover				{ border-bottom:1px solid #000; }
124 129
.resources  a, .resources  a:hover              { border:0 none;}
125 130
.resources .categories ul 	                    { margin:0;padding:0;}
126 131
.resources .categories ul li                    { float: left; list-style:none outside;}
b/cloudcms/static/cloudcms/css/print.css
1
body											{ font:normal 12pt Arial, sans-serif; color:#000; line-height:1.5; }
a img											{ border:0; }
a												{ color:#000; }
a:link:after,a:visited:after,
a:link::after,a:visited::after					{ content:" (" attr(href) ")"; font-size:smaller; }
1
body											{ font:normal 12pt Arial, sans-serif; color:#000; line-height:1.5; }
a img											{ border:0; }
a												{ color:#000; }
a:link:after,a:visited:after,
a:link::after,a:visited::after					{ content:" (" attr(href) ")"; font-size:smaller; }


.cloudbar,
.footer,
.container ul.options,
.pagination,
.navigation										{ display: none; visibility:hidden }
.container .wrapper								{ border:0 none; width:auto; padding:1em; }
.mainlogo										{ margin-bottom:20px; }
.two-cols .rt, 
.two-cols .lt 									{ float:none; width:100%; }
.bg-wrap .extra 								{ display:block!important }
.button.back									{ display:none; }

Also available in: Unified diff