lte-rails 0.0.2 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +28 -29
  3. data/README.md +2 -2
  4. data/lib/lte/rails/version.rb +2 -2
  5. data/vendor/assets/stylesheets/AdminLTE/.csslintrc +1 -1
  6. data/vendor/assets/stylesheets/AdminLTE/404_500_errors.less +1 -1
  7. data/vendor/assets/stylesheets/AdminLTE/AdminLTE.less +1 -8
  8. data/vendor/assets/stylesheets/AdminLTE/alerts.less +3 -0
  9. data/vendor/assets/stylesheets/AdminLTE/bootstrap-social.less +85 -27
  10. data/vendor/assets/stylesheets/AdminLTE/boxes.less +6 -4
  11. data/vendor/assets/stylesheets/AdminLTE/buttons.less +23 -14
  12. data/vendor/assets/stylesheets/AdminLTE/control-sidebar.less +26 -17
  13. data/vendor/assets/stylesheets/AdminLTE/core.less +17 -14
  14. data/vendor/assets/stylesheets/AdminLTE/direct-chat.less +25 -3
  15. data/vendor/assets/stylesheets/AdminLTE/dropdown.less +9 -6
  16. data/vendor/assets/stylesheets/AdminLTE/forms.less +12 -1
  17. data/vendor/assets/stylesheets/AdminLTE/fullcalendar.less +15 -3
  18. data/vendor/assets/stylesheets/AdminLTE/header.less +12 -8
  19. data/vendor/assets/stylesheets/AdminLTE/info-box.less +8 -2
  20. data/vendor/assets/stylesheets/AdminLTE/labels.less +5 -0
  21. data/vendor/assets/stylesheets/AdminLTE/lockscreen.less +5 -0
  22. data/vendor/assets/stylesheets/AdminLTE/login_and_register.less +2 -0
  23. data/vendor/assets/stylesheets/AdminLTE/mailbox.less +11 -0
  24. data/vendor/assets/stylesheets/AdminLTE/miscellaneous.less +121 -44
  25. data/vendor/assets/stylesheets/AdminLTE/mixins.less +43 -30
  26. data/vendor/assets/stylesheets/AdminLTE/modal.less +10 -3
  27. data/vendor/assets/stylesheets/AdminLTE/navs.less +54 -10
  28. data/vendor/assets/stylesheets/AdminLTE/print.less +12 -6
  29. data/vendor/assets/stylesheets/AdminLTE/products.less +1 -0
  30. data/vendor/assets/stylesheets/AdminLTE/profile.less +3 -1
  31. data/vendor/assets/stylesheets/AdminLTE/progress-bars.less +7 -3
  32. data/vendor/assets/stylesheets/AdminLTE/select2.less +18 -3
  33. data/vendor/assets/stylesheets/AdminLTE/sidebar-mini.less +22 -9
  34. data/vendor/assets/stylesheets/AdminLTE/sidebar.less +11 -9
  35. data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.less +1 -1
  36. data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.less +11 -1
  37. data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.less +2 -3
  38. data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.less +2 -3
  39. data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.less +2 -3
  40. data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.less +2 -3
  41. data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.less +2 -3
  42. data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.less +2 -3
  43. data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.less +2 -3
  44. data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.less +2 -3
  45. data/vendor/assets/stylesheets/AdminLTE/small-box.less +3 -3
  46. data/vendor/assets/stylesheets/AdminLTE/social-widgets.less +2 -2
  47. data/vendor/assets/stylesheets/AdminLTE/timeline.less +2 -3
  48. data/vendor/assets/stylesheets/AdminLTE/users-list.less +3 -0
  49. data/vendor/assets/stylesheets/AdminLTE/variables.less +44 -41
  50. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3bd9484610267c46182efeaf188f33fd23bbde4
4
- data.tar.gz: f7bdd748ffa8992b8ba70a2ed3d91f73d8ced316
3
+ metadata.gz: 9b1cb79cef696fd60abe714bfe7e7b448b906257
4
+ data.tar.gz: 2cb6ffb8c2d8f29a40b1fb2f57c944c0b171ecf5
5
5
  SHA512:
