admin-lte 4.0.0-alpha2 → 4.0.0-beta1

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 (142) hide show
  1. package/.bundlewatch.config.json +6 -6
  2. package/.cache/.eslintcache +1 -1
  3. package/.cache/.stylelintcache +1 -1
  4. package/.gitpod.yml +1 -1
  5. package/README.md +9 -4
  6. package/dist/assets/img/AdminLTEFullLogo.png +0 -0
  7. package/dist/css/adminlte.css +879 -418
  8. package/dist/css/adminlte.css.map +1 -1
  9. package/dist/css/adminlte.min.css +2 -2
  10. package/dist/css/adminlte.min.css.map +1 -1
  11. package/dist/css/adminlte.rtl.css +886 -416
  12. package/dist/css/adminlte.rtl.css.map +1 -1
  13. package/dist/css/adminlte.rtl.min.css +2 -2
  14. package/dist/css/adminlte.rtl.min.css.map +1 -1
  15. package/dist/js/adminlte.js +178 -96
  16. package/dist/js/adminlte.js.map +1 -1
  17. package/dist/js/adminlte.min.js +3 -3
  18. package/dist/js/adminlte.min.js.map +1 -1
  19. package/dist/pages/UI/general.html +895 -0
  20. package/dist/pages/UI/timeline.html +309 -515
  21. package/dist/pages/docs/browser-support.html +265 -433
  22. package/dist/pages/docs/color-mode.html +482 -615
  23. package/dist/pages/docs/components/main-header.html +516 -703
  24. package/dist/pages/docs/components/main-sidebar.html +550 -0
  25. package/dist/pages/docs/faq.html +433 -0
  26. package/dist/pages/docs/how-to-contribute.html +474 -0
  27. package/dist/pages/docs/introduction.html +463 -0
  28. package/dist/pages/docs/javascript/treeview.html +453 -0
  29. package/dist/pages/docs/layout.html +293 -433
  30. package/dist/pages/docs/license.html +436 -0
  31. package/dist/pages/examples/lockscreen.html +69 -0
  32. package/dist/pages/examples/login-v2.html +88 -0
  33. package/dist/pages/examples/login.html +49 -100
  34. package/dist/pages/examples/register-v2.html +90 -0
  35. package/dist/pages/examples/register.html +50 -103
  36. package/dist/pages/forms/general.html +430 -454
  37. package/dist/pages/index.html +466 -740
  38. package/dist/pages/index2.html +672 -1041
  39. package/dist/pages/index3.html +371 -629
  40. package/dist/pages/layout/collapsed-sidebar.html +441 -0
  41. package/dist/pages/layout/fixed-complete.html +541 -0
  42. package/dist/pages/layout/fixed-sidebar.html +263 -446
  43. package/dist/pages/layout/layout-rtl.html +263 -445
  44. package/dist/pages/layout/logo-switch.html +234 -0
  45. package/dist/pages/layout/sidebar-mini.html +263 -445
  46. package/dist/pages/layout/unfixed-sidebar.html +263 -445
  47. package/dist/pages/tables/simple.html +314 -499
  48. package/dist/pages/widgets/cards.html +326 -629
  49. package/dist/pages/widgets/info-box.html +348 -674
  50. package/dist/pages/widgets/small-box.html +279 -465
  51. package/index.html +6 -10
  52. package/package.json +34 -30
  53. package/src/assets/img/AdminLTEFullLogo.png +0 -0
  54. package/src/config/astro.config.mjs +3 -1
  55. package/src/html/.prettierrc.js +11 -0
  56. package/src/html/components/_head.astro +32 -26
  57. package/src/html/components/_scripts.astro +27 -28
  58. package/src/html/components/dashboard/_footer.astro +14 -8
  59. package/src/html/components/dashboard/_sidenav.astro +352 -113
  60. package/src/html/components/dashboard/_topbar.astro +99 -50
  61. package/src/html/components/docs/{browser-support/index.md → browser-support.mdx} +2 -1
  62. package/src/html/components/docs/color-mode.mdx +169 -0
  63. package/src/html/components/docs/components/{main-header-1.md → main-header.mdx} +60 -21
  64. package/src/html/components/docs/components/main-sidebar.mdx +129 -0
  65. package/src/html/components/docs/faq.mdx +11 -0
  66. package/src/html/components/docs/how-to-contribute.mdx +34 -0
  67. package/src/html/components/docs/{introduction/index.md → introduction.mdx} +30 -5
  68. package/src/html/components/docs/license.mdx +9 -0
  69. package/src/html/components/javascript/treeview.mdx +39 -0
  70. package/src/html/pages/UI/general.astro +1451 -0
  71. package/src/html/pages/UI/timeline.astro +111 -48
  72. package/src/html/pages/docs/browser-support.astro +24 -11
  73. package/src/html/pages/docs/color-mode.astro +91 -42
  74. package/src/html/pages/docs/components/main-header.astro +134 -46
  75. package/src/html/pages/docs/components/main-sidebar.astro +71 -0
  76. package/src/html/pages/docs/faq.astro +71 -0
  77. package/src/html/pages/docs/how-to-contribute.astro +71 -0
  78. package/src/html/pages/docs/{index.astro → introduction.astro} +24 -11
  79. package/src/html/pages/docs/javascript/treeview.astro +71 -0
  80. package/src/html/pages/docs/layout.astro +62 -19
  81. package/src/html/pages/docs/license.astro +71 -0
  82. package/src/html/pages/examples/lockscreen.astro +63 -0
  83. package/src/html/pages/examples/login-v2.astro +109 -0
  84. package/src/html/pages/examples/login.astro +34 -16
  85. package/src/html/pages/examples/register-v2.astro +116 -0
  86. package/src/html/pages/examples/register.astro +36 -18
  87. package/src/html/pages/forms/general.astro +568 -37
  88. package/src/html/pages/index.astro +403 -157
  89. package/src/html/pages/index2.astro +715 -255
  90. package/src/html/pages/index3.astro +298 -197
  91. package/src/html/pages/layout/collapsed-sidebar.astro +110 -0
  92. package/src/html/pages/layout/fixed-complete.astro +209 -0
  93. package/src/html/pages/layout/fixed-sidebar.astro +52 -27
  94. package/src/html/pages/layout/layout-rtl.astro +53 -28
  95. package/src/html/pages/layout/logo-switch.astro +212 -0
  96. package/src/html/pages/layout/sidebar-mini.astro +53 -28
  97. package/src/html/pages/layout/unfixed-sidebar.astro +51 -27
  98. package/src/html/pages/tables/simple.astro +226 -86
  99. package/src/html/pages/widgets/cards.astro +137 -72
  100. package/src/html/pages/widgets/info-box.astro +96 -41
  101. package/src/html/pages/widgets/small-box.astro +93 -32
  102. package/src/scss/_app-content.scss +52 -0
  103. package/src/scss/_app-footer.scss +1 -1
  104. package/src/scss/_app-main.scss +6 -5
  105. package/src/scss/_app-sidebar.scss +244 -70
  106. package/src/scss/_bootstrap-variables.scss +26 -22
  107. package/src/scss/_callouts.scss +6 -0
  108. package/src/scss/_cards.scss +32 -7
  109. package/src/scss/_compact-mode.scss +79 -0
  110. package/src/scss/_direct-chat.scss +5 -0
  111. package/src/scss/_dropdown.scss +1 -0
  112. package/src/scss/_info-box.scss +2 -10
  113. package/src/scss/_small-box.scss +0 -3
  114. package/src/scss/_timeline.scss +1 -0
  115. package/src/scss/_toasts.scss +33 -0
  116. package/src/scss/_variables.scss +32 -9
  117. package/src/scss/adminlte.scss +1 -2
  118. package/src/scss/mixins/_animations.scss +0 -5
  119. package/src/scss/pages/_lockscreen.scss +75 -0
  120. package/src/scss/pages/_login_and_register.scss +1 -3
  121. package/src/scss/parts/_core.scss +2 -0
  122. package/src/scss/parts/_extra-components.scss +1 -0
  123. package/src/scss/parts/_pages.scss +1 -0
  124. package/src/ts/adminlte.ts +3 -1
  125. package/src/ts/card-widget.ts +20 -52
  126. package/src/ts/direct-chat.ts +5 -4
  127. package/src/ts/fullscreen.ts +110 -0
  128. package/src/ts/layout.ts +5 -4
  129. package/src/ts/push-menu.ts +6 -22
  130. package/src/ts/treeview.ts +34 -11
  131. package/src/ts/util/index.ts +15 -13
  132. package/src/utils/index.js +20 -3
  133. package/.idea/AdminLTE.iml +0 -12
  134. package/.idea/codeStyles/Project.xml +0 -29
  135. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  136. package/.idea/inspectionProfiles/Project_Default.xml +0 -7
  137. package/.idea/modules.xml +0 -8
  138. package/.idea/php.xml +0 -28
  139. package/.idea/vcs.xml +0 -6
  140. package/dist/pages/docs.html +0 -617
  141. package/src/html/components/docs/color-mode/navbar-html.md +0 -80
  142. package/src/html/components/docs/color-mode/toggle-script.md +0 -48
