lte-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +37 -0
  3. data/.gitmodules +3 -0
  4. data/Gemfile +4 -0
  5. data/Gemfile.lock +94 -0
  6. data/LICENSE +22 -0
  7. data/README.md +4 -0
  8. data/Rakefile +52 -0
  9. data/lib/lte/rails/engine.rb +13 -0
  10. data/lib/lte/rails/version.rb +7 -0
  11. data/lib/lte/rails.rb +7 -0
  12. data/lib/lte-rails.rb +1 -0
  13. data/lte-rails.gemspec +40 -0
  14. data/vendor/assets/stylesheets/AdminLTE/.csslintrc +23 -0
  15. data/vendor/assets/stylesheets/AdminLTE/404_500_errors.less +36 -0
  16. data/vendor/assets/stylesheets/AdminLTE/AdminLTE.less +68 -0
  17. data/vendor/assets/stylesheets/AdminLTE/alerts.less +44 -0
  18. data/vendor/assets/stylesheets/AdminLTE/bootstrap-social.less +114 -0
  19. data/vendor/assets/stylesheets/AdminLTE/boxes.less +483 -0
  20. data/vendor/assets/stylesheets/AdminLTE/buttons.less +159 -0
  21. data/vendor/assets/stylesheets/AdminLTE/callout.less +48 -0
  22. data/vendor/assets/stylesheets/AdminLTE/carousel.less +18 -0
  23. data/vendor/assets/stylesheets/AdminLTE/control-sidebar.less +280 -0
  24. data/vendor/assets/stylesheets/AdminLTE/core.less +171 -0
  25. data/vendor/assets/stylesheets/AdminLTE/direct-chat.less +172 -0
  26. data/vendor/assets/stylesheets/AdminLTE/dropdown.less +347 -0
  27. data/vendor/assets/stylesheets/AdminLTE/forms.less +94 -0
  28. data/vendor/assets/stylesheets/AdminLTE/fullcalendar.less +88 -0
  29. data/vendor/assets/stylesheets/AdminLTE/header.less +244 -0
  30. data/vendor/assets/stylesheets/AdminLTE/info-box.less +69 -0
  31. data/vendor/assets/stylesheets/AdminLTE/invoice.less +16 -0
  32. data/vendor/assets/stylesheets/AdminLTE/labels.less +23 -0
  33. data/vendor/assets/stylesheets/AdminLTE/lockscreen.less +68 -0
  34. data/vendor/assets/stylesheets/AdminLTE/login_and_register.less +50 -0
  35. data/vendor/assets/stylesheets/AdminLTE/mailbox.less +77 -0
  36. data/vendor/assets/stylesheets/AdminLTE/miscellaneous.less +529 -0
  37. data/vendor/assets/stylesheets/AdminLTE/mixins.less +302 -0
  38. data/vendor/assets/stylesheets/AdminLTE/modal.less +73 -0
  39. data/vendor/assets/stylesheets/AdminLTE/navs.less +182 -0
  40. data/vendor/assets/stylesheets/AdminLTE/print.less +48 -0
  41. data/vendor/assets/stylesheets/AdminLTE/products.less +44 -0
  42. data/vendor/assets/stylesheets/AdminLTE/profile.less +29 -0
  43. data/vendor/assets/stylesheets/AdminLTE/progress-bars.less +107 -0
  44. data/vendor/assets/stylesheets/AdminLTE/select2.less +102 -0
  45. data/vendor/assets/stylesheets/AdminLTE/sidebar-mini.less +138 -0
  46. data/vendor/assets/stylesheets/AdminLTE/sidebar.less +157 -0
  47. data/vendor/assets/stylesheets/AdminLTE/skins/_all-skins.less +13 -0
  48. data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.less +64 -0
  49. data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.less +64 -0
  50. data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue-light.less +61 -0
  51. data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue.less +58 -0
  52. data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.less +56 -0
  53. data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.less +56 -0
  54. data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.less +55 -0
  55. data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.less +55 -0
  56. data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.less +55 -0
  57. data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.less +55 -0
  58. data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.less +55 -0
  59. data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.less +55 -0
  60. data/vendor/assets/stylesheets/AdminLTE/small-box.less +89 -0
  61. data/vendor/assets/stylesheets/AdminLTE/social-widgets.less +78 -0
  62. data/vendor/assets/stylesheets/AdminLTE/table.less +71 -0
  63. data/vendor/assets/stylesheets/AdminLTE/timeline.less +111 -0
  64. data/vendor/assets/stylesheets/AdminLTE/users-list.less +39 -0
  65. data/vendor/assets/stylesheets/AdminLTE/variables.less +120 -0
  66. data/vendor/assets/stylesheets/lte-rails.less +1 -0
  67. metadata +200 -0
