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,244 @@
1
+ /*
2
+ * Component: Main Header
3
+ * ----------------------
4
+ */
5
+
6
+ .main-header {
7
+ position: relative;
8
+ max-height: 100px;
9
+ z-index: 1030;
10
+ //Navbar
11
+ > .navbar {
12
+ .transition(margin-left @transition-speed @transition-fn);
13
+ margin-bottom: 0;
14
+ margin-left: @sidebar-width;
15
+ border: none;
16
+ min-height: @navbar-height;
17
+ border-radius: 0;
18
+ .layout-top-nav & {
19
+ margin-left: 0;
20
+ }
21
+ }
22
+ //Navbar search text input
23
+ #navbar-search-input.form-control {
24
+ background: rgba(255,255,255,.2);
25
+ border-color: transparent;
26
+ &:focus,
27
+ &:active {
28
+ border-color: rgba(0,0,0,.1);
29
+ background: rgba(255,255,255,.9);
30
+ }
31
+ &::-moz-placeholder {
32
+ color: #ccc;
33
+ opacity: 1;
34
+ }
35
+ &:-ms-input-placeholder {
36
+ color: #ccc;
37
+ }
38
+ &::-webkit-input-placeholder {
39
+ color: #ccc;
40
+ }
41
+ }
42
+ //Navbar Right Menu
43
+ .navbar-custom-menu,
44
+ .navbar-right {
45
+ float: right;
46
+ @media (max-width: @screen-sm-max) {
47
+ a {
48
+ color: inherit;
49
+ background: transparent;
50
+ }
51
+ }
52
+ }
53
+ .navbar-right {
54
+ @media (max-width: @screen-header-collapse) {
55
+ float: none;
56
+ .navbar-collapse & {
57
+ margin: 7.5px -15px;
58
+ }
59
+ > li {
60
+ color: inherit;
61
+ border: 0;
62
+ }
63
+ }
64
+ }
65
+ //Navbar toggle button
66
+ .sidebar-toggle {
67
+ float: left;
68
+ background-color: transparent;
69
+ background-image: none;
70
+ padding: @navbar-padding-vertical @navbar-padding-horizontal;
71
+ //Add the fontawesome bars icon
72
+ font-family: fontAwesome;
73
+ &:before {
74
+ content: "\f0c9";
75
+ }
76
+ &:hover {
77
+ color: #fff;
78
+ }
79
+ &:focus,
80
+ &:active {
81
+ background: transparent;
82
+ }
83
+ }
84
+ .sidebar-toggle .icon-bar {
85
+ display: none;
86
+ }
87
+ //Navbar User Menu
88
+ .navbar .nav > li.user > a {
89
+ > .fa,
90
+ > .glyphicon,
91
+ > .ion {
92
+ margin-right: 5px;
93
+ }
94
+ }
95
+
96
+ //Labels in navbar
97
+ .navbar .nav > li > a > .label {
98
+ position: absolute;
99
+ top: 9px;
100
+ right: 7px;
101
+ text-align: center;
102
+ font-size: 9px;
103
+ padding: 2px 3px;
104
+ line-height: .9;
105
+ }
106
+
107
+ //Logo bar
108
+ .logo {
109
+ .transition(width @transition-speed @transition-fn);
110
+ display: block;
111
+ float: left;
112
+ height: @navbar-height;
113
+ font-size: 20px;
114
+ line-height: 50px;
115
+ text-align: center;
116
+ width: @sidebar-width;
117
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
118
+ padding: 0 15px;
119
+ font-weight: 300;
120
+ overflow: hidden;
121
+ //Add support to sidebar mini by allowing the user to create
122
+ //2 logo designs. mini and lg
123
+ .logo-lg {
124
+ //should be visibile when sidebar isn't collapsed
125
+ display: block;
126
+ }
127
+ .logo-mini {
128
+ display: none;
129
+ }
130
+ }
131
+ //Navbar Brand. Alternative logo with layout-top-nav
132
+ .navbar-brand {
133
+ color: #fff;
134
+ }
135
+ }
136
+
137
+ // Content Header
138
+ .content-header {
139
+ position: relative;
140
+ padding: 15px 15px 0 15px;
141
+ // Header Text
142
+ > h1 {
143
+ margin: 0;
144
+ font-size: 24px;
145
+ > small {
146
+ font-size: 15px;
147
+ display: inline-block;
148
+ padding-left: 4px;
149
+ font-weight: 300;
150
+ }
151
+ }
152
+
153
+ > .breadcrumb {
154
+ float: right;
155
+ background: transparent;
156
+ margin-top: 0;
157
+ margin-bottom: 0;
158
+ font-size: 12px;
159
+ padding: 7px 5px;
160
+ position: absolute;
161
+ top: 15px;
162
+ right: 10px;
163
+ .border-radius(2px);
164
+ > li > a {
165
+ color: #444;
166
+ text-decoration: none;
167
+ display: inline-block;
168
+ > .fa, > .glyphicon, > .ion {
169
+ margin-right: 5px;
170
+ }
171
+ }
172
+ > li + li:before {
173
+ content: '>\00a0';
174
+ }
175
+ }
176
+
177
+ @media (max-width: @screen-sm-max) {
178
+ > .breadcrumb {
179
+ position: relative;
180
+ margin-top: 5px;
181
+ top: 0;
182
+ right: 0;
183
+ float: none;
184
+ background: @gray;
185
+ padding-left: 10px;
186
+ li:before {
187
+ color: darken(@gray, 20%);
188
+ }
189
+ }
190
+ }
191
+ }
192
+ .navbar-toggle {
193
+ color: #fff;
194
+ border: 0;
195
+ margin: 0;
196
+ padding: @navbar-padding-vertical @navbar-padding-horizontal;
197
+ }
198
+ //Control navbar scaffolding on x-small screens
199
+ @media (max-width: @screen-sm-max) {
200
+ .navbar-custom-menu .navbar-nav > li {
201
+ float: left;
202
+ }
203
+ //Dont't let links get full width
204
+ .navbar-custom-menu .navbar-nav {
205
+ margin: 0;
206
+ float: left;
207
+ }
208
+
209
+ .navbar-custom-menu .navbar-nav > li > a {
210
+ padding-top: 15px;
211
+ padding-bottom: 15px;
212
+ line-height: 20px;
213
+ }
214
+ }
215
+
216
+ // Collapse header
217
+ @media (max-width: @screen-header-collapse) {
218
+ .main-header {
219
+ position: relative;
220
+ .logo,
221
+ .navbar {
222
+ width: 100%;
223
+ float: none;
224
+ }
225
+ .navbar {
226
+ margin: 0;
227
+ }
228
+ .navbar-custom-menu {
229
+ float: right;
230
+ }
231
+ }
232
+ }
233
+
234
+ .navbar-collapse.pull-left {
235
+ @media(max-width: @screen-sm-max) {
236
+ float: none!important;
237
+ + .navbar-custom-menu {
238
+ display: block;
239
+ position: absolute;
240
+ top: 0;
241
+ right: 40px;
242
+ }
243
+ }
244
+ }
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Component: Info Box
3
+ * -------------------
4
+ */
5
+ .info-box {
6
+ display: block;
7
+ min-height: 90px;
8
+ background: #fff;
9
+ width: 100%;
10
+ box-shadow: @box-boxshadow;
11
+ .border-radius(2px);
12
+ margin-bottom: 15px;
13
+ small {
14
+ font-size: 14px;
15
+ }
16
+ .progress {
17
+ background: rgba(0,0,0,.2);
18
+ margin: 5px -10px 5px -10px;
19
+ height: 2px;
20
+ &,
21
+ & .progress-bar {
22
+ .border-radius(0);
23
+ }
24
+ .progress-bar {
25
+ background: #fff;
26
+ }
27
+ }
28
+ }
29
+ .info-box-icon {
30
+ .border-radius(2px; 0; 2px; 0);
31
+ display: block;
32
+ float: left;
33
+ height: 90px;
34
+ width: 90px;
35
+ text-align: center;
36
+ font-size: 45px;
37
+ line-height: 90px;
38
+ background: rgba(0,0,0,0.2);
39
+ > img {
40
+ max-width: 100%;
41
+ }
42
+ }
43
+ .info-box-content {
44
+ padding: 5px 10px;
45
+ margin-left: 90px;
46
+ }
47
+ .info-box-number {
48
+ display: block;
49
+ font-weight: bold;
50
+ font-size: 18px;
51
+ }
52
+ .progress-description,
53
+ .info-box-text {
54
+ display: block;
55
+ font-size: 14px;
56
+ white-space: nowrap;
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
59
+ }
60
+ .info-box-text {
61
+ text-transform: uppercase;
62
+ }
63
+ .info-box-more {
64
+ display: block;
65
+ }
66
+
67
+ .progress-description {
68
+ margin: 0;
69
+ }
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Page: Invoice
3
+ * -------------
4
+ */
5
+
6
+ .invoice {
7
+ position: relative;
8
+ background: #fff;
9
+ border: 1px solid #f4f4f4;
10
+ padding: 20px;
11
+ margin: 10px 25px;
12
+ }
13
+
14
+ .invoice-title {
15
+ margin-top: 0;
16
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Component: Label
3
+ * ----------------
4
+ */
5
+ .label-default {
6
+ background-color: @gray;
7
+ color: #444;
8
+ }
9
+ .label-danger {
10
+ &:extend(.bg-red);
11
+ }
12
+ .label-info {
13
+ &:extend(.bg-aqua);
14
+ }
15
+ .label-warning {
16
+ &:extend(.bg-yellow);
17
+ }
18
+ .label-primary {
19
+ &:extend(.bg-light-blue);
20
+ }
21
+ .label-success {
22
+ &:extend(.bg-green);
23
+ }
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Page: Lock Screen
3
+ * -----------------
4
+ */
5
+ /* ADD THIS CLASS TO THE <BODY> TAG */
6
+ .lockscreen {
7
+ background: @gray;
8
+ }
9
+ .lockscreen-logo {
10
+ font-size: 35px;
11
+ text-align: center;
12
+ margin-bottom: 25px;
13
+ font-weight: 300;
14
+ a {
15
+ color: #444;
16
+ }
17
+ }
18
+ .lockscreen-wrapper {
19
+ max-width: 400px;
20
+ margin: 0 auto;
21
+ margin-top: 10%;
22
+ }
23
+ /* User name [optional] */
24
+ .lockscreen .lockscreen-name {
25
+ text-align: center;
26
+ font-weight: 600;
27
+ }
28
+ /* Will contain the image and the sign in form */
29
+ .lockscreen-item {
30
+ .border-radius(4px);
31
+ padding: 0;
32
+ background: #fff;
33
+ position: relative;
34
+ margin: 10px auto 30px auto;
35
+ width: 290px;
36
+ }
37
+ /* User image */
38
+ .lockscreen-image {
39
+ .border-radius(50%);
40
+ position: absolute;
41
+ left: -10px;
42
+ top: -25px;
43
+ background: #fff;
44
+ padding: 5px;
45
+ z-index: 10;
46
+ > img {
47
+ .border-radius(50%);
48
+ width: 70px;
49
+ height: 70px;
50
+ }
51
+ }
52
+
53
+ /* Contains the password input and the login button */
54
+ .lockscreen-credentials {
55
+ margin-left: 70px;
56
+ .form-control {
57
+ border: 0;
58
+ }
59
+ .btn {
60
+ background-color: #fff;
61
+ border: 0;
62
+ padding: 0 10px;
63
+ }
64
+ }
65
+
66
+ .lockscreen-footer {
67
+ margin-top: 10px;
68
+ }
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Page: Login & Register
3
+ * ----------------------
4
+ */
5
+
6
+ .login-logo,
7
+ .register-logo {
8
+ font-size: 35px;
9
+ text-align: center;
10
+ margin-bottom: 25px;
11
+ font-weight: 300;
12
+ a {
13
+ color: #444;
14
+ }
15
+ }
16
+
17
+ .login-page,
18
+ .register-page {
19
+ background: @gray;
20
+ }
21
+
22
+ .login-box,
23
+ .register-box {
24
+ width: 360px;
25
+ margin: 7% auto;
26
+ @media (max-width: @screen-sm) {
27
+ width: 90%;
28
+ margin-top: 20px;
29
+ }
30
+ }
31
+
32
+ .login-box-body,
33
+ .register-box-body {
34
+ background: #fff;
35
+ padding: 20px;
36
+ border-top: 0;
37
+ color: #666;
38
+ .form-control-feedback {
39
+ color: #777;
40
+ }
41
+ }
42
+ .login-box-msg,
43
+ .register-box-msg {
44
+ margin: 0;
45
+ text-align: center;
46
+ padding: 0 20px 20px 20px;
47
+ }
48
+ .social-auth-links {
49
+ margin: 10px 0;
50
+ }
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Page: Mailbox
3
+ * -------------
4
+ */
5
+ .mailbox-messages {
6
+ > .table {
7
+ margin: 0;
8
+ }
9
+ }
10
+ .mailbox-controls {
11
+ padding: 5px;
12
+ &.with-border {
13
+ border-bottom: 1px solid @box-border-color;
14
+ }
15
+ }
16
+ .mailbox-read-info {
17
+ border-bottom: 1px solid @box-border-color;
18
+ padding: 10px;
19
+ h3 {
20
+ font-size: 20px;
21
+ margin: 0;
22
+ }
23
+ h5 {
24
+ margin: 0;
25
+ padding: 5px 0 0 0;
26
+ }
27
+ }
28
+ .mailbox-read-time {
29
+ color: #999;
30
+ font-size: 13px;
31
+ }
32
+ .mailbox-read-message {
33
+ padding: 10px;
34
+ }
35
+ .mailbox-attachments {
36
+ &:extend(.list-unstyled);
37
+ li {
38
+ float: left;
39
+ width: 200px;
40
+ border: 1px solid #eee;
41
+ margin-bottom: 10px;
42
+ margin-right: 10px;
43
+ }
44
+ }
45
+ .mailbox-attachment-name {
46
+ font-weight: bold;
47
+ color: #666;
48
+ }
49
+ .mailbox-attachment-icon,
50
+ .mailbox-attachment-info,
51
+ .mailbox-attachment-size {
52
+ display: block;
53
+ }
54
+ .mailbox-attachment-info {
55
+ padding: 10px;
56
+ background: #f4f4f4;
57
+ }
58
+ .mailbox-attachment-size {
59
+ color: #999;
60
+ font-size: 12px;
61
+ }
62
+ .mailbox-attachment-icon {
63
+ text-align: center;
64
+ font-size: 65px;
65
+ color: #666;
66
+ padding: 20px 10px;
67
+ &.has-img {
68
+ padding: 0;
69
+ > img {
70
+ max-width: 100%;
71
+ height: auto;
72
+ }
73
+ }
74
+ }
75
+ .mailbox-attachment-close {
76
+ &:extend(.close);
77
+ }