spina-template 0.2.18 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/app/assets/javascripts/spina/{dropdown.js.coffee → dropdown.coffee} +0 -0
- data/app/assets/javascripts/spina/{forms.js.coffee → forms.coffee} +0 -0
- data/app/assets/javascripts/spina/{galleryselect.js.coffee → galleryselect.coffee} +0 -0
- data/app/assets/javascripts/spina/{modal.js.coffee → modal.coffee} +0 -0
- data/app/assets/javascripts/spina/{switch.js.coffee → switch.coffee} +0 -0
- data/app/assets/javascripts/spina/{tabs.js.coffee → tabs.coffee} +0 -0
- data/app/assets/javascripts/spina/{uploads.js.coffee → uploads.coffee} +0 -0
- data/app/assets/javascripts/{spina.js.coffee.erb → spina.coffee.erb} +1 -1
- data/app/assets/stylesheets/spina/{_admin_editing.css.sass → _admin_editing.sass} +0 -0
- data/app/assets/stylesheets/spina/{_buttons.css.sass → _buttons.sass} +13 -17
- data/app/assets/stylesheets/spina/{_cards.css.sass → _cards.sass} +0 -0
- data/app/assets/stylesheets/spina/{_configuration.css.sass → _configuration.sass} +0 -0
- data/app/assets/stylesheets/spina/{_custom_animations.css.sass → _custom_animations.sass} +0 -0
- data/app/assets/stylesheets/spina/{_farbtastic.css.sass → _farbtastic.sass} +0 -0
- data/app/assets/stylesheets/spina/{_fonts.css.sass → _fonts.sass} +6 -6
- data/app/assets/stylesheets/spina/{_forms.css.sass → _forms.sass} +56 -17
- data/app/assets/stylesheets/spina/{_gallery.css.sass → _gallery.sass} +3 -0
- data/app/assets/stylesheets/spina/{_grid.css.sass → _grid.sass} +0 -0
- data/app/assets/stylesheets/spina/{_icons_spina.css.scss → _icons_spina.scss} +0 -0
- data/app/assets/stylesheets/spina/{_labels.css.sass → _labels.sass} +0 -0
- data/app/assets/stylesheets/spina/{_login.css.sass → _login.sass} +10 -5
- data/app/assets/stylesheets/spina/{_mixins.css.scss → _mixins.scss} +0 -0
- data/app/assets/stylesheets/spina/{_modal.css.sass → _modal.sass} +3 -2
- data/app/assets/stylesheets/spina/{_sortable_lists.css.sass → _sortable_lists.sass} +0 -0
- data/app/assets/stylesheets/spina/{_tables.css.sass → _tables.sass} +1 -0
- data/app/assets/stylesheets/spina/_trix.sass +30 -0
- data/app/assets/stylesheets/spina/{_wysihtml5.css.sass → _wysihtml5.sass} +4 -1
- data/app/assets/stylesheets/spina/{wysihtml5_textarea.css.sass → wysihtml5_textarea.sass} +0 -0
- data/app/assets/stylesheets/{spina.css.sass → spina.sass} +7 -2
- data/lib/spina/template/version.rb +1 -1
- data/vendor/assets/javascripts/spina/trix.js +25 -0
- data/vendor/assets/stylesheets/spina/{_animate.css → _animate.scss} +0 -0
- data/vendor/assets/stylesheets/spina/{_morris.css → _morris.scss} +0 -0
- data/vendor/assets/stylesheets/spina/{_normalize.css → _normalize.scss} +0 -0
- data/vendor/assets/stylesheets/spina/{_nprogress.css.scss → _nprogress.scss} +0 -0
- metadata +37 -47
- data/.DS_Store +0 -0
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/images/.DS_Store +0 -0
- data/app/assets/images/spina/bg.jpg +0 -0
- data/app/assets/javascripts/.DS_Store +0 -0
- data/app/assets/stylesheets/.DS_Store +0 -0
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/stylesheets/.DS_Store +0 -0
- data/vendor/assets/stylesheets/spina/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 178b0b2d2b2f06fb50223042049e893389d500b4
|
4
|
+
data.tar.gz: af4c4155b1b004f6a42ea91965e31e63084de82a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f652b8848309b0630cf674a2bb0072a266503fd22312a475c9e800ea8d1417c8ab29ffa2a020a238d75165ddd7956e6b1bb0f322dcc8136f4d9ca216dedf1e6
|
7
|
+
data.tar.gz: e237df198fcee0b39e8f84b0183977ba561900b642d8cc519f23183ba9d21c18a7536e2602ab4940d4c9f0fd7a95493311d8726dbefd2531c7c01b38266755ba
|
data/.gitignore
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -10,10 +10,10 @@ button, input[type="submit"]
|
|
10
10
|
display: inline-block
|
11
11
|
font-size: 14px
|
12
12
|
font-weight: bold
|
13
|
-
line-height:
|
13
|
+
line-height: 20px
|
14
14
|
margin: 0 4px 4px 0
|
15
15
|
outline: none
|
16
|
-
padding:
|
16
|
+
padding: 8 16px
|
17
17
|
text-decoration: none
|
18
18
|
@include transition(all .3s ease)
|
19
19
|
|
@@ -75,32 +75,25 @@ button, input[type="submit"]
|
|
75
75
|
margin-right: 0
|
76
76
|
|
77
77
|
&.icon-mini:before
|
78
|
-
font-size: 8px
|
79
|
-
line-height: 12px
|
80
78
|
margin-right: 4px
|
81
79
|
|
82
80
|
&.button-large
|
83
81
|
border-radius: 4px
|
84
|
-
|
85
|
-
line-height: 42px
|
86
|
-
padding: 0 18px
|
82
|
+
padding: 11px 18px
|
87
83
|
|
88
84
|
&:before
|
89
85
|
margin-right: 10px
|
90
86
|
|
91
87
|
&.button-small
|
92
88
|
font-size: 13px
|
93
|
-
|
94
|
-
padding: 0 12px
|
89
|
+
padding: 6px 12px
|
95
90
|
|
96
91
|
i.icon
|
97
|
-
font-size: 16px
|
98
92
|
margin-right: 4px
|
99
93
|
|
100
94
|
&.button-mini
|
101
95
|
font-size: 12px
|
102
|
-
|
103
|
-
padding: 0 10px
|
96
|
+
padding: 3px 10px
|
104
97
|
|
105
98
|
&.button-hollow
|
106
99
|
background: none
|
@@ -125,7 +118,7 @@ button, input[type="submit"]
|
|
125
118
|
display: inline-block
|
126
119
|
@include animation(rotate 3.0s linear infinite)
|
127
120
|
|
128
|
-
@include keyframes(rotate)
|
121
|
+
@include keyframes(rotate)
|
129
122
|
from
|
130
123
|
@include transform(rotate(0deg))
|
131
124
|
to
|
@@ -183,8 +176,8 @@ button, input[type="submit"]
|
|
183
176
|
font-size: 14px
|
184
177
|
font-style: normal
|
185
178
|
font-weight: 600
|
186
|
-
line-height:
|
187
|
-
padding:
|
179
|
+
line-height: 20px
|
180
|
+
padding: 6px 8px
|
188
181
|
|
189
182
|
&:first-child
|
190
183
|
padding-left: 0
|
@@ -225,7 +218,7 @@ button, input[type="submit"]
|
|
225
218
|
width: 0
|
226
219
|
border-bottom: 8px solid #aaa
|
227
220
|
border-left: 8px solid transparent
|
228
|
-
border-right: 8px solid transparent
|
221
|
+
border-right: 8px solid transparent
|
229
222
|
|
230
223
|
ul:after, .sliding-dropdown:after
|
231
224
|
content: ""
|
@@ -293,6 +286,9 @@ button, input[type="submit"]
|
|
293
286
|
position: absolute
|
294
287
|
top: 0px
|
295
288
|
|
289
|
+
.icon:before
|
290
|
+
line-height: 44px
|
291
|
+
|
296
292
|
&:hover
|
297
293
|
color: #333
|
298
294
|
|
@@ -354,4 +350,4 @@ button, input[type="submit"]
|
|
354
350
|
width: 4px
|
355
351
|
|
356
352
|
&.active
|
357
|
-
background: #333
|
353
|
+
background: #333
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,16 +3,16 @@
|
|
3
3
|
@include font-face("icons_spina", "spina/icons_spina")
|
4
4
|
|
5
5
|
.icon
|
6
|
+
display: inline-block
|
6
7
|
vertical-align: middle
|
7
|
-
|
8
|
-
|
8
|
+
font-size: inherit
|
9
|
+
line-height: inherit // NOTE: should be 1
|
9
10
|
font-family: "icons_spina" !important
|
10
11
|
font-style: normal !important
|
11
|
-
font-weight: normal !important
|
12
12
|
font-variant: normal !important
|
13
|
-
|
13
|
+
font-weight: normal !important
|
14
14
|
text-transform: none !important
|
15
15
|
speak: none
|
16
|
-
|
16
|
+
text-rendering: auto
|
17
17
|
-webkit-font-smoothing: antialiased
|
18
|
-
-moz-osx-font-smoothing: grayscale
|
18
|
+
-moz-osx-font-smoothing: grayscale
|
@@ -1,4 +1,44 @@
|
|
1
|
-
|
1
|
+
// Horizontal form
|
2
|
+
.horizontal-form
|
3
|
+
.horizontal-form-group
|
4
|
+
margin-bottom: 30px
|
5
|
+
@include display(flex)
|
6
|
+
|
7
|
+
.horizontal-form-label
|
8
|
+
color: #333
|
9
|
+
font-size: 13px
|
10
|
+
font-weight: 600
|
11
|
+
line-height: 18px
|
12
|
+
width: 240px
|
13
|
+
@include justify-content(center)
|
14
|
+
@include display(flex)
|
15
|
+
@include flex-direction(column)
|
16
|
+
|
17
|
+
small
|
18
|
+
color: #666
|
19
|
+
display: block
|
20
|
+
font-size: 13px
|
21
|
+
font-weight: normal
|
22
|
+
|
23
|
+
.horizontal-form-content
|
24
|
+
@include flex(1)
|
25
|
+
@include align-self(flex-start)
|
26
|
+
|
27
|
+
.image
|
28
|
+
border-radius: 3px
|
29
|
+
display: inline-block
|
30
|
+
height: 85px
|
31
|
+
overflow: hidden
|
32
|
+
width: 152px
|
33
|
+
|
34
|
+
img
|
35
|
+
display: block
|
36
|
+
height: 100%
|
37
|
+
width: 100%
|
38
|
+
|
39
|
+
// Inputs
|
40
|
+
|
41
|
+
#{$all-text-inputs}, textarea, .text-input
|
2
42
|
border: 1px solid #c3c3c3
|
3
43
|
border-radius: 3px
|
4
44
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
|
@@ -38,7 +78,7 @@
|
|
38
78
|
height: 10px
|
39
79
|
width: 10px
|
40
80
|
|
41
|
-
#{$all-text-inputs-focus}, textarea:focus
|
81
|
+
#{$all-text-inputs-focus}, textarea:focus, .text-input:focus
|
42
82
|
border-color: $primary-color
|
43
83
|
outline: none
|
44
84
|
|
@@ -52,7 +92,7 @@ fieldset
|
|
52
92
|
|
53
93
|
// Errors
|
54
94
|
|
55
|
-
.field_with_errors
|
95
|
+
.field_with_errors
|
56
96
|
#{$all-text-inputs}, textarea
|
57
97
|
border: 1px solid $error-color
|
58
98
|
|
@@ -121,7 +161,7 @@ fieldset
|
|
121
161
|
|
122
162
|
&:hover .restaurant-dish-price .remove_fields
|
123
163
|
opacity: 1
|
124
|
-
|
164
|
+
|
125
165
|
.add_fields.button
|
126
166
|
background: #f5f5f5
|
127
167
|
font-size: 13px
|
@@ -206,7 +246,7 @@ input.datepicker
|
|
206
246
|
|
207
247
|
.checkbox, .radio
|
208
248
|
display: inline-block
|
209
|
-
|
249
|
+
|
210
250
|
input[type="checkbox"], input[type="radio"]
|
211
251
|
display: none
|
212
252
|
|
@@ -282,7 +322,6 @@ input.datepicker
|
|
282
322
|
|
283
323
|
&:before
|
284
324
|
color: #666
|
285
|
-
font-family: "FontAwesome"
|
286
325
|
font-size: 14px
|
287
326
|
font-weight: normal
|
288
327
|
line-height: 28px
|
@@ -299,7 +338,8 @@ input.datepicker
|
|
299
338
|
color: #666
|
300
339
|
cursor: pointer
|
301
340
|
display: inline-block
|
302
|
-
font-
|
341
|
+
font-family: $font-family
|
342
|
+
font-size: 13px
|
303
343
|
font-weight: 600
|
304
344
|
line-height: 16px
|
305
345
|
margin: 0
|
@@ -313,14 +353,13 @@ input.datepicker
|
|
313
353
|
// Structure form
|
314
354
|
|
315
355
|
.structure-form
|
316
|
-
margin-
|
356
|
+
margin-left: -40px
|
317
357
|
position: relative
|
318
358
|
@include display(flex)
|
319
359
|
|
320
360
|
.structure-form-menu
|
321
361
|
box-sizing: content-box
|
322
|
-
min-width:
|
323
|
-
width: 240px
|
362
|
+
min-width: 280px
|
324
363
|
|
325
364
|
label
|
326
365
|
display: block
|
@@ -339,12 +378,12 @@ input.datepicker
|
|
339
378
|
right: -1px
|
340
379
|
top: -40px
|
341
380
|
width: 1px
|
342
|
-
@include linear-gradient(
|
381
|
+
@include linear-gradient(rgba(255, 255, 255, 0), #ddd)
|
343
382
|
|
344
383
|
ul:after
|
345
384
|
bottom: -40px
|
346
385
|
top: auto
|
347
|
-
@include linear-gradient(bottom,
|
386
|
+
@include linear-gradient(bottom, rgba(255, 255, 255, 0), #ddd)
|
348
387
|
|
349
388
|
ul li .structure-item-remove
|
350
389
|
color: #999
|
@@ -354,6 +393,8 @@ input.datepicker
|
|
354
393
|
color: #333
|
355
394
|
cursor: pointer
|
356
395
|
display: block
|
396
|
+
font-weight: 600
|
397
|
+
font-size: 13px
|
357
398
|
height: 50px
|
358
399
|
line-height: 50px
|
359
400
|
outline: none
|
@@ -406,7 +447,6 @@ input.datepicker
|
|
406
447
|
|
407
448
|
.structure-form-content
|
408
449
|
padding-left: 12px
|
409
|
-
padding-right: 40px
|
410
450
|
width: 100%
|
411
451
|
|
412
452
|
.structure-form-pane
|
@@ -522,7 +562,7 @@ input.datepicker
|
|
522
562
|
.customfile.loading
|
523
563
|
&:before
|
524
564
|
display: none
|
525
|
-
|
565
|
+
|
526
566
|
&:after
|
527
567
|
display: block
|
528
568
|
|
@@ -552,7 +592,6 @@ input.datepicker
|
|
552
592
|
border-radius: 3px
|
553
593
|
color: #333
|
554
594
|
display: block
|
555
|
-
height: 100%
|
556
595
|
margin-top: 2px
|
557
596
|
position: relative
|
558
597
|
|
@@ -561,7 +600,7 @@ input.datepicker
|
|
561
600
|
|
562
601
|
&:active .button
|
563
602
|
background: shade(#efefef, 10%)
|
564
|
-
|
603
|
+
|
565
604
|
&:before
|
566
605
|
background: rgba(255, 255, 255, .5)
|
567
606
|
content: ""
|
@@ -586,7 +625,7 @@ input.datepicker
|
|
586
625
|
margin-right: 6px
|
587
626
|
vertical-align: middle
|
588
627
|
|
589
|
-
ul.sortable-grid
|
628
|
+
ul.sortable-grid
|
590
629
|
.image, .sortable-placeholder
|
591
630
|
border-radius: 3px
|
592
631
|
display: inline-block
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,17 +1,22 @@
|
|
1
1
|
#login_container
|
2
|
-
background:
|
3
|
-
background-size: cover
|
4
|
-
background-position: center
|
2
|
+
background: tint($primary-color, 90%)
|
5
3
|
display: block
|
6
4
|
height: 100%
|
7
5
|
position: fixed
|
8
6
|
width: 100%
|
9
7
|
|
10
8
|
#login_wrapper
|
11
|
-
border-radius: 3px
|
12
9
|
margin: 50px auto
|
13
10
|
max-width: 280px
|
14
11
|
|
12
|
+
.notification
|
13
|
+
padding: 0px
|
14
|
+
text-align: center
|
15
|
+
|
16
|
+
img
|
17
|
+
display: block
|
18
|
+
margin: 0 auto 25px auto
|
19
|
+
|
15
20
|
input, button
|
16
21
|
box-shadow: none
|
17
22
|
border: none
|
@@ -24,7 +29,7 @@
|
|
24
29
|
|
25
30
|
|
26
31
|
button
|
27
|
-
padding:
|
32
|
+
padding: 12px 14px
|
28
33
|
|
29
34
|
&:before
|
30
35
|
font-size: 26px
|
File without changes
|
@@ -15,6 +15,7 @@
|
|
15
15
|
margin: 0 auto
|
16
16
|
max-width: 480px
|
17
17
|
min-height: 100px
|
18
|
+
overflow: hidden
|
18
19
|
position: relative
|
19
20
|
@include animation-duration(.4s)
|
20
21
|
|
@@ -37,8 +38,8 @@
|
|
37
38
|
header h3
|
38
39
|
border-radius: 2px 2px 0 0
|
39
40
|
color: #232323
|
40
|
-
font-size:
|
41
|
-
font-weight:
|
41
|
+
font-size: 18px
|
42
|
+
font-weight: 500
|
42
43
|
margin: 0
|
43
44
|
padding: 20px
|
44
45
|
|
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
trix-toolbar
|
2
|
+
margin-bottom: 6px
|
3
|
+
|
4
|
+
.button-group
|
5
|
+
margin-right: 10px
|
6
|
+
|
7
|
+
.button.active
|
8
|
+
background: $primary-color
|
9
|
+
color: #fff
|
10
|
+
|
11
|
+
trix-editor
|
12
|
+
line-height: 18px
|
13
|
+
font-weight: normal
|
14
|
+
min-height: 100px
|
15
|
+
|
16
|
+
ul
|
17
|
+
list-style: disc
|
18
|
+
padding-left: 20px
|
19
|
+
|
20
|
+
figure.attachment
|
21
|
+
margin-bottom: 12px
|
22
|
+
max-width: 200px
|
23
|
+
overflow: hidden
|
24
|
+
|
25
|
+
.remove
|
26
|
+
display: none
|
27
|
+
|
28
|
+
img
|
29
|
+
border-radius: 3px
|
30
|
+
width: 100%
|
File without changes
|
@@ -31,6 +31,7 @@
|
|
31
31
|
@import spina/gallery
|
32
32
|
@import spina/login
|
33
33
|
@import spina/cards
|
34
|
+
@import spina/trix
|
34
35
|
|
35
36
|
// Plugins
|
36
37
|
@import spina/morris
|
@@ -44,7 +45,7 @@ html
|
|
44
45
|
html, body
|
45
46
|
height: 100%
|
46
47
|
font-family: $font-family
|
47
|
-
font-
|
48
|
+
-webkit-font-smoothing: antialiased
|
48
49
|
|
49
50
|
body
|
50
51
|
@include display(flex)
|
@@ -183,6 +184,7 @@ nav#secondary
|
|
183
184
|
display: block
|
184
185
|
float: left
|
185
186
|
font-size: 24px
|
187
|
+
line-height: 1
|
186
188
|
margin-left: -36px
|
187
189
|
text-align: center
|
188
190
|
width: 24px
|
@@ -529,6 +531,9 @@ label
|
|
529
531
|
.pull-right
|
530
532
|
float: right
|
531
533
|
|
534
|
+
.clearfix
|
535
|
+
@include clearfix()
|
536
|
+
|
532
537
|
.spina-logo
|
533
538
|
bottom: 0px
|
534
539
|
opacity: .5
|
@@ -541,4 +546,4 @@ label
|
|
541
546
|
opacity: 1
|
542
547
|
|
543
548
|
img
|
544
|
-
display: block
|
549
|
+
display: block
|