tao_on_rails 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ad7206836a313340ee1402f84bab0abc1973c42
4
- data.tar.gz: ce59e51cd274ae83424218a88c6d1a3880d4c7e5
3
+ metadata.gz: db898d594e520fd03ff5da2a2540106e6ed28d02
4
+ data.tar.gz: 422c53700335460e6f753c25c3f5f6905a32b298
5
5
  SHA512:
6
- metadata.gz: 3a4727041d760fa838473a30fa6cb6959067dacced82beee727e91332f0e5208c588bc64b98056678d8c12b2b6dba2824fb1f744cde2a48f10afddd3ba1347bf
7
- data.tar.gz: 5dc27562119495488289a750e990d1b342ff6ff620f1e19f68e975293bbec3d8dc8ba52057bb6326988e9f6f29a9bf0549fcbe0abec42a10d15f61ef6c78aeac
6
+ metadata.gz: 4c756133ea33fb8b9cf2afb3be883810b1ba5ccd2cf405456b0bbffb07624725b9839a38d194c32f49c07b283d716f110dd89755b8c0522423d9703e798b4789
7
+ data.tar.gz: 1779aa4721b1aa4659c2a0b9e6411bc5dfade99a1c362b4ba44f73599dffb79aa892b4a7b1656ca2f05dc5f80d0b2ee71d0f023135b38e85095fd6d667b23918
data/.blade.yml CHANGED
@@ -1,13 +1,20 @@
1
1
  load_paths:
2
2
  - lib/assets/javascripts
3
3
  - lib/assets/stylesheets
4
+ - vendor/assets/javascripts
5
+ - vendor/assets/stylesheets
4
6
  - test/javascripts/
5
7
  - turbolinks-source: lib/assets/javascripts
6
8
  - jquery-rails: vendor/assets/javascripts
7
9
  - lodash-rails: vendor/assets/javascripts
8
- - normalize-rails: vendor/assets/javascripts
9
10
 
10
11
  logical_paths:
11
12
  - tao.css
12
13
  - tao.js
13
14
  - tao_test.js
