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
@@ -8,6 +8,7 @@
8
8
  z-index: 1000;
9
9
  bottom: 0;
10
10
  }
11
+
11
12
  //Transitions
12
13
  .control-sidebar-bg,
13
14
  .control-sidebar {
@@ -16,6 +17,7 @@
16
17
  width: @control-sidebar-width;
17
18
  .transition(right @transition-speed ease-in-out);
18
19
  }
20
+
19
21
  //The sidebar
20
22
  .control-sidebar {
21
23
  position: absolute;
@@ -37,13 +39,14 @@
37
39
  }
38
40
  }
39
41
  }
42
+
40
43
  //Open without slide over content
41
44
  .control-sidebar-open {
42
45
  .control-sidebar-bg,
43
46
  .control-sidebar {
44
47
  right: 0;
45
48
  }
46
- @media(min-width: @screen-sm) {
49
+ @media (min-width: @screen-sm) {
47
50
  .content-wrapper,
48
51
  .right-side,
49
52
  .main-footer {
@@ -51,13 +54,14 @@
51
54
  }
52
55
  }
53
56
  }
57
+
54
58
  //Control sidebar tabs
55
59
  .nav-tabs.control-sidebar-tabs {
56
60
  > li {
57
61
  &:first-of-type > a {
58
62
  &,
59
63
  &:hover,
60
- &:focus {
64
+ &:focus {
61
65
  border-left-width: 0;
62
66
  }
63
67
  }
@@ -81,8 +85,8 @@
81
85
  > a {
82
86
  &,
83
87
  &:hover,
84
- &:focus,
85
- &:active {
88
+ &:focus,
89
+ &:active {
86
90
  border-top: none;
87
91
  border-right: none;
88
92
  border-bottom: none;
@@ -91,13 +95,14 @@
91
95
  }
92
96
  }
93
97
  //Remove responsiveness on small screens
94
- @media(max-width: @screen-sm) {
98
+ @media (max-width: @screen-sm) {
95
99
  display: table;
96
- >li {
100
+ > li {
97
101
  display: table-cell;
98
102
  }
99
103
  }
100
104
  }
105
+
101
106
  //Headings in the sidebar content
102
107
  .control-sidebar-heading {
103
108
  font-weight: 400;
@@ -105,12 +110,14 @@
105
110
  padding: 10px 0;
106
111
  margin-bottom: 10px;
107
112
  }
113
+
108
114
  //Subheadings
109
115
  .control-sidebar-subheading {
110
116
  display: block;
111
117
  font-weight: 400;
112
118
  font-size: 14px;
113
119
  }
120
+
114
121
  //Control Sidebar Menu
115
122
  .control-sidebar-menu {
116
123
  list-style: none;
@@ -147,6 +154,7 @@
147
154
  margin: 0;
148
155
  }
149
156
  }
157
+
150
158
  //Dark skin
151
159
  .control-sidebar-dark {
152
160
  color: @sidebar-dark-color;
@@ -165,13 +173,13 @@
165
173
  //Hover and active states
166
174
  &,
167
175
  &:hover,
168
- &:focus {
176
+ &:focus {
169
177
  border-left-color: darken(@sidebar-dark-bg, 7%);
170
- border-bottom-color: darken(@sidebar-dark-bg, 7%);
178
+ border-bottom-color: darken(@sidebar-dark-bg, 7%);
171
179
  }
172
180
  &:hover,
173
- &:focus,
174
- &:active {
181
+ &:focus,
182
+ &:active {
175
183
  background: darken(@sidebar-dark-bg, 3%);
176
184
  }
177
185
  &:hover {
@@ -183,8 +191,8 @@
183
191
  > a {
184
192
  &,
185
193
  &:hover,
186
- &:focus,
187
- &:active {
194
+ &:focus,
195
+ &:active {
188
196
  background: @sidebar-dark-bg;
189
197
  color: #fff;
190
198
  }
@@ -213,6 +221,7 @@
213
221
  }
214
222
  }
215
223
  }
224
+
216
225
  //Light skin
217
226
  .control-sidebar-light {
218
227
  color: lighten(@sidebar-light-color, 10%);
@@ -232,13 +241,13 @@
232
241
  //Hover and active states
233
242
  &,
234
243
  &:hover,
235
- &:focus {
244
+ &:focus {
236
245
  border-left-color: @gray;
237
246
  border-bottom-color: @gray;
238
247
  }
239
248
  &:hover,
240
- &:focus,
241
- &:active {
249
+ &:focus,
250
+ &:active {
242
251
  background: darken(@sidebar-light-bg, 3%);
243
252
  }
244
253
  }
@@ -247,8 +256,8 @@
247
256
  > a {
248
257
  &,
249
258
  &:hover,
250
- &:focus,
251
- &:active {
259
+ &:focus,
260
+ &:active {
252
261
  background: @sidebar-light-bg;
253
262
  color: #111;
254
263
  }
@@ -23,13 +23,13 @@ body {
23
23
  .wrapper {
24
24
  .clearfix();
25
25
  min-height: 100%;
26
- position: static;
26
+ position: relative;
27
27
  overflow: hidden;
28
28
  .layout-boxed & {
29
29
  max-width: 1250px;
30
30
  margin: 0 auto;
31
31
  min-height: 100%;
32
- box-shadow: 0 0 8px rgba(0,0,0,0.5);
32
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
33
33
  position: relative;
34
34
  }
35
35
  }
@@ -47,7 +47,7 @@ body {
47
47
  .main-footer {
48
48
  //Using disposable variable to join statements with a comma
49
49
  @transition-rule: @transition-speed @transition-fn,
50
- margin @transition-speed @transition-fn;
50
+ margin @transition-speed @transition-fn;
51
51
  .transition-transform(@transition-rule);
52
52
  margin-left: @sidebar-width;
53
53
  z-index: 820;
@@ -78,6 +78,7 @@ body {
78
78
  background-color: @body-bg;
79
79
  z-index: 800;
80
80
  }
81
+
81
82
  .main-footer {
82
83
  background: #fff;
83
84
  padding: 15px;
@@ -111,17 +112,17 @@ body {
111
112
  }
112
113
  }
113
114
 
114
- body.hold-transition {
115
- .content-wrapper,
116
- .right-side,
117
- .main-footer,
118
- .main-sidebar,
119
- .left-side,
120
- .main-header > .navbar,
121
- .main-header .logo {
122
- /* Fix for IE */
123
- .transition(none);
124
- }
115
+ body.hold-transition {
116
+ .content-wrapper,
117
+ .right-side,
118
+ .main-footer,
119
+ .main-sidebar,
120
+ .left-side,
121
+ .main-header .navbar,
122
+ .main-header .logo {
123
+ /* Fix for IE */
124
+ .transition(none);
125
+ }
125
126
  }
126
127
 
127
128
  /* Content */
@@ -146,10 +147,12 @@ h6,
146
147
  .h6 {
147
148
  font-family: 'Source Sans Pro', sans-serif;
148
149
  }
150
+
149
151
  /* General Links */
150
152
  a {
151
153
  color: @link-color;
152
154
  }
155
+
153
156
  a:hover,
154
157
  a:active,
155
158
  a:focus {
@@ -15,24 +15,29 @@
15
15
  }
16
16
  }
17
17
  }
18
+
18
19
  .direct-chat-messages {
19
20
  .translate(0, 0);
20
21
  padding: 10px;
21
22
  height: 250px;
22
23
  overflow: auto;
23
24
  }
25
+
24
26
  .direct-chat-msg,
25
27
  .direct-chat-text {
26
28
  display: block;
27
29
  }
30
+
28
31
  .direct-chat-msg {
29
32
  .clearfix();
30
33
  margin-bottom: 10px;
31
34
  }
35
+
32
36
  .direct-chat-messages,
33
37
  .direct-chat-contacts {
34
38
  .transition-transform(.5s ease-in-out);
35
39
  }
40
+
36
41
  .direct-chat-text {
37
42
  .border-radius(5px);
38
43
  position: relative;
@@ -44,7 +49,7 @@
44
49
 
45
50
  //Create the arrow
46
51
  &:after,
47
- &:before {
52
+ &:before {
48
53
  position: absolute;
49
54
  right: 100%;
50
55
  top: 15px;
@@ -68,7 +73,7 @@
68
73
  margin-right: 50px;
69
74
  margin-left: 0;
70
75
  &:after,
71
- &:before {
76
+ &:before {
72
77
  right: auto;
73
78
  left: 100%;
74
79
  border-right-color: transparent;
@@ -76,6 +81,7 @@
76
81
  }
77
82
  }
78
83
  }
84
+
79
85
  .direct-chat-img {
80
86
  .border-radius(50%);
81
87
  float: left;
@@ -85,23 +91,28 @@
85
91
  float: right;
86
92
  }
87
93
  }
94
+
88
95
  .direct-chat-info {
89
96
  display: block;
90
97
  margin-bottom: 2px;
91
98
  font-size: 12px;
92
99
  }
100
+
93
101
  .direct-chat-name {
94
102
  font-weight: 600;
95
103
  }
104
+
96
105
  .direct-chat-timestamp {
97
106
  color: #999;
98
107
  }
108
+
99
109
  //Direct chat contacts pane
100
110
  .direct-chat-contacts-open {
101
111
  .direct-chat-contacts {
102
112
  .translate(0, 0);
103
113
  }
104
114
  }
115
+
105
116
  .direct-chat-contacts {
106
117
  .translate(101%, 0);
107
118
  position: absolute;
@@ -119,7 +130,7 @@
119
130
  &:extend(.list-unstyled);
120
131
  > li {
121
132
  .clearfix();
122
- border-bottom: 1px solid rgba(0,0,0,0.2);
133
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
123
134
  padding: 10px;
124
135
  margin: 0;
125
136
  &:last-of-type {
@@ -127,29 +138,36 @@
127
138
  }
128
139
  }
129
140
  }
141
+
130
142
  .contacts-list-img {
131
143
  .border-radius(50%);
132
144
  width: 40px;
133
145
  float: left;
134
146
  }
147
+
135
148
  .contacts-list-info {
136
149
  margin-left: 45px;
137
150
  color: #fff;
138
151
  }
152
+
139
153
  .contacts-list-name,
140
154
  .contacts-list-status {
141
155
  display: block;
142
156
  }
157
+
143
158
  .contacts-list-name {
144
159
  font-weight: 600;
145
160
  }
161
+
146
162
  .contacts-list-status {
147
163
  font-size: 12px;
148
164
  }
165
+
149
166
  .contacts-list-date {
150
167
  color: #aaa;
151
168
  font-weight: normal;
152
169
  }
170
+
153
171
  .contacts-list-msg {
154
172
  color: #999;
155
173
  }
@@ -158,15 +176,19 @@
158
176
  .direct-chat-danger {
159
177
  .direct-chat-variant(@red);
160
178
  }
179
+
161
180
  .direct-chat-primary {
162
181
  .direct-chat-variant(@light-blue);
163
182
  }
183
+
164
184
  .direct-chat-warning {
165
185
  .direct-chat-variant(@yellow);
166
186
  }
187
+
167
188
  .direct-chat-info {
168
189
  .direct-chat-variant(@aqua);
169
190
  }
191
+
170
192
  .direct-chat-success {
171
193
  .direct-chat-variant(@green);
172
194
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
  > li > a > .glyphicon,
14
14
  > li > a > .fa,
15
- > li > a > .ion{
15
+ > li > a > .ion {
16
16
  margin-right: 10px;
17
17
  }
18
18
  > li > a:hover {
@@ -49,7 +49,6 @@
49
49
  font-size: 14px;
50
50
  }
51
51
 
52
-
53
52
  //Define footer class
54
53
  > .dropdown-menu > li.footer > a {
55
54
  .border-radius(0; 0; 4px; 4px);
@@ -57,10 +56,10 @@
57
56
  background-color: #fff;
58
57
  padding: 7px 10px;
59
58
  border-bottom: 1px solid #eeeeee;
60
- color: #444!important;
59
+ color: #444 !important;
61
60
  @media (max-width: @screen-sm-max) {
62
- background: #fff!important;
63
- color: #444!important;
61
+ background: #fff !important;
62
+ color: #444 !important;
64
63
  }
65
64
  text-align: center;
66
65
  //Hover state
@@ -98,7 +97,6 @@
98
97
  color: #444444;
99
98
  overflow: hidden;
100
99
  text-overflow: ellipsis;
101
- white-space: nowrap;
102
100
  padding: 10px;
103
101
  // Icons inside the menu
104
102
  > .glyphicon,
@@ -155,6 +153,7 @@
155
153
 
156
154
  }
157
155
  }
156
+
158
157
  //Tasks menu
159
158
  .navbar-nav > .tasks-menu {
160
159
  > .dropdown-menu > li .menu {
@@ -175,6 +174,7 @@
175
174
  }
176
175
  }
177
176
  }
177
+
178
178
  //User menu
179
179
  .navbar-nav > .user-menu {
180
180
  > .dropdown-menu {
@@ -268,6 +268,7 @@
268
268
  .animation(flipInX .7s both);
269
269
 
270
270
  }
271
+
271
272
  @keyframes flipInX {
272
273
  0% {
273
274
  transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
@@ -293,6 +294,7 @@
293
294
  transform: perspective(400px);
294
295
  }
295
296
  }
297
+
296
298
  @-webkit-keyframes flipInX {
297
299
  0% {
298
300
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
@@ -330,6 +332,7 @@
330
332
  }
331
333
  }
332
334
  }
335
+
333
336
  @media (max-width: @screen-sm-max) {
334
337
  .navbar-custom-menu > .navbar-nav {
335
338
  float: right;