bootstrap_sb_admin_base_v2 0.1.0

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.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/CODE_OF_CONDUCT.md +13 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +45 -0
  8. data/Rakefile +1 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/bootstrap_sb_admin_base_v2.gemspec +24 -0
  12. data/lib/bootstrap_sb_admin_base_v2.rb +8 -0
  13. data/lib/bootstrap_sb_admin_base_v2/version.rb +3 -0
  14. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  15. data/vendor/assets/fonts/fontawesome-webfont-.eot +0 -0
  16. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.eot +0 -0
  17. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.svg +520 -0
  18. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.ttf +0 -0
  19. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.woff +0 -0
  20. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  21. data/vendor/assets/fonts/fontawesome-webfont.svg +414 -0
  22. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  23. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  24. data/vendor/assets/fonts/glyphicons-halflings-regular-.eot +0 -0
  25. data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  26. data/vendor/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  27. data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  28. data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  29. data/vendor/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  30. data/vendor/assets/images/bootstrap/datatables/sort_asc.png +0 -0
  31. data/vendor/assets/images/bootstrap/datatables/sort_asc_disabled.png +0 -0
  32. data/vendor/assets/images/bootstrap/datatables/sort_both.png +0 -0
  33. data/vendor/assets/images/bootstrap/datatables/sort_desc.png +0 -0
  34. data/vendor/assets/images/bootstrap/datatables/sort_desc_disabled.png +0 -0
  35. data/vendor/assets/javascripts/bootstrap/bootstrap.min.js +7 -0
  36. data/vendor/assets/javascripts/bootstrap/dataTables.bootstrap.min.js +8 -0
  37. data/vendor/assets/javascripts/bootstrap_sb_admin_base_v2.js +25 -0
  38. data/vendor/assets/javascripts/flot/excanvas.min.js +1 -0
  39. data/vendor/assets/javascripts/flot/jquery.flot.js +3168 -0
  40. data/vendor/assets/javascripts/flot/jquery.flot.pie.js +820 -0
  41. data/vendor/assets/javascripts/flot/jquery.flot.resize.js +59 -0
  42. data/vendor/assets/javascripts/flot/jquery.flot.time.js +432 -0
  43. data/vendor/assets/javascripts/flot/jquery.flot.tooltip.min.js +12 -0
  44. data/vendor/assets/javascripts/jquery/jquery.dataTables.min.js +160 -0
  45. data/vendor/assets/javascripts/jquery/jquery.min.js +5 -0
  46. data/vendor/assets/javascripts/metis_menu/metisMenu.min.js +9 -0
  47. data/vendor/assets/javascripts/morris/morris.min.js +7 -0
  48. data/vendor/assets/javascripts/raphael/raphael-min.js +11 -0
  49. data/vendor/assets/javascripts/sb-admin-2/sb-admin-2.js +34 -0
  50. data/vendor/assets/stylesheets/bootstrap/bootstrap-social.scss +1840 -0
  51. data/vendor/assets/stylesheets/bootstrap/bootstrap.min.scss +8454 -0
  52. data/vendor/assets/stylesheets/bootstrap/dataTables.bootstrap.scss +324 -0
  53. data/vendor/assets/stylesheets/bootstrap/dataTables.responsive.scss +124 -0
  54. data/vendor/assets/stylesheets/bootstrap_sb_admin_base_v2.scss +6 -0
  55. data/vendor/assets/stylesheets/font-awesome/font-awesome.min.scss +1671 -0
  56. data/vendor/assets/stylesheets/metis_menu/metisMenu.min.scss +47 -0
  57. data/vendor/assets/stylesheets/morris/morris.scss +22 -0
  58. data/vendor/assets/stylesheets/sb-admin-2/sb-admin-2.scss +291 -0
  59. data/vendor/assets/stylesheets/timeline/timeline.scss +165 -0
  60. metadata +131 -0