@@ -22,7 +22,9 @@
22
22
 
23
23
  .sidebar-brand {
24
24
  display: flex;
25
- justify-content: space-between;
25
+ align-items: center;
26
+ justify-content: center;
27
+ height: $lte-app-header-height;
26
28
  padding: $lte-brand-link-padding-y $lte-brand-link-padding-x;
27
29
  overflow: hidden;
28
30
  font-size: $navbar-brand-font-size;
@@ -31,23 +33,38 @@
31
33
  @include transition(width $lte-transition-speed $lte-transition-fn);
32
34
 
33
35
  .brand-link {
34
- flex: 1;
35
- &:hover {
36
- text-decoration: none;
37
- }
36
+ display: flex;
37
+ align-items: center;
38
+ text-decoration: none;
38
39
 
39
40
  .brand-image {
40
41
  float: left;
41
42
  width: auto;
42
43
  max-height: 33px;
43
- margin-top: -3px;
44
- margin-right: .5rem;
45
- margin-left: .8rem;
46
44
  line-height: .8;
47
45
  }
46
+
47
+ .brand-image-xs {
48
+ float: left;
49
+ width: auto;
50
+ max-height: 33px;
51
+ margin-top: -.1rem;
52
+ line-height: .8;
53
+ }
54
+
55
+ .brand-image-xl {
56
+ width: auto;
57
+ max-height: 40px;
58
+ line-height: .8;
59
+
60
+ &.single {
61
+ margin-top: -.3rem;
62
+ }
63
+ }
48
64
  }
49
65
 
50
66
  .brand-text {
67
+ margin-left: .5rem;
51
68
  color: rgba(var(--#{$prefix}emphasis-color-rgb), .8);
52
69
  @include transition(flex $lte-transition-speed $lte-transition-fn, width $lte-transition-speed $lte-transition-fn);
53
70
  &:hover {
@@ -61,11 +78,31 @@
61
78
  padding-right: $lte-sidebar-padding-x;
62
79
  padding-bottom: $lte-sidebar-padding-y;
63
80
  padding-left: $lte-sidebar-padding-x;
64
- overflow-x: hidden;
65
- overflow-y: auto;
66
81
  @include scrollbar-color-gray();
67
82
  @include scrollbar-width-thin();
68
83
 
84
+ .nav-item {
85
+ max-width: 100%;
86
+ }
87
+
88
+ .nav-link {
89
+ display: flex;
90
+ justify-content: flex-start;
91
+
92
+ p {
93
+ overflow: hidden;
94
+ text-overflow: ellipsis;
95
+ white-space: nowrap;
96
+ }
97
+ }
98
+ .nav-icon {
99
+ display: flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+ min-width: 1.5rem;
103
+ max-width: 1.5rem;
104
+ }
105
+
69
106
  // Sidebar Menu. First level links
70
107
  .sidebar-menu > .nav-item {
71
108
  &.menu-open {
@@ -110,11 +147,6 @@
110
147
  // All links within the sidebar menu
111
148
  a {
112
149
  color: var(--#{$lte-prefix}sidebar-color);
113
-
114
- &:hover,
115
- &:focus {
116
- text-decoration: none;
117
- }
118
150
  }
119
151
 
120
152
  // All submenus
@@ -155,7 +187,10 @@
155
187
 
156
188
  .nav-arrow {
157
189
  @include transition(transform $lte-transition-fn $lte-transition-speed);
158
- transform: none #{"/*rtl:rotate(180deg)*/"};
190
+ transform: translateY(-50%) #{"/*rtl:append:rotate(180deg)*/"};
191
+ animation-name: fadeIn;
192
+ animation-duration: $lte-transition-speed;
193
+ animation-fill-mode: both;
159
194
  }
160
195
  }
161
196
  }
@@ -170,13 +205,12 @@
170
205
  .nav-link > .nav-arrow,
171
206
  .nav-link > p > .nav-arrow {
172
207
  position: absolute;
173
- top: .7rem;
208
+ top: 50%;
174
209
  right: 1rem;
175
210
  }
176
211
 
177
212
  .nav-link {
178
213
  position: relative;
179
- width: subtract(var(--#{$lte-prefix}sidebar-width), $lte-sidebar-padding-x * 2);
180
214
  @include transition(width $lte-transition-fn $lte-transition-speed);
181
215
  @include border-radius($border-radius);
182
216
 
@@ -185,10 +219,6 @@
185
219
  padding-left: .5rem;
186
220
  margin: 0;
187
221
  }
188
-
189
- .nav-icon {
190
- padding-left: .3rem;
191
- }
192
222
  }
193
223
 
194
224
  .nav-header {
@@ -201,6 +231,10 @@
201
231
  display: none;
202
232
  padding: 0;
203
233
  list-style: none;
234
+
235
+ .nav-indent & {
236
+ padding-left: $lte-sidebar-padding-x;
237
+ }
204
238
  }
205
239
 
206
240
  .menu-open {
@@ -210,12 +244,49 @@
210
244
 
211
245
  > .nav-link {
212
246
  .nav-arrow {
213
- transform: rotate(90deg) #{"/*rtl:rotate(90deg)*/"};
247
+ transform: translateY(-50%) rotate(90deg) #{"/*rtl:ignore*/"};
214
248
  }
215
249
  }
216
250
  }
217
251
  }
218
252
 
253
+ .nav-compact.nav-indent {
254
+ .nav-treeview {
255
+ padding-left: 0;
256
+
257
+ .nav-item {
258
+ padding-left: $lte-sidebar-padding-x;
259
+ }
260
+ }
261
+ }
262
+
263
+ .sidebar-mini.sidebar-collapse.nav-indent {
264
+ .app-sidebar:hover {
265
+ .nav-treeview {
266
+ padding-left: 0;
267
+
268
+ .nav-item {
269
+ padding-left: $lte-sidebar-padding-x;
270
+ }
271
+ }
272
+ }
273
+ }
274
+
275
+ .sidebar-collapse {
276
+ &.nav-compact.nav-indent {
277
+ .nav-treeview {
278
+ .nav-item {
279
+ padding-left: 0;
280
+ }
281
+ }
282
+ }
283
+ }
284
+
285
+ .nav-compact .nav-link {
286
+ @include border-radius(0);
287
+ margin-bottom: 0 !important;
288
+ }
289
+
219
290
  // A fix for text overflow while transitioning from sidebar mini to full sidebar
220
291
  .sidebar-menu,
221
292
  .sidebar-menu > .nav-header,
@@ -223,6 +294,42 @@
223
294
  white-space: nowrap;
224
295
  }
225
296
 
297
+ // Logo style
298
+ .logo-xs,
299
+ .logo-xl {
300
+ position: absolute;
301
+ visibility: visible;
302
+ opacity: 1;
303
+
304
+ &.brand-image-xs {
305
+ top: 12px;
306
+ left: 18px;
307
+ }
308
+
309
+ &.brand-image-xl {
310
+ top: 6px;
311
+ left: 12px;
312
+ }
313
+ }
314
+
315
+ .logo-xs {
316
+ visibility: hidden;
317
+ opacity: 0;
318
+
319
+ &.brand-image-xl {
320
+ top: 8px;
321
+ left: 16px;
322
+ }
323
+ }
324
+
325
+ .brand-link {
326
+ &.logo-switch {
327
+ &::before {
328
+ content: "\00a0";
329
+ }
330
+ }
331
+ }
332
+
226
333
  .sidebar-mini.sidebar-collapse {
227
334
  .app-sidebar {
228
335
  min-width: $lte-sidebar-mini-width;
@@ -237,50 +344,103 @@
237
344
  .sidebar-menu {
238
345
  .nav-link {
239
346
  width: $lte-sidebar-mini-width - $lte-sidebar-padding-x * 2;
347
+
348
+ p {
349
+ display: inline-block;
350
+ width: 0;
351
+ white-space: nowrap;
352
+ }
353
+ }
354
+ .nav-badge,
355
+ .nav-arrow {
356
+ display: none;
357
+ animation-name: fadeOut;
358
+ animation-duration: $lte-transition-speed;
359
+ animation-fill-mode: both;
240
360
  }
241
361
  }
242
362
 
243
- .sidebar-menu .nav-link p {
244
- width: 0;
245
- white-space: nowrap;
363
+ .brand-text {
364
+ display: inline-block;
365
+ max-width: 0;
366
+ overflow: hidden;
246
367
  }
247
368
 
248
369
  .sidebar-menu .nav-link p,
249
- .brand-text {
370
+ .brand-text,
371
+ .logo-xl,
372
+ .nav-arrow {
250
373
  visibility: hidden;
251
374
  animation-name: fadeOut;
375
+ animation-duration: $lte-transition-speed;
252
376
  animation-fill-mode: both;
253
377
  }
254
378
 
255
- &.sidebar-is-hover {
256
- .app-sidebar {
257
- min-width: var(--#{$lte-prefix}sidebar-width);
258
- max-width: var(--#{$lte-prefix}sidebar-width);
259
- }
379
+
380
+ .logo-xs {
381
+ display: inline-block;
382
+ visibility: visible;
383
+ animation-name: fadeIn;
384
+ animation-duration: $lte-transition-speed;
385
+ animation-fill-mode: both;
386
+ }
387
+
388
+ .app-sidebar:hover {
389
+ min-width: var(--#{$lte-prefix}sidebar-width);
390
+ max-width: var(--#{$lte-prefix}sidebar-width);
260
391
 
261
392
  .sidebar-menu .nav-header {
262
393
  display: inline-block;
263
394
  }
264
395
 
265
396
  .sidebar-menu .nav-link {
266
- width: subtract(var(--#{$lte-prefix}sidebar-width), $lte-sidebar-padding-x * 2);
397
+ width: auto;
267
398
  }
268
399
 
269
400
  .sidebar-menu .nav-link p,
270
- .brand-text {
401
+ .brand-text,
402
+ .logo-xl {
403
+ width: auto;
271
404
  margin-left: 0;
272
405
  visibility: visible;
273
406
  animation-name: fadeIn;
274
407
  animation-duration: $lte-transition-speed;
275
408
  animation-fill-mode: both;
276
409
  }
410
+
411
+ .brand-text {
412
+ display: inline;
413
+ max-width: inherit;
414
+ margin-left: .5rem;
415
+ animation-name: fadeIn;
416
+ animation-duration: $lte-transition-speed;
417
+ animation-fill-mode: both;
418
+ }
419
+ .nav-badge,
420
+ .nav-arrow {
421
+ display: inline-block;
422
+ visibility: visible;
423
+ animation-name: fadeIn;
424
+ animation-duration: $lte-transition-speed;
425
+ animation-fill-mode: both;
426
+ animation-delay: $lte-transition-speed;
427
+ }
428
+
429
+ .nav-link p {
430
+ padding-left: .5rem;
431
+ }
432
+ .logo-xs {
433
+ visibility: hidden;
434
+ animation-name: fadeOut;
435
+ animation-duration: $lte-transition-speed;
436
+ animation-fill-mode: both;
437
+ }
277
438
  }
278
439
  }
279
440
 
280
441
  .sidebar-collapse:not(.sidebar-mini) {
281
442
  .app-sidebar {
282
- // stylelint-disable-next-line
283
- margin-left: calc(var(--#{$lte-prefix}sidebar-width) * -1);
443
+ margin-left: calc(var(--#{$lte-prefix}sidebar-width) * -1); // stylelint-disable-line function-disallowed-list
284
444
  }
285
445
  }
286
446
 
@@ -292,39 +452,50 @@
292
452
  /* stylelint-disable-next-line scss/selector-no-union-class-name */
293
453
  &#{$infix} {
294
454
  @include media-breakpoint-up($next) {
455
+ &.layout-fixed-complete,
295
456
  &.layout-fixed {
457
+ .app-main-wrapper {
458
+ display: flex;
459
+ flex-direction: column;
460
+ min-height: 100vh;
461
+ }
462
+ .app-sidebar-wrapper {
463
+ position: relative;
464
+ }
465
+ .app-main {
466
+ flex: 1 1 auto;
467
+ overflow: auto;
468
+ }
296
469
  .app-sidebar {
297
- position: fixed;
470
+ position: sticky;
298
471
  top: 0;
299
472
  bottom: 0;
300
- left: 0;
301
473
  max-height: 100vh;
302
474
 
303
475
  .sidebar-wrapper {
304
- height: subtract(100vh, add($lte-app-header-height-inner, $lte-app-header-bottom-border-width));
476
+ height: subtract(100vh, add($lte-app-header-height, 1px));
305
477
  }
306
478
  }
307
-
308
- .app-header,
309
- .app-main,
310
- .app-footer {
311
- margin-left: var(--#{$lte-prefix}sidebar-width);
479
+ }
480
+ &.layout-fixed-complete {
481
+ .app-main-wrapper {
482
+ max-height: 100vh;
312
483
  }
313
-
314
- &.sidebar-collapse {
315
- .app-header,
316
- .app-main,
317
- .app-footer {
318
- margin-left: 0;
319
- }
484
+ }
485
+ &.sidebar-open {
486
+ .nav-link > .nav-badge,
487
+ .nav-link > p > .nav-badge {
488
+ animation-name: fadeIn;
489
+ animation-duration: $lte-transition-speed;
490
+ animation-fill-mode: both;
491
+ animation-delay: $lte-transition-speed;
320
492
  }
321
-
322
- &.sidebar-mini.sidebar-collapse {
323
- .app-header,
324
- .app-main,
325
- .app-footer {
326
- margin-left: $lte-sidebar-mini-width;
327
- }
493
+ .nav-link > .nav-arrow,
494
+ .nav-link > p > .nav-arrow {
495
+ animation-name: fadeIn;
496
+ animation-duration: $lte-transition-speed;
497
+ animation-fill-mode: both;
498
+ animation-delay: $lte-transition-speed;
328
499
  }
329
500
  }
330
501
  }
@@ -341,33 +512,27 @@
341
512
  position: fixed;
342
513
  top: 0;
343
514
  bottom: 0;
344
- left: 0;
345
515
  max-height: 100vh;
346
516
  margin-left: calc(var(--#{$lte-prefix}sidebar-width) * -1); // stylelint-disable-line function-disallowed-list
347
517
 
348
518
  .sidebar-wrapper {
349
- height: subtract(100vh, add($lte-app-header-height-inner, $lte-app-header-bottom-border-width));
350
- overflow-x: hidden;
351
- overflow-y: auto;
519
+ height: subtract(100vh, add($lte-app-header-height, 1px));
352
520
  }
353
521
  }
354
522
 
355
- &.sidebar-mini .app-sidebar {
356
- margin-left: -$lte-sidebar-mini-width;
357
- }
358
-
359
523
  &.sidebar-open {
360
524
  .app-sidebar {
361
525
  margin-left: 0;
362
526
  }
363
527
 
364
528
  .sidebar-overlay {
365
- position: fixed;
366
- top: 0;
367
- left: 0;
529
+ position: absolute;
530
+ inset: 0;
368
531
  z-index: $lte-zindex-sidebar-overlay;
369
532
  width: 100%;
370
533
  height: 100%;
534
+ cursor: pointer;
535
+ visibility: visible;
371
536
  background-color: rgba(0, 0, 0, .2);
372
537
  animation-name: fadeIn;
373
538
  animation-fill-mode: both;
@@ -378,6 +543,13 @@
378
543
  }
379
544
  }
380
545
 
546
+ .sidebar-menu .nav-link p,
547
+ .app-sidebar .brand-text,
548
+ .app-sidebar .logo-xs,
549
+ .app-sidebar .logo-xl {
550
+ @include transition(margin-left $lte-transition-speed linear, opacity $lte-transition-speed ease, visibility $lte-transition-speed ease);
551
+ }
552
+
381
553
  // To prevent onload transition and animation
382
554
  .app-loaded {
383
555
  &.sidebar-mini.sidebar-collapse {
@@ -400,7 +572,9 @@ body:not(.app-loaded) {
400
572
  .app-header,
401
573
  .app-sidebar,
402
574
  .app-main,
403
- .app-footer {
575
+ .app-footer,
576
+ .nav-arrow,
577
+ .nav-badge {
404
578
  @include transition(none !important);
405
579
  animation-duration: 0s !important;
406
580
  }
@@ -384,7 +384,7 @@ $enable-cssgrid: false !default;
384
384
  $enable-button-pointers: true !default;
385
385
  $enable-rfs: true !default;
386
386
  $enable-validation-icons: true !default;
387
- $enable-negative-margins: true !default;
387
+ $enable-negative-margins: true !default; // adminlte-modified
388
388
  $enable-deprecation-messages: true !default;
389
389
  $enable-important-utilities: true !default;
390
390
 
@@ -455,7 +455,7 @@ $body-emphasis-color: $black !default;
455
455
  // Style anchor elements.
456
456
 
457
457
  $link-color: $primary !default;
458
- $link-decoration: none !default; // adminlte-modified
458
+ $link-decoration: underline !default;
459
459
  $link-shade-percentage: 20% !default;
460
460
  $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
461
461
  $link-hover-decoration: null !default;
@@ -607,7 +607,7 @@ $aspect-ratios: (
607
607
 
608
608
  // scss-docs-start font-variables
609
609
  // stylelint-disable value-keyword-case
610
- $font-family-sans-serif: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default; // adminlte-modified
610
+ $font-family-sans-serif: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default; // adminlte-modified
611
611
  $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
612
612
  // stylelint-enable value-keyword-case
613
613
  $font-family-base: var(--#{$prefix}font-sans-serif) !default;
@@ -665,7 +665,7 @@ $headings-font-family: null !default;
665
665
  $headings-font-style: null !default;
666
666
  $headings-font-weight: 500 !default;
667
667
  $headings-line-height: 1.2 !default;
668
- $headings-color: null !default;
668
+ $headings-color: inherit !default;
669
669
  // scss-docs-end headings-variables
670
670
 
671
671
  // scss-docs-start display-headings
@@ -715,6 +715,10 @@ $hr-border-color: null !default; // Allows for inherited colors
715
715
  $hr-border-width: var(--#{$prefix}border-width) !default;
716
716
  $hr-opacity: .25 !default;
717
717
 
718
+ // scss-docs-start vr-variables
719
+ $vr-border-width: var(--#{$prefix}border-width) !default;
720
+ // scss-docs-end vr-variables
721
+
718
722
  $legend-margin-bottom: .5rem !default;
719
723
  $legend-font-size: 1.5rem !default;
720
724
  $legend-font-weight: null !default;
@@ -724,6 +728,7 @@ $dt-font-weight: $font-weight-bold !default;
724
728
  $list-inline-padding: .5rem !default;
725
729
 
726
730
  $mark-padding: .1875em !default;
731
+ $mark-color: $body-color !default;
727
732
  $mark-bg: $yellow-100 !default;
728
733
  // scss-docs-end type-variables
729
734
 
@@ -740,25 +745,25 @@ $table-cell-padding-x-sm: .25rem !default;
740
745
 
741
746
  $table-cell-vertical-align: top !default;
742
747
 
743
- $table-color: var(--#{$prefix}body-color) !default;
744
- $table-bg: transparent !default;
748
+ $table-color: var(--#{$prefix}emphasis-color) !default;
749
+ $table-bg: var(--#{$prefix}body-bg) !default;
745
750
  $table-accent-bg: transparent !default;
746
751
 
747
752
  $table-th-font-weight: null !default;
748
753
 
749
754
  $table-striped-color: $table-color !default;
750
755
  $table-striped-bg-factor: .05 !default;
751
- $table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
756
+ $table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
752
757
 
753
758
  $table-active-color: $table-color !default;
754
759
  $table-active-bg-factor: .1 !default;
755
- $table-active-bg: rgba($black, $table-active-bg-factor) !default;
760
+ $table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
756
761
 
757
762
  $table-hover-color: $table-color !default;
758
763
  $table-hover-bg-factor: .075 !default;
759
- $table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
764
+ $table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;
760
765
 
761
- $table-border-factor: .1 !default;
766
+ $table-border-factor: .2 !default;
762
767
  $table-border-width: var(--#{$prefix}border-width) !default;
763
768
  $table-border-color: var(--#{$prefix}border-color) !default;
764
769
 
@@ -848,6 +853,7 @@ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
848
853
  $btn-link-color: var(--#{$prefix}link-color) !default;
849
854
  $btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
850
855
  $btn-link-disabled-color: $gray-600 !default;
856
+ $btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)) !default;
851
857
 
852
858
  // Allows for customizing button radius independently from global border radius
853
859
  $btn-border-radius: var(--#{$prefix}border-radius) !default;
@@ -909,7 +915,7 @@ $input-disabled-border-color: null !default;
909
915
  $input-color: var(--#{$prefix}body-color) !default;
910
916
  $input-border-color: var(--#{$prefix}border-color) !default;
911
917
  $input-border-width: $input-btn-border-width !default;
912
- $input-box-shadow: $box-shadow-inset !default;
918
+ $input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
913
919
 
914
920
  $input-border-radius: var(--#{$prefix}border-radius) !default;
915
921
  $input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
@@ -1025,7 +1031,7 @@ $form-select-feedback-icon-size: $input-height-inner-half $input-height-i
1025
1031
  $form-select-border-width: $input-border-width !default;
1026
1032
  $form-select-border-color: $input-border-color !default;
1027
1033
  $form-select-border-radius: $input-border-radius !default;
1028
- $form-select-box-shadow: $box-shadow-inset !default;
1034
+ $form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1029
1035
 
1030
1036
  $form-select-focus-border-color: $input-focus-border-color !default;
1031
1037
  $form-select-focus-width: $input-focus-width !default;
@@ -1048,9 +1054,9 @@ $form-select-transition: $input-transition !default;
1048
1054
  $form-range-track-width: 100% !default;
1049
1055
  $form-range-track-height: .5rem !default;
1050
1056
  $form-range-track-cursor: pointer !default;
1051
- $form-range-track-bg: var(--#{$prefix}tertiary-bg) !default;
1057
+ $form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
1052
1058
  $form-range-track-border-radius: 1rem !default;
1053
- $form-range-track-box-shadow: $box-shadow-inset !default;
1059
+ $form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1054
1060
 
1055
1061
  $form-range-thumb-width: 1rem !default;
1056
1062
  $form-range-thumb-height: $form-range-thumb-width !default;
@@ -1226,7 +1232,8 @@ $navbar-dark-color: rgba($white, .55) !default;
1226
1232
  $navbar-dark-hover-color: rgba($white, .75) !default;
1227
1233
  $navbar-dark-active-color: $white !default;
1228
1234
  $navbar-dark-disabled-color: rgba($white, .25) !default;
1229
- $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1235
+ $navbar-dark-icon-color: $navbar-dark-color !default;
1236
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1230
1237
  $navbar-dark-toggler-border-color: rgba($white, .1) !default;
1231
1238
  $navbar-dark-brand-color: $navbar-dark-active-color !default;
1232
1239
  $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
@@ -1251,7 +1258,7 @@ $dropdown-border-width: var(--#{$prefix}border-width) !default;
1251
1258
  $dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
1252
1259
  $dropdown-divider-bg: $dropdown-border-color !default;
1253
1260
  $dropdown-divider-margin-y: $spacer * .5 !default;
1254
- $dropdown-box-shadow: $box-shadow !default;
1261
+ $dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;
1255
1262
 
1256
1263
  $dropdown-link-color: var(--#{$prefix}body-color) !default;
1257
1264
  $dropdown-link-hover-color: $dropdown-link-color !default;
@@ -1440,7 +1447,7 @@ $popover-border-width: var(--#{$prefix}border-width) !default;
1440
1447
  $popover-border-color: var(--#{$prefix}border-color-translucent) !default;
1441
1448
  $popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
1442
1449
  $popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
1443
- $popover-box-shadow: $box-shadow !default;
1450
+ $popover-box-shadow: var(--#{$prefix}box-shadow) !default;
1444
1451
 
1445
1452
  $popover-header-font-size: $font-size-base !default;
1446
1453
  $popover-header-bg: var(--#{$prefix}secondary-bg) !default;
@@ -1514,8 +1521,8 @@ $modal-content-border-color: var(--#{$prefix}border-color-translucent) !d
1514
1521
  $modal-content-border-width: var(--#{$prefix}border-width) !default;
1515
1522
  $modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
1516
1523
  $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
1517
- $modal-content-box-shadow-xs: $box-shadow-sm !default;
1518
- $modal-content-box-shadow-sm-up: $box-shadow !default;
1524
+ $modal-content-box-shadow-xs: var(--#{$prefix}box-shadow-sm) !default;
1525
+ $modal-content-box-shadow-sm-up: var(--#{$prefix}box-shadow) !default;
1519
1526
 
1520
1527
  $modal-backdrop-bg: $black !default;
1521
1528
  $modal-backdrop-opacity: .5 !default;
@@ -1553,9 +1560,6 @@ $alert-margin-bottom: 1rem !default;
1553
1560
  $alert-border-radius: var(--#{$prefix}border-radius) !default;
1554
1561
  $alert-link-font-weight: $font-weight-bold !default;
1555
1562
  $alert-border-width: var(--#{$prefix}border-width) !default;
1556
- $alert-bg-scale: -80% !default;
1557
- $alert-border-scale: -70% !default;
1558
- $alert-color-scale: 40% !default;
1559
1563
  $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1560
1564
  // scss-docs-end alert-variables
1561
1565
 
@@ -11,6 +11,11 @@
11
11
  background-color: var(--#{$lte-prefix}callout-bg, var(--bs-gray-100));
12
12
  border-left: .25rem solid var(--#{$lte-prefix}callout-border, var(--bs-gray-300));
13
13
 
14
+ .callout-link {
15
+ font-weight: $lte-callout-link-font-weight;
16
+ color: var(--#{$prefix}callout-link-color);
17
+ }
18
+
14
19
  h4 {
15
20
  margin-bottom: .25rem;
16
21
  }
@@ -30,5 +35,6 @@
30
35
  --#{$lte-prefix}callout-color: var(--#{$prefix}#{$name}-text-emphasis);
31
36
  --#{$lte-prefix}callout-bg: var(--#{$prefix}#{$name}-bg-subtle);
32
37
  --#{$lte-prefix}callout-border: var(--#{$prefix}#{$name}-border-subtle);
38
+ --#{$prefix}callout-link-color: var(--#{$prefix}#{$name}-text-emphasis);
33
39
  }
34
40
  }