bootstrap_sb_admin_base_v1 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 (43) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +4 -0
  4. data/CODE_OF_CONDUCT.md +73 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +57 -0
  8. data/Rakefile +1 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/bootstrap_sb_admin_base_v1.gemspec +24 -0
  12. data/lib/bootstrap_sb_admin_base_v1.rb +10 -0
  13. data/lib/bootstrap_sb_admin_base_v1/version.rb +3 -0
  14. data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  15. data/vendor/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  16. data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  17. data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  18. data/vendor/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  19. data/vendor/assets/javascripts/bootstrap/bootstrap.bundle.js +6328 -0
  20. data/vendor/assets/javascripts/bootstrap/bootstrap.js +3894 -0
  21. data/vendor/assets/javascripts/bootstrap_sb_admin_base_v1.js +7 -0
  22. data/vendor/assets/javascripts/chartjs/chart.js +14145 -0
  23. data/vendor/assets/javascripts/datatables/datatables.js +15442 -0
  24. data/vendor/assets/javascripts/sb-admin/sb-admin.js +45 -0
  25. data/vendor/assets/stylesheets/bootstrap_sb_admin_base_v1.scss +1 -0
  26. data/vendor/assets/stylesheets/sb-admin/_cards.scss +24 -0
  27. data/vendor/assets/stylesheets/sb-admin/_footer.scss +23 -0
  28. data/vendor/assets/stylesheets/sb-admin/_global.scss +55 -0
  29. data/vendor/assets/stylesheets/sb-admin/_login.scss +7 -0
  30. data/vendor/assets/stylesheets/sb-admin/_mixins.scss +5 -0
  31. data/vendor/assets/stylesheets/sb-admin/_utilities.scss +18 -0
  32. data/vendor/assets/stylesheets/sb-admin/_variables.scss +34 -0
  33. data/vendor/assets/stylesheets/sb-admin/bootstrap/bootstrap-grid.scss +2049 -0
  34. data/vendor/assets/stylesheets/sb-admin/bootstrap/bootstrap-reboot.scss +329 -0
  35. data/vendor/assets/stylesheets/sb-admin/bootstrap/bootstrap.scss +8974 -0
  36. data/vendor/assets/stylesheets/sb-admin/datatables/datatables.scss +214 -0
  37. data/vendor/assets/stylesheets/sb-admin/navbar/_navbar_colors.scss +115 -0
  38. data/vendor/assets/stylesheets/sb-admin/navbar/_navbar_fixed.scss +74 -0
  39. data/vendor/assets/stylesheets/sb-admin/navbar/_navbar_global.scss +143 -0
  40. data/vendor/assets/stylesheets/sb-admin/navbar/_navbar_static.scss +25 -0
  41. data/vendor/assets/stylesheets/sb-admin/navbar/_navbar_toggle.scss +46 -0
  42. data/vendor/assets/stylesheets/sb-admin/sb-admin.scss +16 -0
  43. metadata +114 -0