15
+
16
+ build:
17
+ logical_paths:
18
+ - tao.js
19
+ - tao.css
20
+ path: dist
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2016 Terry Tai
3
+ Copyright (c) 2016 彩程设计
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/dist/tao.css ADDED
@@ -0,0 +1,475 @@
1
+ /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * 1. Change the default font family in all browsers (opinionated).
8
+ * 2. Correct the line height in all browsers.
9
+ * 3. Prevent adjustments of font size after orientation changes in
10
+ * IE on Windows Phone and in iOS.
11
+ */
12
+
13
+
14
+ html {
15
+ font-family: sans-serif; /* 1 */
16
+ line-height: 1.15; /* 2 */
17
+ -ms-text-size-adjust: 100%; /* 3 */
18
+ -webkit-text-size-adjust: 100%; /* 3 */
19
+ }
20
+
21
+ /* Sections
22
+ ========================================================================== */
23
+
24
+ /**
25
+ * Remove the margin in all browsers (opinionated).
26
+ */
27
+
28
+ body {
29
+ margin: 0;
30
+ }
31
+
32
+ /**
33
+ * Add the correct display in IE 9-.
34
+ */
35
+
36
+ article,
37
+ aside,
38
+ footer,
39
+ header,
40
+ nav,
41
+ section {
42
+ display: block;
43
+ }
44
+
45
+ /**
46
+ * Correct the font size and margin on `h1` elements within `section` and
47
+ * `article` contexts in Chrome, Firefox, and Safari.
48
+ */
49
+
50
+ h1 {
51
+ font-size: 2em;
52
+ margin: 0.67em 0;
53
+ }
54
+
55
+ /* Grouping content
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * Add the correct display in IE 9-.
60
+ * 1. Add the correct display in IE.
61
+ */
62
+
63
+ figcaption,
64
+ figure,
65
+ main { /* 1 */
66
+ display: block;
67
+ }
68
+
69
+ /**
70
+ * Add the correct margin in IE 8.
71
+ */
72
+
73
+ figure {
74
+ margin: 1em 40px;
75
+ }
76
+
77
+ /**
78
+ * 1. Add the correct box sizing in Firefox.
79
+ * 2. Show the overflow in Edge and IE.
80
+ */
81
+
82
+ hr {
83
+ box-sizing: content-box; /* 1 */
84
+ height: 0; /* 1 */
85
+ overflow: visible; /* 2 */
86
+ }
87
+
88
+ /**
89
+ * 1. Correct the inheritance and scaling of font size in all browsers.
90
+ * 2. Correct the odd `em` font sizing in all browsers.
91
+ */
92
+
93
+ pre {
94
+ font-family: monospace, monospace; /* 1 */
95
+ font-size: 1em; /* 2 */
96
+ }
97
+
98
+ /* Text-level semantics
99
+ ========================================================================== */
100
+
101
+ /**
102
+ * 1. Remove the gray background on active links in IE 10.
103
+ * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
104
+ */
105
+
106
+ a {
107
+ background-color: transparent; /* 1 */
108
+ -webkit-text-decoration-skip: objects; /* 2 */
109
+ }
110
+
111
+ /**
112
+ * Remove the outline on focused links when they are also active or hovered
113
+ * in all browsers (opinionated).
114
+ */
115
+
116
+ a:active,
117
+ a:hover {
118
+ outline-width: 0;
119
+ }
120
+
121
+ /**
122
+ * 1. Remove the bottom border in Firefox 39-.
123
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
124
+ */
125
+
126
+ abbr[title] {
127
+ border-bottom: none; /* 1 */
128
+ text-decoration: underline; /* 2 */
129
+ text-decoration: underline dotted; /* 2 */
130
+ }
131
+
132
+ /**
133
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
134
+ */
135
+
136
+ b,
137
+ strong {
138
+ font-weight: inherit;
139
+ }
140
+
141
+ /**
142
+ * Add the correct font weight in Chrome, Edge, and Safari.
143
+ */
144
+
145
+ b,
146
+ strong {
147
+ font-weight: bolder;
148
+ }
149
+
150
+ /**
151
+ * 1. Correct the inheritance and scaling of font size in all browsers.
152
+ * 2. Correct the odd `em` font sizing in all browsers.
153
+ */
154
+
155
+ code,
156
+ kbd,
157
+ samp {
158
+ font-family: monospace, monospace; /* 1 */
159
+ font-size: 1em; /* 2 */
160
+ }
161
+
162
+ /**
163
+ * Add the correct font style in Android 4.3-.
164
+ */
165
+
166
+ dfn {
167
+ font-style: italic;
168
+ }
169
+
170
+ /**
171
+ * Add the correct background and color in IE 9-.
172
+ */
173
+
174
+ mark {
175
+ background-color: #ff0;
176
+ color: #000;
177
+ }
178
+
179
+ /**
180
+ * Add the correct font size in all browsers.
181
+ */
182
+
183
+ small {
184
+ font-size: 80%;
185
+ }
186
+
187
+ /**
188
+ * Prevent `sub` and `sup` elements from affecting the line height in
189
+ * all browsers.
190
+ */
191
+
192
+ sub,
193
+ sup {
194
+ font-size: 75%;
195
+ line-height: 0;
196
+ position: relative;
197
+ vertical-align: baseline;
198
+ }
199
+
200
+ sub {
201
+ bottom: -0.25em;
202
+ }
203
+
204
+ sup {
205
+ top: -0.5em;
206
+ }
207
+
208
+ /* Embedded content
209
+ ========================================================================== */
210
+
211
+ /**
212
+ * Add the correct display in IE 9-.
213
+ */
214
+
215
+ audio,
216
+ video {
217
+ display: inline-block;
218
+ }
219
+
220
+ /**
221
+ * Add the correct display in iOS 4-7.
222
+ */
223
+
224
+ audio:not([controls]) {
225
+ display: none;
226
+ height: 0;
227
+ }
228
+
229
+ /**
230
+ * Remove the border on images inside links in IE 10-.
231
+ */
232
+
233
+ img {
234
+ border-style: none;
235
+ }
236
+
237
+ /**
238
+ * Hide the overflow in IE.
239
+ */
240
+
241
+ svg:not(:root) {
242
+ overflow: hidden;
243
+ }
244
+
245
+ /* Forms
246
+ ========================================================================== */
247
+
248
+ /**
249
+ * 1. Change the font styles in all browsers (opinionated).
250
+ * 2. Remove the margin in Firefox and Safari.
251
+ */
252
+
253
+ button,
254
+ input,
255
+ optgroup,
256
+ select,
257
+ textarea {
258
+ font-family: sans-serif; /* 1 */
259
+ font-size: 100%; /* 1 */
260
+ line-height: 1.15; /* 1 */
261
+ margin: 0; /* 2 */
262
+ }
263
+
264
+ /**
265
+ * Show the overflow in IE.
266
+ * 1. Show the overflow in Edge.
267
+ */
268
+
269
+ button,
270
+ input { /* 1 */
271
+ overflow: visible;
272
+ }
273
+
274
+ /**
275
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
276
+ * 1. Remove the inheritance of text transform in Firefox.
277
+ */
278
+
279
+ button,
280
+ select { /* 1 */
281
+ text-transform: none;
282
+ }
283
+
284
+ /**
285
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
286
+ * controls in Android 4.
287
+ * 2. Correct the inability to style clickable types in iOS and Safari.
288
+ */
289
+
290
+ button,
291
+ html [type="button"], /* 1 */
292
+ [type="reset"],
293
+ [type="submit"] {
294
+ -webkit-appearance: button; /* 2 */
295
+ }
296
+
297
+ /**
298
+ * Remove the inner border and padding in Firefox.
299
+ */
300
+
301
+ button::-moz-focus-inner,
302
+ [type="button"]::-moz-focus-inner,
303
+ [type="reset"]::-moz-focus-inner,
304
+ [type="submit"]::-moz-focus-inner {
305
+ border-style: none;
306
+ padding: 0;
307
+ }
308
+
309
+ /**
310
+ * Restore the focus styles unset by the previous rule.
311
+ */
312
+
313
+ button:-moz-focusring,
314
+ [type="button"]:-moz-focusring,
315
+ [type="reset"]:-moz-focusring,
316
+ [type="submit"]:-moz-focusring {
317
+ outline: 1px dotted ButtonText;
318
+ }
319
+
320
+ /**
321
+ * Change the border, margin, and padding in all browsers (opinionated).
322
+ */
323
+
324
+ fieldset {
325
+ border: 1px solid #c0c0c0;
326
+ margin: 0 2px;
327
+ padding: 0.35em 0.625em 0.75em;
328
+ }
329
+
330
+ /**
331
+ * 1. Correct the text wrapping in Edge and IE.
332
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
333
+ * 3. Remove the padding so developers are not caught out when they zero out
334
+ * `fieldset` elements in all browsers.
335
+ */
336
+
337
+ legend {
338
+ box-sizing: border-box; /* 1 */
339
+ color: inherit; /* 2 */
340
+ display: table; /* 1 */
341
+ max-width: 100%; /* 1 */
342
+ padding: 0; /* 3 */
343
+ white-space: normal; /* 1 */
344
+ }
345
+
346
+ /**
347
+ * 1. Add the correct display in IE 9-.
348
+ * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
349
+ */
350
+
351
+ progress {
352
+ display: inline-block; /* 1 */
353
+ vertical-align: baseline; /* 2 */
354
+ }
355
+
356
+ /**
357
+ * Remove the default vertical scrollbar in IE.
358
+ */
359
+
360
+ textarea {
361
+ overflow: auto;
362
+ }
363
+
364
+ /**
365
+ * 1. Add the correct box sizing in IE 10-.
366
+ * 2. Remove the padding in IE 10-.
367
+ */
368
+
369
+ [type="checkbox"],
370
+ [type="radio"] {
371
+ box-sizing: border-box; /* 1 */
372
+ padding: 0; /* 2 */
373
+ }
374
+
375
+ /**
376
+ * Correct the cursor style of increment and decrement buttons in Chrome.
377
+ */
378
+
379
+ [type="number"]::-webkit-inner-spin-button,
380
+ [type="number"]::-webkit-outer-spin-button {
381
+ height: auto;
382
+ }
383
+
384
+ /**
385
+ * 1. Correct the odd appearance in Chrome and Safari.
386
+ * 2. Correct the outline style in Safari.
387
+ */
388
+
389
+ [type="search"] {
390
+ -webkit-appearance: textfield; /* 1 */
391
+ outline-offset: -2px; /* 2 */
392
+ }
393
+
394
+ /**
395
+ * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
396
+ */
397
+
398
+ [type="search"]::-webkit-search-cancel-button,
399
+ [type="search"]::-webkit-search-decoration {
400
+ -webkit-appearance: none;
401
+ }
402
+
403
+ /**
404
+ * 1. Correct the inability to style clickable types in iOS and Safari.
405
+ * 2. Change font properties to `inherit` in Safari.
406
+ */
407
+
408
+ ::-webkit-file-upload-button {
409
+ -webkit-appearance: button; /* 1 */
410
+ font: inherit; /* 2 */
411
+ }
412
+
413
+ /* Interactive
414
+ ========================================================================== */
415
+
416
+ /*
417
+ * Add the correct display in IE 9-.
418
+ * 1. Add the correct display in Edge, IE, and Firefox.
419
+ */
420
+
421
+ details, /* 1 */
422
+ menu {
423
+ display: block;
424
+ }
425
+
426
+ /*
427
+ * Add the correct display in all browsers.
428
+ */
429
+
430
+ summary {
431
+ display: list-item;
432
+ }
433
+
434
+ /* Scripting
435
+ ========================================================================== */
436
+
437
+ /**
438
+ * Add the correct display in IE 9-.
439
+ */
440
+
441
+ canvas {
442
+ display: inline-block;
443
+ }
444
+
445
+ /**
446
+ * Add the correct display in IE.
447
+ */
448
+
449
+ template {
450
+ display: none;
451
+ }
452
+
453
+ /* Hidden
454
+ ========================================================================== */
455
+
456
+ /**
457
+ * Add the correct display in IE 10-.
458
+ */
459
+
460
+ [hidden] {
461
+ display: none;
462
+ }
463
+ @keyframes spin {
464
+ from {
465
+ transform: rotate(0deg); }
466
+ to {
467
+ transform: rotate(360deg); } }
468
+ .icon {
469
+ display: inline-block;
470
+ width: 24px;
471
+ height: 24px;
472
+ vertical-align: middle;
473
+ fill: #9b9b9b; }
474
+ .icon.spin {
475
+ animation: spin 1s infinite linear; }