6
- metadata.gz: b28771733ba6d6d549aa0c0c27738cb85084a719a91eaaa5cc396bb530fee955715705c56f23d88e6d57adb898cfd1c54ec4d7e95f805240c1affee860ba2d47
7
- data.tar.gz: 5fac8944a54341f4c74b394350e6cb84c582def410c0999412ad4f75151096ca05578e33edafd8d5e480b5b93ba5b4c08bdf95fc6368c107d3540880c61d5984
6
+ metadata.gz: 922a4032efadcfccb9982eeee43c861ea8e08d72cc8fbccd5a29ffe746f396bcd59c60edf41c3acd6edf3569462f7412b343991e546569e642ac24593758f23e
7
+ data.tar.gz: 534d2ad5c08e7cd1ec282b31307a60cff1edfadf5479b99f329fd3fde76188c9195033812a978b3d6a11d8bebc9456d663915e668d8efe5db69e91777d64d442
data/Gemfile.lock CHANGED
@@ -1,41 +1,40 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lte-rails (0.0.2)
4
+ lte-rails (0.0.5)
5
5
  less-rails (~> 2.6)
6
6
  less-rails-bootstrap (~> 3.3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (4.2.4)
12
- actionview (= 4.2.4)
13
- activesupport (= 4.2.4)
14
- rack (~> 1.6)
15
- rack-test (~> 0.6.2)
16
- rails-dom-testing (~> 1.0, >= 1.0.5)
11
+ actionpack (5.0.0)
12
+ actionview (= 5.0.0)
13
+ activesupport (= 5.0.0)
14
+ rack (~> 2.0)
15
+ rack-test (~> 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (4.2.4)
19
- activesupport (= 4.2.4)
18
+ actionview (5.0.0)
19
+ activesupport (= 5.0.0)
20
20
  builder (~> 3.1)
21
21
  erubis (~> 2.7.0)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
- activesupport (4.2.4)
24
+ activesupport (5.0.0)
25
+ concurrent-ruby (~> 1.0, >= 1.0.2)
25
26
  i18n (~> 0.7)
26
- json (~> 1.7, >= 1.7.7)
27
27
  minitest (~> 5.1)
28
- thread_safe (~> 0.3, >= 0.3.4)
29
28
  tzinfo (~> 1.1)
30
29
  builder (3.2.2)
31
30
  commonjs (0.2.7)
31
+ concurrent-ruby (1.0.2)
32
32
  diff-lcs (1.2.5)
33
33
  erubis (2.7.0)
34
34
  i18n (0.7.0)
35
- json (1.8.3)
36
35
  less (2.6.0)
37
36
  commonjs (~> 0.2.7)
38
- less-rails (2.7.0)
37
+ less-rails (2.7.1)
39
38
  actionpack (>= 4.0)
40
39
  less (~> 2.6.0)
41
40
  sprockets (> 2, < 4)
@@ -44,20 +43,19 @@ GEM
44
43
  less-rails (>= 2.6, <= 2.8)
45
44
  loofah (2.0.3)
46
45
  nokogiri (>= 1.5.9)
47
- mini_portile (0.6.2)
48
- minitest (5.8.1)
49
- nokogiri (1.6.6.2)
50
- mini_portile (~> 0.6.0)
51
- rack (1.6.4)
46
+ mini_portile2 (2.1.0)
47
+ minitest (5.9.0)
48
+ nokogiri (1.6.8)
49
+ mini_portile2 (~> 2.1.0)
50
+ pkg-config (~> 1.1.7)
51
+ pkg-config (1.1.7)
52
+ rack (2.0.1)
52
53
  rack-test (0.6.3)
53
54
  rack (>= 1.0)
54
- rails-deprecated_sanitizer (1.0.3)
55
- activesupport (>= 4.2.0.alpha)
56
- rails-dom-testing (1.0.7)
57
- activesupport (>= 4.2.0.beta, < 5.0)
55
+ rails-dom-testing (2.0.1)
56
+ activesupport (>= 4.2.0, < 6.0)
58
57
  nokogiri (~> 1.6.0)
59
- rails-deprecated_sanitizer (>= 1.0.1)
60
- rails-html-sanitizer (1.0.2)
58
+ rails-html-sanitizer (1.0.3)
61
59
  loofah (~> 2.0)
62
60
  rake (10.4.2)
63
61
  rspec (3.2.0)
@@ -73,10 +71,11 @@ GEM
73
71
  diff-lcs (>= 1.2.0, < 2.0)
74
72
  rspec-support (~> 3.2.0)
75
73
  rspec-support (3.2.1)
76
- sprockets (3.4.0)
74
+ sprockets (3.7.0)
75
+ concurrent-ruby (~> 1.0)
77
76
  rack (> 1, < 3)
78
77
  thread_safe (0.3.5)
79
- tilt (2.0.1)
78
+ tilt (2.0.5)
80
79
  tzinfo (1.2.2)
81
80
  thread_safe (~> 0.1)
82
81
 
@@ -91,4 +90,4 @@ DEPENDENCIES
91
90
  rspec (~> 3)
92
91
 
93
92
  BUNDLED WITH
94
- 1.10.5
93
+ 1.11.2
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # AdminLTE gem for Rails
2
2
 
3
- This is a gem for using the [AdminLTE](https://github.com/almasaeed2010/AdminLTE/issues) template within a Rails project.
3
+ This is a gem for using the [AdminLTE](https://github.com/almasaeed2010/AdminLTE) template within a Rails project.
4
4
 
5
- This gem is currently using AvminLTE v2.3.0.
5
+ This gem is currently using AvminLTE v2.3.5.
6
6
 
7
7
  To use, add this to your Gemfile:
8
8
  ```
@@ -1,7 +1,7 @@
1
1
  module Lte
2
2
  module Rails
3
3
  # NOTE: this needs to be changed in the Makefile at the same time!
4
- VERSION = "0.0.2"
5
- ADMIN_LTE_VERSION = "2.3.0"
4
+ VERSION = "0.0.5"
5
+ ADMIN_LTE_VERSION = "2.3.5"
6
6
  end
7
7
  end
@@ -20,4 +20,4 @@
20
20
  "fallback-colors": false,
21
21
  "vendor-prefix": false,
22
22
  "import": false
23
- }
23
+ }
@@ -27,7 +27,7 @@
27
27
  > h3 {
28
28
  font-weight: 300;
29
29
  font-size: 25px;
30
- @media(max-width: @screen-sm-max) {
30
+ @media (max-width: @screen-sm-max) {
31
31
  text-align: center;
32
32
  }
33
33
  }
@@ -1,26 +1,22 @@
1
1
  /*!
2
- * AdminLTE v2.3.0
2
+ * AdminLTE v2.3.5
3
3
  * Author: Almsaeed Studio
4
4
  * Website: Almsaeed Studio <http://almsaeedstudio.com>
5
5
  * License: Open source - MIT
6
6
  * Please visit http://opensource.org/licenses/MIT for more information
7
7
  !*/
8
-
9
8
  //google fonts
10
9
  @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
11
-
12
10
  //Bootstrap Variables & Mixins
13
11
  //The core bootstrap code have not been modified. These files
14
12
  //are included only for reference.
15
13
  @import (reference) "twitter/bootstrap/mixins.less";
16
14
  @import (reference) "twitter/bootstrap/variables.less";
17
-
18
15
  //MISC
19
16
  //----
20
17
  @import "core.less";
21
18
  @import "variables.less";
22
19
  @import "mixins.less";
23
-
24
20
  //COMPONENTS
25
21
  //-----------
26
22
  @import "header.less";
@@ -46,7 +42,6 @@
46
42
  @import "carousel.less";
47
43
  @import "modal.less";
48
44
  @import "social-widgets.less";
49
-
50
45
  //PAGES
51
46
  //------
52
47
  @import "mailbox.less";
@@ -55,13 +50,11 @@
55
50
  @import "404_500_errors.less";
56
51
  @import "invoice.less";
57
52
  @import "profile";
58
-
59
53
  //Plugins
60
54
  //--------
61
55
  @import "bootstrap-social.less";
62
56
  @import "fullcalendar.less";
63
57
  @import "select2.less";
64
-
65
58
  //Miscellaneous
66
59
  //-------------
67
60
  @import "miscellaneous.less";
@@ -29,15 +29,18 @@
29
29
  &:extend(.bg-green);
30
30
  border-color: darken(@green, 5%);
31
31
  }
32
+
32
33
  .alert-danger,
33
34
  .alert-error {
34
35
  &:extend(.bg-red);
35
36
  border-color: darken(@red, 5%);
36
37
  }
38
+
37
39
  .alert-warning {
38
40
  &:extend(.bg-yellow);
39
41
  border-color: darken(@yellow, 5%);
40
42
  }
43
+
41
44
  .alert-info {
42
45
  &:extend(.bg-aqua);
43
46
  border-color: darken(@aqua, 5%);
@@ -8,9 +8,9 @@
8
8
  */
9
9
 
10
10
  @bs-height-base: (@line-height-computed + @padding-base-vertical * 2);
11
- @bs-height-lg: (floor(@font-size-large * @line-height-base) + @padding-large-vertical * 2);
12
- @bs-height-sm: (floor(@font-size-small * 1.5) + @padding-small-vertical * 2);
13
- @bs-height-xs: (floor(@font-size-small * 1.2) + @padding-small-vertical + 1);
11
+ @bs-height-lg: (floor(@font-size-large * @line-height-base) + @padding-large-vertical * 2);
12
+ @bs-height-sm: (floor(@font-size-small * 1.5) + @padding-small-vertical * 2);
13
+ @bs-height-xs: (floor(@font-size-small * 1.2) + @padding-small-vertical + 1);
14
14
 
15
15
  .btn-social {
16
16
  position: relative;
@@ -88,27 +88,85 @@
88
88
 
89
89
  .btn-social(@color-bg, @color: #fff) {
90
90
  background-color: @color-bg;
91
- .button-variant(@color, @color-bg, rgba(0,0,0,.2));
92
- }
93
-
94
-
95
- .btn-adn { .btn-social(#d87a68); }
96
- .btn-bitbucket { .btn-social(#205081); }
97
- .btn-dropbox { .btn-social(#1087dd); }
98
- .btn-facebook { .btn-social(#3b5998); }
99
- .btn-flickr { .btn-social(#ff0084); }
100
- .btn-foursquare { .btn-social(#f94877); }
101
- .btn-github { .btn-social(#444444); }
102
- .btn-google { .btn-social(#dd4b39); }
103
- .btn-instagram { .btn-social(#3f729b); }
104
- .btn-linkedin { .btn-social(#007bb6); }
105
- .btn-microsoft { .btn-social(#2672ec); }
106
- .btn-openid { .btn-social(#f7931e); }
107
- .btn-pinterest { .btn-social(#cb2027); }
108
- .btn-reddit { .btn-social(#eff7ff, #000); }
109
- .btn-soundcloud { .btn-social(#ff5500); }
110
- .btn-tumblr { .btn-social(#2c4762); }
111
- .btn-twitter { .btn-social(#55acee); }
112
- .btn-vimeo { .btn-social(#1ab7ea); }
113
- .btn-vk { .btn-social(#587ea3); }
114
- .btn-yahoo { .btn-social(#720e9e); }
91
+ .button-variant(@color, @color-bg, rgba(0, 0, 0, .2));
92
+ }
93
+
94
+ .btn-adn {
95
+ .btn-social(#d87a68);
96
+ }
97
+
98
+ .btn-bitbucket {
99
+ .btn-social(#205081);
100
+ }
101
+
102
+ .btn-dropbox {
103
+ .btn-social(#1087dd);
104
+ }
105
+
106
+ .btn-facebook {
107
+ .btn-social(#3b5998);
108
+ }
109
+
110
+ .btn-flickr {
111
+ .btn-social(#ff0084);
112
+ }
113
+
114
+ .btn-foursquare {
115
+ .btn-social(#f94877);
116
+ }
117
+
118
+ .btn-github {
119
+ .btn-social(#444444);
120
+ }
121
+
122
+ .btn-google {
123
+ .btn-social(#dd4b39);
124
+ }
125
+
126
+ .btn-instagram {
127
+ .btn-social(#3f729b);
128
+ }
129
+
130
+ .btn-linkedin {
131
+ .btn-social(#007bb6);
132
+ }
133
+
134
+ .btn-microsoft {
135
+ .btn-social(#2672ec);
136
+ }
137
+
138
+ .btn-openid {
139
+ .btn-social(#f7931e);
140
+ }
141
+
142
+ .btn-pinterest {
143
+ .btn-social(#cb2027);
144
+ }
145
+
146
+ .btn-reddit {
147
+ .btn-social(#eff7ff, #000);
148
+ }
149
+
150
+ .btn-soundcloud {
151
+ .btn-social(#ff5500);
152
+ }
153
+
154
+ .btn-tumblr {
155
+ .btn-social(#2c4762);
156
+ }
157
+
158
+ .btn-twitter {
159
+ .btn-social(#55acee);
160
+ }
161
+
162
+ .btn-vimeo {
163
+ .btn-social(#1ab7ea);
164
+ }
165
+
166
+ .btn-vk {
167
+ .btn-social(#587ea3);
168
+ }
169
+
170
+ .btn-yahoo {
171
+ .btn-social(#720e9e);
172
+ }
@@ -77,7 +77,7 @@
77
77
  .btn,
78
78
  a {
79
79
  &:hover {
80
- background: rgba(0,0,0,0.1);
80
+ background: rgba(0, 0, 0, 0.1);
81
81
  }
82
82
  }
83
83
  }
@@ -123,7 +123,6 @@
123
123
  }
124
124
  }
125
125
 
126
-
127
126
  // jQuery Knob in a box
128
127
  .knob-label {
129
128
  text-align: center;
@@ -274,6 +273,7 @@
274
273
  padding: @box-padding;
275
274
  background-color: @box-footer-bg;
276
275
  }
276
+
277
277
  .chart-legend {
278
278
  &:extend(.list-unstyled);
279
279
  margin: 10px 0;
@@ -340,7 +340,7 @@
340
340
  margin-bottom: 0;
341
341
  }
342
342
 
343
- > input[type='checkbox'] {
343
+ > input[type='checkbox'] {
344
344
  margin: 0 10px 0 5px;
345
345
  }
346
346
 
@@ -380,7 +380,7 @@
380
380
  }
381
381
 
382
382
  .label {
383
- background: @gray!important;
383
+ background: @gray !important;
384
384
  }
385
385
  }
386
386
  }
@@ -409,6 +409,7 @@
409
409
  }
410
410
 
411
411
  }
412
+
412
413
  // END TODO WIDGET
413
414
 
414
415
  /* Chat widget (DEPRECATED - this will be removed in the next major release. Use Direct Chat instead)*/
@@ -467,6 +468,7 @@
467
468
  }
468
469
 
469
470
  }
471
+
470
472
  //END CHAT WIDGET
471
473
 
472
474
  //Input in box
@@ -23,9 +23,9 @@
23
23
 
24
24
  // Active state
25
25
  &:active {
26
- -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
27
- -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
28
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
26
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
27
+ -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
28
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
29
29
  }
30
30
 
31
31
  &:focus {
@@ -59,11 +59,12 @@
59
59
  color: #444;
60
60
  border-color: #ddd;
61
61
  &:hover,
62
- &:active,
63
- &.hover {
64
- background-color:darken(#f4f4f4, 5%);
62
+ &:active,
63
+ &.hover {
64
+ background-color: darken(#f4f4f4, 5%);
65
65
  }
66
66
  }
67
+
67
68
  .btn-primary {
68
69
  background-color: @light-blue;
69
70
  border-color: darken(@light-blue, 5%);
@@ -71,6 +72,7 @@
71
72
  background-color: darken(@light-blue, 5%);
72
73
  }
73
74
  }
75
+
74
76
  .btn-success {
75
77
  background-color: @green;
76
78
  border-color: darken(@green, 5%);
@@ -78,6 +80,7 @@
78
80
  background-color: darken(@green, 5%);
79
81
  }
80
82
  }
83
+
81
84
  .btn-info {
82
85
  background-color: @aqua;
83
86
  border-color: darken(@aqua, 5%);
@@ -85,6 +88,7 @@
85
88
  background-color: darken(@aqua, 5%);
86
89
  }
87
90
  }
91
+
88
92
  .btn-danger {
89
93
  background-color: @red;
90
94
  border-color: darken(@red, 5%);
@@ -92,6 +96,7 @@
92
96
  background-color: darken(@red, 5%);
93
97
  }
94
98
  }
99
+
95
100
  .btn-warning {
96
101
  background-color: @yellow;
97
102
  border-color: darken(@yellow, 5%);
@@ -99,24 +104,28 @@
99
104
  background-color: darken(@yellow, 5%);
100
105
  }
101
106
  }
107
+
102
108
  .btn-outline {
103
109
  border: 1px solid #fff;
104
110
  background: transparent;
105
111
  color: #fff;
106
112
  &:hover,
107
- &:focus,
108
- &:active {
109
- color: rgba(255,255,255,.7);
110
- border-color: rgba(255,255,255,.7);
113
+ &:focus,
114
+ &:active {
115
+ color: rgba(255, 255, 255, .7);
116
+ border-color: rgba(255, 255, 255, .7);
111
117
  }
112
118
  }
119
+
113
120
  .btn-link {
114
121
  .box-shadow(none);
115
122
  }
123
+
116
124
  //General .btn with bg class
117
125
  .btn[class*='bg-']:hover {
118
- .box-shadow(inset 0 0 100px rgba(0,0,0,0.2));
126
+ .box-shadow(inset 0 0 100px rgba(0, 0, 0, 0.2));
119
127
  }
128
+
120
129
  // Application buttons
121
130
  .btn-app {
122
131
  .border-radius(3px);
@@ -143,9 +152,9 @@
143
152
  }
144
153
 
145
154
  &:active, &:focus {
146
- -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
147
- -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
148
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
155
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
156
+ -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
157
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
149
158
  }
150
159
 
151
160
  //The badge