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,7 +8,7 @@
8
8
  .select2-selection {
9
9
  &.select2-container--focus,
10
10
  &:focus,
11
- &:active {
11
+ &:active {
12
12
  outline: none;
13
13
  }
14
14
  .select2-selection--single {
@@ -18,38 +18,48 @@
18
18
  height: 34px;
19
19
  }
20
20
  }
21
+
21
22
  .select2-container--default.select2-container--open {
22
23
  border-color: @light-blue;
23
24
  }
25
+
24
26
  .select2-dropdown {
25
27
  border: 1px solid @gray;
26
28
  border-radius: @input-radius;
27
29
  }
30
+
28
31
  .select2-container--default .select2-results__option--highlighted[aria-selected] {
29
32
  background-color: @light-blue;
30
33
  color: white;
31
34
  }
35
+
32
36
  .select2-results__option {
33
37
  padding: 6px 12px;
34
38
  user-select: none;
35
- -webkit-user-select: none; }
39
+ -webkit-user-select: none;
40
+ }
41
+
36
42
  .select2-container .select2-selection--single .select2-selection__rendered {
37
43
  padding-left: 0;
38
44
  padding-right: 0;
39
45
  height: auto;
40
46
  margin-top: -4px;
41
47
  }
48
+
42
49
  .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
43
50
  padding-right: 6px;
44
51
  padding-left: 20px;
45
52
  }
53
+
46
54
  .select2-container--default .select2-selection--single .select2-selection__arrow {
47
55
  height: 28px;
48
56
  right: 3px;
49
57
  }
58
+
50
59
  .select2-container--default .select2-selection--single .select2-selection__arrow b {
51
60
  margin-top: 0;
52
61
  }
62
+
53
63
  .select2-dropdown,
54
64
  .select2-search--inline {
55
65
  .select2-search__field {
@@ -60,9 +70,11 @@
60
70
  }
61
71
  }
62
72
  }
73
+
63
74
  .select2-container--default .select2-results__option[aria-disabled=true] {
64
75
  color: #999;
65
76
  }
77
+
66
78
  .select2-container--default .select2-results__option[aria-selected=true] {
67
79
  background-color: #ddd;
68
80
  &,
@@ -84,19 +96,22 @@
84
96
  border-color: @gray;
85
97
  }
86
98
  }
99
+
87
100
  .select2-container--default .select2-selection--multiple .select2-selection__choice {
88
101
  background-color: @light-blue;
89
102
  border-color: darken(@light-blue, 5%);
90
103
  padding: 1px 10px;
91
104
  color: #fff;
92
105
  }
106
+
93
107
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
94
108
  margin-right: 5px;
95
- color: rgba(255,255,255,.7);
109
+ color: rgba(255, 255, 255, .7);
96
110
  &:hover {
97
111
  color: #fff;
98
112
  }
99
113
  }
114
+
100
115
  .select2-container .select2-selection--single .select2-selection__rendered {
101
116
  padding-right: 10px;
102
117
  }
@@ -13,7 +13,7 @@
13
13
  .content-wrapper,
14
14
  .right-side,
15
15
  .main-footer {
16
- margin-left: 50px!important;
16
+ margin-left: 50px !important;
17
17
  z-index: 840;
18
18
  }
19
19
 
@@ -21,7 +21,7 @@
21
21
  .main-sidebar {
22
22
  //Don't go away! Just shrink
23
23
  .translate(0, 0);
24
- width: 50px!important;
24
+ width: 50px !important;
25
25
  z-index: 850;
26
26
  }
27
27
 
@@ -53,9 +53,9 @@
53
53
  > a {
54
54
  //overflow: visible;
55
55
  }
