spina-template 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -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/arrow-left.png +0 -0
- data/app/assets/images/spina/arrow-right.png +0 -0
- data/app/assets/images/spina/bg.jpg +0 -0
- data/app/assets/images/spina/danger-zone-ribbon.png +0 -0
- data/app/assets/images/spina/datepicker.png +0 -0
- data/app/assets/images/spina/divider.png +0 -0
- data/app/assets/images/spina/marker.png +0 -0
- data/app/assets/images/spina/mask.png +0 -0
- data/app/assets/images/spina/wheel.png +0 -0
- data/app/assets/javascripts/.DS_Store +0 -0
- data/app/assets/javascripts/spina/dropdown.js.coffee +64 -0
- data/app/assets/javascripts/spina/galleryselect.js.coffee +12 -0
- data/app/assets/javascripts/spina/modal.js.coffee +54 -0
- data/app/assets/javascripts/spina/switch.js.coffee +41 -0
- data/app/assets/javascripts/spina/tabs.js.coffee +13 -0
- data/app/assets/javascripts/spina/uploads.js.coffee +45 -0
- data/app/assets/javascripts/spina.js.coffee.erb +154 -0
- data/app/assets/stylesheets/.DS_Store +0 -0
- data/app/assets/stylesheets/spina/_admin_editing.css.sass +29 -0
- data/app/assets/stylesheets/spina/_buttons.css.sass +334 -0
- data/app/assets/stylesheets/spina/_cards.css.sass +57 -0
- data/app/assets/stylesheets/spina/_configuration.css.sass +16 -0
- data/app/assets/stylesheets/spina/_custom_animations.css.sass +61 -0
- data/app/assets/stylesheets/spina/_farbtastic.css.sass +37 -0
- data/app/assets/stylesheets/spina/_fonts.css.sass +14 -0
- data/app/assets/stylesheets/spina/_forms.css.sass +473 -0
- data/app/assets/stylesheets/spina/_gallery.css.sass +121 -0
- data/app/assets/stylesheets/spina/_grid.css.sass +12 -0
- data/app/assets/stylesheets/spina/_labels.css.sass +28 -0
- data/app/assets/stylesheets/spina/_login.css.sass +32 -0
- data/app/assets/stylesheets/spina/_mixins.css.scss +13 -0
- data/app/assets/stylesheets/spina/_modal.css.sass +158 -0
- data/app/assets/stylesheets/spina/_sortable_lists.css.sass +161 -0
- data/app/assets/stylesheets/spina/_tables.css.sass +144 -0
- data/app/assets/stylesheets/spina/_wysihtml5.css.sass +73 -0
- data/app/assets/stylesheets/spina/wysihtml5_textarea.css.sass +14 -0
- data/app/assets/stylesheets/spina.css.sass +521 -0
- data/lib/spina/template/version.rb +5 -0
- data/lib/spina/template.rb +12 -0
- data/spina-template.gemspec +26 -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/javascripts/spina/jquery.customfileinput.js +85 -0
- data/vendor/assets/javascripts/spina/jquery.datatables.js +12099 -0
- data/vendor/assets/javascripts/spina/jquery.farbtastic.js +345 -0
- data/vendor/assets/javascripts/spina/jquery.nestable.js +485 -0
- data/vendor/assets/javascripts/spina/jquery.sortable.js +3 -0
- data/vendor/assets/javascripts/spina/jquery.ui.datepicker-nl.js +23 -0
- data/vendor/assets/javascripts/spina/jquery.ui.js +6 -0
- data/vendor/assets/javascripts/spina/morris.js +1767 -0
- data/vendor/assets/javascripts/spina/nprogress.js +274 -0
- data/vendor/assets/javascripts/spina/raphael.js +8111 -0
- data/vendor/assets/javascripts/spina/wysihtml5.js +269 -0
- data/vendor/assets/javascripts/spina/wysihtml5_parser_rules.js +551 -0
- data/vendor/assets/stylesheets/.DS_Store +0 -0
- data/vendor/assets/stylesheets/spina/_animate.css +1 -0
- data/vendor/assets/stylesheets/spina/_morris.css +2 -0
- data/vendor/assets/stylesheets/spina/_normalize.css +396 -0
- data/vendor/assets/stylesheets/spina/_nprogress.css.scss +85 -0
- metadata +197 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
#{$all-text-inputs}, textarea
|
|
2
|
+
border: 1px solid #c3c3c3
|
|
3
|
+
border-radius: 3px
|
|
4
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
|
|
5
|
+
color: #333
|
|
6
|
+
font-size: 14px
|
|
7
|
+
padding: 10px
|
|
8
|
+
width: 100%
|
|
9
|
+
@include transition(border .2s ease)
|
|
10
|
+
|
|
11
|
+
&.input-mini
|
|
12
|
+
width: 75px
|
|
13
|
+
|
|
14
|
+
&.input-small
|
|
15
|
+
width: 100px
|
|
16
|
+
|
|
17
|
+
&.input-medium
|
|
18
|
+
width: 200px
|
|
19
|
+
|
|
20
|
+
&.input-large
|
|
21
|
+
width: 300px
|
|
22
|
+
|
|
23
|
+
&.input-rounded
|
|
24
|
+
border-radius: 20px
|
|
25
|
+
|
|
26
|
+
&:after
|
|
27
|
+
content: " "
|
|
28
|
+
display: block
|
|
29
|
+
height: 10px
|
|
30
|
+
position: absolute
|
|
31
|
+
top: 0px
|
|
32
|
+
right: 0px
|
|
33
|
+
width: 10px
|
|
34
|
+
|
|
35
|
+
&.input-search:after
|
|
36
|
+
content: " "
|
|
37
|
+
display: block
|
|
38
|
+
height: 10px
|
|
39
|
+
width: 10px
|
|
40
|
+
|
|
41
|
+
#{$all-text-inputs-focus}, textarea:focus
|
|
42
|
+
border-color: $primary-color
|
|
43
|
+
outline: none
|
|
44
|
+
|
|
45
|
+
textarea
|
|
46
|
+
min-height: 120px
|
|
47
|
+
resize: vertical
|
|
48
|
+
|
|
49
|
+
fieldset
|
|
50
|
+
border: none
|
|
51
|
+
padding: 0
|
|
52
|
+
|
|
53
|
+
// Errors
|
|
54
|
+
|
|
55
|
+
.field_with_errors
|
|
56
|
+
#{$all-text-inputs}, textarea
|
|
57
|
+
border: 1px solid $error-color
|
|
58
|
+
|
|
59
|
+
#{$all-text-inputs-focus}, textarea:focus
|
|
60
|
+
border: 1px solid $danger-color
|
|
61
|
+
|
|
62
|
+
// Restaurant menu form
|
|
63
|
+
|
|
64
|
+
.restaurant-menu-form
|
|
65
|
+
border: 1px solid #c3c3c3
|
|
66
|
+
border-radius: 3px
|
|
67
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
|
|
68
|
+
margin-bottom: 12px
|
|
69
|
+
padding: 10px
|
|
70
|
+
|
|
71
|
+
.restaurant-menu-name:after
|
|
72
|
+
clear: left
|
|
73
|
+
content: " "
|
|
74
|
+
display: block
|
|
75
|
+
|
|
76
|
+
.restaurant-menu-name input
|
|
77
|
+
font-size: 18px
|
|
78
|
+
padding: 10px
|
|
79
|
+
|
|
80
|
+
.restaurant-menu-name .remove_fields
|
|
81
|
+
color: #999
|
|
82
|
+
|
|
83
|
+
input
|
|
84
|
+
border: none
|
|
85
|
+
box-shadow: none
|
|
86
|
+
font-family: $font-family-serif
|
|
87
|
+
font-weight: 600
|
|
88
|
+
padding: 5px 10px
|
|
89
|
+
|
|
90
|
+
small input
|
|
91
|
+
color: #666
|
|
92
|
+
font-style: italic
|
|
93
|
+
font-weight: normal
|
|
94
|
+
padding-top: 0
|
|
95
|
+
|
|
96
|
+
.restaurant-dish-fields
|
|
97
|
+
margin-bottom: 10px
|
|
98
|
+
|
|
99
|
+
&:after
|
|
100
|
+
clear: left
|
|
101
|
+
content: " "
|
|
102
|
+
display: block
|
|
103
|
+
|
|
104
|
+
.restaurant-dish-price
|
|
105
|
+
text-align: right
|
|
106
|
+
|
|
107
|
+
.remove_fields
|
|
108
|
+
color: #999
|
|
109
|
+
margin-right: 0px
|
|
110
|
+
opacity: 0
|
|
111
|
+
@include transition(none)
|
|
112
|
+
|
|
113
|
+
input
|
|
114
|
+
color: #333
|
|
115
|
+
font-size: 16px
|
|
116
|
+
font-weight: 600
|
|
117
|
+
text-align: right
|
|
118
|
+
|
|
119
|
+
@include placeholder
|
|
120
|
+
font-size: 14px
|
|
121
|
+
|
|
122
|
+
&:hover .restaurant-dish-price .remove_fields
|
|
123
|
+
opacity: 1
|
|
124
|
+
|
|
125
|
+
.add_fields.button
|
|
126
|
+
background: #f5f5f5
|
|
127
|
+
font-size: 13px
|
|
128
|
+
font-weight: 600
|
|
129
|
+
text-align: center
|
|
130
|
+
width: 100%
|
|
131
|
+
|
|
132
|
+
&:hover
|
|
133
|
+
background: #f1f1f1
|
|
134
|
+
|
|
135
|
+
i:before
|
|
136
|
+
font-size: 11px
|
|
137
|
+
line-height: 13px
|
|
138
|
+
margin-right: 2px
|
|
139
|
+
|
|
140
|
+
// Search input
|
|
141
|
+
|
|
142
|
+
.search-input
|
|
143
|
+
display: inline-block
|
|
144
|
+
position: relative
|
|
145
|
+
|
|
146
|
+
input
|
|
147
|
+
padding-left: 28px
|
|
148
|
+
padding-right: 28px
|
|
149
|
+
|
|
150
|
+
.search-input:before, .clear-input
|
|
151
|
+
color: #999
|
|
152
|
+
content: "k"
|
|
153
|
+
display: block
|
|
154
|
+
font-family: $icon-font
|
|
155
|
+
font-size: 14px
|
|
156
|
+
font-weight: 400
|
|
157
|
+
left: 9px
|
|
158
|
+
position: absolute
|
|
159
|
+
top: 10px
|
|
160
|
+
|
|
161
|
+
.clear-input
|
|
162
|
+
color: #ccc
|
|
163
|
+
content: "m"
|
|
164
|
+
display: none
|
|
165
|
+
left: auto
|
|
166
|
+
padding: 10px 9px
|
|
167
|
+
right: 0
|
|
168
|
+
top: 0
|
|
169
|
+
|
|
170
|
+
.clear-input:hover
|
|
171
|
+
color: #999
|
|
172
|
+
|
|
173
|
+
input.datepicker
|
|
174
|
+
background: url(asset_path("spina/datepicker.png", "image")) no-repeat center right
|
|
175
|
+
|
|
176
|
+
// Switch
|
|
177
|
+
|
|
178
|
+
.switch
|
|
179
|
+
background: #e9e9e9
|
|
180
|
+
border-radius: 23px
|
|
181
|
+
display: block
|
|
182
|
+
height: 29px
|
|
183
|
+
margin-bottom: 0
|
|
184
|
+
padding: 3px
|
|
185
|
+
position: relative
|
|
186
|
+
width: 46px
|
|
187
|
+
@include transition(background .4s ease)
|
|
188
|
+
|
|
189
|
+
.knob
|
|
190
|
+
background: #fff
|
|
191
|
+
border-radius: 23px
|
|
192
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, .3)
|
|
193
|
+
display: inline-block
|
|
194
|
+
height: 23px
|
|
195
|
+
position: absolute
|
|
196
|
+
width: 23px
|
|
197
|
+
|
|
198
|
+
&.activated, &.active
|
|
199
|
+
background: $success-color
|
|
200
|
+
|
|
201
|
+
&.active .knob
|
|
202
|
+
@include transform(translate3d(17px, 0, 0))
|
|
203
|
+
|
|
204
|
+
// Checkboxes
|
|
205
|
+
|
|
206
|
+
.checkbox, .radio
|
|
207
|
+
display: inline-block
|
|
208
|
+
|
|
209
|
+
input[type="checkbox"], input[type="radio"]
|
|
210
|
+
display: none
|
|
211
|
+
|
|
212
|
+
label
|
|
213
|
+
color: #333
|
|
214
|
+
cursor: pointer
|
|
215
|
+
display: inline-block
|
|
216
|
+
font-size: 14px
|
|
217
|
+
font-weight: 600
|
|
218
|
+
height: 16px
|
|
219
|
+
padding-left: 24px
|
|
220
|
+
position: relative
|
|
221
|
+
white-space: nowrap
|
|
222
|
+
width: 16px
|
|
223
|
+
|
|
224
|
+
label:before
|
|
225
|
+
background: #fff
|
|
226
|
+
border: 1px solid #c3c3c3
|
|
227
|
+
border-radius: 4px
|
|
228
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
|
|
229
|
+
content: ""
|
|
230
|
+
display: inline-block
|
|
231
|
+
height: 14px
|
|
232
|
+
left: 0
|
|
233
|
+
margin-right: 10px
|
|
234
|
+
position: absolute
|
|
235
|
+
top: 0
|
|
236
|
+
width: 14px
|
|
237
|
+
|
|
238
|
+
label:after
|
|
239
|
+
content: "j"
|
|
240
|
+
color: #666
|
|
241
|
+
font-family: $icon-font
|
|
242
|
+
font-size: 16px
|
|
243
|
+
font-weight: normal
|
|
244
|
+
left: 2px
|
|
245
|
+
line-height: 18px
|
|
246
|
+
text-align: center
|
|
247
|
+
top: -2px
|
|
248
|
+
opacity: 0
|
|
249
|
+
position: absolute
|
|
250
|
+
@include transition(opacity .1s ease)
|
|
251
|
+
|
|
252
|
+
input[type="checkbox"]:checked + label:after, input[type="radio"]:checked + label:after
|
|
253
|
+
opacity: 1
|
|
254
|
+
|
|
255
|
+
.radio
|
|
256
|
+
margin: 6px 0
|
|
257
|
+
|
|
258
|
+
label:before
|
|
259
|
+
border-radius: 8px
|
|
260
|
+
|
|
261
|
+
// Select boxes
|
|
262
|
+
|
|
263
|
+
.select-dropdown
|
|
264
|
+
background: #fff
|
|
265
|
+
border: 1px solid #c3c3c3
|
|
266
|
+
border-radius: 3px
|
|
267
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
|
|
268
|
+
display: inline-block
|
|
269
|
+
line-height: 28px
|
|
270
|
+
margin: 0
|
|
271
|
+
overflow: hidden
|
|
272
|
+
padding: 0
|
|
273
|
+
position: relative
|
|
274
|
+
@include transition(border .2s ease)
|
|
275
|
+
|
|
276
|
+
&:hover
|
|
277
|
+
// background: #f5f5f5
|
|
278
|
+
border: 1px solid $primary-color
|
|
279
|
+
|
|
280
|
+
&:after
|
|
281
|
+
color: #666
|
|
282
|
+
content: "T"
|
|
283
|
+
font-family: $icon-font
|
|
284
|
+
font-size: 14px
|
|
285
|
+
font-weight: normal
|
|
286
|
+
line-height: 28px
|
|
287
|
+
position: absolute
|
|
288
|
+
right: 8px
|
|
289
|
+
top: 2px
|
|
290
|
+
z-index: 1
|
|
291
|
+
|
|
292
|
+
select
|
|
293
|
+
background-color: transparent
|
|
294
|
+
background-image: none
|
|
295
|
+
border: none
|
|
296
|
+
box-shadow: none
|
|
297
|
+
color: #666
|
|
298
|
+
cursor: pointer
|
|
299
|
+
display: inline-block
|
|
300
|
+
font-size: 14px
|
|
301
|
+
font-weight: 600
|
|
302
|
+
line-height: 16px
|
|
303
|
+
margin: 0
|
|
304
|
+
outline: none
|
|
305
|
+
padding: 8px 36px 8px 10px
|
|
306
|
+
position: relative
|
|
307
|
+
width: 115%
|
|
308
|
+
z-index: 2
|
|
309
|
+
@include appearance(none)
|
|
310
|
+
|
|
311
|
+
// Custom file input
|
|
312
|
+
|
|
313
|
+
.gallery .item
|
|
314
|
+
.customfile
|
|
315
|
+
border: 1px dashed #bbb
|
|
316
|
+
border-radius: 3px
|
|
317
|
+
cursor: pointer
|
|
318
|
+
height: 100%
|
|
319
|
+
overflow: hidden
|
|
320
|
+
position: relative
|
|
321
|
+
text-align: center
|
|
322
|
+
width: 100%
|
|
323
|
+
|
|
324
|
+
&:before
|
|
325
|
+
color: #bbb
|
|
326
|
+
content: "O"
|
|
327
|
+
display: block
|
|
328
|
+
font-family: $icon-font
|
|
329
|
+
font-size: 42px
|
|
330
|
+
font-weight: normal
|
|
331
|
+
@include transition(color .2s ease)
|
|
332
|
+
|
|
333
|
+
&:after
|
|
334
|
+
color: #bbb
|
|
335
|
+
content: "R"
|
|
336
|
+
display: none
|
|
337
|
+
font-family: $icon-font
|
|
338
|
+
font-size: 42px
|
|
339
|
+
font-weight: normal
|
|
340
|
+
@include animation("rotate" 2s linear infinite)
|
|
341
|
+
|
|
342
|
+
.customfile.loading
|
|
343
|
+
&:before
|
|
344
|
+
display: none
|
|
345
|
+
|
|
346
|
+
&:after
|
|
347
|
+
display: block
|
|
348
|
+
|
|
349
|
+
.customfile:hover:before
|
|
350
|
+
color: #333
|
|
351
|
+
|
|
352
|
+
.customfile-feedback
|
|
353
|
+
display: none
|
|
354
|
+
|
|
355
|
+
.customfile-input
|
|
356
|
+
background: transparent
|
|
357
|
+
border: 0
|
|
358
|
+
cursor: pointer !important
|
|
359
|
+
display: block
|
|
360
|
+
height: 100%
|
|
361
|
+
left: -100% !important
|
|
362
|
+
opacity: 0
|
|
363
|
+
position: absolute
|
|
364
|
+
top: 0 !important
|
|
365
|
+
width: 200%
|
|
366
|
+
z-index: 9
|
|
367
|
+
|
|
368
|
+
.customfile-button
|
|
369
|
+
display: none
|
|
370
|
+
|
|
371
|
+
.new_document
|
|
372
|
+
line-height: 52px
|
|
373
|
+
|
|
374
|
+
.customfile
|
|
375
|
+
cursor: pointer
|
|
376
|
+
height: 100%
|
|
377
|
+
overflow: hidden
|
|
378
|
+
position: relative
|
|
379
|
+
text-align: left
|
|
380
|
+
width: 100%
|
|
381
|
+
|
|
382
|
+
&:before
|
|
383
|
+
color: #bbb
|
|
384
|
+
content: "O"
|
|
385
|
+
display: block
|
|
386
|
+
font-family: $icon-font
|
|
387
|
+
font-weight: 400
|
|
388
|
+
font-size: 36px
|
|
389
|
+
@include transition(color .2s ease)
|
|
390
|
+
|
|
391
|
+
&:after
|
|
392
|
+
color: #bbb
|
|
393
|
+
content: "R"
|
|
394
|
+
display: none
|
|
395
|
+
font-family: $icon-font
|
|
396
|
+
font-size: 36px
|
|
397
|
+
@include animation("rotate" 2s linear infinite)
|
|
398
|
+
|
|
399
|
+
.customfile.loading
|
|
400
|
+
&:before
|
|
401
|
+
display: none
|
|
402
|
+
|
|
403
|
+
&:after
|
|
404
|
+
display: block
|
|
405
|
+
|
|
406
|
+
.customfile:hover:before
|
|
407
|
+
color: #333
|
|
408
|
+
|
|
409
|
+
.customfile-feedback
|
|
410
|
+
display: none
|
|
411
|
+
|
|
412
|
+
.customfile-input
|
|
413
|
+
background: transparent
|
|
414
|
+
border: 0
|
|
415
|
+
cursor: pointer !important
|
|
416
|
+
display: block
|
|
417
|
+
height: 100%
|
|
418
|
+
left: -100% !important
|
|
419
|
+
opacity: 0
|
|
420
|
+
position: absolute
|
|
421
|
+
top: 0 !important
|
|
422
|
+
width: 200%
|
|
423
|
+
z-index: 9
|
|
424
|
+
|
|
425
|
+
.customfile-button
|
|
426
|
+
display: none
|
|
427
|
+
|
|
428
|
+
.media_picker
|
|
429
|
+
border-radius: 3px
|
|
430
|
+
color: #333
|
|
431
|
+
display: block
|
|
432
|
+
height: 100%
|
|
433
|
+
margin-top: 2px
|
|
434
|
+
position: relative
|
|
435
|
+
|
|
436
|
+
&:before
|
|
437
|
+
background: rgba(255, 255, 255, .5)
|
|
438
|
+
content: ""
|
|
439
|
+
height: 100%
|
|
440
|
+
left: 0
|
|
441
|
+
opacity: 0
|
|
442
|
+
position: absolute
|
|
443
|
+
text-align: center
|
|
444
|
+
top: 0
|
|
445
|
+
width: 100%
|
|
446
|
+
@include transition(opacity .2s ease)
|
|
447
|
+
|
|
448
|
+
.placeholder
|
|
449
|
+
color: #666
|
|
450
|
+
font-size: 13px
|
|
451
|
+
font-weight: 600
|
|
452
|
+
line-height: 36px
|
|
453
|
+
margin-bottom: 2px
|
|
454
|
+
|
|
455
|
+
span:before
|
|
456
|
+
display: inline-block
|
|
457
|
+
margin-right: 6px
|
|
458
|
+
vertical-align: middle
|
|
459
|
+
|
|
460
|
+
ul.sortable-grid
|
|
461
|
+
.image, .sortable-placeholder
|
|
462
|
+
border-radius: 3px
|
|
463
|
+
display: inline-block
|
|
464
|
+
height: 85px
|
|
465
|
+
margin-right: 4px
|
|
466
|
+
overflow: hidden
|
|
467
|
+
width: 152px
|
|
468
|
+
|
|
469
|
+
.sortable-placeholder
|
|
470
|
+
background: #f5f5f5
|
|
471
|
+
|
|
472
|
+
.media_picker:hover .image
|
|
473
|
+
opacity: .75
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// Gallery
|
|
2
|
+
|
|
3
|
+
.gallery
|
|
4
|
+
margin: 20px 0
|
|
5
|
+
|
|
6
|
+
.item
|
|
7
|
+
border-radius: 3px
|
|
8
|
+
float: left
|
|
9
|
+
height: 100px
|
|
10
|
+
line-height: 100px
|
|
11
|
+
margin: 0 10px 10px 0
|
|
12
|
+
overflow: hidden
|
|
13
|
+
position: relative
|
|
14
|
+
width: 189px
|
|
15
|
+
z-index: 3
|
|
16
|
+
|
|
17
|
+
.title
|
|
18
|
+
color: #fff
|
|
19
|
+
font-size: 12px
|
|
20
|
+
font-weight: bold
|
|
21
|
+
margin: 5px
|
|
22
|
+
position: absolute
|
|
23
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, .25)
|
|
24
|
+
text-transform: uppercase
|
|
25
|
+
z-index: 2
|
|
26
|
+
|
|
27
|
+
img
|
|
28
|
+
position: relative
|
|
29
|
+
width: 100%
|
|
30
|
+
z-index: 1
|
|
31
|
+
@include transition(all .2s ease)
|
|
32
|
+
|
|
33
|
+
.overlay
|
|
34
|
+
border-top: 1px solid rgba(255, 255, 255, .5)
|
|
35
|
+
height: 100%
|
|
36
|
+
position: absolute
|
|
37
|
+
text-align: center
|
|
38
|
+
width: 100%
|
|
39
|
+
z-index: 2
|
|
40
|
+
@include transition(background-color .2s ease, opacity .2s ease)
|
|
41
|
+
|
|
42
|
+
input
|
|
43
|
+
display: none
|
|
44
|
+
|
|
45
|
+
a
|
|
46
|
+
color: #333
|
|
47
|
+
font-size: 26px
|
|
48
|
+
line-height: 100px
|
|
49
|
+
opacity: 0
|
|
50
|
+
padding: 16px
|
|
51
|
+
@include transition(opacity .2s ease)
|
|
52
|
+
|
|
53
|
+
&:hover .overlay
|
|
54
|
+
background-color: rgba(255, 255, 255, .75)
|
|
55
|
+
|
|
56
|
+
a
|
|
57
|
+
opacity: .75
|
|
58
|
+
|
|
59
|
+
a:hover
|
|
60
|
+
opacity: 1
|
|
61
|
+
|
|
62
|
+
form
|
|
63
|
+
height: 100%
|
|
64
|
+
|
|
65
|
+
.gallery form .item .overlay a
|
|
66
|
+
display: none
|
|
67
|
+
|
|
68
|
+
.gallery:after
|
|
69
|
+
clear: both
|
|
70
|
+
content: ""
|
|
71
|
+
display: block
|
|
72
|
+
|
|
73
|
+
.gallery-select
|
|
74
|
+
margin: 0
|
|
75
|
+
|
|
76
|
+
.item
|
|
77
|
+
border-radius: 3px
|
|
78
|
+
cursor: pointer
|
|
79
|
+
display: inline
|
|
80
|
+
height: 85px
|
|
81
|
+
line-height: 85px
|
|
82
|
+
margin: 0 6px 6px 0
|
|
83
|
+
position: relative
|
|
84
|
+
width: 152px
|
|
85
|
+
|
|
86
|
+
.overlay
|
|
87
|
+
background: #fff
|
|
88
|
+
opacity: 0
|
|
89
|
+
|
|
90
|
+
&:hover .overlay
|
|
91
|
+
background: #fff
|
|
92
|
+
opacity: .5
|
|
93
|
+
|
|
94
|
+
&.selected .overlay
|
|
95
|
+
background: $primary-color
|
|
96
|
+
opacity: .7
|
|
97
|
+
|
|
98
|
+
input
|
|
99
|
+
display: none
|
|
100
|
+
|
|
101
|
+
img
|
|
102
|
+
display: block
|
|
103
|
+
|
|
104
|
+
.item.attachment
|
|
105
|
+
height: 60px
|
|
106
|
+
line-height: 60px
|
|
107
|
+
font-size: 13px
|
|
108
|
+
padding: 0 20px 0 20px
|
|
109
|
+
width: auto
|
|
110
|
+
|
|
111
|
+
&:before
|
|
112
|
+
content: "S"
|
|
113
|
+
font-family: $icon-font
|
|
114
|
+
font-size: 28px
|
|
115
|
+
margin-right: 10px
|
|
116
|
+
vertical-align: middle
|
|
117
|
+
|
|
118
|
+
&.selected
|
|
119
|
+
background: $primary-color
|
|
120
|
+
color: #fff
|
|
121
|
+
opacity: .7
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Labels
|
|
2
|
+
|
|
3
|
+
.label
|
|
4
|
+
background: #bbb
|
|
5
|
+
border-radius: 3px
|
|
6
|
+
color: #fff
|
|
7
|
+
display: inline-block
|
|
8
|
+
font-size: 11px
|
|
9
|
+
font-weight: bold
|
|
10
|
+
padding: 4px 8px
|
|
11
|
+
|
|
12
|
+
&.label-primary
|
|
13
|
+
background: $primary-color
|
|
14
|
+
|
|
15
|
+
&.label-error
|
|
16
|
+
background: $error-color
|
|
17
|
+
|
|
18
|
+
&.label-danger
|
|
19
|
+
background: $danger-color
|
|
20
|
+
|
|
21
|
+
&.label-info
|
|
22
|
+
background: $info-color
|
|
23
|
+
|
|
24
|
+
&.label-alert
|
|
25
|
+
background: $alert-color
|
|
26
|
+
|
|
27
|
+
&.label-success
|
|
28
|
+
background: $success-color
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#login_container
|
|
2
|
+
background: url(asset_path('spina/bg.jpg'))
|
|
3
|
+
background-size: cover
|
|
4
|
+
background-position: center
|
|
5
|
+
display: block
|
|
6
|
+
height: 100%
|
|
7
|
+
position: fixed
|
|
8
|
+
width: 100%
|
|
9
|
+
|
|
10
|
+
#login_wrapper
|
|
11
|
+
border-radius: 3px
|
|
12
|
+
margin: 50px auto
|
|
13
|
+
max-width: 280px
|
|
14
|
+
|
|
15
|
+
input, button
|
|
16
|
+
box-shadow: none
|
|
17
|
+
border: none
|
|
18
|
+
box-sizing: border-box
|
|
19
|
+
font-size: 18px
|
|
20
|
+
line-height: normal
|
|
21
|
+
margin-bottom: 16px
|
|
22
|
+
padding: 12px 14px
|
|
23
|
+
width: 100%
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
button
|
|
27
|
+
padding: 9px 14px
|
|
28
|
+
|
|
29
|
+
&:before
|
|
30
|
+
font-size: 26px
|
|
31
|
+
margin-right: 8px
|
|
32
|
+
vertical-align: middle
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@mixin font-face($font-family, $file-path, $weight: normal, $style: normal, $asset-pipeline: false ) {
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: $font-family;
|
|
4
|
+
font-weight: $weight;
|
|
5
|
+
font-style: $style;
|
|
6
|
+
|
|
7
|
+
src: url(font-path('#{$file-path}.eot'));
|
|
8
|
+
src: url(font-path('#{$file-path}.eot?#iefix')) format('embedded-opentype'),
|
|
9
|
+
url(font-path('#{$file-path}.woff')) format('woff'),
|
|
10
|
+
url(font-path('#{$file-path}.ttf')) format('truetype'),
|
|
11
|
+
url(font-path('#{$file-path}.svg##{$font-family}')) format('svg');
|
|
12
|
+
}
|
|
13
|
+
}
|