ki 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ki/orm.rb +4 -2
- data/lib/ki/version.rb +1 -1
- data/spec/examples/json.northpole.ro/config/deploy.rb +1 -1
- data/spec/examples/json.northpole.ro/public/images/js.png +0 -0
- data/spec/examples/json.northpole.ro/public/javascripts/app.coffee +24 -90
- data/spec/examples/json.northpole.ro/public/javascripts/jnorthpole.coffee +49 -32
- data/spec/examples/json.northpole.ro/public/javascripts/music/angular-youtube-embed.js +251 -0
- data/spec/examples/json.northpole.ro/public/stylesheets/app.sass +24 -0
- data/spec/examples/json.northpole.ro/views/awsum.haml +108 -0
- data/spec/examples/json.northpole.ro/views/examples.haml +24 -6
- data/spec/examples/json.northpole.ro/views/faq.haml +25 -19
- data/spec/examples/json.northpole.ro/views/java.haml +1 -0
- data/spec/examples/json.northpole.ro/views/javascript.haml +7 -0
- data/spec/examples/json.northpole.ro/views/layout.haml +2 -0
- data/spec/examples/json.northpole.ro/views/playground.haml +9 -8
- data/spec/examples/json.northpole.ro/views/{foo.haml → seed.haml} +0 -1
- data/spec/lib/ki/orm_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -4
- metadata +12 -12
- data/spec/examples/json.northpole.ro/public/javascripts/util.coffee +0 -31
- data/spec/examples/json.northpole.ro/public/stylesheets/application.sass +0 -222
- data/spec/examples/json.northpole.ro/public/stylesheets/cover.css +0 -154
- data/spec/examples/json.northpole.ro/views/signup.haml +0 -2
@@ -1,222 +0,0 @@
|
|
1
|
-
$sky-dark: #a1caf6
|
2
|
-
$sky-light: #bfe1fa
|
3
|
-
$snow: #e4f2fd
|
4
|
-
$ground: #6e8b8f
|
5
|
-
$under-ground: #45645e
|
6
|
-
|
7
|
-
@mixin square
|
8
|
-
border-radius: 0px
|
9
|
-
-mox-border-radius: 0px
|
10
|
-
-webkit-border-radius: 0px
|
11
|
-
|
12
|
-
@mixin noshadow
|
13
|
-
box-shadow: none
|
14
|
-
text-shadow: none
|
15
|
-
-moz-box-shadow: none
|
16
|
-
-webkit-box-shadow: none
|
17
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)
|
18
|
-
transition: none
|
19
|
-
-moz-transition: none
|
20
|
-
-webkit-box-transition: none
|
21
|
-
|
22
|
-
@mixin handy
|
23
|
-
cursor: pointer
|
24
|
-
cursor: hand
|
25
|
-
|
26
|
-
html, body
|
27
|
-
height: 100%
|
28
|
-
color: $under-ground
|
29
|
-
|
30
|
-
.justify
|
31
|
-
text-align: justify
|
32
|
-
|
33
|
-
.right
|
34
|
-
text-align: right
|
35
|
-
|
36
|
-
a:hover
|
37
|
-
text-decoration: none
|
38
|
-
|
39
|
-
.language:hover
|
40
|
-
text-decoration: none
|
41
|
-
|
42
|
-
.wrapper
|
43
|
-
min-height: 100%
|
44
|
-
background: url('/images/bg.png') top center repeat-x
|
45
|
-
position: relative
|
46
|
-
|
47
|
-
.container-fluid
|
48
|
-
padding-left: 150px
|
49
|
-
padding-right: 150px
|
50
|
-
|
51
|
-
.bear
|
52
|
-
position: relative
|
53
|
-
top: -150px
|
54
|
-
|
55
|
-
.flipit
|
56
|
-
-moz-transform: scaleX(-1)
|
57
|
-
-o-transform: scaleX(-1)
|
58
|
-
-webkit-transform: scaleX(-1)
|
59
|
-
transform: scaleX(-1)
|
60
|
-
filter: FlipH
|
61
|
-
-ms-filter: "FlipH"
|
62
|
-
|
63
|
-
.italic
|
64
|
-
font-style: italic
|
65
|
-
|
66
|
-
legend
|
67
|
-
color: $under-ground
|
68
|
-
|
69
|
-
.all-content
|
70
|
-
padding-top: 60px
|
71
|
-
|
72
|
-
.bear-content
|
73
|
-
text-align: center
|
74
|
-
|
75
|
-
.ruby:hover
|
76
|
-
background-image: url('/images/ruby_small.png')
|
77
|
-
|
78
|
-
.python:hover
|
79
|
-
background-image: url('/images/python_small.png')
|
80
|
-
|
81
|
-
.php:hover
|
82
|
-
background-image: url('/images/php_small.png')
|
83
|
-
|
84
|
-
.java:hover
|
85
|
-
background-image: url('/images/java_small.png')
|
86
|
-
|
87
|
-
.shell:hover
|
88
|
-
background-image: url('/images/shell_small.png')
|
89
|
-
|
90
|
-
.json:hover
|
91
|
-
background-image: url('/images/json_small.png')
|
92
|
-
|
93
|
-
.dotnet:hover
|
94
|
-
background-image: url('/images/dotnet_small.png')
|
95
|
-
|
96
|
-
.label-info
|
97
|
-
background-color: $ground
|
98
|
-
|
99
|
-
.hero-unit
|
100
|
-
@include square
|
101
|
-
margin-bottom: 80px
|
102
|
-
background-color: white
|
103
|
-
|
104
|
-
#storageEndpoint
|
105
|
-
display: none
|
106
|
-
|
107
|
-
.index-page-wrapper
|
108
|
-
.row-fluid
|
109
|
-
.span4
|
110
|
-
h3
|
111
|
-
text-align: center
|
112
|
-
p
|
113
|
-
text-align: center
|
114
|
-
|
115
|
-
pre.code, .badge, .label
|
116
|
-
@include square
|
117
|
-
|
118
|
-
input[type=text], textarea
|
119
|
-
@include square
|
120
|
-
&:focus
|
121
|
-
@include noshadow
|
122
|
-
border-color: #cccccc
|
123
|
-
|
124
|
-
i
|
125
|
-
font-size: 28px
|
126
|
-
color: $under-ground
|
127
|
-
|
128
|
-
.btn
|
129
|
-
@include square
|
130
|
-
@include noshadow
|
131
|
-
background-image: none
|
132
|
-
border: 0
|
133
|
-
background-color: $ground
|
134
|
-
color: $snow
|
135
|
-
&:hover
|
136
|
-
background-color: $ground
|
137
|
-
color: $snow
|
138
|
-
|
139
|
-
pre.code
|
140
|
-
background-repeat: no-repeat
|
141
|
-
background-position: right top
|
142
|
-
|
143
|
-
h3
|
144
|
-
a
|
145
|
-
color: $under-ground
|
146
|
-
&:hover
|
147
|
-
color: $under-ground
|
148
|
-
|
149
|
-
#tryNowTable
|
150
|
-
margin-bottom: 0px
|
151
|
-
input
|
152
|
-
width: 100%
|
153
|
-
padding: 2px
|
154
|
-
i
|
155
|
-
font-size: 18px
|
156
|
-
@include handy
|
157
|
-
.clearButton
|
158
|
-
display: none
|
159
|
-
height: 10px
|
160
|
-
|
161
|
-
#addTableRow
|
162
|
-
@include handy
|
163
|
-
|
164
|
-
pre
|
165
|
-
padding: 5px
|
166
|
-
@include square
|
167
|
-
@include noshadow
|
168
|
-
|
169
|
-
.string
|
170
|
-
color: green
|
171
|
-
|
172
|
-
.number
|
173
|
-
color: darkorange
|
174
|
-
|
175
|
-
.boolean
|
176
|
-
color: blue
|
177
|
-
|
178
|
-
.null
|
179
|
-
color: magenta
|
180
|
-
|
181
|
-
.key
|
182
|
-
color: red
|
183
|
-
|
184
|
-
#header
|
185
|
-
padding-top: 130px
|
186
|
-
height: 200px
|
187
|
-
div
|
188
|
-
text-align: center
|
189
|
-
width: 100%
|
190
|
-
background-color: $ground
|
191
|
-
padding-top: 5px
|
192
|
-
padding-bottom: 5px
|
193
|
-
a
|
194
|
-
color: $snow
|
195
|
-
p
|
196
|
-
color: $snow
|
197
|
-
font-weight: bold
|
198
|
-
a:hover
|
199
|
-
text-decoration: none
|
200
|
-
|
201
|
-
#footer
|
202
|
-
position: absolute
|
203
|
-
bottom: 0px
|
204
|
-
left: 0px
|
205
|
-
background-color: $under-ground
|
206
|
-
background-image: url(/images/footer.png)
|
207
|
-
background-repeat: repeat-x
|
208
|
-
div
|
209
|
-
div
|
210
|
-
text-align: center
|
211
|
-
dl
|
212
|
-
position: relative
|
213
|
-
dd
|
214
|
-
padding-top: 3px
|
215
|
-
dd, p, h3, a, div
|
216
|
-
color: $snow
|
217
|
-
.span8
|
218
|
-
padding-left: 90px
|
219
|
-
|
220
|
-
@media (max-width: 767px)
|
221
|
-
.bear-content
|
222
|
-
visibility: hidden
|
@@ -1,154 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Globals
|
3
|
-
*/
|
4
|
-
|
5
|
-
/* Links */
|
6
|
-
a,
|
7
|
-
a:focus,
|
8
|
-
a:hover {
|
9
|
-
color: #fff;
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
/*
|
14
|
-
* Base structure
|
15
|
-
*/
|
16
|
-
|
17
|
-
html,
|
18
|
-
body {
|
19
|
-
height: 100%;
|
20
|
-
background-color: #333;
|
21
|
-
}
|
22
|
-
body {
|
23
|
-
text-align: center;
|
24
|
-
text-shadow: 0 1px 3px rgba(0,0,0,.5);
|
25
|
-
box-shadow: inset 0 0 100px rgba(0,0,0,.5);
|
26
|
-
}
|
27
|
-
|
28
|
-
/* Extra markup and styles for table-esque vertical and horizontal centering */
|
29
|
-
.site-wrapper {
|
30
|
-
display: table;
|
31
|
-
width: 100%;
|
32
|
-
height: 100%; /* For at least Firefox */
|
33
|
-
min-height: 100%;
|
34
|
-
}
|
35
|
-
.site-wrapper-inner {
|
36
|
-
display: table-cell;
|
37
|
-
vertical-align: top;
|
38
|
-
}
|
39
|
-
.cover-container {
|
40
|
-
margin-right: auto;
|
41
|
-
margin-left: auto;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Padding for spacing */
|
45
|
-
.inner {
|
46
|
-
padding: 30px;
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
/*
|
51
|
-
* Header
|
52
|
-
*/
|
53
|
-
.masthead-brand {
|
54
|
-
margin-top: 10px;
|
55
|
-
margin-bottom: 10px;
|
56
|
-
}
|
57
|
-
|
58
|
-
.masthead-brand > a:hover {
|
59
|
-
text-decoration: none;
|
60
|
-
}
|
61
|
-
|
62
|
-
.masthead-nav > li {
|
63
|
-
display: inline-block;
|
64
|
-
}
|
65
|
-
.masthead-nav > li + li {
|
66
|
-
margin-left: 20px;
|
67
|
-
}
|
68
|
-
.masthead-nav > li > a {
|
69
|
-
padding-right: 0;
|
70
|
-
padding-left: 0;
|
71
|
-
font-size: 16px;
|
72
|
-
font-weight: bold;
|
73
|
-
color: #fff; /* IE8 proofing */
|
74
|
-
color: rgba(255,255,255,.75);
|
75
|
-
border-bottom: 2px solid transparent;
|
76
|
-
}
|
77
|
-
.masthead-nav > li > a:hover,
|
78
|
-
.masthead-nav > li > a:focus {
|
79
|
-
background-color: transparent;
|
80
|
-
border-bottom-color: rgba(255,255,255,.25);
|
81
|
-
}
|
82
|
-
.masthead-nav > .active > a,
|
83
|
-
.masthead-nav > .active > a:hover,
|
84
|
-
.masthead-nav > .active > a:focus {
|
85
|
-
color: #fff;
|
86
|
-
border-bottom-color: #fff;
|
87
|
-
}
|
88
|
-
|
89
|
-
@media (min-width: 768px) {
|
90
|
-
.masthead-brand {
|
91
|
-
float: left;
|
92
|
-
}
|
93
|
-
.masthead-nav {
|
94
|
-
float: right;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
/*
|
100
|
-
* Cover
|
101
|
-
*/
|
102
|
-
|
103
|
-
.cover {
|
104
|
-
padding: 0 20px;
|
105
|
-
}
|
106
|
-
.cover .btn-lg {
|
107
|
-
padding: 10px 20px;
|
108
|
-
font-weight: bold;
|
109
|
-
}
|
110
|
-
|
111
|
-
|
112
|
-
/*
|
113
|
-
* Footer
|
114
|
-
*/
|
115
|
-
|
116
|
-
.mastfoot {
|
117
|
-
color: #999; /* IE8 proofing */
|
118
|
-
color: rgba(255,255,255,.5);
|
119
|
-
}
|
120
|
-
|
121
|
-
|
122
|
-
/*
|
123
|
-
* Affix and center
|
124
|
-
*/
|
125
|
-
|
126
|
-
@media (min-width: 768px) {
|
127
|
-
/* Pull out the header and footer */
|
128
|
-
.masthead {
|
129
|
-
position: fixed;
|
130
|
-
top: 0;
|
131
|
-
}
|
132
|
-
.mastfoot {
|
133
|
-
position: fixed;
|
134
|
-
bottom: 0;
|
135
|
-
}
|
136
|
-
/* Start the vertical centering */
|
137
|
-
.site-wrapper-inner {
|
138
|
-
vertical-align: middle;
|
139
|
-
}
|
140
|
-
/* Handle the widths */
|
141
|
-
.masthead,
|
142
|
-
.mastfoot,
|
143
|
-
.cover-container {
|
144
|
-
width: 100%; /* Must be percentage or pixels for horizontal alignment */
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
@media (min-width: 992px) {
|
149
|
-
.masthead,
|
150
|
-
.mastfoot,
|
151
|
-
.cover-container {
|
152
|
-
width: 700px;
|
153
|
-
}
|
154
|
-
}
|