xonecas.io
1361
Xc

xonecas.com / commit 9f443e9

requirejs, and compiling less serverside.

Sean Caetano Martin2011-10-27 9f443e943b382ca7b814ab112fa3d5d870f35cbc parent 3ac8209

8 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

index.html+6−18
@@ -8,10 +8,12 @@
88
99 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1010
11- <link rel="stylesheet/less" type="text/css" href="bootstrap/lib/bootstrap.less?v=0.0.3">
12- <link rel="stylesheet/less" type="text/css" href="styles/base.less?v=0.0.6">
13- <script src="vendor/less.js?v=0.0.3"></script>
14- <script src="vendor/modernizr.js?v=0.0.3"></script>
11+ <script src="vendor/modernizr.js"></script>
12+ <!-- require magic! -->
13+ <script data-main="js/init" src="vendor/require.js"></script>
14+
15+ <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
16+ <link rel="stylesheet" type="text/css" href="styles/style.css?v=1">
1517 </head>
1618 <body>
1719 <a href="http://github.com/you"><img style="position: absolute; top: 40px; right: 0; border: 0; z-index: 1000;" src="https://a248.e.akamai.net/assets.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
@@ -136,19 +138,5 @@
136138 </div>
137139 </script>
138140
139- <!--
140- Dependencies
141- -->
142- <script src="vendor/json2.js?v=0.0.3"></script>
143- <script src="vendor/jquery.js?v=0.0.3"></script>
144- <script src="vendor/handlebars.js?v=0.0.3"></script>
145- <script src="vendor/underscore.js?v=0.0.3"></script>
146- <script src="vendor/backbone.js?v=0.0.3"></script>
147- <script src="vendor/hijs.js?v=0.0.3"></script>
148- <script src="vendor/smoke.js?v=0.0.3"></script>
149- <script src="bootstrap/js/bootstrap-dropdown.js?v=0.0.3"></script>
150-
151- <!-- app -->
152- <script src="js/script.js?v=0.0.6"></script>
153141 </body>
154142 </html>
js/init.js+28−0
@@ -0,0 +1,28 @@
1+require.config({
2+ baseUrl: '/',
3+ paths: {
4+ bootstrap: 'bootstrap/js/'
5+ }
6+});
7+
8+// get all of the dependencies
9+require([
10+ 'vendor/json2',
11+ 'vendor/jquery',
12+ 'vendor/handlebars',
13+ 'vendor/underscore',
14+ 'vendor/hijs',
15+ 'vendor/smoke',
16+], function () {
17+ // these need jquery
18+ require([
19+ 'vendor/backbone',
20+ 'bootstrap/bootstrap-dropdown'
21+ ], function () {
22+ // init the app
23+ require(['js/script.js'], function () {
24+ console && console.log && console.log("OK");
25+ });
26+
27+ });
28+});
server.js+23−0
@@ -1,4 +1,7 @@
11 var
2+ _fs = require('fs'),
3+ less = require('less'),
4+ parser,
25 connect = require('connect'),
36 server = connect(
47 //connect.profiler(),
@@ -12,5 +15,25 @@ var
1215 })
1316 );
1417
18+parser = new (less.Parser)();
19+_fs.readFile('styles/base.less', 'utf8', function (itAway, out) {
20+ if (itAway) {
21+ throw itAway;
22+ }
23+
24+ parser.parse(out, function (down, tree) {
25+ if (down) {
26+ throw down;//!!!!!
27+ }
28+
29+ _fs.writeFile('styles/style.css', tree.toCSS({ compress: true }), 'utf8', function (yourArmsUp) {
30+ if (yourArmsUp) {
31+ throw yourArmsUp; // \o/
32+ }
33+ });
34+
35+ });
36+});
37+
1538 server.listen(8080);
1639 console.log('OK');
styles/base.less+7−1
@@ -1,4 +1,5 @@
1-@import "styles/smoke.css";
1+@import "bootstrap/lib/bootstrap.less";
2+@import "styles/smoke.less";
23
34 body {
45 margin-top: 100px;
@@ -8,6 +9,11 @@ article {
89 margin: 0 0 140px 0;
910 }
1011
12+pre, code {
13+ font-family: 'Inconsolata', monospace;
14+ font-size: 14px;
15+}
16+
1117 pre code {
1218 background-color: #f5f5f5;
1319 }
styles/smoke.css+0−4
@@ -77,7 +77,6 @@
7777
7878 .smoke-base {
7979 background: rgba(0,0,0,.3);
80- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#900000000);
8180 }
8281
8382 .smoke-base .dialog {
@@ -93,20 +92,17 @@
9392 .smoke {
9493 text-transform: uppercase;
9594 background-color: rgba(255,255,255,1);
96- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff);
9795 }
9896
9997 .dialog-buttons button {
10098 border-radius: 5px;
10199 text-transform: uppercase;
102100 background-color: rgba(0,0,0,.9);
103- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#222222,endColorstr=#222222);
104101 color: #fff;
105102 }
106103
107104 button.cancel {
108105 background-color: rgba(0,0,0,.7);
109- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444,endColorstr=#444444);
110106 }
111107
112108 .queue{
styles/smoke.less+163−0
@@ -0,0 +1,163 @@
1+.smoke-base {
2+ position: fixed;
3+ top: 0;
4+ left: 0;
5+ bottom: 0;
6+ right: 0;
7+ visibility: hidden;
8+ opacity: 0;
9+ -moz-transition: all .3s;
10+ -webkit-transition: opacity .3s;
11+ -o-transition: all .3s;
12+ transition: all .3s;
13+}
14+
15+.smoke-base.smoke-visible {
16+ opacity: 1;
17+ visibility: visible;
18+}
19+
20+.smokebg {
21+ position: fixed;
22+ top: 0;
23+ left: 0;
24+ bottom: 0;
25+ right: 0;
26+}
27+
28+.smoke-base .dialog {
29+ position: absolute
30+}
31+
32+.dialog-prompt {
33+ margin-top: 5px;
34+ text-align: center;
35+}
36+
37+.dialog-buttons {
38+ margin: 10px 0 5px 0
39+}
40+
41+.smoke {
42+ font-family: sans-serif;
43+ font-weight: bold;
44+ text-align: center;
45+ font-size: 30px;
46+ line-height: 130%;
47+}
48+
49+.dialog-buttons button {
50+ display: inline-block;
51+ vertical-align: baseline;
52+ cursor: pointer;
53+ font-family: sans-serif;
54+ font-style: normal;
55+ text-decoration: none;
56+ border: 0;
57+ outline: 0;
58+ margin: 0 5px;
59+ -webkit-background-clip: padding-box;
60+ font-size: 13px;
61+ line-height: 13px;
62+ font-weight: bold;
63+ padding: 9px 12px;
64+}
65+
66+.dialog-prompt input {
67+ margin: 0;
68+ border: 0;
69+ font-family: sans-serif;
70+ outline: none;
71+ border: 1px solid #333;
72+ width: 97%;
73+ background-color: #fff;
74+ font-size: 15px;
75+ padding: 5px;
76+}
77+
78+.smoke-base {
79+ background: rgba(0,0,0,.3);
80+}
81+
82+.smoke-base .dialog {
83+ top: 25%;
84+ left: 25%;
85+ width: 50%;
86+}
87+
88+.smoke-base .dialog-inner {
89+ padding: 15px
90+}
91+
92+.smoke {
93+ text-transform: uppercase;
94+ background-color: rgba(255,255,255,1);
95+}
96+
97+.dialog-buttons button {
98+ border-radius: 5px;
99+ text-transform: uppercase;
100+ background-color: rgba(0,0,0,.9);
101+ color: #fff;
102+}
103+
104+button.cancel {
105+ background-color: rgba(0,0,0,.7);
106+}
107+
108+.queue{
109+ display:none;
110+}
111+
112+
113+.smoke-base {
114+ background: none;
115+}
116+
117+.smoke-base .dialog {
118+ top: 15%;
119+ left: 0;
120+ width: 100%;
121+}
122+
123+.smoke-base .dialog-inner {
124+ padding: 15px;
125+}
126+
127+.smoke {
128+ font-family: 'Helvetica', arial, serif;
129+ text-transform: none;
130+ color:#eee;
131+ font-weight: normal;
132+ background-color: rgba(0,0,0,.75);
133+ font-size:35px;
134+ border-radius: 0;
135+}
136+.dialog-buttons {
137+ margin: 0px 0 5px 0;
138+}
139+
140+.dialog-buttons button {
141+ border-radius: 3px;
142+ text-transform: none;
143+ background-color: #ebebeb;
144+ color: #333;
145+ font-size:13px;
146+ padding:7px 10px;
147+ margin:0 10px;
148+}
149+
150+button.cancel {
151+ background-color: #999;
152+ color:#222
153+}
154+
155+.dialog-prompt{
156+ margin-top:0;
157+}
158+.dialog-prompt input{
159+ width:300px;
160+ text-align:center;
161+ background-color:#ccc;
162+}
163+
styles/style.css+365−0
@@ -0,0 +1,365 @@
1+html,body{margin:0;padding:0;}
2+h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
3+table{border-collapse:collapse;border-spacing:0;}
4+ol,ul{list-style:none;}
5+q:before,q:after,blockquote:before,blockquote:after{content:"";}
6+html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
7+a:focus{outline:thin dotted;}
8+a:hover,a:active{outline:0;}
9+article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
10+audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
11+audio:not([controls]){display:none;}
12+sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
13+sup{top:-0.5em;}
14+sub{bottom:-0.25em;}
15+img{border:0;-ms-interpolation-mode:bicubic;}
16+button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
17+button,input{line-height:normal;*overflow:visible;}
18+button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
19+button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
20+input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
21+input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
22+textarea{overflow:auto;vertical-align:top;}
23+html,body{background-color:#ffffff;}
24+body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#404040;}
25+.container{width:940px;margin-left:auto;margin-right:auto;zoom:1;}.container:before,.container:after{display:table;content:"";zoom:1;*display:inline;}
26+.container:after{clear:both;}
27+.container-fluid{position:relative;min-width:940px;padding-left:20px;padding-right:20px;zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";zoom:1;*display:inline;}
28+.container-fluid:after{clear:both;}
29+.container-fluid>.sidebar{float:left;width:220px;}
30+.container-fluid>.content{margin-left:240px;}
31+a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#00438a;text-decoration:underline;}
32+.pull-right{float:right;}
33+.pull-left{float:left;}
34+.hide{display:none;}
35+.show{display:block;}
36+.row{zoom:1;margin-left:-20px;}.row:before,.row:after{display:table;content:"";zoom:1;*display:inline;}
37+.row:after{clear:both;}
38+[class*="span"]{display:inline;float:left;margin-left:20px;}
39+.span1{width:40px;}
40+.span2{width:100px;}
41+.span3{width:160px;}
42+.span4{width:220px;}
43+.span5{width:280px;}
44+.span6{width:340px;}
45+.span7{width:400px;}
46+.span8{width:460px;}
47+.span9{width:520px;}
48+.span10{width:580px;}
49+.span11{width:640px;}
50+.span12{width:700px;}
51+.span13{width:760px;}
52+.span14{width:820px;}
53+.span15{width:880px;}
54+.span16{width:940px;}
55+.span17{width:1000px;}
56+.span18{width:1060px;}
57+.span19{width:1120px;}
58+.span20{width:1180px;}
59+.span21{width:1240px;}
60+.span22{width:1300px;}
61+.span23{width:1360px;}
62+.span24{width:1420px;}
63+.offset1{margin-left:80px;}
64+.offset2{margin-left:140px;}
65+.offset3{margin-left:200px;}
66+.offset4{margin-left:260px;}
67+.offset5{margin-left:320px;}
68+.offset6{margin-left:380px;}
69+.offset7{margin-left:440px;}
70+.offset8{margin-left:500px;}
71+.offset9{margin-left:560px;}
72+.offset10{margin-left:620px;}
73+.offset11{margin-left:680px;}
74+.offset12{margin-left:740px;}
75+.span-one-third{width:300px;}
76+.span-two-thirds{width:620px;}
77+.offset-one-third{margin-left:340px;}
78+.offset-two-thirds{margin-left:660px;}
79+p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:9px;}p small{font-size:11px;color:#bfbfbf;}
80+h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#bfbfbf;}
81+h1{margin-bottom:18px;font-size:30px;line-height:36px;}h1 small{font-size:18px;}
82+h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
83+h3,h4,h5,h6{line-height:36px;}
84+h3{font-size:18px;}h3 small{font-size:14px;}
85+h4{font-size:16px;}h4 small{font-size:12px;}
86+h5{font-size:14px;}
87+h6{font-size:13px;color:#bfbfbf;text-transform:uppercase;}
88+ul,ol{margin:0 0 18px 25px;}
89+ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
90+ul{list-style:disc;}
91+ol{list-style:decimal;}
92+li{line-height:18px;color:#808080;}
93+ul.unstyled{list-style:none;margin-left:0;}
94+dl{margin-bottom:18px;}dl dt,dl dd{line-height:18px;}
95+dl dt{font-weight:bold;}
96+dl dd{margin-left:9px;}
97+hr{margin:20px 0 19px;border:0;border-bottom:1px solid #eee;}
98+strong{font-style:inherit;font-weight:bold;}
99+em{font-style:italic;font-weight:inherit;line-height:inherit;}
100+.muted{color:#bfbfbf;}
101+blockquote{margin-bottom:18px;border-left:5px solid #eee;padding-left:15px;}blockquote p{font-size:14px;font-weight:300;line-height:18px;margin-bottom:0;}
102+blockquote small{display:block;font-size:12px;font-weight:300;line-height:18px;color:#bfbfbf;}blockquote small:before{content:'\2014 \00A0';}
103+address{display:block;line-height:18px;margin-bottom:18px;}
104+code,pre{padding:0 3px 2px;font-family:Monaco, Andale Mono, Courier New, monospace;font-size:12px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
105+code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;}
106+pre{background-color:#f5f5f5;display:block;padding:8.5px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word;}
107+form{margin-bottom:18px;}
108+fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;padding-left:150px;font-size:19.5px;line-height:1;color:#404040;*padding:0 0 5px 145px;*line-height:1.5;}
109+form .clearfix{margin-bottom:18px;zoom:1;}form .clearfix:before,form .clearfix:after{display:table;content:"";zoom:1;*display:inline;}
110+form .clearfix:after{clear:both;}
111+label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;}
112+label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
113+form .input{margin-left:150px;}
114+input[type=checkbox],input[type=radio]{cursor:pointer;}
115+input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;font-size:13px;line-height:18px;color:#808080;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
116+input[type=checkbox],input[type=radio]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;border:none;}
117+input[type=file]{background-color:#ffffff;padding:initial;border:initial;line-height:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
118+input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto;}
119+select,input[type=file]{height:27px;line-height:27px;*margin-top:4px;}
120+select[multiple]{height:inherit;}
121+textarea{height:auto;}
122+.uneditable-input{background-color:#ffffff;display:block;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;}
123+:-moz-placeholder{color:#bfbfbf;}
124+::-webkit-input-placeholder{color:#bfbfbf;}
125+input,textarea{-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);}
126+input:focus,textarea:focus{outline:0;border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);}
127+input[type=file]:focus,input[type=checkbox]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:1px dotted #666;}
128+form div.clearfix.error{background:#fae5e3;padding:10px 0;margin:-10px 0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}form div.clearfix.error>label,form div.clearfix.error span.help-inline,form div.clearfix.error span.help-block{color:#9d261d;}
129+form div.clearfix.error input,form div.clearfix.error textarea{border-color:#c87872;-webkit-box-shadow:0 0 3px rgba(171, 41, 32, 0.25);-moz-box-shadow:0 0 3px rgba(171, 41, 32, 0.25);box-shadow:0 0 3px rgba(171, 41, 32, 0.25);}form div.clearfix.error input:focus,form div.clearfix.error textarea:focus{border-color:#b9554d;-webkit-box-shadow:0 0 6px rgba(171, 41, 32, 0.5);-moz-box-shadow:0 0 6px rgba(171, 41, 32, 0.5);box-shadow:0 0 6px rgba(171, 41, 32, 0.5);}
130+form div.clearfix.error .input-prepend span.add-on,form div.clearfix.error .input-append span.add-on{background:#f4c8c5;border-color:#c87872;color:#b9554d;}
131+.input-mini,input.mini,textarea.mini,select.mini{width:60px;}
132+.input-small,input.small,textarea.small,select.small{width:90px;}
133+.input-medium,input.medium,textarea.medium,select.medium{width:150px;}
134+.input-large,input.large,textarea.large,select.large{width:210px;}
135+.input-xlarge,input.xlarge,textarea.xlarge,select.xlarge{width:270px;}
136+.input-xxlarge,input.xxlarge,textarea.xxlarge,select.xxlarge{width:530px;}
137+textarea.xxlarge{overflow-y:auto;}
138+input.span1,textarea.span1,select.span1{display:inline-block;float:none;width:30px;margin-left:0;}
139+input.span2,textarea.span2,select.span2{display:inline-block;float:none;width:90px;margin-left:0;}
140+input.span3,textarea.span3,select.span3{display:inline-block;float:none;width:150px;margin-left:0;}
141+input.span4,textarea.span4,select.span4{display:inline-block;float:none;width:210px;margin-left:0;}
142+input.span5,textarea.span5,select.span5{display:inline-block;float:none;width:270px;margin-left:0;}
143+input.span6,textarea.span6,select.span6{display:inline-block;float:none;width:330px;margin-left:0;}
144+input.span7,textarea.span7,select.span7{display:inline-block;float:none;width:390px;margin-left:0;}
145+input.span8,textarea.span8,select.span8{display:inline-block;float:none;width:450px;margin-left:0;}
146+input.span9,textarea.span9,select.span9{display:inline-block;float:none;width:510px;margin-left:0;}
147+input.span10,textarea.span10,select.span10{display:inline-block;float:none;width:570px;margin-left:0;}
148+input.span11,textarea.span11,select.span11{display:inline-block;float:none;width:630px;margin-left:0;}
149+input.span12,textarea.span12,select.span12{display:inline-block;float:none;width:690px;margin-left:0;}
150+input.span13,textarea.span13,select.span13{display:inline-block;float:none;width:750px;margin-left:0;}
151+input.span14,textarea.span14,select.span14{display:inline-block;float:none;width:810px;margin-left:0;}
152+input.span15,textarea.span15,select.span15{display:inline-block;float:none;width:870px;margin-left:0;}
153+input.span16,textarea.span16,select.span16{display:inline-block;float:none;width:930px;margin-left:0;}
154+input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;}
155+.actions{background:#f5f5f5;margin-top:18px;margin-bottom:18px;padding:17px 20px 18px 150px;border-top:1px solid #ddd;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;}.actions .secondary-action{float:right;}.actions .secondary-action a{line-height:30px;}.actions .secondary-action a:hover{text-decoration:underline;}
156+.help-inline,.help-block{font-size:11px;line-height:18px;color:#bfbfbf;}
157+.help-inline{padding-left:5px;*position:relative;*top:-5px;}
158+.help-block{display:block;max-width:600px;}
159+.inline-inputs{color:#808080;}.inline-inputs span,.inline-inputs input{display:inline-block;}
160+.inline-inputs input.mini{width:60px;}
161+.inline-inputs input.small{width:90px;}
162+.inline-inputs span{padding:0 2px 0 1px;}
163+.input-prepend input,.input-append input{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
164+.input-prepend .add-on,.input-append .add-on{position:relative;background:#f5f5f5;border:1px solid #ccc;z-index:2;float:left;display:block;width:auto;min-width:16px;height:18px;padding:4px 4px 4px 5px;margin-right:-1px;font-weight:normal;line-height:18px;color:#bfbfbf;text-align:center;text-shadow:0 1px 0 #ffffff;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
165+.input-prepend .active,.input-append .active{background:#a9dba9;border-color:#46a546;}
166+.input-prepend .add-on{*margin-top:1px;}
167+.input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
168+.input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;margin-right:0;margin-left:-1px;}
169+.inputs-list{margin:0 0 5px;width:100%;}.inputs-list li{display:block;padding:0;width:100%;}
170+.inputs-list label{display:block;float:none;width:auto;padding:0;line-height:18px;text-align:left;white-space:normal;}.inputs-list label strong{color:#808080;}
171+.inputs-list label small{font-size:11px;font-weight:normal;}
172+.inputs-list .inputs-list{margin-left:25px;margin-bottom:10px;padding-top:0;}
173+.inputs-list:first-child{padding-top:6px;}
174+.inputs-list li+li{padding-top:2px;}
175+.inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;}
176+.form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;}
177+.form-stacked legend{padding-left:0;}
178+.form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;}
179+.form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;}
180+.form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;}
181+.form-stacked div.clearfix.error{padding-top:10px;padding-bottom:10px;padding-left:10px;margin-top:0;margin-left:-10px;}
182+.form-stacked .actions{margin-left:-20px;padding-left:20px;}
183+table{width:100%;margin-bottom:18px;padding:0;border-collapse:separate;*border-collapse:collapse;font-size:13px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}table th,table td{padding:10px 10px 9px;line-height:18px;text-align:left;}
184+table th{padding-top:9px;font-weight:bold;vertical-align:middle;border-bottom:1px solid #ddd;}
185+table td{vertical-align:top;}
186+table th+th,table td+td{border-left:1px solid #ddd;}
187+table tr+tr td{border-top:1px solid #ddd;}
188+table tbody tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;}
189+table tbody tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;}
190+table tbody tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;}
191+table tbody tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0;}
192+.zebra-striped tbody tr:nth-child(odd) td{background-color:#f9f9f9;}
193+.zebra-striped tbody tr:hover td{background-color:#f5f5f5;}
194+.zebra-striped .header{cursor:pointer;}.zebra-striped .header:after{content:"";float:right;margin-top:7px;border-width:0 4px 4px;border-style:solid;border-color:#000 transparent;visibility:hidden;}
195+.zebra-striped .headerSortUp,.zebra-striped .headerSortDown{background-color:rgba(141, 192, 219, 0.25);text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);}
196+.zebra-striped .header:hover:after{visibility:visible;}
197+.zebra-striped .headerSortDown:after,.zebra-striped .headerSortDown:hover:after{visibility:visible;filter:alpha(opacity=60);-khtml-opacity:0.6;-moz-opacity:0.6;opacity:0.6;}
198+.zebra-striped .headerSortUp:after{border-bottom:none;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000;visibility:visible;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;filter:alpha(opacity=60);-khtml-opacity:0.6;-moz-opacity:0.6;opacity:0.6;}
199+table .blue{color:#049cdb;border-bottom-color:#049cdb;}
200+table .headerSortUp.blue,table .headerSortDown.blue{background-color:#ade6fe;}
201+table .green{color:#46a546;border-bottom-color:#46a546;}
202+table .headerSortUp.green,table .headerSortDown.green{background-color:#cdeacd;}
203+table .red{color:#9d261d;border-bottom-color:#9d261d;}
204+table .headerSortUp.red,table .headerSortDown.red{background-color:#f4c8c5;}
205+table .yellow{color:#ffc40d;border-bottom-color:#ffc40d;}
206+table .headerSortUp.yellow,table .headerSortDown.yellow{background-color:#fff6d9;}
207+table .orange{color:#f89406;border-bottom-color:#f89406;}
208+table .headerSortUp.orange,table .headerSortDown.orange{background-color:#fee9cc;}
209+table .purple{color:#7a43b6;border-bottom-color:#7a43b6;}
210+table .headerSortUp.purple,table .headerSortDown.purple{background-color:#e2d5f0;}
211+.topbar{height:40px;position:fixed;top:0;left:0;right:0;z-index:10000;overflow:visible;}.topbar a{color:#bfbfbf;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
212+.topbar h3 a:hover,.topbar .brand a:hover,.topbar ul .active>a{background-color:#333;background-color:rgba(255, 255, 255, 0.05);color:#ffffff;text-decoration:none;}
213+.topbar h3{position:relative;}
214+.topbar h3 a,.topbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;color:#ffffff;font-size:20px;font-weight:200;line-height:1;}
215+.topbar p{margin:0;line-height:40px;}.topbar p a:hover{background-color:transparent;color:#ffffff;}
216+.topbar form{float:left;margin:5px 0 0 0;position:relative;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;}
217+.topbar form.pull-right{float:right;}
218+.topbar input{background-color:#444;background-color:rgba(255, 255, 255, 0.3);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:normal;font-weight:13px;line-height:1;padding:4px 9px;color:#ffffff;color:rgba(255, 255, 255, 0.75);border:1px solid #111;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 2 …
219+.topbar input::-webkit-input-placeholder{color:#e6e6e6;}
220+.topbar input:hover{background-color:#bfbfbf;background-color:rgba(255, 255, 255, 0.5);color:#ffffff;}
221+.topbar input:focus,.topbar input.focused{outline:0;background-color:#ffffff;color:#404040;text-shadow:0 1px 0 #ffffff;border:0;padding:5px 10px;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);}
222+.topbar-inner,.topbar .fill{background-color:#222;background-color:#222222;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));background-image:-webkit-linear-gradient(top, #333333, #222222);back …
223+.topbar div>ul,.nav{display:block;float:left;margin:0 10px 0 0;position:relative;left:0;}.topbar div>ul>li,.nav>li{display:block;float:left;}
224+.topbar div>ul a,.nav a{display:block;float:none;padding:10px 10px 11px;line-height:19px;text-decoration:none;}.topbar div>ul a:hover,.nav a:hover{color:#ffffff;text-decoration:none;}
225+.topbar div>ul .active>a,.nav .active>a{background-color:#222;background-color:rgba(0, 0, 0, 0.5);}
226+.topbar div>ul.secondary-nav,.nav.secondary-nav{float:right;margin-left:10px;margin-right:0;}.topbar div>ul.secondary-nav .menu-dropdown,.nav.secondary-nav .menu-dropdown,.topbar div>ul.secondary-nav .dropdown-menu,.nav.secondary-nav .dropdown-menu{right:0;border:0;}
227+.topbar div>ul a.menu:hover,.nav a.menu:hover,.topbar div>ul li.open .menu,.nav li.open .menu,.topbar div>ul .dropdown-toggle:hover,.nav .dropdown-toggle:hover,.topbar div>ul .dropdown.open .dropdown-toggle,.nav .dropdown.open .dropdown-toggle{background:#444;background:rgba(255, 255, 255, 0.05);}
228+.topbar div>ul .menu-dropdown,.nav .menu-dropdown,.topbar div>ul .dropdown-menu,.nav .dropdown-menu{background-color:#333;}.topbar div>ul .menu-dropdown a.menu,.nav .menu-dropdown a.menu,.topbar div>ul .dropdown-menu a.menu,.nav .dropdown-menu a.menu,.topbar div>ul .menu-dropdown .dropdown-toggle,.nav .menu-dropdown .dropdown-toggle,.topbar div>ul .dropdown-menu .dropdown-toggle,.nav .dropdown-menu .dropdown-toggle{color:#ffffff;}.topbar div>ul .menu-dropdown a.menu.open,.nav .menu-dropdown a.me …
229+.topbar div>ul .menu-dropdown li a,.nav .menu-dropdown li a,.topbar div>ul .dropdown-menu li a,.nav .dropdown-menu li a{color:#999;text-shadow:0 1px 0 rgba(0, 0, 0, 0.5);}.topbar div>ul .menu-dropdown li a:hover,.nav .menu-dropdown li a:hover,.topbar div>ul .dropdown-menu li a:hover,.nav .dropdown-menu li a:hover{background-color:#191919;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));background-image:-moz-linear-gradient(top …
230+.topbar div>ul .menu-dropdown .active a,.nav .menu-dropdown .active a,.topbar div>ul .dropdown-menu .active a,.nav .dropdown-menu .active a{color:#ffffff;}
231+.topbar div>ul .menu-dropdown .divider,.nav .menu-dropdown .divider,.topbar div>ul .dropdown-menu .divider,.nav .dropdown-menu .divider{background-color:#222;border-color:#444;}
232+.topbar ul .menu-dropdown li a,.topbar ul .dropdown-menu li a{padding:4px 15px;}
233+li.menu,.dropdown{position:relative;}
234+a.menu:after,.dropdown-toggle:after{width:0;height:0;display:inline-block;content:"&darr;";text-indent:-99999px;vertical-align:top;margin-top:8px;margin-left:4px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #ffffff;filter:alpha(opacity=50);-khtml-opacity:0.5;-moz-opacity:0.5;opacity:0.5;}
235+.menu-dropdown,.dropdown-menu{background-color:#ffffff;float:left;display:none;position:absolute;top:40px;z-index:900;min-width:160px;max-width:220px;_width:160px;margin-left:0;margin-right:0;padding:6px 0;zoom:1;border-color:#999;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:0 1px 1px;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);box-shadow: …
236+.menu-dropdown .divider,.dropdown-menu .divider{height:1px;margin:5px 0;overflow:hidden;background-color:#eee;border-bottom:1px solid #ffffff;}
237+.topbar .dropdown-menu a,.dropdown-menu a{display:block;padding:4px 15px;clear:both;font-weight:normal;line-height:18px;color:#808080;text-shadow:0 1px 0 #ffffff;}.topbar .dropdown-menu a:hover,.dropdown-menu a:hover{background-color:#dddddd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));background-image:-moz-linear-gradient(top, #eeeeee, #dddddd);background-image:-ms-linear-gradient(top, #eeeeee, #dddddd);background-image:- …
238+.open .menu,.dropdown.open .menu,.open .dropdown-toggle,.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);}
239+.open .menu-dropdown,.dropdown.open .menu-dropdown,.open .dropdown-menu,.dropdown.open .dropdown-menu{display:block;}
240+.tabs,.pills{margin:0 0 20px;padding:0;list-style:none;zoom:1;}.tabs:before,.pills:before,.tabs:after,.pills:after{display:table;content:"";zoom:1;*display:inline;}
241+.tabs:after,.pills:after{clear:both;}
242+.tabs>li,.pills>li{float:left;}.tabs>li>a,.pills>li>a{display:block;}
243+.tabs{float:left;width:100%;border-bottom:1px solid #ddd;}.tabs>li{position:relative;top:1px;}.tabs>li>a{padding:0 15px;margin-right:2px;line-height:36px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.tabs>li>a:hover{text-decoration:none;background-color:#eee;border-color:#eee #eee #ddd;}
244+.tabs>li.active>a{color:#808080;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;}
245+.tabs .menu-dropdown,.tabs .dropdown-menu{top:35px;border-width:1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
246+.tabs a.menu:after,.tabs .dropdown-toggle:after{border-top-color:#999;margin-top:15px;margin-left:5px;}
247+.tabs li.open.menu .menu,.tabs .open.dropdown .dropdown-toggle{border-color:#999;}
248+.tabs li.open a.menu:after,.tabs .dropdown.open .dropdown-toggle:after{border-top-color:#555;}
249+.tab-content{clear:both;}
250+.pills a{margin:5px 3px 5px 0;padding:0 15px;text-shadow:0 1px 1px #ffffff;line-height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills a:hover{background:#00438a;color:#ffffff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
251+.pills .active a{background:#0069d6;color:#ffffff;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
252+.tab-content>*,.pill-content>*{display:none;}
253+.tab-content>.active,.pill-content>.active{display:block;}
254+.breadcrumb{margin:0 0 18px;padding:7px 14px;background-color:#f5f5f5;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);backgroun …
255+.breadcrumb .divider{padding:0 5px;color:#bfbfbf;}
256+.breadcrumb .active a{color:#404040;}
257+.hero-unit{background-color:#f5f5f5;margin-bottom:30px;padding:60px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;}
258+.hero-unit p{font-size:18px;font-weight:200;line-height:27px;}
259+footer{margin-top:17px;padding-top:17px;border-top:1px solid #eee;}
260+.page-header{margin-bottom:17px;border-bottom:1px solid #ddd;-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);-moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}.page-header h1{margin-bottom:8px;}
261+.btn.danger,.alert-message.danger,.btn.danger:hover,.alert-message.danger:hover,.btn.error,.alert-message.error,.btn.error:hover,.alert-message.error:hover,.btn.success,.alert-message.success,.btn.success:hover,.alert-message.success:hover,.btn.info,.alert-message.info,.btn.info:hover,.alert-message.info:hover{color:#ffffff;}
262+.btn.danger,.alert-message.danger,.btn.error,.alert-message.error{background-color:#c43c35;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));background-image:-webkit-linear-gradient(top, #ee5f5 …
263+.btn.success,.alert-message.success{background-color:#57a957;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:- …
264+.btn.info,.alert-message.info{background-color:#339bb9;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-line …
265+.btn{cursor:pointer;display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);background-image:-ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image …
266+.btn:focus{outline:1px dotted #666;}
267+.btn.primary{color:#ffffff;background-color:#0064cd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));background-image:-moz-linear-gradient(top, #049cdb, #0064cd);background-image:-ms-linear-gradient(top, #049cdb, #0064cd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));background-image:-webkit-linear-gradient(top, #049cdb, #0064cd);background-image:-o-linear- …
268+.btn:active{-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);}
269+.btn.disabled{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
270+.btn[disabled]{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
271+.btn.large{font-size:15px;line-height:normal;padding:9px 14px 9px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
272+.btn.small{padding:7px 9px 7px;font-size:11px;}
273+:root .alert-message,:root .btn{border-radius:0 \0;}
274+button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0;}
275+.close{float:right;color:#000000;font-size:20px;font-weight:bold;line-height:13.5px;text-shadow:0 1px 0 #ffffff;filter:alpha(opacity=20);-khtml-opacity:0.2;-moz-opacity:0.2;opacity:0.2;}.close:hover{color:#000000;text-decoration:none;filter:alpha(opacity=40);-khtml-opacity:0.4;-moz-opacity:0.4;opacity:0.4;}
276+.alert-message{position:relative;padding:7px 15px;margin-bottom:18px;color:#404040;background-color:#eedc94;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94));background-image:-moz-linear-gradient(top, #fceec1, #eedc94);background-image:-ms-linear-gradient(top, #fceec1, #eedc94);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94));background-image:-webkit-linear-gra …
277+.alert-message h5{line-height:18px;}
278+.alert-message p{margin-bottom:0;}
279+.alert-message div{margin-top:5px;margin-bottom:2px;line-height:28px;}
280+.alert-message .btn{-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);-moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);}
281+.alert-message.block-message{background-image:none;background-color:#fdf5d9;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);padding:14px;border-color:#fceec1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.alert-message.block-message ul,.alert-message.block-message p{margin-right:30px;}
282+.alert-message.block-message ul{margin-bottom:0;}
283+.alert-message.block-message li{color:#404040;}
284+.alert-message.block-message .alert-actions{margin-top:5px;}
285+.alert-message.block-message.error,.alert-message.block-message.success,.alert-message.block-message.info{color:#404040;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
286+.alert-message.block-message.error{background-color:#fddfde;border-color:#fbc7c6;}
287+.alert-message.block-message.success{background-color:#d1eed1;border-color:#bfe7bf;}
288+.alert-message.block-message.info{background-color:#ddf4fb;border-color:#c6edf9;}
289+.pagination{height:36px;margin:18px 0;}.pagination ul{float:left;margin:0;border:1px solid #ddd;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);}
290+.pagination li{display:inline;}
291+.pagination a{float:left;padding:0 14px;line-height:34px;border-right:1px solid;border-right-color:#ddd;border-right-color:rgba(0, 0, 0, 0.15);*border-right-color:#ddd;text-decoration:none;}
292+.pagination a:hover,.pagination .active a{background-color:#c7eefe;}
293+.pagination .disabled a,.pagination .disabled a:hover{background-color:transparent;color:#bfbfbf;}
294+.pagination .next a{border:0;}
295+.well{background-color:#f5f5f5;margin-bottom:20px;padding:19px;min-height:20px;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);}
296+.modal-backdrop{background-color:#000000;position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;}.modal-backdrop.fade{opacity:0;}
297+.modal-backdrop,.modal-backdrop.fade.in{filter:alpha(opacity=80);-khtml-opacity:0.8;-moz-opacity:0.8;opacity:0.8;}
298+.modal{position:fixed;top:50%;left:50%;z-index:11000;width:560px;margin:-250px 0 0 -250px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal …
299+.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-ms-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;}
300+.modal.fade.in{top:50%;}
301+.modal-header{border-bottom:1px solid #eee;padding:5px 15px;}
302+.modal-body{padding:15px;}
303+.modal-footer{background-color:#f5f5f5;padding:14px 15px 15px;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;zoom:1;margin-bottom:0;}.modal-footer:before,.modal-footer:after{display:table;content:"";zoom:1;*display:inline;}
304+.modal-footer:after{clear:both;}
305+.modal-footer .btn{float:right;margin-left:5px;}
306+.twipsy{display:block;position:absolute;visibility:visible;padding:5px;font-size:11px;z-index:1000;filter:alpha(opacity=80);-khtml-opacity:0.8;-moz-opacity:0.8;opacity:0.8;}.twipsy.fade.in{filter:alpha(opacity=80);-khtml-opacity:0.8;-moz-opacity:0.8;opacity:0.8;}
307+.twipsy.above .twipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
308+.twipsy.left .twipsy-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
309+.twipsy.below .twipsy-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
310+.twipsy.right .twipsy-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
311+.twipsy-inner{padding:3px 8px;background-color:#000000;color:white;text-align:center;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
312+.twipsy-arrow{position:absolute;width:0;height:0;}
313+.popover{position:absolute;top:0;left:0;z-index:1000;padding:5px;display:none;}.popover.above .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
314+.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
315+.popover.below .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
316+.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
317+.popover .arrow{position:absolute;width:0;height:0;}
318+.popover .inner{background-color:#000000;background-color:rgba(0, 0, 0, 0.8);padding:3px;overflow:hidden;width:280px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);}
319+.popover .title{background-color:#f5f5f5;padding:9px 15px;line-height:1;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:1px solid #eee;}
320+.popover .content{background-color:#ffffff;padding:14px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover .content p,.popover .content ul,.popover .content ol{margin-bottom:0;}
321+.fade{-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;opacity:0;}.fade.in{opacity:1;}
322+.label{padding:1px 3px 2px;background-color:#bfbfbf;font-size:9.75px;font-weight:bold;color:#ffffff;text-transform:uppercase;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}.label.important{background-color:#c43c35;}
323+.label.warning{background-color:#f89406;}
324+.label.success{background-color:#46a546;}
325+.label.notice{background-color:#62cffc;}
326+.media-grid{margin-left:-20px;margin-bottom:0;zoom:1;}.media-grid:before,.media-grid:after{display:table;content:"";zoom:1;*display:inline;}
327+.media-grid:after{clear:both;}
328+.media-grid li{display:inline;}
329+.media-grid a{float:left;padding:4px;margin:0 0 20px 20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);}.media-grid a img{display:block;}
330+.media-grid a:hover{border-color:#0069d6;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);}
331+.smoke-base{position:fixed;top:0;left:0;bottom:0;right:0;visibility:hidden;opacity:0;-moz-transition:all .3s;-webkit-transition:opacity .3s;-o-transition:all .3s;transition:all .3s;}
332+.smoke-base.smoke-visible{opacity:1;visibility:visible;}
333+.smokebg{position:fixed;top:0;left:0;bottom:0;right:0;}
334+.smoke-base .dialog{position:absolute;}
335+.dialog-prompt{margin-top:5px;text-align:center;}
336+.dialog-buttons{margin:10px 0 5px 0;}
337+.smoke{font-family:sans-serif;font-weight:bold;text-align:center;font-size:30px;line-height:130%;}
338+.dialog-buttons button{display:inline-block;vertical-align:baseline;cursor:pointer;font-family:sans-serif;font-style:normal;text-decoration:none;border:0;outline:0;margin:0 5px;-webkit-background-clip:padding-box;font-size:13px;line-height:13px;font-weight:bold;padding:9px 12px;}
339+.dialog-prompt input{margin:0;border:0;font-family:sans-serif;outline:none;border:1px solid #333;width:97%;background-color:#fff;font-size:15px;padding:5px;}
340+.smoke-base{background:rgba(0, 0, 0, 0.3);}
341+.smoke-base .dialog{top:25%;left:25%;width:50%;}
342+.smoke-base .dialog-inner{padding:15px;}
343+.smoke{text-transform:uppercase;background-color:#ffffff;}
344+.dialog-buttons button{border-radius:5px;text-transform:uppercase;background-color:rgba(0, 0, 0, 0.9);color:#fff;}
345+button.cancel{background-color:rgba(0, 0, 0, 0.7);}
346+.queue{display:none;}
347+.smoke-base{background:none;}
348+.smoke-base .dialog{top:15%;left:0;width:100%;}
349+.smoke-base .dialog-inner{padding:15px;}
350+.smoke{font-family:'Helvetica',arial,serif;text-transform:none;color:#eee;font-weight:normal;background-color:rgba(0, 0, 0, 0.75);font-size:35px;border-radius:0;}
351+.dialog-buttons{margin:0px 0 5px 0;}
352+.dialog-buttons button{border-radius:3px;text-transform:none;background-color:#ebebeb;color:#333;font-size:13px;padding:7px 10px;margin:0 10px;}
353+button.cancel{background-color:#999;color:#222222;}
354+.dialog-prompt{margin-top:0;}
355+.dialog-prompt input{width:300px;text-align:center;background-color:#ccc;}
356+body{margin-top:100px;}
357+article{margin:0 0 140px 0;}
358+pre,code{font-family:'Inconsolata',monospace;}
359+pre code{background-color:#f5f5f5;}
360+code .keyword{font-weight:bold;}
361+code .string,code .regexp{color:red;}
362+code .class,code .special{color:blue;}
363+code .number{color:red;}
364+code .comment{color:grey;}
365+.badge{width:90px;height:90px;position:relative;left:20px;float:left;margin:0 40px 20px 0;}
vendor/require.js+1934−0
@@ -0,0 +1,1934 @@
1+/** vim: et:ts=4:sw=4:sts=4
2+ * @license RequireJS 1.0.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
3+ * Available via the MIT or new BSD license.
4+ * see: http://github.com/jrburke/requirejs for details
5+ */
6+/*jslint strict: false, plusplus: false, sub: true */
7+/*global window: false, navigator: false, document: false, importScripts: false,
8+ jQuery: false, clearInterval: false, setInterval: false, self: false,
9+ setTimeout: false, opera: false */
10+
11+var requirejs, require, define;
12+(function () {
13+ //Change this version number for each release.
14+ var version = "1.0.0",
15+ commentRegExp = /(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,
16+ cjsRequireRegExp = /require\(\s*["']([^'"\s]+)["']\s*\)/g,
17+ currDirRegExp = /^\.\//,
18+ jsSuffixRegExp = /\.js$/,
19+ ostring = Object.prototype.toString,
20+ ap = Array.prototype,
21+ aps = ap.slice,
22+ apsp = ap.splice,
23+ isBrowser = !!(typeof window !== "undefined" && navigator && document),
24+ isWebWorker = !isBrowser && typeof importScripts !== "undefined",
25+ //PS3 indicates loaded and complete, but need to wait for complete
26+ //specifically. Sequence is "loading", "loaded", execution,
27+ // then "complete". The UA check is unfortunate, but not sure how
28+ //to feature test w/o causing perf issues.
29+ readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ?
30+ /^complete$/ : /^(complete|loaded)$/,
31+ defContextName = "_",
32+ //Oh the tragedy, detecting opera. See the usage of isOpera for reason.
33+ isOpera = typeof opera !== "undefined" && opera.toString() === "[object Opera]",
34+ empty = {},
35+ contexts = {},
36+ globalDefQueue = [],
37+ interactiveScript = null,
38+ checkLoadedDepth = 0,
39+ useInteractive = false,
40+ req, cfg = {}, currentlyAddingScript, s, head, baseElement, scripts, script,
41+ src, subPath, mainScript, dataMain, i, ctx, jQueryCheck, checkLoadedTimeoutId;
42+
43+ function isFunction(it) {
44+ return ostring.call(it) === "[object Function]";
45+ }
46+
47+ function isArray(it) {
48+ return ostring.call(it) === "[object Array]";
49+ }
50+
51+ /**
52+ * Simple function to mix in properties from source into target,
53+ * but only if target does not already have a property of the same name.
54+ * This is not robust in IE for transferring methods that match
55+ * Object.prototype names, but the uses of mixin here seem unlikely to
56+ * trigger a problem related to that.
57+ */
58+ function mixin(target, source, force) {
59+ for (var prop in source) {
60+ if (!(prop in empty) && (!(prop in target) || force)) {
61+ target[prop] = source[prop];
62+ }
63+ }
64+ return req;
65+ }
66+
67+ /**
68+ * Constructs an error with a pointer to an URL with more information.
69+ * @param {String} id the error ID that maps to an ID on a web page.
70+ * @param {String} message human readable error.
71+ * @param {Error} [err] the original error, if there is one.
72+ *
73+ * @returns {Error}
74+ */
75+ function makeError(id, msg, err) {
76+ var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
77+ if (err) {
78+ e.originalError = err;
79+ }
80+ return e;
81+ }
82+
83+ /**
84+ * Used to set up package paths from a packagePaths or packages config object.
85+ * @param {Object} pkgs the object to store the new package config
86+ * @param {Array} currentPackages an array of packages to configure
87+ * @param {String} [dir] a prefix dir to use.
88+ */
89+ function configurePackageDir(pkgs, currentPackages, dir) {
90+ var i, location, pkgObj;
91+
92+ for (i = 0; (pkgObj = currentPackages[i]); i++) {
93+ pkgObj = typeof pkgObj === "string" ? { name: pkgObj } : pkgObj;
94+ location = pkgObj.location;
95+
96+ //Add dir to the path, but avoid paths that start with a slash
97+ //or have a colon (indicates a protocol)
98+ if (dir && (!location || (location.indexOf("/") !== 0 && location.indexOf(":") === -1))) {
99+ location = dir + "/" + (location || pkgObj.name);
100+ }
101+
102+ //Create a brand new object on pkgs, since currentPackages can
103+ //be passed in again, and config.pkgs is the internal transformed
104+ //state for all package configs.
105+ pkgs[pkgObj.name] = {
106+ name: pkgObj.name,
107+ location: location || pkgObj.name,
108+ //Remove leading dot in main, so main paths are normalized,
109+ //and remove any trailing .js, since different package
110+ //envs have different conventions: some use a module name,
111+ //some use a file name.
112+ main: (pkgObj.main || "main")
113+ .replace(currDirRegExp, '')
114+ .replace(jsSuffixRegExp, '')
115+ };
116+ }
117+ }
118+
119+ /**
120+ * jQuery 1.4.3-1.5.x use a readyWait/ready() pairing to hold DOM
121+ * ready callbacks, but jQuery 1.6 supports a holdReady() API instead.
122+ * At some point remove the readyWait/ready() support and just stick
123+ * with using holdReady.
124+ */
125+ function jQueryHoldReady($, shouldHold) {
126+ if ($.holdReady) {
127+ $.holdReady(shouldHold);
128+ } else if (shouldHold) {
129+ $.readyWait += 1;
130+ } else {
131+ $.ready(true);
132+ }
133+ }
134+
135+ if (typeof define !== "undefined") {
136+ //If a define is already in play via another AMD loader,
137+ //do not overwrite.
138+ return;
139+ }
140+
141+ if (typeof requirejs !== "undefined") {
142+ if (isFunction(requirejs)) {
143+ //Do not overwrite and existing requirejs instance.
144+ return;
145+ } else {
146+ cfg = requirejs;
147+ requirejs = undefined;
148+ }
149+ }
150+
151+ //Allow for a require config object
152+ if (typeof require !== "undefined" && !isFunction(require)) {
153+ //assume it is a config object.
154+ cfg = require;
155+ require = undefined;
156+ }
157+
158+ /**
159+ * Creates a new context for use in require and define calls.
160+ * Handle most of the heavy lifting. Do not want to use an object
161+ * with prototype here to avoid using "this" in require, in case it
162+ * needs to be used in more super secure envs that do not want this.
163+ * Also there should not be that many contexts in the page. Usually just
164+ * one for the default context, but could be extra for multiversion cases
165+ * or if a package needs a special context for a dependency that conflicts
166+ * with the standard context.
167+ */
168+ function newContext(contextName) {
169+ var context, resume,
170+ config = {
171+ waitSeconds: 7,
172+ baseUrl: "./",
173+ paths: {},
174+ pkgs: {},
175+ catchError: {}
176+ },
177+ defQueue = [],
178+ specified = {
179+ "require": true,
180+ "exports": true,
181+ "module": true
182+ },
183+ urlMap = {},
184+ defined = {},
185+ loaded = {},
186+ waiting = {},
187+ waitAry = [],
188+ urlFetched = {},
189+ managerCounter = 0,
190+ managerCallbacks = {},
191+ plugins = {},
192+ //Used to indicate which modules in a build scenario
193+ //need to be full executed.
194+ needFullExec = {},
195+ fullExec = {},
196+ resumeDepth = 0;
197+
198+ /**
199+ * Trims the . and .. from an array of path segments.
200+ * It will keep a leading path segment if a .. will become
201+ * the first path segment, to help with module name lookups,
202+ * which act like paths, but can be remapped. But the end result,
203+ * all paths that use this function should look normalized.
204+ * NOTE: this method MODIFIES the input array.
205+ * @param {Array} ary the array of path segments.
206+ */
207+ function trimDots(ary) {
208+ var i, part;
209+ for (i = 0; (part = ary[i]); i++) {
210+ if (part === ".") {
211+ ary.splice(i, 1);
212+ i -= 1;
213+ } else if (part === "..") {
214+ if (i === 1 && (ary[2] === '..' || ary[0] === '..')) {
215+ //End of the line. Keep at least one non-dot
216+ //path segment at the front so it can be mapped
217+ //correctly to disk. Otherwise, there is likely
218+ //no path mapping for a path starting with '..'.
219+ //This can still fail, but catches the most reasonable
220+ //uses of ..
221+ break;
222+ } else if (i > 0) {
223+ ary.splice(i - 1, 2);
224+ i -= 2;
225+ }
226+ }
227+ }
228+ }
229+
230+ /**
231+ * Given a relative module name, like ./something, normalize it to
232+ * a real name that can be mapped to a path.
233+ * @param {String} name the relative name
234+ * @param {String} baseName a real name that the name arg is relative
235+ * to.
236+ * @returns {String} normalized name
237+ */
238+ function normalize(name, baseName) {
239+ var pkgName, pkgConfig;
240+
241+ //Adjust any relative paths.
242+ if (name && name.charAt(0) === ".") {
243+ //If have a base name, try to normalize against it,
244+ //otherwise, assume it is a top-level require that will
245+ //be relative to baseUrl in the end.
246+ if (baseName) {
247+ if (config.pkgs[baseName]) {
248+ //If the baseName is a package name, then just treat it as one
249+ //name to concat the name with.
250+ baseName = [baseName];
251+ } else {
252+ //Convert baseName to array, and lop off the last part,
253+ //so that . matches that "directory" and not name of the baseName's
254+ //module. For instance, baseName of "one/two/three", maps to
255+ //"one/two/three.js", but we want the directory, "one/two" for
256+ //this normalization.
257+ baseName = baseName.split("/");
258+ baseName = baseName.slice(0, baseName.length - 1);
259+ }
260+
261+ name = baseName.concat(name.split("/"));
262+ trimDots(name);
263+
264+ //Some use of packages may use a . path to reference the
265+ //"main" module name, so normalize for that.
266+ pkgConfig = config.pkgs[(pkgName = name[0])];
267+ name = name.join("/");
268+ if (pkgConfig && name === pkgName + '/' + pkgConfig.main) {
269+ name = pkgName;
270+ }
271+ }
272+ }
273+ return name;
274+ }
275+
276+ /**
277+ * Creates a module mapping that includes plugin prefix, module
278+ * name, and path. If parentModuleMap is provided it will
279+ * also normalize the name via require.normalize()
280+ *
281+ * @param {String} name the module name
282+ * @param {String} [parentModuleMap] parent module map
283+ * for the module name, used to resolve relative names.
284+ *
285+ * @returns {Object}
286+ */
287+ function makeModuleMap(name, parentModuleMap) {
288+ var index = name ? name.indexOf("!") : -1,
289+ prefix = null,
290+ parentName = parentModuleMap ? parentModuleMap.name : null,
291+ originalName = name,
292+ normalizedName, url, pluginModule;
293+
294+ if (index !== -1) {
295+ prefix = name.substring(0, index);
296+ name = name.substring(index + 1, name.length);
297+ }
298+
299+ if (prefix) {
300+ prefix = normalize(prefix, parentName);
301+ }
302+
303+ //Account for relative paths if there is a base name.
304+ if (name) {
305+ if (prefix) {
306+ pluginModule = defined[prefix];
307+ if (pluginModule && pluginModule.normalize) {
308+ //Plugin is loaded, use its normalize method.
309+ normalizedName = pluginModule.normalize(name, function (name) {
310+ return normalize(name, parentName);
311+ });
312+ } else {
313+ normalizedName = normalize(name, parentName);
314+ }
315+ } else {
316+ //A regular module.
317+ normalizedName = normalize(name, parentName);
318+
319+ url = urlMap[normalizedName];
320+ if (!url) {
321+ //Calculate url for the module, if it has a name.
Cut short: this commit's diff is over 1000 lines.