56
- > a > span:not(.pull-right),
57
- > .treeview-menu {
58
- display: block!important;
56
+ > a > span:not(.pull-right),//:not(.pull-right-container),
57
+ > .treeview-menu {
58
+ display: block !important;
59
59
  position: absolute;
60
60
  width: @sidebar-width - 50;
61
61
  left: 50px;
@@ -68,6 +68,16 @@
68
68
  padding: 12px 5px 12px 20px;
69
69
  background-color: inherit;
70
70
  }
71
+ > a > .pull-right-container {
72
+ //display: block!important;
73
+ float: right;
74
+ width: auto!important;
75
+ left: 200px!important;
76
+ top: 10px!important;
77
+ > .label:not(:first-of-type) {
78
+ display: none;
79
+ }
80
+ }
71
81
  > .treeview-menu {
72
82
  top: 44px;
73
83
  margin-left: 0;
@@ -82,9 +92,9 @@
82
92
  .sidebar-form,
83
93
  .sidebar-menu > li > a > span,
84
94
  .sidebar-menu > li > .treeview-menu,
85
- .sidebar-menu >li > a > .pull-right,
95
+ .sidebar-menu > li > a > .pull-right,
86
96
  .sidebar-menu li.header {
87
- display: none!important;
97
+ display: none !important;
88
98
  -webkit-transform: translateZ(0);
89
99
  }
90
100
 
@@ -119,20 +129,23 @@
119
129
  white-space: nowrap;
120
130
  overflow: hidden;
121
131
  }
132
+
122
133
  .sidebar-menu:hover {
123
134
  overflow: visible;
124
135
  }
136
+
125
137
  .sidebar-form,
126
138
  .sidebar-menu > li.header {
127
139
  overflow: hidden;
128
140
  text-overflow: clip;
129
141
  }
142
+
130
143
  .sidebar-menu li > a {
131
144
  position: relative;
132
- > .pull-right {
145
+ > .pull-right-container {
133
146
  position: absolute;
134
- top: 50%;
135
147
  right: 10px;
148
+ top: 50%;
136
149
  margin-top: -7px;
137
150
  }
138
151
  }
@@ -16,10 +16,10 @@
16
16
  z-index: 810;
17
17
  //Using disposable variable to join statements with a comma
18
18
  @transition-rule: @transition-speed @transition-fn,
19
- width @transition-speed @transition-fn;
19
+ width @transition-speed @transition-fn;
20
20
  .transition-transform(@transition-rule);
21
21
  @media (max-width: @screen-header-collapse) {
22
- padding-top: 100px;
22
+ padding-top: 100px;
23
23
  }
24
24
  @media (max-width: @screen-xs-max) {
25
25
  .translate(-@sidebar-width, 0);
@@ -39,6 +39,7 @@
39
39
  .sidebar {
40
40
  padding-bottom: 10px;
41
41
  }
42
+
42
43
  // remove border from form
43
44
  .sidebar-form {
44
45
  input:focus {
@@ -102,23 +103,24 @@
102
103
  }
103
104
  .label,
104
105
  .badge {
105
- margin-top: 3px;
106
106
  margin-right: 5px;
107
107
  }
108
+ .badge {
109
+ margin-top: 3px;
110
+ }
108
111
  }
109
112
  li.header {
110
113
  padding: 10px 25px 10px 15px;
111
114
  font-size: 12px;
112
115
  }
113
- li > a > .fa-angle-left {
116
+ li > a > .pull-right-container > .fa-angle-left {
114
117
  width: auto;
115
118
  height: auto;
116
119
  padding: 0;
117
120
  margin-right: 10px;
118
- margin-top: 3px;
119
121
  }
120
122
  li.active {
121
- > a > .fa-angle-left {
123
+ > a > .pull-right-container > .fa-angle-left {
122
124
  .rotate(-90deg);
123
125
  }
124
126
  > .treeview-menu {
@@ -130,8 +132,8 @@
130
132
  .treeview-menu {
131
133
  display: none;
132
134
  list-style: none;
133
- padding:0;
134
- margin:0;
135
+ padding: 0;
136
+ margin: 0;
135
137
  padding-left: 5px;
136
138
  .treeview-menu {
137
139
  padding-left: 20px;
@@ -147,7 +149,7 @@
147
149
  > .ion {
148
150
  width: 20px;
149
151
  }
150
- > .fa-angle-left,
152
+ > .pull-right-container > .fa-angle-left,
151
153
  > .fa-angle-down {
152
154
  width: auto;
153
155
  }
@@ -19,7 +19,7 @@
19
19
  color: #333;
20
20
  border-right: 1px solid #eee;
21
21
  }
22
- > .navbar {
22
+ .navbar {
23
23
  .navbar-variant(#fff; #333; #999; #fff);
24
24
  > .sidebar-toggle {
25
25
  color: #333;
@@ -19,7 +19,7 @@
19
19
  color: #333;
20
20
  border-right: 1px solid #eee;
21
21
  }
22
- > .navbar {
22
+ .navbar {
23
23
  .navbar-variant(#fff; #333; #999; #fff);
24
24
  > .sidebar-toggle {
25
25
  color: #333;
@@ -61,4 +61,14 @@
61
61
  }
62
62
  //Create the sidebar skin
63
63
  .skin-dark-sidebar(#fff);
64
+
65
+ .pace {
66
+ .pace-progress {
67
+ background: #222;
68
+ }
69
+ .pace-activity {
70
+ border-top-color: #222;
71
+ border-left-color: #222;
72
+ }
73
+ }
64
74
  }
@@ -2,7 +2,6 @@
2
2
  * Skin: Green
3
3
  * -----------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@green, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Green
3
3
  * -----------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@green, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Purple
3
3
  * ------------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@purple, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Purple
3
3
  * ------------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@purple, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Red
3
3
  * ---------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@red, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Red
3
3
  * ---------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@red, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Yellow
3
3
  * ------------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@yellow, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;
@@ -2,7 +2,6 @@
2
2
  * Skin: Yellow
3
3
  * ------------
4
4
  */
5
-
6
5
  @import "twitter/bootstrap/mixins.less";
7
6
  @import "twitter/bootstrap/variables.less";
8
7
  @import "../variables.less";
@@ -19,11 +18,11 @@
19
18
  background-color: darken(@yellow, 5%);
20
19
  }
21
20
  }
22
- @media(max-width: @screen-header-collapse) {
21
+ @media (max-width: @screen-header-collapse) {
23
22
  .dropdown-menu {
24
23
  li {
25
24
  &.divider {
26
- background-color: rgba(255,255,255,0.1);
25
+ background-color: rgba(255, 255, 255, 0.1);
27
26
  }
28
27
  a {
29
28
  color: #fff;