@@ -0,0 +1,214 @@
1
+ /*
2
+ * This combined file was created by the DataTables downloader builder:
3
+ * https://datatables.net/download
4
+ *
5
+ * To rebuild or modify this file with the latest versions of the included
6
+ * software please visit:
7
+ * https://datatables.net/download/#bs4/dt-1.10.16
8
+ *
9
+ * Included libraries:
10
+ * DataTables 1.10.16
11
+ */
12
+
13
+ table.dataTable {
14
+ clear: both;
15
+ margin-top: 6px !important;
16
+ margin-bottom: 6px !important;
17
+ max-width: none !important;
18
+ border-collapse: separate !important;
19
+ }
20
+ table.dataTable td,
21
+ table.dataTable th {
22
+ -webkit-box-sizing: content-box;
23
+ box-sizing: content-box;
24
+ }
25
+ table.dataTable td.dataTables_empty,
26
+ table.dataTable th.dataTables_empty {
27
+ text-align: center;
28
+ }
29
+ table.dataTable.nowrap th,
30
+ table.dataTable.nowrap td {
31
+ white-space: nowrap;
32
+ }
33
+
34
+ div.dataTables_wrapper div.dataTables_length label {
35
+ font-weight: normal;
36
+ text-align: left;
37
+ white-space: nowrap;
38
+ }
39
+ div.dataTables_wrapper div.dataTables_length select {
40
+ width: 75px;
41
+ display: inline-block;
42
+ }
43
+ div.dataTables_wrapper div.dataTables_filter {
44
+ text-align: right;
45
+ }
46
+ div.dataTables_wrapper div.dataTables_filter label {
47
+ font-weight: normal;
48
+ white-space: nowrap;
49
+ text-align: left;
50
+ }
51
+ div.dataTables_wrapper div.dataTables_filter input {
52
+ margin-left: 0.5em;
53
+ display: inline-block;
54
+ width: auto;
55
+ }
56
+ div.dataTables_wrapper div.dataTables_info {
57
+ padding-top: 0.85em;
58
+ white-space: nowrap;
59
+ }
60
+ div.dataTables_wrapper div.dataTables_paginate {
61
+ margin: 0;
62
+ white-space: nowrap;
63
+ text-align: right;
64
+ }
65
+ div.dataTables_wrapper div.dataTables_paginate ul.pagination {
66
+ margin: 2px 0;
67
+ white-space: nowrap;
68
+ justify-content: flex-end;
69
+ }
70
+ div.dataTables_wrapper div.dataTables_processing {
71
+ position: absolute;
72
+ top: 50%;
73
+ left: 50%;
74
+ width: 200px;
75
+ margin-left: -100px;
76
+ margin-top: -26px;
77
+ text-align: center;
78
+ padding: 1em 0;
79
+ }
80
+
81
+ table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
82
+ table.dataTable thead > tr > td.sorting_asc,
83
+ table.dataTable thead > tr > td.sorting_desc,
84
+ table.dataTable thead > tr > td.sorting {
85
+ padding-right: 30px;
86
+ }
87
+ table.dataTable thead > tr > th:active,
88
+ table.dataTable thead > tr > td:active {
89
+ outline: none;
90
+ }
91
+ table.dataTable thead .sorting,
92
+ table.dataTable thead .sorting_asc,
93
+ table.dataTable thead .sorting_desc,
94
+ table.dataTable thead .sorting_asc_disabled,
95
+ table.dataTable thead .sorting_desc_disabled {
96
+ cursor: pointer;
97
+ position: relative;
98
+ }
99
+ table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
100
+ table.dataTable thead .sorting_asc:before,
101
+ table.dataTable thead .sorting_asc:after,
102
+ table.dataTable thead .sorting_desc:before,
103
+ table.dataTable thead .sorting_desc:after,
104
+ table.dataTable thead .sorting_asc_disabled:before,
105
+ table.dataTable thead .sorting_asc_disabled:after,
106
+ table.dataTable thead .sorting_desc_disabled:before,
107
+ table.dataTable thead .sorting_desc_disabled:after {
108
+ position: absolute;
109
+ bottom: 0.9em;
110
+ display: block;
111
+ opacity: 0.3;
112
+ }
113
+ table.dataTable thead .sorting:before,
114
+ table.dataTable thead .sorting_asc:before,
115
+ table.dataTable thead .sorting_desc:before,
116
+ table.dataTable thead .sorting_asc_disabled:before,
117
+ table.dataTable thead .sorting_desc_disabled:before {
118
+ right: 1em;
119
+ content: "\2191";
120
+ }
121
+ table.dataTable thead .sorting:after,
122
+ table.dataTable thead .sorting_asc:after,
123
+ table.dataTable thead .sorting_desc:after,
124
+ table.dataTable thead .sorting_asc_disabled:after,
125
+ table.dataTable thead .sorting_desc_disabled:after {
126
+ right: 0.5em;
127
+ content: "\2193";
128
+ }
129
+ table.dataTable thead .sorting_asc:before,
130
+ table.dataTable thead .sorting_desc:after {
131
+ opacity: 1;
132
+ }
133
+ table.dataTable thead .sorting_asc_disabled:before,
134
+ table.dataTable thead .sorting_desc_disabled:after {
135
+ opacity: 0;
136
+ }
137
+
138
+ div.dataTables_scrollHead table.dataTable {
139
+ margin-bottom: 0 !important;
140
+ }
141
+
142
+ div.dataTables_scrollBody table {
143
+ border-top: none;
144
+ margin-top: 0 !important;
145
+ margin-bottom: 0 !important;
146
+ }
147
+ div.dataTables_scrollBody table thead .sorting:after,
148
+ div.dataTables_scrollBody table thead .sorting_asc:after,
149
+ div.dataTables_scrollBody table thead .sorting_desc:after {
150
+ display: none;
151
+ }
152
+ div.dataTables_scrollBody table tbody tr:first-child th,
153
+ div.dataTables_scrollBody table tbody tr:first-child td {
154
+ border-top: none;
155
+ }
156
+
157
+ div.dataTables_scrollFoot > .dataTables_scrollFootInner {
158
+ box-sizing: content-box;
159
+ }
160
+ div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
161
+ margin-top: 0 !important;
162
+ border-top: none;
163
+ }
164
+
165
+ @media screen and (max-width: 767px) {
166
+ div.dataTables_wrapper div.dataTables_length,
167
+ div.dataTables_wrapper div.dataTables_filter,
168
+ div.dataTables_wrapper div.dataTables_info,
169
+ div.dataTables_wrapper div.dataTables_paginate {
170
+ text-align: center;
171
+ }
172
+ }
173
+ table.dataTable.table-sm > thead > tr > th {
174
+ padding-right: 20px;
175
+ }
176
+ table.dataTable.table-sm .sorting:before,
177
+ table.dataTable.table-sm .sorting_asc:before,
178
+ table.dataTable.table-sm .sorting_desc:before {
179
+ top: 5px;
180
+ right: 0.85em;
181
+ }
182
+ table.dataTable.table-sm .sorting:after,
183
+ table.dataTable.table-sm .sorting_asc:after,
184
+ table.dataTable.table-sm .sorting_desc:after {
185
+ top: 5px;
186
+ }
187
+
188
+ table.table-bordered.dataTable th,
189
+ table.table-bordered.dataTable td {
190
+ border-left-width: 0;
191
+ }
192
+ table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
193
+ table.table-bordered.dataTable td:last-child,
194
+ table.table-bordered.dataTable td:last-child {
195
+ border-right-width: 0;
196
+ }
197
+ table.table-bordered.dataTable tbody th,
198
+ table.table-bordered.dataTable tbody td {
199
+ border-bottom-width: 0;
200
+ }
201
+
202
+ div.dataTables_scrollHead table.table-bordered {
203
+ border-bottom-width: 0;
204
+ }
205
+
206
+ div.table-responsive > div.dataTables_wrapper > div.row {
207
+ margin: 0;
208
+ }
209
+ div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
210
+ padding-left: 0;
211
+ }
212
+ div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
213
+ padding-right: 0;
214
+ }
@@ -0,0 +1,115 @@
1
+ // Color support for .navbar-dark
2
+
3
+ #mainNav.navbar-dark {
4
+ .navbar-collapse {
5
+ .navbar-sidenav {
6
+ .nav-link-collapse:after {
7
+ color: $gray-600;
8
+ }
9
+ > .nav-item {
10
+ > .nav-link {
11
+ color: $gray-600;
12
+ &:hover {
13
+ color: $gray-500;
14
+ }
15
+ }
16
+ .sidenav-second-level,
17
+ .sidenav-third-level {
18
+ > li > a {
19
+ color: $gray-600;
20
+ &:focus,
21
+ &:hover {
22
+ color: $gray-500;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ .navbar-nav > .nav-item.dropdown > .nav-link:after {
29
+ color: $gray-500;
30
+ }
31
+ }
32
+ @media (min-width: 992px) {
33
+ .navbar-collapse {
34
+ .navbar-sidenav {
35
+ background: $gray-800;
36
+ li {
37
+ &.active {
38
+ a {
39
+ color: white !important;
40
+ background-color: $gray-700;
41
+ &:focus,
42
+ &:hover {
43
+ color: white;
44
+ }
45
+ }
46
+ }
47
+ }
48
+ > .nav-item {
49
+ .sidenav-second-level,
50
+ .sidenav-third-level {
51
+ background: $gray-800;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ // Color support for .navbar-light
60
+
61
+ #mainNav.navbar-light {
62
+ .navbar-collapse {
63
+ .navbar-sidenav {
64
+ .nav-link-collapse:after {
65
+ color: fade-out($black, 0.5);
66
+ }
67
+ > .nav-item {
68
+ > .nav-link {
69
+ color: fade-out($black, 0.5);
70
+ &:hover {
71
+ color: fade-out($black, 0.3);
72
+ }
73
+ }
74
+ .sidenav-second-level,
75
+ .sidenav-third-level {
76
+ > li > a {
77
+ color: fade-out($black, 0.5);
78
+ &:focus,
79
+ &:hover {
80
+ color: fade-out($black, 0.3);
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ .navbar-nav > .nav-item.dropdown > .nav-link:after {
87
+ color: fade-out($black, 0.5);
88
+ }
89
+ }
90
+ @media (min-width: 992px) {
91
+ .navbar-collapse {
92
+ .navbar-sidenav {
93
+ background: $gray-100;
94
+ li {
95
+ &.active {
96
+ a {
97
+ color: $black !important;
98
+ background-color: $gray-200;
99
+ &:focus,
100
+ &:hover {
101
+ color: $black;
102
+ }
103
+ }
104
+ }
105
+ }
106
+ > .nav-item {
107
+ .sidenav-second-level,
108
+ .sidenav-third-level {
109
+ background: $gray-100;
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,74 @@
1
+ #mainNav.fixed-top {
2
+ .sidenav-toggler {
3
+ display: none;
4
+ }
5
+ @media (min-width: 992px) {
6
+ .navbar-sidenav {
7
+ height: calc(100vh - 112px);
8
+ }
9
+ .sidenav-toggler {
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+
14
+ display: flex;
15
+ -webkit-flex-direction: column;
16
+ -ms-flex-direction: column;
17
+ flex-direction: column;
18
+
19
+ margin-top: calc(100vh - 56px);
20
+
21
+ > .nav-item {
22
+ width: $sidenav-base-width;
23
+ padding: 0;
24
+ > .nav-link {
25
+ padding: 1em;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ &.navbar-dark {
31
+ .sidenav-toggler {
32
+ background-color: $gray-900;
33
+ a {
34
+ i {
35
+ color: $gray-500;;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ &.navbar-light {
41
+ .sidenav-toggler {
42
+ background-color: $gray-300;
43
+ a {
44
+ i {
45
+ color: fade-out($black, 0.5);
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ body.sidenav-toggled {
53
+ #mainNav.fixed-top {
54
+ .sidenav-toggler {
55
+ overflow-x: hidden;
56
+
57
+ width: $sidenav-collapsed-width;
58
+ .nav-item,
59
+ .nav-link {
60
+ width: $sidenav-collapsed-width !important;
61
+ }
62
+ }
63
+ #sidenavToggler {
64
+ i {
65
+ -webkit-transform: scaleX(-1);
66
+ -moz-transform: scaleX(-1);
67
+ -o-transform: scaleX(-1);
68
+ transform: scaleX(-1);
69
+ filter: FlipH;
70
+ -ms-filter: 'FlipH';
71
+ }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,143 @@
1
+ #mainNav {
2
+ .navbar-collapse {
3
+ overflow: auto;
4
+
5
+ max-height: 75vh;
6
+ .navbar-nav {
7
+ .nav-item {
8
+ .nav-link {
9
+ cursor: pointer;
10
+ }
11
+ }
12
+ }
13
+ .navbar-sidenav {
14
+ .nav-link-collapse:after {
15
+ float: right;
16
+
17
+ content: '\f107';
18
+
19
+ font-family: 'FontAwesome';
20
+ }
21
+ .nav-link-collapse.collapsed:after {
22
+ content: '\f105';
23
+ }
24
+ .sidenav-second-level,
25
+ .sidenav-third-level {
26
+ padding-left: 0;
27
+ > li > a {
28
+ display: block;
29
+
30
+ padding: 0.5em 0;
31
+ &:focus,
32
+ &:hover {
33
+ text-decoration: none;
34
+ }
35
+ }
36
+ }
37
+ .sidenav-second-level > li > a {
38
+ padding-left: 1em;
39
+ }
40
+ .sidenav-third-level > li > a {
41
+ padding-left: 2em;
42
+ }
43
+ }
44
+ .sidenav-toggler {
45
+ display: none;
46
+ }
47
+ .navbar-nav > .nav-item.dropdown {
48
+ > .nav-link {
49
+ position: relative;
50
+
51
+ min-width: 45px;
52
+ &:after {
53
+ float: right;
54
+
55
+ width: auto;
56
+
57
+ content: '\f105';
58
+
59
+ border: none;
60
+
61
+ font-family: 'FontAwesome';
62
+ }
63
+ .indicator {
64
+ position: absolute;
65
+ top: 5px;
66
+ left: 21px;
67
+ font-size: 10px;
68
+ }
69
+ }
70
+ &.show > .nav-link:after {
71
+ content: '\f107';
72
+ }
73
+ .dropdown-menu > .dropdown-item > .dropdown-message {
74
+ overflow: hidden;
75
+
76
+ max-width: none;
77
+
78
+ text-overflow: ellipsis;
79
+ }
80
+ }
81
+ }
82
+ @media (min-width: 992px) {
83
+ .navbar-brand {
84
+ width: $sidenav-base-width;
85
+ }
86
+ .navbar-collapse {
87
+ overflow: visible;
88
+
89
+ max-height: none;
90
+ .navbar-sidenav {
91
+ position: absolute;
92
+ top: 0;
93
+ left: 0;
94
+
95
+ -webkit-flex-direction: column;
96
+ -ms-flex-direction: column;
97
+ flex-direction: column;
98
+
99
+ margin-top: $navbar-base-height;
100
+
101
+ > .nav-item {
102
+ width: $sidenav-base-width;
103
+ padding: 0;
104
+ > .nav-link {
105
+ padding: 1em;
106
+ }
107
+ .sidenav-second-level,
108
+ .sidenav-third-level {
109
+ padding-left: 0;
110
+
111
+ list-style: none;
112
+
113
+ > li {
114
+ width: $sidenav-base-width;
115
+ > a {
116
+ padding: 1em;
117
+ }
118
+ }
119
+ }
120
+ .sidenav-second-level > li > a {
121
+ padding-left: 2.75em;
122
+ }
123
+ .sidenav-third-level > li > a {
124
+ padding-left: 3.75em;
125
+ }
126
+ }
127
+ }
128
+ .navbar-nav > .nav-item.dropdown {
129
+ > .nav-link {
130
+ min-width: 0;
131
+ &:after {
132
+ width: 24px;
133
+
134
+ text-align: center;
135
+ }
136
+ }
137
+ .dropdown-menu > .dropdown-item > .dropdown-message {
138
+ max-width: 300px;
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }