mazer-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/Iconly---Bold.eot +0 -0
  3. data/assets/fonts/Iconly---Bold.svg +19 -0
  4. data/assets/fonts/Iconly---Bold.ttf +0 -0
  5. data/assets/fonts/Iconly---Bold.woff +0 -0
  6. data/assets/fonts/iconly/Iconly---Bold.eot +0 -0
  7. data/assets/fonts/iconly/Iconly---Bold.svg +19 -0
  8. data/assets/fonts/iconly/Iconly---Bold.ttf +0 -0
  9. data/assets/fonts/iconly/Iconly---Bold.woff +0 -0
  10. data/assets/images/bg/4853433.png +0 -0
  11. data/assets/images/faces/1.jpg +0 -0
  12. data/assets/images/faces/2.jpg +0 -0
  13. data/assets/images/faces/3.jpg +0 -0
  14. data/assets/images/faces/4.jpg +0 -0
  15. data/assets/images/faces/5.jpg +0 -0
  16. data/assets/images/faces/6.jpg +0 -0
  17. data/assets/images/faces/7.jpg +0 -0
  18. data/assets/images/faces/8.jpg +0 -0
  19. data/assets/images/logo/favicon.png +0 -0
  20. data/assets/images/logo/favicon.svg +1 -0
  21. data/assets/images/logo/logo.svg +1 -0
  22. data/assets/images/samples/1.png +0 -0
  23. data/assets/images/samples/2.png +0 -0
  24. data/assets/images/samples/3.png +0 -0
  25. data/assets/images/samples/4.png +0 -0
  26. data/assets/images/samples/architecture1.jpg +0 -0
  27. data/assets/images/samples/banana.jpg +0 -0
  28. data/assets/images/samples/bg-mountain.jpg +0 -0
  29. data/assets/images/samples/building.jpg +0 -0
  30. data/assets/images/samples/error-403.svg +94 -0
  31. data/assets/images/samples/error-404.svg +88 -0
  32. data/assets/images/samples/error-500.svg +76 -0
  33. data/assets/images/samples/jump.jpg +0 -0
  34. data/assets/images/samples/motorcycle.jpg +0 -0
  35. data/assets/images/samples/origami.jpg +0 -0
  36. data/assets/images/samples/water.jpg +0 -0
  37. data/assets/images/svg-loaders/audio.svg +29 -0
  38. data/assets/images/svg-loaders/ball-triangle.svg +1 -0
  39. data/assets/images/svg-loaders/bars.svg +1 -0
  40. data/assets/images/svg-loaders/circles.svg +20 -0
  41. data/assets/images/svg-loaders/grid.svg +1 -0
  42. data/assets/images/svg-loaders/hearts.svg +1 -0
  43. data/assets/images/svg-loaders/oval.svg +1 -0
  44. data/assets/images/svg-loaders/puff.svg +1 -0
  45. data/assets/images/svg-loaders/rings.svg +1 -0
  46. data/assets/images/svg-loaders/spinning-circles.svg +1 -0
  47. data/assets/images/svg-loaders/tail-spin.svg +1 -0
  48. data/assets/images/svg-loaders/three-dots.svg +1 -0
  49. data/assets/javascripts/app.js +9 -0
  50. data/assets/javascripts/bootstrap.js +6 -0
  51. data/assets/javascripts/components/dark.js +65 -0
  52. data/assets/javascripts/components/sidebar.js +185 -0
  53. data/assets/javascripts/helper/isDesktop.js +1 -0
  54. data/assets/javascripts/initTheme.js +5 -0
  55. data/assets/javascripts/mazer.js +9 -0
  56. data/assets/javascripts/pages/ckeditor.js +3 -0
  57. data/assets/javascripts/pages/component-toasts.js +9 -0
  58. data/assets/javascripts/pages/dashboard.js +158 -0
  59. data/assets/javascripts/pages/datatables.js +1 -0
  60. data/assets/javascripts/pages/filepond.js +181 -0
  61. data/assets/javascripts/pages/form-editor.js +27 -0
  62. data/assets/javascripts/pages/form-element-select.js +14 -0
  63. data/assets/javascripts/pages/horizontal-layout.js +43 -0
  64. data/assets/javascripts/pages/jquery.js +1 -0
  65. data/assets/javascripts/pages/jsvectormap.js +60 -0
  66. data/assets/javascripts/pages/parsley.js +55 -0
  67. data/assets/javascripts/pages/quill.js +27 -0
  68. data/assets/javascripts/pages/rater-js.js +38 -0
  69. data/assets/javascripts/pages/simple-datatables.js +46 -0
  70. data/assets/javascripts/pages/summernote.js +20 -0
  71. data/assets/javascripts/pages/sweetalert2.js +142 -0
  72. data/assets/javascripts/pages/tinymce.js +22 -0
  73. data/assets/javascripts/pages/toastify.js +81 -0
  74. data/assets/javascripts/pages/ui-apexchart.js +521 -0
  75. data/assets/javascripts/pages/ui-chartjs.js +445 -0
  76. data/assets/javascripts/pages/ui-todolist.js +5 -0
  77. data/assets/stylesheets/_fonts.scss +5 -0
  78. data/assets/stylesheets/_mazer.scss +103 -0
  79. data/assets/stylesheets/_utilities.scss +53 -0
  80. data/assets/stylesheets/_variables.scss +1626 -0
  81. data/assets/stylesheets/app.scss +20 -0
  82. data/assets/stylesheets/bootstrap.scss +58 -0
  83. data/assets/stylesheets/components/_alert.scss +43 -0
  84. data/assets/stylesheets/components/_avatar.scss +78 -0
  85. data/assets/stylesheets/components/_badge.scss +20 -0
  86. data/assets/stylesheets/components/_breadcrumb.scss +10 -0
  87. data/assets/stylesheets/components/_buttons.scss +62 -0
  88. data/assets/stylesheets/components/_card.scss +126 -0
  89. data/assets/stylesheets/components/_carousel.scss +6 -0
  90. data/assets/stylesheets/components/_divider.scss +37 -0
  91. data/assets/stylesheets/components/_dropdowns.scss +24 -0
  92. data/assets/stylesheets/components/_forms.scss +213 -0
  93. data/assets/stylesheets/components/_icons.scss +48 -0
  94. data/assets/stylesheets/components/_modal.scss +46 -0
  95. data/assets/stylesheets/components/_navbar.scss +280 -0
  96. data/assets/stylesheets/components/_navs.scss +32 -0
  97. data/assets/stylesheets/components/_pagination.scss +39 -0
  98. data/assets/stylesheets/components/_progress.scss +32 -0
  99. data/assets/stylesheets/components/_sidebar.scss +171 -0
  100. data/assets/stylesheets/components/_table.scss +36 -0
  101. data/assets/stylesheets/iconly.scss +327 -0
  102. data/assets/stylesheets/layouts/main.scss +48 -0
  103. data/assets/stylesheets/mixins/_navbar.scss +20 -0
  104. data/assets/stylesheets/pages/auth.scss +51 -0
  105. data/assets/stylesheets/pages/chat.scss +145 -0
  106. data/assets/stylesheets/pages/datatables.scss +7 -0
  107. data/assets/stylesheets/pages/dripicons.scss +20 -0
  108. data/assets/stylesheets/pages/email.scss +625 -0
  109. data/assets/stylesheets/pages/error.scss +22 -0
  110. data/assets/stylesheets/pages/form-element-select.scss +7 -0
  111. data/assets/stylesheets/pages/simple-datatables.scss +20 -0
  112. data/assets/stylesheets/pages/summernote.scss +4 -0
  113. data/assets/stylesheets/themes/dark/_mazer-dark.scss +82 -0
  114. data/assets/stylesheets/themes/dark/_root.scss +55 -0
  115. data/assets/stylesheets/themes/dark/_variables-dark.scss +329 -0
  116. data/assets/stylesheets/themes/dark/app-dark.scss +54 -0
  117. data/assets/stylesheets/widgets/chat.scss +26 -0
  118. data/assets/stylesheets/widgets/todo.scss +33 -0
  119. data/lib/mazer_rails/engine.rb +16 -0
  120. data/lib/mazer_rails/version.rb +5 -0
  121. data/lib/mazer_rails.rb +77 -0
  122. data/mazer-rails.gemspec +5 -5
  123. data/yarn.lock +9209 -0
  124. metadata +151 -4
  125. data/lib/mazer/rails/version.rb +0 -7
  126. data/lib/mazer/rails.rb +0 -10
@@ -0,0 +1,48 @@
1
+ .bi {
2
+ width: 1rem;
3
+ height: 1rem;
4
+ &.bi-middle {
5
+ &:before {
6
+ vertical-align: middle;
7
+ }
8
+ }
9
+ &.bi-sub {
10
+ &:before {
11
+ vertical-align: sub;
12
+ }
13
+ }
14
+ }
15
+ .stats-icon {
16
+ width: 3rem;
17
+ height:3rem;
18
+ border-radius: .5rem;
19
+ background-color: black;
20
+ float: right;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ i {
25
+ color: #fff;
26
+ font-size: 1.7rem;
27
+ }
28
+ &.purple {
29
+ background-color: #9694ff;
30
+ }
31
+ &.blue {
32
+ background-color: #57caeb;
33
+ }
34
+ &.red {
35
+ background-color: #ff7976;
36
+ }
37
+ &.green {
38
+ background-color: #5ddab4;
39
+ }
40
+ @media (max-width: 767px) {
41
+ float: left;
42
+ margin-bottom: .4rem;
43
+ }
44
+ }
45
+
46
+ .burger-btn {
47
+ display:none;
48
+ }
@@ -0,0 +1,46 @@
1
+ .modal {
2
+ .modal-content {
3
+ box-shadow: -8px 12px 18px 0 rgba(25,42,70,.13);
4
+ border: none;
5
+ }
6
+ .modal-full {
7
+ max-width: 94%
8
+ }
9
+ .white {
10
+ color: white;
11
+ }
12
+ .modal-header {
13
+ display:flex;
14
+ justify-content: space-between;
15
+ align-items: center;
16
+ .modal-title {
17
+ font-size: $modal-header-font-size;
18
+ }
19
+ .close {
20
+ padding: 7px 10px;
21
+ border-radius: 50%;
22
+ background:none;
23
+ border: none;
24
+ &:hover {
25
+ background: $gray-300
26
+ }
27
+ }
28
+ i, svg {
29
+ font-size: 12px;
30
+ height: 12px;
31
+ width: 12px;
32
+ }
33
+ }
34
+ .modal-footer {
35
+ padding: $modal-inner-padding;
36
+ }
37
+
38
+ &.modal-borderless {
39
+ .modal-header {
40
+ border-bottom: 0;
41
+ }
42
+ .modal-footer {
43
+ border-top: 0;
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,280 @@
1
+
2
+ .layout-navbar {
3
+ --navbar-height: 90px;
4
+ }
5
+ .layout-navbar.navbar-fixed {
6
+ display: block !important;
7
+ }
8
+ .navbar-fixed > header {
9
+ display: unset;
10
+ height: var(--navbar-height);
11
+ }
12
+ .navbar-fixed .navbar-top {
13
+ position: sticky;
14
+ background-color: var(--bs-body-bg);
15
+ z-index: 9;
16
+ top: 0;
17
+ width: inherit;
18
+ }
19
+ .navbar {
20
+ height: var(--navbar-height);
21
+ padding: 1.5rem;
22
+ .navbar-brand img {
23
+ height: 1.5rem;
24
+ }
25
+ .user-menu img {
26
+ width: 39px;
27
+ height: 39px
28
+ }
29
+
30
+ &.navbar-header {
31
+ li {
32
+ display: flex;
33
+ align-items: center;
34
+ &.nav-icon {
35
+ margin-right: .4rem;
36
+ .nav-link {
37
+ display:block;
38
+ padding: .4rem;
39
+ border-radius: 50%;
40
+ &:hover {
41
+ background-color: $gray-200;
42
+ }
43
+ }
44
+ }
45
+ }
46
+ .dropdown > a {
47
+ color: $gray-600;
48
+ font-weight: 600;
49
+
50
+ svg {
51
+ height: 24px;
52
+ width: 24px;
53
+ }
54
+ &:after {
55
+ display:none;
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ .navbar-top {
62
+ .notification-dropdown {
63
+ min-width: 20rem;
64
+ }
65
+ .notification-item {
66
+ margin-bottom: .4rem;
67
+ a {
68
+ color: $body-color;
69
+ }
70
+ p {
71
+ margin-bottom: 0;
72
+ }
73
+ }
74
+
75
+ .notification-icon {
76
+ width: 40px;
77
+ height: 40px;
78
+ border-radius: 50%;
79
+ color: white;
80
+ text-align: center;
81
+ vertical-align: middle;
82
+ i {
83
+ vertical-align: -moz-middle-with-baseline;
84
+ font-size: 20px;
85
+ }
86
+ }
87
+ }
88
+
89
+ .layout-horizontal {
90
+ .header-top {
91
+ background-color: $horizontal-header-bg;
92
+ padding:1.1rem;
93
+
94
+ .container {
95
+ display: flex;
96
+ justify-content: space-between;
97
+ align-items: center;
98
+ }
99
+ .burger-btn i {
100
+ height: 20px;
101
+ display: inline-block;
102
+ }
103
+
104
+ .logo img {
105
+ height: 20px
106
+ }
107
+ }
108
+ .header-top-right {
109
+ display: flex;
110
+ gap: 1rem;
111
+ align-items: center;
112
+ }
113
+ .main-navbar {
114
+ background-color: $horizontal-navbar-bg;
115
+ padding: 1rem;
116
+ ul {
117
+ list-style: none;
118
+ padding: 0;
119
+ display: flex;
120
+ gap: 2rem;
121
+ margin-bottom: 0;
122
+ .menu-link {
123
+ display: flex;
124
+ position: relative;
125
+ flex-direction: row;
126
+ padding: .4rem 0;
127
+ gap: .5rem;
128
+ align-items: center;
129
+ span {
130
+ height: 20px;
131
+
132
+ & > i {
133
+ margin-right: 3px;
134
+ }
135
+ }
136
+ }
137
+ & > .menu-item {
138
+ position: relative;
139
+ .menu-link {
140
+ color: $gray-300;
141
+ }
142
+ &.has-sub .menu-link {
143
+ padding-right: 1.3rem;
144
+ &:after {
145
+ content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23ccc" opacity="0.7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" ></polyline></svg>');
146
+ position: absolute;
147
+ color: #fff;
148
+ right: -3px;
149
+ top: 7px;
150
+ display: block;
151
+ }
152
+ }
153
+ &:hover {
154
+ .menu-link {
155
+ color: white;
156
+ }
157
+ .submenu {
158
+ visibility: visible;
159
+ opacity: 1;
160
+ top: 100%;
161
+ }
162
+ }
163
+
164
+ }
165
+ }
166
+ .submenu {
167
+ @include submenu;
168
+
169
+ .submenu-group-wrapper {
170
+ position: relative;
171
+ }
172
+
173
+ .submenu-group {
174
+ display: table-cell;
175
+ padding: .5rem .3rem .3rem .5rem;
176
+ flex-wrap: wrap;
177
+ max-height: 200px;
178
+ min-width: 200px;
179
+
180
+ .submenu-item {
181
+ position: relative;
182
+ &.has-sub .submenu-link {
183
+ position: relative;
184
+ &:after {
185
+ position: absolute;
186
+ right: 10px;
187
+ top: 50%;
188
+ transform: translateY(-40%);
189
+ content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
190
+ }
191
+ }
192
+ a {
193
+ padding: .6rem;
194
+ padding-right: 2rem;
195
+ color: $horizontal-submenu-link-color;
196
+ display: block;
197
+ &:hover {
198
+ color: $horizontal-submenu-link-hover-color
199
+ }
200
+ }
201
+ &:hover {
202
+ .subsubmenu {
203
+ visibility: visible;
204
+ top: 0rem;
205
+ opacity: 1;
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ .subsubmenu {
212
+ @include submenu;
213
+ gap: 0;
214
+ top: 1rem;
215
+ left: 100%;
216
+ display: flex;
217
+ padding: .5rem;
218
+ flex-direction: column;
219
+ border-radius: .3rem;
220
+ min-width: 200px;
221
+ }
222
+
223
+ @media screen and (max-width: 1199px) {
224
+ background-color: lighten($primary, 47%);
225
+ overflow: hidden;
226
+ padding: 1rem;
227
+ display: none;
228
+
229
+ &.active {
230
+ max-height: initial;
231
+ }
232
+ ul {
233
+ flex-direction: column;
234
+ gap: 0;
235
+
236
+ .menu-item {
237
+ &.has-sub .menu-link:after {
238
+ content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23888" opacity="0.7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" ></polyline></svg>') !important;
239
+ top: unset;
240
+ }
241
+ }
242
+ .menu-link {
243
+ color: $gray-600 !important;
244
+ padding: 1rem 0;
245
+ }
246
+ }
247
+ .submenu {
248
+ @include submenu-responsive;
249
+ transition: all .2s;
250
+ padding-top: 0;
251
+ display: none;
252
+ padding-bottom: 0;
253
+ .submenu-group-wrapper {
254
+ display: flex;
255
+ flex-direction: column;
256
+ max-height: unset;
257
+ }
258
+ .submenu-group {
259
+ max-height: unset;
260
+ padding: 0;
261
+ min-width: unset;
262
+ width: 100%;
263
+ }
264
+ &.active {
265
+ display: block;
266
+ }
267
+ }
268
+ .subsubmenu {
269
+ @include submenu-responsive;
270
+ display: none;
271
+ &.active {
272
+ display: block;
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
278
+ #topbarUserDropdown:after {
279
+ margin-left: 1rem;
280
+ }
@@ -0,0 +1,32 @@
1
+ .nav-pills {
2
+ .nav-link {
3
+ &.active {
4
+ box-shadow: 0 2px 10px rgba(map-get($theme-colors, 'primary'), .5);
5
+ }
6
+ }
7
+ }
8
+ .nav-tabs {
9
+ border: none ;
10
+ .nav-link {
11
+ border: none;
12
+ }
13
+ .nav-link:hover {
14
+ border:none;
15
+ text-shadow: 0 0 2px rgba(map-get($theme-colors, 'primary'),.3);
16
+ }
17
+ .nav-link.active {
18
+ border: none;
19
+ position: relative;
20
+ color: map-get($theme-colors, 'primary');
21
+ &:after {
22
+ content: '';
23
+ width: 100%;
24
+ position: absolute;
25
+ bottom: 0;
26
+ height: 2px;
27
+ background-color: map-get($theme-colors, 'primary');
28
+ left: 0;
29
+ box-shadow: 0 2px 5px rgba(map-get($theme-colors, 'primary'),.5);
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,39 @@
1
+ .pagination {
2
+ @each $key, $value in $theme-colors {
3
+ &.pagination-#{$key} {
4
+ .page-item.active {
5
+ .page-link {
6
+ background-color: $value;
7
+ border-color: $value;
8
+ box-shadow: 0 2px 5px rgba($value,.3);
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }
14
+ .page-item {
15
+ &:not(.active) {
16
+ .page-link {
17
+ &:hover {
18
+ color: $pagination-hover-color
19
+ }
20
+ }
21
+ }
22
+ i, svg {
23
+ font-size: 13px;
24
+ width: 13px;
25
+ height: 13px;
26
+ }
27
+ .page-link {
28
+ font-size: .875rem;
29
+ &:focus {
30
+ box-shadow: none;
31
+ }
32
+ }
33
+ &:first-child {
34
+ margin-right: .4rem;
35
+ }
36
+ &:last-child {
37
+ margin-left: .4rem;
38
+ }
39
+ }
@@ -0,0 +1,32 @@
1
+ .progress {
2
+ @each $key, $value in $theme-colors {
3
+ &.progress-#{$key} {
4
+ overflow: visible;
5
+ .progress-bar {
6
+ background-color: $value;
7
+ border-radius: $progress-border-radius;
8
+ }
9
+ }
10
+ }
11
+ &.progress-sm {
12
+ height: .4rem;
13
+ }
14
+ &.progress-lg {
15
+ height: 1.5rem;
16
+ }
17
+
18
+ .progress-bar {
19
+ position: relative;
20
+ overflow: visible;
21
+
22
+ &.progress-label:before {
23
+ content: attr(aria-valuenow) '%';
24
+ position: absolute;
25
+ right: 0;
26
+ top: -1.3rem;
27
+ color: $gray-700;
28
+ font-size: .8rem;
29
+
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,171 @@
1
+ #sidebar {
2
+ &.active {
3
+ .sidebar-wrapper {
4
+ left: 0;
5
+ }
6
+ }
7
+ &:not(.active) {
8
+ .sidebar-wrapper {
9
+ left: -300px;
10
+ }
11
+ & ~ #main {
12
+ margin-left: 0;
13
+ }
14
+ }
15
+ }
16
+ .sidebar-wrapper {
17
+ width: 300px;
18
+ height: 100vh;
19
+ position: fixed;
20
+ top: 0;
21
+ z-index: 10;
22
+ overflow-y: auto;
23
+ background-color: $sidebar-bg;
24
+ bottom: 0;
25
+ transition: left .5s ease-out;
26
+ .sidebar-header {
27
+ padding: 2rem 2rem 1rem;
28
+ font-size: 2rem;
29
+ font-weight: bold;
30
+
31
+ img {
32
+ height: 1.2rem;
33
+ }
34
+ }
35
+ .sidebar-toggler.x {
36
+ position: absolute;
37
+ right: 1.75rem;
38
+ top: .25rem;
39
+ display:none;
40
+ }
41
+
42
+ .menu {
43
+ padding-left: 0;
44
+ margin-top: 2rem;
45
+ padding: 0 2rem;
46
+ font-weight: 600;
47
+ .sidebar-title {
48
+ padding: 0 1rem;
49
+ margin: 1.5rem 0 1rem;
50
+ font-size: 1rem;
51
+ list-style: none;
52
+ font-weight: 600;
53
+ color: $sidebar-link-color;
54
+ }
55
+
56
+ .sidebar-link {
57
+ display: block;
58
+ padding: .7rem 1rem;
59
+ font-size: 1rem;
60
+ display: flex;
61
+ align-items: center;
62
+ border-radius: .5rem;
63
+ transition: all .5s;
64
+ text-decoration: none;
65
+ color: $sidebar-link-color;
66
+ svg,i {
67
+ color:#7c8db5;
68
+ }
69
+ i:before {
70
+ vertical-align: top;
71
+ }
72
+ span {
73
+ margin-left: 1rem;
74
+ }
75
+ &:hover {
76
+ background-color: $sidebar-link-hover-bg;
77
+ }
78
+ }
79
+ .sidebar-item {
80
+ list-style: none;
81
+ margin-top: .5rem;
82
+ position: relative;
83
+ &.has-sub {
84
+ .sidebar-link:after {
85
+ content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:gray;stroke-width:1"></polyline></svg>');
86
+ position: absolute;
87
+ color: #ccc;
88
+ right: 15px;
89
+ top: 12px;
90
+ display:block;
91
+ }
92
+ }
93
+ &.active {
94
+ &.has-sub {
95
+ .sidebar-link:after {
96
+ content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:white;stroke-width:1"></polyline></svg>');
97
+ }
98
+ }
99
+ >.sidebar-link {
100
+ background-color: $primary;
101
+ span {
102
+ color: #fff;
103
+ }
104
+ svg,i {
105
+ fill: white;
106
+ color:white;
107
+ }
108
+
109
+ &.has-sub:after {
110
+ content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:white;stroke-width:1"></polyline></svg>');
111
+ }
112
+ }
113
+ }
114
+ }
115
+ .submenu {
116
+ list-style: none;
117
+ display: none;
118
+ // max-height: 0;
119
+ transition: max-height 2s cubic-bezier(0, 0.55, 0.45, 1);
120
+ overflow: hidden;
121
+ &.active {
122
+ max-height: 999px;
123
+ display: block;
124
+ }
125
+ .submenu-item {
126
+ &.active {
127
+ position:relative;
128
+ & > a {
129
+ color: $primary;
130
+ font-weight: bold;
131
+ }
132
+ }
133
+ a {
134
+ padding: .7rem 2rem;
135
+ display: block;
136
+ color: $sidebar-submenu-color;
137
+ font-size: .85rem;
138
+ font-weight: 600;
139
+ letter-spacing: .5px;
140
+ transition: all .3s;
141
+ &:hover {
142
+ margin-left: .3rem;
143
+ color: $sidebar-submenu-hover-color;
144
+ }
145
+ }
146
+ }
147
+
148
+ }
149
+ }
150
+ }
151
+ .sidebar-backdrop {
152
+ position: fixed;
153
+ top: 0;
154
+ left: 0;
155
+ width: 100%;
156
+ height: 100%;
157
+ background-color: rgba(0, 0, 0, 0.5);
158
+ z-index: 9;
159
+ }
160
+ @media screen and (max-width: 1199px) {
161
+ .sidebar-wrapper {
162
+ position:absolute;
163
+ left: -300px;
164
+ .sidebar-toggler.x {
165
+ display:block;
166
+ }
167
+ }
168
+ }
169
+ @media screen and (min-width: 1200px) {
170
+
171
+ }
@@ -0,0 +1,36 @@
1
+ .table td, .table thead th {
2
+ vertical-align: middle;
3
+ }
4
+
5
+ .table:not(.table-borderless) thead th {
6
+ border-bottom: 1px solid #dedede !important;
7
+ }
8
+
9
+ .table {
10
+ &.table-sm {
11
+ tr td, tr th {
12
+ padding: 1rem;
13
+ }
14
+ }
15
+ &.table-md {
16
+ tr td, tr th {
17
+ padding: 1rem;
18
+ }
19
+ }
20
+ &.table-lg {
21
+ tr td, tr th {
22
+ padding: 1.3rem;
23
+ }
24
+ }
25
+ }
26
+
27
+ .dataTable-table {
28
+ @extend .table
29
+ }
30
+
31
+ .dataTable-container {
32
+ overflow-x:auto
33
+ }
34
+ .dataTables_length {
35
+ margin-bottom: .5rem;
36
+ }