lte-rails 0.0.2 → 0.0.5
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 +4 -4
- data/Gemfile.lock +28 -29
- data/README.md +2 -2
- data/lib/lte/rails/version.rb +2 -2
- data/vendor/assets/stylesheets/AdminLTE/.csslintrc +1 -1
- data/vendor/assets/stylesheets/AdminLTE/404_500_errors.less +1 -1
- data/vendor/assets/stylesheets/AdminLTE/AdminLTE.less +1 -8
- data/vendor/assets/stylesheets/AdminLTE/alerts.less +3 -0
- data/vendor/assets/stylesheets/AdminLTE/bootstrap-social.less +85 -27
- data/vendor/assets/stylesheets/AdminLTE/boxes.less +6 -4
- data/vendor/assets/stylesheets/AdminLTE/buttons.less +23 -14
- data/vendor/assets/stylesheets/AdminLTE/control-sidebar.less +26 -17
- data/vendor/assets/stylesheets/AdminLTE/core.less +17 -14
- data/vendor/assets/stylesheets/AdminLTE/direct-chat.less +25 -3
- data/vendor/assets/stylesheets/AdminLTE/dropdown.less +9 -6
- data/vendor/assets/stylesheets/AdminLTE/forms.less +12 -1
- data/vendor/assets/stylesheets/AdminLTE/fullcalendar.less +15 -3
- data/vendor/assets/stylesheets/AdminLTE/header.less +12 -8
- data/vendor/assets/stylesheets/AdminLTE/info-box.less +8 -2
- data/vendor/assets/stylesheets/AdminLTE/labels.less +5 -0
- data/vendor/assets/stylesheets/AdminLTE/lockscreen.less +5 -0
- data/vendor/assets/stylesheets/AdminLTE/login_and_register.less +2 -0
- data/vendor/assets/stylesheets/AdminLTE/mailbox.less +11 -0
- data/vendor/assets/stylesheets/AdminLTE/miscellaneous.less +121 -44
- data/vendor/assets/stylesheets/AdminLTE/mixins.less +43 -30
- data/vendor/assets/stylesheets/AdminLTE/modal.less +10 -3
- data/vendor/assets/stylesheets/AdminLTE/navs.less +54 -10
- data/vendor/assets/stylesheets/AdminLTE/print.less +12 -6
- data/vendor/assets/stylesheets/AdminLTE/products.less +1 -0
- data/vendor/assets/stylesheets/AdminLTE/profile.less +3 -1
- data/vendor/assets/stylesheets/AdminLTE/progress-bars.less +7 -3
- data/vendor/assets/stylesheets/AdminLTE/select2.less +18 -3
- data/vendor/assets/stylesheets/AdminLTE/sidebar-mini.less +22 -9
- data/vendor/assets/stylesheets/AdminLTE/sidebar.less +11 -9
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.less +1 -1
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.less +11 -1
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/small-box.less +3 -3
- data/vendor/assets/stylesheets/AdminLTE/social-widgets.less +2 -2
- data/vendor/assets/stylesheets/AdminLTE/timeline.less +2 -3
- data/vendor/assets/stylesheets/AdminLTE/users-list.less +3 -0
- data/vendor/assets/stylesheets/AdminLTE/variables.less +44 -41
- metadata +3 -3
@@ -1,7 +1,6 @@
|
|
1
1
|
//AdminLTE mixins
|
2
2
|
//===============
|
3
3
|
|
4
|
-
|
5
4
|
//Changes the color and the hovering properties of the navbar
|
6
5
|
.navbar-variant(@color; @font-color: rgba(255, 255, 255, 0.8); @hover-color: #f6f6f6; @hover-bg: rgba(0, 0, 0, 0.1)) {
|
7
6
|
background-color: @color;
|
@@ -11,12 +10,12 @@
|
|
11
10
|
}
|
12
11
|
|
13
12
|
.nav > li > a:hover,
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
.nav > li > a:active,
|
14
|
+
.nav > li > a:focus,
|
15
|
+
.nav .open > a,
|
16
|
+
.nav .open > a:hover,
|
17
|
+
.nav .open > a:focus,
|
18
|
+
.nav > .active > a {
|
20
19
|
background: @hover-bg;
|
21
20
|
color: @hover-color;
|
22
21
|
}
|
@@ -63,7 +62,7 @@
|
|
63
62
|
border-color: @bg-color;
|
64
63
|
color: @color;
|
65
64
|
&:after,
|
66
|
-
|
65
|
+
&:before {
|
67
66
|
border-left-color: @bg-color;
|
68
67
|
}
|
69
68
|
}
|
@@ -73,30 +72,42 @@
|
|
73
72
|
.border-radius(@radius) {
|
74
73
|
border-radius: @radius;
|
75
74
|
}
|
75
|
+
|
76
76
|
//Different radius each side
|
77
|
-
.border-radius(@top-left;
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
77
|
+
.border-radius(@top-left;
|
78
|
+
@top-right
|
79
|
+
;
|
80
|
+
@bottom-left
|
81
|
+
;
|
82
|
+
@bottom-right
|
83
|
+
)
|
84
|
+
{
|
85
|
+
border-top-left-radius: @top-left
|
86
|
+
;
|
87
|
+
border-top-right-radius: @top-right
|
88
|
+
;
|
89
|
+
border-bottom-right-radius: @bottom-right
|
90
|
+
;
|
91
|
+
border-bottom-left-radius: @bottom-left
|
92
|
+
;
|
82
93
|
}
|
83
94
|
|
84
95
|
//Gradient background
|
85
96
|
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
|
86
97
|
background: @color;
|
87
98
|
background: -webkit-gradient(linear,
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
99
|
+
left bottom,
|
100
|
+
left top,
|
101
|
+
color-stop(0, @start),
|
102
|
+
color-stop(1, @stop));
|
92
103
|
background: -ms-linear-gradient(bottom,
|
93
|
-
|
94
|
-
|
104
|
+
@start,
|
105
|
+
@stop);
|
95
106
|
background: -moz-linear-gradient(center bottom,
|
96
|
-
|
97
|
-
|
107
|
+
@start 0%,
|
108
|
+
@stop 100%);
|
98
109
|
background: -o-linear-gradient(@stop,
|
99
|
-
|
110
|
+
@start);
|
100
111
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
101
112
|
}
|
102
113
|
|
@@ -168,17 +179,19 @@
|
|
168
179
|
background-color: lighten(@sidebar-dark-bg, 10%);
|
169
180
|
border: 1px solid transparent;
|
170
181
|
height: 35px;
|
171
|
-
|
182
|
+
//.transition(all @transition-speed @transition-fn);
|
172
183
|
}
|
173
184
|
input[type="text"] {
|
174
185
|
color: #666;
|
175
186
|
.border-radius(2px, 0, 2px, 0);
|
176
|
-
&:focus,
|
187
|
+
&:focus,
|
188
|
+
&:focus + .input-group-btn .btn {
|
177
189
|
background-color: #fff;
|
178
190
|
color: #666;
|
179
191
|
}
|
180
192
|
&:focus + .input-group-btn .btn {
|
181
193
|
border-left-color: #fff;
|
194
|
+
|
182
195
|
}
|
183
196
|
}
|
184
197
|
.btn {
|
@@ -222,7 +235,7 @@
|
|
222
235
|
}
|
223
236
|
//Hover and active states
|
224
237
|
&:hover > a,
|
225
|
-
|
238
|
+
&.active > a {
|
226
239
|
color: @sidebar-light-hover-color;
|
227
240
|
background: @sidebar-light-hover-bg;
|
228
241
|
}
|
@@ -265,21 +278,21 @@
|
|
265
278
|
//The sidebar search form
|
266
279
|
.sidebar-form {
|
267
280
|
.border-radius(3px);
|
268
|
-
border: 1px solid @gray
|
281
|
+
border: 1px solid @gray; //darken(@sidebar-light-bg, 5%);
|
269
282
|
margin: 10px 10px;
|
270
283
|
input[type="text"],
|
271
284
|
.btn {
|
272
285
|
box-shadow: none;
|
273
|
-
background-color: #fff
|
286
|
+
background-color: #fff; //darken(@sidebar-light-bg, 3%);
|
274
287
|
border: 1px solid transparent;
|
275
288
|
height: 35px;
|
276
|
-
|
289
|
+
//.transition(all @transition-speed @transition-fn);
|
277
290
|
}
|
278
291
|
input[type="text"] {
|
279
292
|
color: #666;
|
280
293
|
.border-radius(2px, 0, 2px, 0);
|
281
294
|
&:focus,
|
282
|
-
|
295
|
+
&:focus + .input-group-btn .btn {
|
283
296
|
background-color: #fff;
|
284
297
|
color: #666;
|
285
298
|
}
|
@@ -292,7 +305,7 @@
|
|
292
305
|
.border-radius(0, 2px, 0, 2px);
|
293
306
|
}
|
294
307
|
}
|
295
|
-
@media(min-width: @screen-sm-min) {
|
308
|
+
@media (min-width: @screen-sm-min) {
|
296
309
|
&.sidebar-mini.sidebar-collapse {
|
297
310
|
.sidebar-menu > li > .treeview-menu {
|
298
311
|
border-left: 1px solid @gray;
|
@@ -3,19 +3,22 @@
|
|
3
3
|
* ----------------
|
4
4
|
*/
|
5
5
|
.modal {
|
6
|
-
background: rgba(0,0,0
|
6
|
+
background: rgba(0, 0, 0, .3);
|
7
7
|
}
|
8
|
+
|
8
9
|
.modal-content {
|
9
10
|
.border-radius(0);
|
10
|
-
.box-shadow(0 2px 3px rgba(0,0,0
|
11
|
+
.box-shadow(0 2px 3px rgba(0, 0, 0, .125));
|
11
12
|
border: 0;
|
12
13
|
@media (min-width: @screen-sm-min) {
|
13
|
-
.box-shadow(0 2px 3px rgba(0,0,0
|
14
|
+
.box-shadow(0 2px 3px rgba(0, 0, 0, .125));
|
14
15
|
}
|
15
16
|
}
|
17
|
+
|
16
18
|
.modal-header {
|
17
19
|
border-bottom-color: @box-border-color;
|
18
20
|
}
|
21
|
+
|
19
22
|
.modal-footer {
|
20
23
|
border-top-color: @box-border-color;
|
21
24
|
}
|
@@ -31,6 +34,7 @@
|
|
31
34
|
border-color: darken(@light-blue, 10%);
|
32
35
|
}
|
33
36
|
}
|
37
|
+
|
34
38
|
.modal-warning {
|
35
39
|
.modal-body {
|
36
40
|
&:extend(.bg-yellow);
|
@@ -41,6 +45,7 @@
|
|
41
45
|
border-color: darken(@yellow, 10%);
|
42
46
|
}
|
43
47
|
}
|
48
|
+
|
44
49
|
.modal-info {
|
45
50
|
.modal-body {
|
46
51
|
&:extend(.bg-aqua);
|
@@ -51,6 +56,7 @@
|
|
51
56
|
border-color: darken(@aqua, 10%);
|
52
57
|
}
|
53
58
|
}
|
59
|
+
|
54
60
|
.modal-success {
|
55
61
|
.modal-body {
|
56
62
|
&:extend(.bg-green);
|
@@ -61,6 +67,7 @@
|
|
61
67
|
border-color: darken(@green, 10%);
|
62
68
|
}
|
63
69
|
}
|
70
|
+
|
64
71
|
.modal-danger {
|
65
72
|
.modal-body {
|
66
73
|
&:extend(.bg-red);
|
@@ -5,8 +5,8 @@
|
|
5
5
|
|
6
6
|
.nav {
|
7
7
|
> li > a:hover,
|
8
|
-
|
9
|
-
|
8
|
+
> li > a:active,
|
9
|
+
> li > a:focus {
|
10
10
|
color: #444;
|
11
11
|
background: #f7f7f7;
|
12
12
|
}
|
@@ -26,13 +26,14 @@
|
|
26
26
|
}
|
27
27
|
> li.active > a,
|
28
28
|
> li.active > a:hover,
|
29
|
-
|
29
|
+
> li.active > a:focus {
|
30
30
|
border-top-color: @light-blue;
|
31
31
|
}
|
32
32
|
> li.active > a {
|
33
33
|
font-weight: 600;
|
34
34
|
}
|
35
35
|
}
|
36
|
+
|
36
37
|
/* NAV STACKED */
|
37
38
|
.nav-stacked {
|
38
39
|
> li > a {
|
@@ -88,8 +89,8 @@
|
|
88
89
|
}
|
89
90
|
&:not(.active) {
|
90
91
|
> a:hover,
|
91
|
-
|
92
|
-
|
92
|
+
> a:focus,
|
93
|
+
> a:active {
|
93
94
|
border-color: transparent;
|
94
95
|
}
|
95
96
|
}
|
@@ -122,7 +123,7 @@
|
|
122
123
|
|
123
124
|
//Pulled to the right
|
124
125
|
&.pull-right {
|
125
|
-
float: none!important;
|
126
|
+
float: none !important;
|
126
127
|
> li {
|
127
128
|
float: right;
|
128
129
|
}
|
@@ -161,22 +162,65 @@
|
|
161
162
|
|
162
163
|
.dropdown.open > a {
|
163
164
|
&:active,
|
164
|
-
|
165
|
+
&:focus {
|
165
166
|
background: transparent;
|
166
167
|
color: #999;
|
167
168
|
}
|
168
169
|
}
|
170
|
+
// Tab color variations
|
171
|
+
&.tab-primary {
|
172
|
+
> .nav-tabs {
|
173
|
+
> li.active {
|
174
|
+
border-top-color: @light-blue;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
&.tab-info {
|
179
|
+
> .nav-tabs {
|
180
|
+
> li.active {
|
181
|
+
border-top-color: @aqua;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
&.tab-danger {
|
186
|
+
> .nav-tabs {
|
187
|
+
> li.active {
|
188
|
+
border-top-color: @red;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
&.tab-warning {
|
193
|
+
> .nav-tabs {
|
194
|
+
> li.active {
|
195
|
+
border-top-color: @yellow;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
&.tab-success {
|
200
|
+
> .nav-tabs {
|
201
|
+
> li.active {
|
202
|
+
border-top-color: @green;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
&.tab-default {
|
207
|
+
> .nav-tabs {
|
208
|
+
> li.active {
|
209
|
+
border-top-color: @gray;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
169
213
|
}
|
170
214
|
|
171
215
|
/* PAGINATION */
|
172
216
|
.pagination {
|
173
217
|
> li > a {
|
174
218
|
background: #fafafa;
|
175
|
-
color: #666;
|
219
|
+
color: #666;
|
176
220
|
}
|
177
221
|
&.pagination-flat {
|
178
222
|
> li > a {
|
179
|
-
.border-radius(0)!important;
|
223
|
+
.border-radius(0) !important;
|
180
224
|
}
|
181
225
|
}
|
182
|
-
}
|
226
|
+
}
|
@@ -5,8 +5,9 @@
|
|
5
5
|
@media print {
|
6
6
|
//Add to elements that you do not want to show when printing
|
7
7
|
.no-print {
|
8
|
-
display: none!important;
|
8
|
+
display: none !important;
|
9
9
|
}
|
10
|
+
|
10
11
|
//Elements that we want to hide when printing
|
11
12
|
.main-sidebar,
|
12
13
|
.left-side,
|
@@ -14,18 +15,21 @@
|
|
14
15
|
.content-header {
|
15
16
|
&:extend(.no-print);
|
16
17
|
}
|
18
|
+
|
17
19
|
//This is the only element that should appear, so let's remove the margins
|
18
20
|
.content-wrapper,
|
19
21
|
.right-side,
|
20
22
|
.main-footer {
|
21
|
-
margin-left: 0!important;
|
22
|
-
min-height: 0!important;
|
23
|
-
.translate(0,0)!important;
|
23
|
+
margin-left: 0 !important;
|
24
|
+
min-height: 0 !important;
|
25
|
+
.translate(0, 0) !important;
|
24
26
|
}
|
27
|
+
|
25
28
|
.fixed .content-wrapper,
|
26
29
|
.fixed .right-side {
|
27
|
-
padding-top: 0!important;
|
30
|
+
padding-top: 0 !important;
|
28
31
|
}
|
32
|
+
|
29
33
|
//Invoice printing
|
30
34
|
.invoice {
|
31
35
|
width: 100%;
|
@@ -33,16 +37,18 @@
|
|
33
37
|
margin: 0;
|
34
38
|
padding: 0;
|
35
39
|
}
|
40
|
+
|
36
41
|
.invoice-col {
|
37
42
|
float: left;
|
38
43
|
width: 33.3333333%;
|
39
44
|
}
|
45
|
+
|
40
46
|
//Make sure table content displays properly
|
41
47
|
.table-responsive {
|
42
48
|
overflow: auto;
|
43
49
|
> .table tr th,
|
44
50
|
> .table tr td {
|
45
|
-
white-space: normal!important;
|
51
|
+
white-space: normal !important;
|
46
52
|
}
|
47
53
|
}
|
48
54
|
}
|
@@ -9,10 +9,12 @@
|
|
9
9
|
padding: 3px;
|
10
10
|
border: 3px solid @gray;
|
11
11
|
}
|
12
|
+
|
12
13
|
.profile-username {
|
13
14
|
font-size: 21px;
|
14
15
|
margin-top: 5px;
|
15
16
|
}
|
17
|
+
|
16
18
|
.post {
|
17
19
|
border-bottom: 1px solid @gray;
|
18
20
|
margin-bottom: 15px;
|
@@ -26,4 +28,4 @@
|
|
26
28
|
.user-block {
|
27
29
|
margin-bottom: 15px;
|
28
30
|
}
|
29
|
-
}
|
31
|
+
}
|
@@ -20,6 +20,7 @@
|
|
20
20
|
.border-radius(@progress-bar-sm-border-radius);
|
21
21
|
}
|
22
22
|
}
|
23
|
+
|
23
24
|
.progress.xs,
|
24
25
|
.progress-xs {
|
25
26
|
height: 7px;
|
@@ -27,6 +28,7 @@
|
|
27
28
|
.border-radius(@progress-bar-xs-border-radius);
|
28
29
|
}
|
29
30
|
}
|
31
|
+
|
30
32
|
.progress.xxs,
|
31
33
|
.progress-xxs {
|
32
34
|
height: 3px;
|
@@ -34,6 +36,7 @@
|
|
34
36
|
.border-radius(@progress-bar-xs-border-radius);
|
35
37
|
}
|
36
38
|
}
|
39
|
+
|
37
40
|
/* Vertical bars */
|
38
41
|
.progress.vertical {
|
39
42
|
position: relative;
|
@@ -49,16 +52,16 @@
|
|
49
52
|
|
50
53
|
//Sizes
|
51
54
|
&.sm,
|
52
|
-
&.progress-sm{
|
55
|
+
&.progress-sm {
|
53
56
|
width: 20px;
|
54
57
|
}
|
55
58
|
|
56
59
|
&.xs,
|
57
|
-
&.progress-xs{
|
60
|
+
&.progress-xs {
|
58
61
|
width: 10px;
|
59
62
|
}
|
60
63
|
&.xxs,
|
61
|
-
&.progress-xxs{
|
64
|
+
&.progress-xxs {
|
62
65
|
width: 3px;
|
63
66
|
}
|
64
67
|
}
|
@@ -86,6 +89,7 @@
|
|
86
89
|
.progress-bar-primary {
|
87
90
|
.progress-bar-variant(@light-blue);
|
88
91
|
}
|
92
|
+
|
89
93
|
.progress-bar-green,
|
90
94
|
.progress-bar-success {
|
91
95
|
.progress-bar-variant(@green);
|