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,347 @@
1
+ /*
2
+ * Component: Dropdown menus
3
+ * -------------------------
4
+ */
5
+
6
+ /*Dropdowns in general*/
7
+ .dropdown-menu {
8
+ box-shadow: none;
9
+ border-color: #eee;
10
+ > li > a {
11
+ color: #777;
12
+ }
13
+ > li > a > .glyphicon,
14
+ > li > a > .fa,
15
+ > li > a > .ion{
16
+ margin-right: 10px;
17
+ }
18
+ > li > a:hover {
19
+ background-color: lighten(@gray, 5%);
20
+ color: #333;
21
+ }
22
+ > .divider {
23
+ background-color: #eee;
24
+ }
25
+ }
26
+
27
+ //Navbar custom dropdown menu
28
+ .navbar-nav > .notifications-menu,
29
+ .navbar-nav > .messages-menu,
30
+ .navbar-nav > .tasks-menu {
31
+ //fix width and padding
32
+ > .dropdown-menu {
33
+ > li {
34
+ position: relative;
35
+ }
36
+ width: 280px;
37
+ //Remove padding and margins
38
+ padding: 0 0 0 0;
39
+ margin: 0;
40
+ top: 100%;
41
+ }
42
+ //Define header class
43
+ > .dropdown-menu > li.header {
44
+ .border-radius(4px; 4px; 0; 0);
45
+ background-color: #ffffff;
46
+ padding: 7px 10px;
47
+ border-bottom: 1px solid #f4f4f4;
48
+ color: #444444;
49
+ font-size: 14px;
50
+ }
51
+
52
+
53
+ //Define footer class
54
+ > .dropdown-menu > li.footer > a {
55
+ .border-radius(0; 0; 4px; 4px);
56
+ font-size: 12px;
57
+ background-color: #fff;
58
+ padding: 7px 10px;
59
+ border-bottom: 1px solid #eeeeee;
60
+ color: #444!important;
61
+ @media (max-width: @screen-sm-max) {
62
+ background: #fff!important;
63
+ color: #444!important;
64
+ }
65
+ text-align: center;
66
+ //Hover state
67
+ &:hover {
68
+ text-decoration: none;
69
+ font-weight: normal;
70
+ }
71
+ }
72
+
73
+ //Clear inner menu padding and margins
74
+ > .dropdown-menu > li .menu {
75
+ max-height: 200px;
76
+ margin: 0;
77
+ padding: 0;
78
+ list-style: none;
79
+ overflow-x: hidden;
80
+ > li > a {
81
+ display: block;
82
+ white-space: nowrap; /* Prevent text from breaking */
83
+ border-bottom: 1px solid #f4f4f4;
84
+ // Hove state
85
+ &:hover {
86
+ background: #f4f4f4;
87
+ text-decoration: none;
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ //Notifications menu
94
+ .navbar-nav > .notifications-menu {
95
+ > .dropdown-menu > li .menu {
96
+ // Links inside the menu
97
+ > li > a {
98
+ color: #444444;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+ white-space: nowrap;
102
+ padding: 10px;
103
+ // Icons inside the menu
104
+ > .glyphicon,
105
+ > .fa,
106
+ > .ion {
107
+ width: 20px;
108
+ }
109
+ }
110
+
111
+ }
112
+ }
113
+
114
+ //Messages menu
115
+ .navbar-nav > .messages-menu {
116
+ //Inner menu
117
+ > .dropdown-menu > li .menu {
118
+ // Messages menu item
119
+ > li > a {
120
+ margin: 0;
121
+ //line-height: 20px;
122
+ padding: 10px 10px;
123
+ // User image
124
+ > div > img {
125
+ margin: auto 10px auto auto;
126
+ width: 40px;
127
+ height: 40px;
128
+ }
129
+ // Message heading
130
+ > h4 {
131
+ padding: 0;
132
+ margin: 0 0 0 45px;
133
+ color: #444444;
134
+ font-size: 15px;
135
+ position: relative;
136
+ // Small for message time display
137
+ > small {
138
+ color: #999999;
139
+ font-size: 10px;
140
+ position: absolute;
141
+ top: 0;
142
+ right: 0;
143
+ }
144
+ }
145
+
146
+ > p {
147
+ margin: 0 0 0 45px;
148
+ font-size: 12px;
149
+ color: #888888;
150
+ }
151
+
152
+ .clearfix();
153
+
154
+ }
155
+
156
+ }
157
+ }
158
+ //Tasks menu
159
+ .navbar-nav > .tasks-menu {
160
+ > .dropdown-menu > li .menu {
161
+ > li > a {
162
+ padding: 10px;
163
+
164
+ > h3 {
165
+ font-size: 14px;
166
+ padding: 0;
167
+ margin: 0 0 10px 0;
168
+ color: #666666;
169
+ }
170
+
171
+ > .progress {
172
+ padding: 0;
173
+ margin: 0;
174
+ }
175
+ }
176
+ }
177
+ }
178
+ //User menu
179
+ .navbar-nav > .user-menu {
180
+ > .dropdown-menu {
181
+ .border-top-radius(0);
182
+ padding: 1px 0 0 0;
183
+ border-top-width: 0;
184
+ width: 280px;
185
+
186
+ &,
187
+ > .user-body {
188
+ .border-bottom-radius(4px);
189
+ }
190
+ // Header menu
191
+ > li.user-header {
192
+ height: 175px;
193
+ padding: 10px;
194
+ text-align: center;
195
+ // User image
196
+ > img {
197
+ z-index: 5;
198
+ height: 90px;
199
+ width: 90px;
200
+ border: 3px solid;
201
+ border-color: transparent;
202
+ border-color: rgba(255, 255, 255, 0.2);
203
+ }
204
+ > p {
205
+ z-index: 5;
206
+ color: #fff;
207
+ color: rgba(255, 255, 255, 0.8);
208
+ font-size: 17px;
209
+ //text-shadow: 2px 2px 3px #333333;
210
+ margin-top: 10px;
211
+ > small {
212
+ display: block;
213
+ font-size: 12px;
214
+ }
215
+ }
216
+ }
217
+
218
+ // Menu Body
219
+ > .user-body {
220
+ padding: 15px;
221
+ border-bottom: 1px solid #f4f4f4;
222
+ border-top: 1px solid #dddddd;
223
+ .clearfix();
224
+ a {
225
+ color: #444 !important;
226
+ @media (max-width: @screen-sm-max) {
227
+ background: #fff !important;
228
+ color: #444 !important;
229
+ }
230
+ }
231
+ }
232
+
233
+ // Menu Footer
234
+ > .user-footer {
235
+ background-color: #f9f9f9;
236
+ padding: 10px;
237
+ .clearfix();
238
+ .btn-default {
239
+ color: #666666;
240
+ &:hover {
241
+ @media (max-width: @screen-sm-max) {
242
+ background-color: #f9f9f9;
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ .user-image {
249
+ float: left;
250
+ width: 25px;
251
+ height: 25px;
252
+ border-radius: 50%;
253
+ margin-right: 10px;
254
+ margin-top: -2px;
255
+ @media (max-width: @screen-xs-max) {
256
+ float: none;
257
+ margin-right: 0;
258
+ margin-top: -8px;
259
+ line-height: 10px;
260
+ }
261
+ }
262
+ }
263
+
264
+ /* Add fade animation to dropdown menus by appending
265
+ the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
266
+ .open:not(.dropup) > .animated-dropdown-menu {
267
+ backface-visibility: visible !important;
268
+ .animation(flipInX .7s both);
269
+
270
+ }
271
+ @keyframes flipInX {
272
+ 0% {
273
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
274
+ transition-timing-function: ease-in;
275
+ opacity: 0;
276
+ }
277
+
278
+ 40% {
279
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
280
+ transition-timing-function: ease-in;
281
+ }
282
+
283
+ 60% {
284
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
285
+ opacity: 1;
286
+ }
287
+
288
+ 80% {
289
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
290
+ }
291
+
292
+ 100% {
293
+ transform: perspective(400px);
294
+ }
295
+ }
296
+ @-webkit-keyframes flipInX {
297
+ 0% {
298
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
299
+ -webkit-transition-timing-function: ease-in;
300
+ opacity: 0;
301
+ }
302
+
303
+ 40% {
304
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
305
+ -webkit-transition-timing-function: ease-in;
306
+ }
307
+
308
+ 60% {
309
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
310
+ opacity: 1;
311
+ }
312
+
313
+ 80% {
314
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
315
+ }
316
+
317
+ 100% {
318
+ -webkit-transform: perspective(400px);
319
+ }
320
+ }
321
+
322
+ /* Fix dropdown menu in navbars */
323
+ .navbar-custom-menu > .navbar-nav {
324
+ > li {
325
+ position: relative;
326
+ > .dropdown-menu {
327
+ position: absolute;
328
+ right: 0;
329
+ left: auto;
330
+ }
331
+ }
332
+ }
333
+ @media (max-width: @screen-sm-max) {
334
+ .navbar-custom-menu > .navbar-nav {
335
+ float: right;
336
+ > li {
337
+ position: static;
338
+ > .dropdown-menu {
339
+ position: absolute;
340
+ right: 5%;
341
+ left: auto;
342
+ border: 1px solid #ddd;
343
+ background: #fff;
344
+ }
345
+ }
346
+ }
347
+ }
@@ -0,0 +1,94 @@
1
+ /*
2
+ * Component: Form
3
+ * ---------------
4
+ */
5
+ .form-control {
6
+ .border-radius(@input-radius);
7
+ box-shadow: none;
8
+ border-color: @gray;
9
+ &:focus {
10
+ border-color: @light-blue;
11
+ box-shadow: none;
12
+ }
13
+ &::-moz-placeholder,
14
+ &:-ms-input-placeholder,
15
+ &::-webkit-input-placeholder {
16
+ color: #bbb;
17
+ opacity: 1;
18
+ }
19
+
20
+ &:not(select) {
21
+ -webkit-appearance: none;
22
+ -moz-appearance: none;
23
+ appearance: none;
24
+ }
25
+ }
26
+
27
+ .form-group {
28
+ &.has-success {
29
+ label {
30
+ color: @green;
31
+ }
32
+ .form-control {
33
+ border-color: @green;
34
+ box-shadow: none;
35
+ }
36
+ }
37
+
38
+ &.has-warning {
39
+ label {
40
+ color: @yellow;
41
+ }
42
+ .form-control {
43
+ border-color: @yellow;
44
+ box-shadow: none;
45
+ }
46
+ }
47
+
48
+ &.has-error {
49
+ label {
50
+ color: @red;
51
+ }
52
+ .form-control {
53
+ border-color: @red;
54
+ box-shadow: none;
55
+ }
56
+ }
57
+ }
58
+
59
+ /* Input group */
60
+ .input-group {
61
+ .input-group-addon {
62
+ .border-radius(@input-radius);
63
+ border-color: @gray;
64
+ background-color: #fff;
65
+ }
66
+ }
67
+ /* button groups */
68
+ .btn-group-vertical {
69
+ .btn {
70
+ &.btn-flat:first-of-type, &.btn-flat:last-of-type {
71
+ .border-radius(0);
72
+ }
73
+ }
74
+ }
75
+
76
+ .icheck > label {
77
+ padding-left: 0;
78
+ }
79
+
80
+ /* support Font Awesome icons in form-control */
81
+ .form-control-feedback.fa {
82
+ line-height: @input-height-base;
83
+ }
84
+
85
+ .input-lg + .form-control-feedback.fa,
86
+ .input-group-lg + .form-control-feedback.fa,
87
+ .form-group-lg .form-control + .form-control-feedback.fa {
88
+ line-height: @input-height-large;
89
+ }
90
+ .input-sm + .form-control-feedback.fa,
91
+ .input-group-sm + .form-control-feedback.fa,
92
+ .form-group-sm .form-control + .form-control-feedback.fa {
93
+ line-height: @input-height-small;
94
+ }
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Plugin: Full Calendar
3
+ * ---------------------
4
+ */
5
+ //Fullcalendar buttons
6
+ .fc-button {
7
+ background: #f4f4f4;
8
+ background-image: none;
9
+ color: #444;
10
+ border-color: #ddd;
11
+ border-bottom-color: #ddd;
12
+ &:hover,
13
+ &:active,
14
+ &.hover {
15
+ background-color: #e9e9e9;
16
+ }
17
+ }
18
+ // Calendar title
19
+ .fc-header-title h2 {
20
+ font-size: 15px;
21
+ line-height: 1.6em;
22
+ color: #666;
23
+ margin-left: 10px;
24
+ }
25
+ .fc-header-right {
26
+ padding-right: 10px;
27
+ }
28
+ .fc-header-left {
29
+ padding-left: 10px;
30
+ }
31
+ // Calendar table header cells
32
+ .fc-widget-header {
33
+ background: #fafafa;
34
+ }
35
+ .fc-grid {
36
+ width: 100%;
37
+ border: 0;
38
+ }
39
+ .fc-widget-header:first-of-type,
40
+ .fc-widget-content:first-of-type {
41
+ border-left: 0;
42
+ border-right: 0;
43
+ }
44
+ .fc-widget-header:last-of-type,
45
+ .fc-widget-content:last-of-type {
46
+ border-right: 0;
47
+ }
48
+ .fc-toolbar {
49
+ padding: @box-padding;
50
+ margin: 0;
51
+ }
52
+ .fc-day-number {
53
+ font-size: 20px;
54
+ font-weight: 300;
55
+ padding-right: 10px;
56
+ }
57
+ .fc-color-picker {
58
+ list-style: none;
59
+ margin: 0;
60
+ padding: 0;
61
+ > li {
62
+ float: left;
63
+ font-size: 30px;
64
+ margin-right: 5px;
65
+ line-height: 30px;
66
+ .fa {
67
+ .transition-transform(linear .3s);
68
+ &:hover {
69
+ .rotate(30deg);
70
+ }
71
+ }
72
+ }
73
+ }
74
+ #add-new-event {
75
+ .transition(all linear .3s);
76
+ }
77
+ .external-event {
78
+ padding: 5px 10px;
79
+ font-weight: bold;
80
+ margin-bottom: 4px;
81
+ box-shadow: @box-boxshadow;
82
+ text-shadow: @box-boxshadow;
83
+ border-radius: @box-border-radius;
84
+ cursor: move;
85
+ &:hover {
86
+ box-shadow: inset 0 0 90px rgba(0,0,0,0.2);
87
+ }
88
+ }