@@ -0,0 +1,529 @@
1
+ /*
2
+ * General: Miscellaneous
3
+ * ----------------------
4
+ */
5
+ // 10px padding and margins
6
+ .pad {
7
+ padding: 10px;
8
+ }
9
+ .margin {
10
+ margin: 10px;
11
+ }
12
+ .margin-bottom {
13
+ margin-bottom: 20px;
14
+ }
15
+ .margin-bottom-none {
16
+ margin-bottom: 0;
17
+ }
18
+ .margin-r-5 {
19
+ margin-right: 5px;
20
+ }
21
+ // Display inline
22
+ .inline {
23
+ display: inline;
24
+ }
25
+
26
+ // Description Blocks
27
+ .description-block {
28
+ display: block;
29
+ margin: 10px 0;
30
+ text-align: center;
31
+ &.margin-bottom {
32
+ margin-bottom: 25px;
33
+ }
34
+ > .description-header {
35
+ margin: 0;
36
+ padding: 0;
37
+ font-weight: 600;
38
+ font-size: 16px;
39
+ }
40
+ > .description-text {
41
+ text-transform: uppercase;
42
+ }
43
+ }
44
+
45
+ // Background colors
46
+ .bg-red,
47
+ .bg-yellow,
48
+ .bg-aqua,
49
+ .bg-blue,
50
+ .bg-light-blue,
51
+ .bg-green,
52
+ .bg-navy,
53
+ .bg-teal,
54
+ .bg-olive,
55
+ .bg-lime,
56
+ .bg-orange ,
57
+ .bg-fuchsia,
58
+ .bg-purple,
59
+ .bg-maroon,
60
+ .bg-black,
61
+ .bg-red-active,
62
+ .bg-yellow-active,
63
+ .bg-aqua-active,
64
+ .bg-blue-active,
65
+ .bg-light-blue-active,
66
+ .bg-green-active,
67
+ .bg-navy-active,
68
+ .bg-teal-active,
69
+ .bg-olive-active,
70
+ .bg-lime-active,
71
+ .bg-orange-active,
72
+ .bg-fuchsia-active,
73
+ .bg-purple-active,
74
+ .bg-maroon-active,
75
+ .bg-black-active {
76
+ color: #fff !important;
77
+ }
78
+ .bg-gray {
79
+ color: #000;
80
+ background-color: @gray!important;
81
+ }
82
+ .bg-gray-light {
83
+ background-color: #f7f7f7;
84
+ }
85
+ .bg-black {
86
+ background-color: @black!important;
87
+ }
88
+ .bg-red {
89
+ background-color: @red !important;
90
+ }
91
+ .bg-yellow {
92
+ background-color: @yellow !important;
93
+ }
94
+ .bg-aqua {
95
+ background-color: @aqua !important;
96
+ }
97
+ .bg-blue {
98
+ background-color: @blue !important;
99
+ }
100
+ .bg-light-blue {
101
+ background-color: @light-blue !important;
102
+ }
103
+ .bg-green {
104
+ background-color: @green !important;
105
+ }
106
+ .bg-navy {
107
+ background-color: @navy !important;
108
+ }
109
+ .bg-teal {
110
+ background-color: @teal !important;
111
+ }
112
+ .bg-olive {
113
+ background-color: @olive !important;
114
+ }
115
+ .bg-lime {
116
+ background-color: @lime !important;
117
+ }
118
+ .bg-orange {
119
+ background-color: @orange !important;
120
+ }
121
+ .bg-fuchsia {
122
+ background-color: @fuchsia !important;
123
+ }
124
+ .bg-purple {
125
+ background-color: @purple !important;
126
+ }
127
+ .bg-maroon {
128
+ background-color: @maroon !important;
129
+ }
130
+
131
+ //Set of Active Background Colors
132
+ .bg-gray-active {
133
+ color: #000;
134
+ background-color: darken(@gray,10%)!important;
135
+ }
136
+ .bg-black-active {
137
+ background-color: darken(@black, 10%)!important;
138
+ }
139
+ .bg-red-active {
140
+ background-color: darken(@red , 6%)!important;
141
+ }
142
+ .bg-yellow-active {
143
+ background-color: darken(@yellow , 6%)!important;
144
+ }
145
+ .bg-aqua-active {
146
+ background-color: darken(@aqua , 6%)!important;
147
+ }
148
+ .bg-blue-active {
149
+ background-color: darken(@blue , 10%)!important;
150
+ }
151
+ .bg-light-blue-active {
152
+ background-color: darken(@light-blue , 6%)!important;
153
+ }
154
+ .bg-green-active {
155
+ background-color: darken(@green , 5%)!important;
156
+ }
157
+ .bg-navy-active {
158
+ background-color: darken(@navy , 2%)!important;
159
+ }
160
+ .bg-teal-active {
161
+ background-color: darken(@teal , 5%)!important;
162
+ }
163
+ .bg-olive-active {
164
+ background-color: darken(@olive , 5%)!important;
165
+ }
166
+ .bg-lime-active {
167
+ background-color: darken(@lime , 5%)!important;
168
+ }
169
+ .bg-orange-active {
170
+ background-color: darken(@orange , 5%)!important;
171
+ }
172
+ .bg-fuchsia-active {
173
+ background-color: darken(@fuchsia , 5%)!important;
174
+ }
175
+ .bg-purple-active {
176
+ background-color: darken(@purple , 5%)!important;
177
+ }
178
+ .bg-maroon-active {
179
+ background-color: darken(@maroon , 3%)!important;
180
+ }
181
+
182
+ //Disabled!
183
+ [class^="bg-"].disabled {
184
+ .opacity(.65);
185
+ }
186
+
187
+ // Text colors
188
+ .text-red {
189
+ color: @red !important;
190
+ }
191
+ .text-yellow {
192
+ color: @yellow !important;
193
+ }
194
+ .text-aqua {
195
+ color: @aqua !important;
196
+ }
197
+ .text-blue {
198
+ color: @blue !important;
199
+ }
200
+ .text-black {
201
+ color: @black!important;
202
+ }
203
+ .text-light-blue {
204
+ color: @light-blue !important;
205
+ }
206
+ .text-green {
207
+ color: @green !important;
208
+ }
209
+ .text-gray {
210
+ color: @gray !important;
211
+ }
212
+ .text-navy {
213
+ color: @navy !important;
214
+ }
215
+ .text-teal {
216
+ color: @teal !important;
217
+ }
218
+ .text-olive {
219
+ color: @olive !important;
220
+ }
221
+ .text-lime {
222
+ color: @lime !important;
223
+ }
224
+ .text-orange {
225
+ color: @orange !important;
226
+ }
227
+ .text-fuchsia {
228
+ color: @fuchsia !important;
229
+ }
230
+ .text-purple {
231
+ color: @purple !important;
232
+ }
233
+ .text-maroon {
234
+ color: @maroon !important;
235
+ }
236
+ .link-muted {
237
+ color: darken(@gray, 30%);
238
+ &:hover,
239
+ &:focus {
240
+ color: darken(@gray, 40%);
241
+ }
242
+ }
243
+ .link-black {
244
+ color: #666;
245
+ &:hover,
246
+ &:focus {
247
+ color: #999;
248
+ }
249
+ }
250
+
251
+ // Hide elements by display none only
252
+ .hide {
253
+ display: none !important;
254
+ }
255
+
256
+ // Remove borders
257
+ .no-border {
258
+ border: 0 !important;
259
+ }
260
+ // Remove padding
261
+ .no-padding {
262
+ padding: 0 !important;
263
+ }
264
+ // Remove margins
265
+ .no-margin {
266
+ margin: 0 !important;
267
+ }
268
+
269
+ // Remove box shadow
270
+ .no-shadow {
271
+ box-shadow: none!important;
272
+ }
273
+
274
+ // Unstyled List
275
+ .list-unstyled {
276
+ list-style: none;
277
+ margin: 0;
278
+ padding: 0;
279
+ }
280
+
281
+ .list-group-unbordered {
282
+ > .list-group-item {
283
+ border-left: 0;
284
+ border-right: 0;
285
+ border-radius: 0;
286
+ padding-left: 0;
287
+ padding-right: 0;
288
+ }
289
+ }
290
+
291
+ // Remove border radius
292
+ .flat {
293
+ .border-radius(0)!important;
294
+ }
295
+
296
+ .text-bold {
297
+ &, &.table td, &.table th {
298
+ font-weight: 700;
299
+ }
300
+ }
301
+ .text-sm {
302
+ font-size: 12px;
303
+ }
304
+
305
+ // _fix for sparkline tooltip
306
+ .jqstooltip{
307
+ padding: 5px!important;
308
+ width:auto!important;
309
+ height:auto!important;
310
+ }
311
+
312
+
313
+ // Gradient Background colors
314
+ .bg-teal-gradient {
315
+ .gradient(@teal; @teal; lighten(@teal, 16%))!important;
316
+ color: #fff;
317
+ }
318
+ .bg-light-blue-gradient {
319
+ .gradient(@light-blue; @light-blue; lighten(@light-blue, 12%))!important;
320
+ color: #fff;
321
+ }
322
+ .bg-blue-gradient {
323
+ .gradient(@blue; @blue; lighten(@blue, 7%))!important;
324
+ color: #fff;
325
+ }
326
+ .bg-aqua-gradient {
327
+ .gradient(@aqua; @aqua; lighten(@aqua, 7%))!important;
328
+ color: #fff;
329
+ }
330
+ .bg-yellow-gradient {
331
+ .gradient(@yellow; @yellow; lighten(@yellow, 16%))!important;
332
+ color: #fff;
333
+ }
334
+ .bg-purple-gradient {
335
+ .gradient(@purple; @purple; lighten(@purple, 16%))!important;
336
+ color: #fff;
337
+ }
338
+ .bg-green-gradient {
339
+ .gradient(@green; @green; lighten(@green, 7%))!important;
340
+ color: #fff;
341
+ }
342
+ .bg-red-gradient {
343
+ .gradient(@red; @red; lighten(@red, 10%))!important;
344
+ color: #fff;
345
+ }
346
+ .bg-black-gradient {
347
+ .gradient(@black; @black; lighten(@black, 10%))!important;
348
+ color: #fff;
349
+ }
350
+ .bg-maroon-gradient {
351
+ .gradient(@maroon; @maroon; lighten(@maroon, 10%))!important;
352
+ color: #fff;
353
+ }
354
+
355
+ //Description Block Extension
356
+ .description-block {
357
+ .description-icon {
358
+ font-size: 16px;
359
+ }
360
+ }
361
+
362
+ //Remove top padding
363
+ .no-pad-top {
364
+ padding-top: 0;
365
+ }
366
+
367
+ //Make position static
368
+ .position-static {
369
+ position: static!important;
370
+ }
371
+
372
+ //List utility classes
373
+ .list-header {
374
+ font-size: 15px;
375
+ padding: 10px 4px;
376
+ font-weight: bold;
377
+ color: #666;
378
+ }
379
+ .list-seperator {
380
+ height: 1px;
381
+ background: @box-border-color;
382
+ margin: 15px 0 9px 0;
383
+ }
384
+ .list-link {
385
+ > a {
386
+ padding: 4px;
387
+ color: #777;
388
+ &:hover {
389
+ color: #222;
390
+ }
391
+ }
392
+ }
393
+
394
+ //Light font weight
395
+ .font-light {
396
+ font-weight: 300;
397
+ }
398
+
399
+ //User block
400
+ .user-block {
401
+ .clearfix();
402
+ img {
403
+ width: 40px;
404
+ height: 40px;
405
+ float: left;
406
+ }
407
+ .username,
408
+ .description,
409
+ .comment {
410
+ display: block;
411
+ margin-left: 50px;
412
+ }
413
+ .username {
414
+ font-size: 16px;
415
+ font-weight: 600;
416
+ }
417
+ .description {
418
+ color: #999;
419
+ font-size: 13px;
420
+ }
421
+ &.user-block-sm {
422
+ img {
423
+ &:extend(.img-sm);
424
+ }
425
+ .username,
426
+ .description,
427
+ .comment {
428
+ margin-left: 40px;
429
+ }
430
+ .username {
431
+ font-size: 14px;
432
+ }
433
+ }
434
+ }
435
+
436
+ //Image sizes
437
+ .img-sm,
438
+ .img-md,
439
+ .img-lg {
440
+ float: left;
441
+ }
442
+ .img-sm {
443
+ width: 30px!important;
444
+ height: 30px!important;
445
+ + .img-push {
446
+ margin-left: 40px;
447
+ }
448
+ }
449
+ .img-md {
450
+ width: 60px;
451
+ height: 60px;
452
+ + .img-push {
453
+ margin-left: 70px;
454
+ }
455
+ }
456
+ .img-lg {
457
+ width: 100px;
458
+ height: 100px;
459
+ + .img-push {
460
+ margin-left: 110px;
461
+ }
462
+ }
463
+ // Image bordered
464
+ .img-bordered {
465
+ border: 3px solid @gray;
466
+ padding: 3px;
467
+ }
468
+ .img-bordered-sm {
469
+ border: 2px solid @gray;
470
+ padding: 2px;
471
+ }
472
+ //General attachemnt block
473
+ .attachment-block {
474
+ border: 1px solid @box-border-color;
475
+ padding: 5px;
476
+ margin-bottom: 10px;
477
+ background: #f7f7f7;
478
+
479
+ .attachment-img {
480
+ max-width: 100px;
481
+ max-height: 100px;
482
+ height: auto;
483
+ float: left;
484
+ }
485
+ .attachment-pushed {
486
+ margin-left: 110px;
487
+ }
488
+ .attachment-heading {
489
+ margin: 0;
490
+ }
491
+ .attachment-text {
492
+ color: #555;
493
+ }
494
+ }
495
+
496
+ .connectedSortable {
497
+ min-height: 100px;
498
+ }
499
+ .ui-helper-hidden-accessible {
500
+ border: 0;
501
+ clip: rect(0 0 0 0);
502
+ height: 1px;
503
+ margin: -1px;
504
+ overflow: hidden;
505
+ padding: 0;
506
+ position: absolute;
507
+ width: 1px;
508
+ }
509
+ .sort-highlight {
510
+ background: #f4f4f4;
511
+ border: 1px dashed #ddd;
512
+ margin-bottom: 10px;
513
+ }
514
+ .full-opacity-hover {
515
+ .opacity(.65);
516
+ &:hover {
517
+ .opacity(1);
518
+ }
519
+ }
520
+ // Charts
521
+ .chart {
522
+ position: relative;
523
+ overflow: hidden;
524
+ width: 100%;
525
+ svg,
526
+ canvas {
527
+ width: 100%!important;
528
+ }
529
+ }