@@ -0,0 +1,47 @@
1
+ /*
2
+ * metismenu - v1.1.3
3
+ * Easy menu jQuery plugin for Twitter Bootstrap 3
4
+ * https://github.com/onokumus/metisMenu
5
+ *
6
+ * Made by Osman Nuri Okumus
7
+ * Under MIT License
8
+ */
9
+ .arrow {
10
+ float: right;
11
+ line-height: 1.42857;
12
+ }
13
+ .glyphicon.arrow:before {
14
+ content: "\e079";
15
+ }
16
+ .active > a > .glyphicon.arrow:before {
17
+ content: "\e114";
18
+ }
19
+ .fa.arrow:before {
20
+ content: "\f104";
21
+ }
22
+ .active > a > .fa.arrow:before {
23
+ content: "\f107";
24
+ }
25
+ .plus-times {
26
+ float: right;
27
+ }
28
+ .fa.plus-times:before {
29
+ content: "\f067";
30
+ }
31
+ .active > a > .fa.plus-times {
32
+ filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
33
+ -webkit-transform: rotate(45deg);
34
+ -moz-transform: rotate(45deg);
35
+ -ms-transform: rotate(45deg);
36
+ -o-transform: rotate(45deg);
37
+ transform: rotate(45deg);
38
+ }
39
+ .plus-minus {
40
+ float: right;
41
+ }
42
+ .fa.plus-minus:before {
43
+ content: "\f067";
44
+ }
45
+ .active > a > .fa.plus-minus:before {
46
+ content: "\f068";
47
+ }
@@ -0,0 +1,22 @@
1
+ .morris-hover {
2
+ position: absolute;
3
+ z-index: 1000;
4
+ &.morris-default-style {
5
+ border-radius: 10px;
6
+ padding: 6px;
7
+ color: #666;
8
+ background: rgba(255, 255, 255, 0.8);
9
+ border: solid 2px rgba(230, 230, 230, 0.8);
10
+ font-family: sans-serif;
11
+ font-size: 12px;
12
+ text-align: center;
13
+ .morris-hover-row-label {
14
+ font-weight: bold;
15
+ margin: 0.25em 0;
16
+ }
17
+ .morris-hover-point {
18
+ white-space: nowrap;
19
+ margin: 0.1em 0;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,291 @@
1
+ /*!
2
+ * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
3
+ * Code licensed under the Apache License v2.0.
4
+ * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5
+ */
6
+ body {
7
+ background-color: #f8f8f8;
8
+ }
9
+ #wrapper {
10
+ width: 100%;
11
+ }
12
+ #page-wrapper {
13
+ padding: 0 15px;
14
+ min-height: 568px;
15
+ background-color: #fff;
16
+ }
17
+ @media (min-width: 768px) {
18
+ #page-wrapper {
19
+ position: inherit;
20
+ margin: 0 0 0 250px;
21
+ padding: 0 30px;
22
+ border-left: 1px solid #e7e7e7;
23
+ }
24
+ }
25
+ .navbar-top-links {
26
+ margin-right: 0;
27
+ li {
28
+ display: inline-block;
29
+ &:last-child {
30
+ margin-right: 15px;
31
+ }
32
+ a {
33
+ padding: 15px;
34
+ min-height: 50px;
35
+ }
36
+ }
37
+ .dropdown-menu li {
38
+ display: block;
39
+ &:last-child {
40
+ margin-right: 0;
41
+ }
42
+ a {
43
+ padding: 3px 20px;
44
+ min-height: 0;
45
+ div {
46
+ white-space: normal;
47
+ }
48
+ }
49
+ }
50
+ .dropdown-messages,
51
+ .dropdown-tasks,
52
+ .dropdown-alerts {
53
+ width: 310px;
54
+ min-width: 0;
55
+ }
56
+ .dropdown-messages {
57
+ margin-left: 5px;
58
+ }
59
+ .dropdown-tasks {
60
+ margin-left: -59px;
61
+ }
62
+ .dropdown-alerts {
63
+ margin-left: -123px;
64
+ }
65
+ .dropdown-user {
66
+ right: 0;
67
+ left: auto;
68
+ }
69
+ }
70
+ .sidebar {
71
+ .sidebar-nav.navbar-collapse {
72
+ padding-right: 0;
73
+ padding-left: 0;
74
+ }
75
+ .sidebar-search {
76
+ padding: 15px;
77
+ }
78
+ ul li {
79
+ border-bottom: 1px solid #e7e7e7;
80
+ a.active {
81
+ background-color: #eee;
82
+ }
83
+ }
84
+ .arrow {
85
+ float: right;
86
+ }
87
+ .fa.arrow:before {
88
+ content: "\f104";
89
+ }
90
+ .active > a > .fa.arrow:before {
91
+ content: "\f107";
92
+ }
93
+ .nav-second-level li,
94
+ .nav-third-level li {
95
+ border-bottom: 0 !important;
96
+ }
97
+ .nav-second-level li a {
98
+ padding-left: 37px;
99
+ }
100
+ .nav-third-level li a {
101
+ padding-left: 52px;
102
+ }
103
+ }
104
+ @media (min-width: 768px) {
105
+ .sidebar {
106
+ z-index: 1;
107
+ position: absolute;
108
+ width: 250px;
109
+ margin-top: 51px;
110
+ }
111
+ .navbar-top-links {
112
+ .dropdown-messages,
113
+ .dropdown-tasks,
114
+ .dropdown-alerts {
115
+ margin-left: auto;
116
+ }
117
+ }
118
+ }
119
+ .btn-outline {
120
+ color: inherit;
121
+ background-color: transparent;
122
+ transition: all 0.5s;
123
+ }
124
+ .btn-primary.btn-outline {
125
+ color: #428bca;
126
+ }
127
+ .btn-success.btn-outline {
128
+ color: #5cb85c;
129
+ }
130
+ .btn-info.btn-outline {
131
+ color: #5bc0de;
132
+ }
133
+ .btn-warning.btn-outline {
134
+ color: #f0ad4e;
135
+ }
136
+ .btn-danger.btn-outline {
137
+ color: #d9534f;
138
+ }
139
+ .btn-primary.btn-outline:hover,
140
+ .btn-success.btn-outline:hover,
141
+ .btn-info.btn-outline:hover,
142
+ .btn-warning.btn-outline:hover,
143
+ .btn-danger.btn-outline:hover {
144
+ color: #fff;
145
+ }
146
+ .chat {
147
+ margin: 0;
148
+ padding: 0;
149
+ list-style: none;
150
+ li {
151
+ margin-bottom: 10px;
152
+ padding-bottom: 5px;
153
+ border-bottom: 1px dotted #999;
154
+ &.left .chat-body {
155
+ margin-left: 60px;
156
+ }
157
+ &.right .chat-body {
158
+ margin-right: 60px;
159
+ }
160
+ .chat-body p {
161
+ margin: 0;
162
+ }
163
+ }
164
+ }
165
+ .panel .slidedown .glyphicon,
166
+ .chat .glyphicon {
167
+ margin-right: 5px;
168
+ }
169
+ .chat-panel .panel-body {
170
+ height: 350px;
171
+ overflow-y: scroll;
172
+ }
173
+ .login-panel {
174
+ margin-top: 25%;
175
+ }
176
+ .flot-chart {
177
+ display: block;
178
+ height: 400px;
179
+ }
180
+ .flot-chart-content {
181
+ width: 100%;
182
+ height: 100%;
183
+ }
184
+ .dataTables_wrapper {
185
+ position: relative;
186
+ clear: both;
187
+ }
188
+ table.dataTable thead {
189
+ .sorting,
190
+ .sorting_asc,
191
+ .sorting_desc,
192
+ .sorting_asc_disabled,
193
+ .sorting_desc_disabled {
194
+ background: 0 0;
195
+ }
196
+ .sorting_asc:after {
197
+ content: "\f0de";
198
+ float: right;
199
+ font-family: fontawesome;
200
+ }
201
+ .sorting_desc:after {
202
+ content: "\f0dd";
203
+ float: right;
204
+ font-family: fontawesome;
205
+ }
206
+ .sorting:after {
207
+ content: "\f0dc";
208
+ float: right;
209
+ font-family: fontawesome;
210
+ color: rgba(50, 50, 50, 0.5);
211
+ }
212
+ }
213
+ .btn-circle {
214
+ width: 30px;
215
+ height: 30px;
216
+ padding: 6px 0;
217
+ border-radius: 15px;
218
+ text-align: center;
219
+ font-size: 12px;
220
+ line-height: 1.428571429;
221
+ &.btn-lg {
222
+ width: 50px;
223
+ height: 50px;
224
+ padding: 10px 16px;
225
+ border-radius: 25px;
226
+ font-size: 18px;
227
+ line-height: 1.33;
228
+ }
229
+ &.btn-xl {
230
+ width: 70px;
231
+ height: 70px;
232
+ padding: 10px 16px;
233
+ border-radius: 35px;
234
+ font-size: 24px;
235
+ line-height: 1.33;
236
+ }
237
+ }
238
+ .show-grid {
239
+ [class^=col-] {
240
+ padding-top: 10px;
241
+ padding-bottom: 10px;
242
+ border: 1px solid #ddd;
243
+ background-color: #eee !important;
244
+ }
245
+ margin: 15px 0;
246
+ }
247
+ .huge {
248
+ font-size: 40px;
249
+ }
250
+ .panel-green {
251
+ border-color: #5cb85c;
252
+ .panel-heading {
253
+ border-color: #5cb85c;
254
+ color: #fff;
255
+ background-color: #5cb85c;
256
+ }
257
+ a {
258
+ color: #5cb85c;
259
+ &:hover {
260
+ color: #3d8b3d;
261
+ }
262
+ }
263
+ }
264
+ .panel-red {
265
+ border-color: #d9534f;
266
+ .panel-heading {
267
+ border-color: #d9534f;
268
+ color: #fff;
269
+ background-color: #d9534f;
270
+ }
271
+ a {
272
+ color: #d9534f;
273
+ &:hover {
274
+ color: #b52b27;
275
+ }
276
+ }
277
+ }
278
+ .panel-yellow {
279
+ border-color: #f0ad4e;
280
+ .panel-heading {
281
+ border-color: #f0ad4e;
282
+ color: #fff;
283
+ background-color: #f0ad4e;
284
+ }
285
+ a {
286
+ color: #f0ad4e;
287
+ &:hover {
288
+ color: #df8a13;
289
+ }
290
+ }
291
+ }
@@ -0,0 +1,165 @@
1
+ .timeline {
2
+ position: relative;
3
+ padding: 20px 0;
4
+ list-style: none;
5
+ &:before {
6
+ content: " ";
7
+ position: absolute;
8
+ top: 0;
9
+ bottom: 0;
10
+ left: 50%;
11
+ width: 3px;
12
+ margin-left: -1.5px;
13
+ background-color: #eee;
14
+ }
15
+ > li {
16
+ position: relative;
17
+ margin-bottom: 20px;
18
+ &:before {
19
+ content: " ";
20
+ display: table;
21
+ }
22
+ &:after {
23
+ content: " ";
24
+ display: table;
25
+ clear: both;
26
+ }
27
+ &:before {
28
+ content: " ";
29
+ display: table;
30
+ }
31
+ &:after {
32
+ content: " ";
33
+ display: table;
34
+ clear: both;
35
+ }
36
+ > {
37
+ .timeline-panel {
38
+ float: left;
39
+ position: relative;
40
+ width: 46%;
41
+ padding: 20px;
42
+ border: 1px solid #d4d4d4;
43
+ border-radius: 2px;
44
+ -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
45
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
46
+ &:before {
47
+ content: " ";
48
+ display: inline-block;
49
+ position: absolute;
50
+ top: 26px;
51
+ right: -15px;
52
+ border-top: 15px solid transparent;
53
+ border-right: 0 solid #ccc;
54
+ border-bottom: 15px solid transparent;
55
+ border-left: 15px solid #ccc;
56
+ }
57
+ &:after {
58
+ content: " ";
59
+ display: inline-block;
60
+ position: absolute;
61
+ top: 27px;
62
+ right: -14px;
63
+ border-top: 14px solid transparent;
64
+ border-right: 0 solid #fff;
65
+ border-bottom: 14px solid transparent;
66
+ border-left: 14px solid #fff;
67
+ }
68
+ }
69
+ .timeline-badge {
70
+ z-index: 100;
71
+ position: absolute;
72
+ top: 16px;
73
+ left: 50%;
74
+ width: 50px;
75
+ height: 50px;
76
+ margin-left: -25px;
77
+ border-radius: 50% 50% 50% 50%;
78
+ text-align: center;
79
+ font-size: 1.4em;
80
+ line-height: 50px;
81
+ color: #fff;
82
+ background-color: #999;
83
+ }
84
+ }
85
+ &.timeline-inverted > .timeline-panel {
86
+ float: right;
87
+ &:before {
88
+ right: auto;
89
+ left: -15px;
90
+ border-right-width: 15px;
91
+ border-left-width: 0;
92
+ }
93
+ &:after {
94
+ right: auto;
95
+ left: -14px;
96
+ border-right-width: 14px;
97
+ border-left-width: 0;
98
+ }
99
+ }
100
+ }
101
+ }
102
+ .timeline-badge {
103
+ &.primary {
104
+ background-color: #2e6da4 !important;
105
+ }
106
+ &.success {
107
+ background-color: #3f903f !important;
108
+ }
109
+ &.warning {
110
+ background-color: #f0ad4e !important;
111
+ }
112
+ &.danger {
113
+ background-color: #d9534f !important;
114
+ }
115
+ &.info {
116
+ background-color: #5bc0de !important;
117
+ }
118
+ }
119
+ .timeline-title {
120
+ margin-top: 0;
121
+ color: inherit;
122
+ }
123
+ .timeline-body > {
124
+ p,
125
+ ul {
126
+ margin-bottom: 0;
127
+ }
128
+ p + p {
129
+ margin-top: 5px;
130
+ }
131
+ }
132
+ @media (max-width: 767px) {
133
+ ul.timeline {
134
+ &:before {
135
+ left: 40px;
136
+ }
137
+ > li > {
138
+ .timeline-panel {
139
+ width: calc(100% - 90px);
140
+ width: -moz-calc(100% - 90px);
141
+ width: -webkit-calc(100% - 90px);
142
+ }
143
+ .timeline-badge {
144
+ top: 16px;
145
+ left: 15px;
146
+ margin-left: 0;
147
+ }
148
+ .timeline-panel {
149
+ float: right;
150
+ &:before {
151
+ right: auto;
152
+ left: -15px;
153
+ border-right-width: 15px;
154
+ border-left-width: 0;
155
+ }
156
+ &:after {
157
+ right: auto;
158
+ left: -14px;
159
+ border-right-width: 14px;
160
+ border-left-width: 0;
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }