pakyow 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/LICENSE +20 -0
- data/README.md +86 -0
- data/lib/commands/console.rb +1 -1
- data/lib/commands/server.rb +1 -1
- data/lib/generators/pakyow/app/templates/Gemfile +13 -4
- data/lib/generators/pakyow/app/templates/README.md +9 -9
- data/lib/generators/pakyow/app/templates/app/lib/routes.rb +4 -5
- data/lib/generators/pakyow/app/templates/{app.rb → app/setup.rb} +7 -1
- data/lib/generators/pakyow/app/templates/app/views/_templates/default.html +31 -0
- data/lib/generators/pakyow/app/templates/app/views/index.html +96 -0
- data/lib/generators/pakyow/app/templates/config.ru +1 -1
- data/lib/generators/pakyow/app/templates/public/apple-touch-icon-precomposed.png +0 -0
- data/lib/generators/pakyow/app/templates/public/apple-touch-icon.png +0 -0
- data/lib/generators/pakyow/app/templates/public/favicon.ico +0 -0
- data/{MIT-LICENSE → lib/generators/pakyow/app/templates/public/scripts/ring/LICENSE} +2 -2
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/fastlink.js +13 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/fastlink.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js +9 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/modal.js +78 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/modal.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/mutable.js +61 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/mutable.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/navigator.js +142 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/navigator.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/notifier.js +20 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/components/notifier.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/pakyow.js +1801 -0
- data/lib/generators/pakyow/app/templates/public/scripts/ring/pakyow.min.js +1 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/LICENSE +20 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/VERSION +1 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/reset.css +2 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/structure.css +2 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/syntax.css +2 -0
- data/lib/generators/pakyow/app/templates/public/styles/pakyow-css/theme.css +2 -0
- data/lib/generators/pakyow/app/templates/spec/integration/app_spec.rb +17 -0
- data/lib/generators/pakyow/app/templates/spec/spec_helper.rb +7 -0
- data/lib/pakyow.rb +6 -4
- data/lib/version.rb +3 -0
- metadata +93 -36
- data/lib/generators/pakyow/app/templates/app/views/_templates/pakyow.html +0 -17
- data/lib/generators/pakyow/app/templates/public/pakyow-css/CHANGES +0 -7
- data/lib/generators/pakyow/app/templates/public/pakyow-css/README.md +0 -3
- data/lib/generators/pakyow/app/templates/public/pakyow-css/VERSION +0 -1
- data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/extension.css +0 -7
- data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure-fluid.html +0 -151
- data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure.html +0 -157
- data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/styled.html +0 -114
- data/lib/generators/pakyow/app/templates/public/pakyow-css/reset.css +0 -46
- data/lib/generators/pakyow/app/templates/public/pakyow-css/structure.css +0 -199
- data/lib/generators/pakyow/app/templates/public/pakyow-css/style.css +0 -191
- data/lib/generators/pakyow/app/templates/public/pakyow-css/syntax.css +0 -279
@@ -1,191 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
font-size: 62.5%;
|
3
|
-
line-height: 62.5%; }
|
4
|
-
|
5
|
-
body {
|
6
|
-
background: #fff;
|
7
|
-
color: #333;
|
8
|
-
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
9
|
-
font-size: 13px;
|
10
|
-
font-size: 1.3rem; }
|
11
|
-
|
12
|
-
code {
|
13
|
-
font-family: Menlo, monospace;
|
14
|
-
font-size: 9px;
|
15
|
-
font-size: 0.9rem; }
|
16
|
-
|
17
|
-
h1, h2, h3, h4 {
|
18
|
-
font-weight: bold; }
|
19
|
-
|
20
|
-
h1 {
|
21
|
-
font-size: 32px;
|
22
|
-
font-size: 3.2rem;
|
23
|
-
line-height: 20px;
|
24
|
-
line-height: 2rem; }
|
25
|
-
|
26
|
-
h2 {
|
27
|
-
font-size: 24px;
|
28
|
-
font-size: 2.4rem;
|
29
|
-
line-height: 20px;
|
30
|
-
line-height: 2rem; }
|
31
|
-
|
32
|
-
h3 {
|
33
|
-
font-size: 18px;
|
34
|
-
font-size: 1.8rem;
|
35
|
-
line-height: 20px;
|
36
|
-
line-height: 2rem; }
|
37
|
-
|
38
|
-
h4 {
|
39
|
-
font-size: 15px;
|
40
|
-
font-size: 1.5rem;
|
41
|
-
line-height: 15px;
|
42
|
-
line-height: 1.5rem; }
|
43
|
-
|
44
|
-
h5 {
|
45
|
-
font-size: 13px;
|
46
|
-
font-size: 1.3rem;
|
47
|
-
line-height: 15px;
|
48
|
-
line-height: 1.5rem; }
|
49
|
-
|
50
|
-
hr {
|
51
|
-
border: 0;
|
52
|
-
height: 1px;
|
53
|
-
background: #DEDEDE;
|
54
|
-
margin-top: 30px; }
|
55
|
-
|
56
|
-
p {
|
57
|
-
font-size: 13px;
|
58
|
-
font-size: 1.3rem;
|
59
|
-
line-height: 18px;
|
60
|
-
line-height: 1.8rem;
|
61
|
-
margin: 0 0 9px; }
|
62
|
-
|
63
|
-
strong {
|
64
|
-
font-weight: bold; }
|
65
|
-
|
66
|
-
em {
|
67
|
-
font-style: italic; }
|
68
|
-
|
69
|
-
a {
|
70
|
-
color: #206cb1;
|
71
|
-
text-decoration: none; }
|
72
|
-
a:hover {
|
73
|
-
text-decoration: underline;
|
74
|
-
color: #185286; }
|
75
|
-
|
76
|
-
ul, ol {
|
77
|
-
margin: 0 0 9px 25px; }
|
78
|
-
|
79
|
-
ul ul, ol ol {
|
80
|
-
margin-bottom: 0; }
|
81
|
-
|
82
|
-
ul {
|
83
|
-
list-style: disc; }
|
84
|
-
|
85
|
-
ol {
|
86
|
-
list-style: decimal; }
|
87
|
-
|
88
|
-
li {
|
89
|
-
font-size: 13px;
|
90
|
-
font-size: 1.3rem;
|
91
|
-
line-height: 16px;
|
92
|
-
line-height: 1.6rem; }
|
93
|
-
|
94
|
-
/*****************************
|
95
|
-
Utility Classes
|
96
|
-
*****************************/
|
97
|
-
.secondary {
|
98
|
-
font-size: 11px;
|
99
|
-
font-size: 1.1rem;
|
100
|
-
color: #777; }
|
101
|
-
|
102
|
-
.underline {
|
103
|
-
border-bottom: 1px solid #ccc;
|
104
|
-
padding-bottom: 5px; }
|
105
|
-
|
106
|
-
/*****************************
|
107
|
-
Forms
|
108
|
-
*****************************/
|
109
|
-
label {
|
110
|
-
display: block;
|
111
|
-
font-weight: bold; }
|
112
|
-
label.inline {
|
113
|
-
display: inline; }
|
114
|
-
|
115
|
-
fieldset {
|
116
|
-
margin-bottom: 20px; }
|
117
|
-
fieldset ul {
|
118
|
-
margin-left: 0;
|
119
|
-
list-style: none; }
|
120
|
-
fieldset ul li {
|
121
|
-
margin-bottom: 10px; }
|
122
|
-
fieldset ul li label {
|
123
|
-
padding-bottom: 5px; }
|
124
|
-
|
125
|
-
input, textarea, select {
|
126
|
-
outline: none; }
|
127
|
-
|
128
|
-
input, textarea {
|
129
|
-
padding: 3px;
|
130
|
-
font-size: 13px;
|
131
|
-
font-size: 1.3rem; }
|
132
|
-
|
133
|
-
input[type='text'], input[type='password'], textarea {
|
134
|
-
border-radius: 2px;
|
135
|
-
border: 1px solid #ccc;
|
136
|
-
padding: 5px; }
|
137
|
-
input[type='text']:focus, input[type='password']:focus, textarea:focus {
|
138
|
-
border-color: #8dabd4; }
|
139
|
-
|
140
|
-
input[type='submit'], input[type='button'], button, .button {
|
141
|
-
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
142
|
-
font-size: 13px;
|
143
|
-
font-size: 1.3rem;
|
144
|
-
color: #000;
|
145
|
-
cursor: pointer;
|
146
|
-
border-radius: 2px;
|
147
|
-
border: 1px solid #adadad;
|
148
|
-
padding: 6px 5px 5px;
|
149
|
-
background: #ffffff;
|
150
|
-
/* Old browsers */
|
151
|
-
background: -moz-linear-gradient(top, white 0%, #f3f3f3 100%);
|
152
|
-
/* FF3.6+ */
|
153
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #f3f3f3));
|
154
|
-
/* Chrome,Safari4+ */
|
155
|
-
background: -webkit-linear-gradient(top, white 0%, #f3f3f3 100%);
|
156
|
-
/* Chrome10+,Safari5.1+ */
|
157
|
-
background: -o-linear-gradient(top, white 0%, #f3f3f3 100%);
|
158
|
-
/* Opera 11.10+ */
|
159
|
-
background: -ms-linear-gradient(top, white 0%, #f3f3f3 100%);
|
160
|
-
/* IE10+ */
|
161
|
-
background: linear-gradient(top, white 0%, #f3f3f3 100%);
|
162
|
-
/* W3C */
|
163
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 );
|
164
|
-
/* IE6-9 */ }
|
165
|
-
input[type='submit']:hover, input[type='button']:hover, button:hover, .button:hover {
|
166
|
-
text-decoration: none;
|
167
|
-
background: -webkit-linear-gradient(top, white 0%, #f6f6f6 100%);
|
168
|
-
/* Chrome10+,Safari5.1+ */
|
169
|
-
border-color: #ccc;
|
170
|
-
color: #777; }
|
171
|
-
|
172
|
-
input.error {
|
173
|
-
background: #FEFBFB;
|
174
|
-
border-color: #FBA8A4; }
|
175
|
-
input.error:focus {
|
176
|
-
border-color: #F4635D; }
|
177
|
-
|
178
|
-
/*****************************
|
179
|
-
Composable Styles
|
180
|
-
*****************************/
|
181
|
-
ul.horizontal, ol.horizontal {
|
182
|
-
margin: 0;
|
183
|
-
display: inline; }
|
184
|
-
ul.horizontal li, ol.horizontal li {
|
185
|
-
display: inline; }
|
186
|
-
|
187
|
-
ul.plain, ol.plain {
|
188
|
-
margin: 5px;
|
189
|
-
padding: 0; }
|
190
|
-
ul.plain li, ol.plain li {
|
191
|
-
list-style: none; }
|
@@ -1,279 +0,0 @@
|
|
1
|
-
code, div.code {
|
2
|
-
font-family: monospace;
|
3
|
-
font-size: 12px;
|
4
|
-
display: block;
|
5
|
-
background: #fff;
|
6
|
-
padding: 5px 10px;
|
7
|
-
border-radius: 2px;
|
8
|
-
margin: 10px 0;
|
9
|
-
margin-bottom: 20px;
|
10
|
-
border: 1px solid #cbcbcb;
|
11
|
-
overflow: auto; }
|
12
|
-
|
13
|
-
p code {
|
14
|
-
display: inline;
|
15
|
-
padding: 2px 3px; }
|
16
|
-
|
17
|
-
div.code {
|
18
|
-
margin-top: -10px; }
|
19
|
-
|
20
|
-
code.console:before {
|
21
|
-
content: '$ '; }
|
22
|
-
|
23
|
-
code.console .highlight, code.console pre {
|
24
|
-
display: inline; }
|
25
|
-
|
26
|
-
.highlight {
|
27
|
-
background: #ffffff; }
|
28
|
-
|
29
|
-
.highlight .c {
|
30
|
-
color: #999988;
|
31
|
-
font-style: italic; }
|
32
|
-
|
33
|
-
/* Comment */
|
34
|
-
.highlight .err {
|
35
|
-
color: #a61717;
|
36
|
-
background-color: #e3d2d2; }
|
37
|
-
|
38
|
-
/* Error */
|
39
|
-
.highlight .k {
|
40
|
-
font-weight: bold; }
|
41
|
-
|
42
|
-
/* Keyword */
|
43
|
-
.highlight .o {
|
44
|
-
font-weight: bold; }
|
45
|
-
|
46
|
-
/* Operator */
|
47
|
-
.highlight .cm {
|
48
|
-
color: #999988;
|
49
|
-
font-style: italic; }
|
50
|
-
|
51
|
-
/* Comment.Multiline */
|
52
|
-
.highlight .cp {
|
53
|
-
color: #999999;
|
54
|
-
font-weight: bold; }
|
55
|
-
|
56
|
-
/* Comment.Preproc */
|
57
|
-
.highlight .c1 {
|
58
|
-
color: #999988;
|
59
|
-
font-style: italic; }
|
60
|
-
|
61
|
-
/* Comment.Single */
|
62
|
-
.highlight .cs {
|
63
|
-
color: #999999;
|
64
|
-
font-weight: bold;
|
65
|
-
font-style: italic; }
|
66
|
-
|
67
|
-
/* Comment.Special */
|
68
|
-
.highlight .gd {
|
69
|
-
color: #000000;
|
70
|
-
background-color: #ffdddd; }
|
71
|
-
|
72
|
-
/* Generic.Deleted */
|
73
|
-
.highlight .gd .x {
|
74
|
-
color: #000000;
|
75
|
-
background-color: #ffaaaa; }
|
76
|
-
|
77
|
-
/* Generic.Deleted.Specific */
|
78
|
-
.highlight .ge {
|
79
|
-
font-style: italic; }
|
80
|
-
|
81
|
-
/* Generic.Emph */
|
82
|
-
.highlight .gr {
|
83
|
-
color: #aa0000; }
|
84
|
-
|
85
|
-
/* Generic.Error */
|
86
|
-
.highlight .gh {
|
87
|
-
color: #999999; }
|
88
|
-
|
89
|
-
/* Generic.Heading */
|
90
|
-
.highlight .gi {
|
91
|
-
color: #000000;
|
92
|
-
background-color: #ddffdd; }
|
93
|
-
|
94
|
-
/* Generic.Inserted */
|
95
|
-
.highlight .gi .x {
|
96
|
-
color: #000000;
|
97
|
-
background-color: #aaffaa; }
|
98
|
-
|
99
|
-
/* Generic.Inserted.Specific */
|
100
|
-
.highlight .go {
|
101
|
-
color: #888888; }
|
102
|
-
|
103
|
-
/* Generic.Output */
|
104
|
-
.highlight .gp {
|
105
|
-
color: #555555; }
|
106
|
-
|
107
|
-
/* Generic.Prompt */
|
108
|
-
.highlight .gs {
|
109
|
-
font-weight: bold; }
|
110
|
-
|
111
|
-
/* Generic.Strong */
|
112
|
-
.highlight .gu {
|
113
|
-
color: #aaaaaa; }
|
114
|
-
|
115
|
-
/* Generic.Subheading */
|
116
|
-
.highlight .gt {
|
117
|
-
color: #aa0000; }
|
118
|
-
|
119
|
-
/* Generic.Traceback */
|
120
|
-
.highlight .kc {
|
121
|
-
font-weight: bold; }
|
122
|
-
|
123
|
-
/* Keyword.Constant */
|
124
|
-
.highlight .kd {
|
125
|
-
font-weight: bold; }
|
126
|
-
|
127
|
-
/* Keyword.Declaration */
|
128
|
-
.highlight .kp {
|
129
|
-
font-weight: bold; }
|
130
|
-
|
131
|
-
/* Keyword.Pseudo */
|
132
|
-
.highlight .kr {
|
133
|
-
font-weight: bold; }
|
134
|
-
|
135
|
-
/* Keyword.Reserved */
|
136
|
-
.highlight .kt {
|
137
|
-
color: #445588;
|
138
|
-
font-weight: bold; }
|
139
|
-
|
140
|
-
/* Keyword.Type */
|
141
|
-
.highlight .m {
|
142
|
-
color: #009999; }
|
143
|
-
|
144
|
-
/* Literal.Number */
|
145
|
-
.highlight .s {
|
146
|
-
color: #dd1144; }
|
147
|
-
|
148
|
-
/* Literal.String */
|
149
|
-
.highlight .na {
|
150
|
-
color: teal; }
|
151
|
-
|
152
|
-
/* Name.Attribute */
|
153
|
-
.highlight .nb {
|
154
|
-
color: #0086b3; }
|
155
|
-
|
156
|
-
/* Name.Builtin */
|
157
|
-
.highlight .nc {
|
158
|
-
color: #445588;
|
159
|
-
font-weight: bold; }
|
160
|
-
|
161
|
-
/* Name.Class */
|
162
|
-
.highlight .no {
|
163
|
-
color: teal; }
|
164
|
-
|
165
|
-
/* Name.Constant */
|
166
|
-
.highlight .ni {
|
167
|
-
color: purple; }
|
168
|
-
|
169
|
-
/* Name.Entity */
|
170
|
-
.highlight .ne {
|
171
|
-
color: #990000;
|
172
|
-
font-weight: bold; }
|
173
|
-
|
174
|
-
/* Name.Exception */
|
175
|
-
.highlight .nf {
|
176
|
-
color: #990000;
|
177
|
-
font-weight: bold; }
|
178
|
-
|
179
|
-
/* Name.Function */
|
180
|
-
.highlight .nn {
|
181
|
-
color: #555555; }
|
182
|
-
|
183
|
-
/* Name.Namespace */
|
184
|
-
.highlight .nt {
|
185
|
-
color: navy; }
|
186
|
-
|
187
|
-
/* Name.Tag */
|
188
|
-
.highlight .nv {
|
189
|
-
color: teal; }
|
190
|
-
|
191
|
-
/* Name.Variable */
|
192
|
-
.highlight .ow {
|
193
|
-
font-weight: bold; }
|
194
|
-
|
195
|
-
/* Operator.Word */
|
196
|
-
.highlight .w {
|
197
|
-
color: #bbbbbb; }
|
198
|
-
|
199
|
-
/* Text.Whitespace */
|
200
|
-
.highlight .mf {
|
201
|
-
color: #009999; }
|
202
|
-
|
203
|
-
/* Literal.Number.Float */
|
204
|
-
.highlight .mh {
|
205
|
-
color: #009999; }
|
206
|
-
|
207
|
-
/* Literal.Number.Hex */
|
208
|
-
.highlight .mi {
|
209
|
-
color: #009999; }
|
210
|
-
|
211
|
-
/* Literal.Number.Integer */
|
212
|
-
.highlight .mo {
|
213
|
-
color: #009999; }
|
214
|
-
|
215
|
-
/* Literal.Number.Oct */
|
216
|
-
.highlight .sb {
|
217
|
-
color: #dd1144; }
|
218
|
-
|
219
|
-
/* Literal.String.Backtick */
|
220
|
-
.highlight .sc {
|
221
|
-
color: #dd1144; }
|
222
|
-
|
223
|
-
/* Literal.String.Char */
|
224
|
-
.highlight .sd {
|
225
|
-
color: #dd1144; }
|
226
|
-
|
227
|
-
/* Literal.String.Doc */
|
228
|
-
.highlight .s2 {
|
229
|
-
color: #dd1144; }
|
230
|
-
|
231
|
-
/* Literal.String.Double */
|
232
|
-
.highlight .se {
|
233
|
-
color: #dd1144; }
|
234
|
-
|
235
|
-
/* Literal.String.Escape */
|
236
|
-
.highlight .sh {
|
237
|
-
color: #dd1144; }
|
238
|
-
|
239
|
-
/* Literal.String.Heredoc */
|
240
|
-
.highlight .si {
|
241
|
-
color: #dd1144; }
|
242
|
-
|
243
|
-
/* Literal.String.Interpol */
|
244
|
-
.highlight .sx {
|
245
|
-
color: #dd1144; }
|
246
|
-
|
247
|
-
/* Literal.String.Other */
|
248
|
-
.highlight .sr {
|
249
|
-
color: #009926; }
|
250
|
-
|
251
|
-
/* Literal.String.Regex */
|
252
|
-
.highlight .s1 {
|
253
|
-
color: #dd1144; }
|
254
|
-
|
255
|
-
/* Literal.String.Single */
|
256
|
-
.highlight .ss {
|
257
|
-
color: #990073; }
|
258
|
-
|
259
|
-
/* Literal.String.Symbol */
|
260
|
-
.highlight .bp {
|
261
|
-
color: #999999; }
|
262
|
-
|
263
|
-
/* Name.Builtin.Pseudo */
|
264
|
-
.highlight .vc {
|
265
|
-
color: teal; }
|
266
|
-
|
267
|
-
/* Name.Variable.Class */
|
268
|
-
.highlight .vg {
|
269
|
-
color: teal; }
|
270
|
-
|
271
|
-
/* Name.Variable.Global */
|
272
|
-
.highlight .vi {
|
273
|
-
color: teal; }
|
274
|
-
|
275
|
-
/* Name.Variable.Instance */
|
276
|
-
.highlight .il {
|
277
|
-
color: #009999; }
|
278
|
-
|
279
|
-
/* Literal.Number.Integer.Long */
|