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
@@ -5,9 +5,9 @@
5
5
  // Color variants
6
6
  .card {
7
7
  @include box-shadow($lte-card-shadow);
8
- margin-bottom: map-get($spacers, 3);
9
8
 
10
- &[class*="card-"]:not(.card-outline) {
9
+ &[class*="card-"]:not(.card-outline),
10
+ &[class*="text-bg-"]:not(.card-outline) {
11
11
  > .card-header {
12
12
  color: var(--#{$lte-prefix}card-variant-color);
13
13
  background-color: var(--#{$lte-prefix}card-variant-bg);
@@ -45,20 +45,41 @@
45
45
  display: none;
46
46
  }
47
47
 
48
+ [data-lte-icon="maximize"] {
49
+ display: none;
50
+ }
51
+
48
52
  .card-header,
49
53
  .card-footer {
50
54
  @include border-radius(0 !important);
51
55
  }
52
56
  }
53
57
 
58
+ &:not(.maximized-card) {
59
+ [data-lte-icon="minimize"] {
60
+ display: none;
61
+ }
62
+ }
63
+
54
64
  // collapsed mode
55
65
  &.collapsed-card {
66
+ [data-lte-icon="collapse"] {
67
+ display: none;
68
+ }
69
+
56
70
  .card-body,
57
71
  .card-footer {
58
72
  display: none;
59
73
  }
60
74
  }
61
75
 
76
+ &:not(.collapsed-card) {
77
+ [data-lte-icon="expand"] {
78
+ display: none;
79
+ }
80
+ }
81
+
82
+
62
83
  .nav.flex-column {
63
84
  > li {
64
85
  margin: 0;
@@ -151,6 +172,7 @@
151
172
  }
152
173
 
153
174
  a {
175
+ text-decoration: none;
154
176
  border-top: 3px solid transparent;
155
177
 
156
178
  &:hover {
@@ -249,11 +271,14 @@ html.maximized-card {
249
271
  .btn-tool {
250
272
  --#{$prefix}btn-padding-x: .5rem;
251
273
  --#{$prefix}btn-padding-y: .25rem;
252
- --#{$prefix}btn-color: var(--#{$prefix}tertiary-color);
253
- --#{$prefix}btn-bg: transparent;
254
- --#{$prefix}btn-box-shadow: none;
255
- --#{$prefix}btn-hover-color: var(--#{$prefix}secondary-color);
256
- --#{$prefix}btn-active-border-color: transparent;
274
+
275
+ &:not(.btn-tool-custom) {
276
+ --#{$prefix}btn-color: var(--#{$prefix}tertiary-color);
277
+ --#{$prefix}btn-bg: transparent;
278
+ --#{$prefix}btn-box-shadow: none;
279
+ --#{$prefix}btn-hover-color: var(--#{$prefix}secondary-color);
280
+ --#{$prefix}btn-active-border-color: transparent;
281
+ }
257
282
 
258
283
  margin: -$card-spacer-y 0;
259
284
  font-size: $font-size-sm;
@@ -0,0 +1,79 @@
1
+ .compact-mode {
2
+ .app-content-top-area:not(.app-content-top-area-sm):not(.app-content-top-area-md):not(.app-content-top-area-lg):not(.app-content-top-area-xl),
3
+ .app-content-bottom-area:not(.app-content-bottom-area-sm):not(.app-content-bottom-area-md):not(.app-content-bottom-area-lg):not(.app-content-bottom-area-xl) {
4
+ padding-top: $grid-gutter-width * .425;
5
+ padding-bottom: $grid-gutter-width * .425;
6
+ }
7
+ .app-content-top-area-sm,
8
+ .app-content-bottom-area-sm {
9
+ min-height: $lte-app-content-bottom-area-height-sm * .825;
10
+ }
11
+
12
+ .app-content-top-area-md,
13
+ .app-content-bottom-area-md {
14
+ min-height: $lte-app-content-bottom-area-height-md * .825;
15
+ }
16
+
17
+ .app-content-top-area-lg,
18
+ .app-content-bottom-area-lg {
19
+ min-height: $lte-app-content-bottom-area-height-lg * .825;
20
+ }
21
+
22
+ .app-content-top-area-xl,
23
+ .app-content-bottom-area-xl {
24
+ min-height: $lte-app-content-bottom-area-height-xl * .825;
25
+ }
26
+
27
+
28
+ .app-header {
29
+ max-height: $lte-app-header-height-compact;
30
+
31
+ .nav-link {
32
+ max-height: $nav-link-height-compact;
33
+ }
34
+ }
35
+
36
+ .nav-link {
37
+ --bs-nav-link-padding-y: .25rem;
38
+ --bs-nav-link-padding-x: .5rem;
39
+ }
40
+
41
+ &.sidebar-mini.sidebar-collapse {
42
+ .app-sidebar:not(:hover) {
43
+ min-width: $lte-sidebar-mini-width-compact;
44
+ max-width: $lte-sidebar-mini-width-compact;
45
+
46
+ .sidebar-menu {
47
+ .nav-link {
48
+ width: $lte-sidebar-mini-width-compact - $lte-sidebar-padding-x * 2 !important;
49
+ }
50
+ }
51
+ }
52
+ }
53
+
54
+ .logo-xs,
55
+ .logo-xl {
56
+ max-height: $lte-app-header-height-compact;
57
+ }
58
+
59
+ .brand-image {
60
+ width: $nav-link-height-compact;
61
+ height: $nav-link-height-compact;
62
+ }
63
+
64
+ .sidebar-brand {
65
+ height: $lte-app-header-height-compact;
66
+ }
67
+
68
+ .app-footer {
69
+ padding: $lte-app-footer-padding-compact;
70
+ }
71
+
72
+ .sidebar-wrapper {
73
+ .nav-icon {
74
+ min-width: 1.1rem;
75
+ max-width: 1.1rem;
76
+ }
77
+ }
78
+ }
79
+
@@ -169,11 +169,16 @@
169
169
  @include clearfix();
170
170
  padding: 10px;
171
171
  margin: 0;
172
+ text-decoration: none;
172
173
  border-bottom: 1px solid rgba($black, .2);
173
174
 
174
175
  &:last-of-type {
175
176
  border-bottom: 0;
176
177
  }
178
+
179
+ a {
180
+ text-decoration: none;
181
+ }
177
182
  }
178
183
  }
179
184
 
@@ -204,6 +204,7 @@
204
204
  border-bottom: 1px solid var(--#{$prefix}border-color-translucent);
205
205
 
206
206
  a {
207
+ text-decoration: none;
207
208
  @include media-breakpoint-up(sm) {
208
209
  color: var(--#{$prefix}body-color) !important;
209
210
  background-color: var(--#{$prefix}body-bg) !important;
@@ -18,10 +18,10 @@
18
18
  .progress {
19
19
  height: 2px;
20
20
  margin: 5px 0;
21
- background-color: rgba($black, .125);
21
+ background-color: rgba(var(--#{$lte-prefix}card-variant-color-rgb), .125);
22
22
 
23
23
  .progress-bar {
24
- background-color: $white;
24
+ background-color: var(--#{$lte-prefix}card-variant-color);
25
25
  }
26
26
  }
27
27
 
@@ -62,14 +62,6 @@
62
62
  white-space: nowrap;
63
63
  }
64
64
 
65
- @each $name, $color in $theme-colors {
66
- .info-box {
67
- .progress-bar {
68
- background-color: color-contrast($color);
69
- }
70
- }
71
- }
72
-
73
65
  .info-box-more {
74
66
  display: block;
75
67
  }
@@ -23,7 +23,6 @@
23
23
  display: block;
24
24
  padding: 3px 0;
25
25
  text-align: center;
26
- text-decoration: none;
27
26
  background-color: rgba($black, .07);
28
27
 
29
28
  &:hover {
@@ -105,8 +104,6 @@
105
104
 
106
105
  // Small box hover state
107
106
  &:hover {
108
- text-decoration: none;
109
-
110
107
  // Animate icons on small box hover
111
108
  .small-box-icon {
112
109
  transform: scale(1.1);
@@ -58,6 +58,7 @@
58
58
  // Link in header
59
59
  > a {
60
60
  font-weight: 600;
61
+ text-decoration: none;
61
62
  }
62
63
  }
63
64
  // Item body and footer
@@ -0,0 +1,33 @@
1
+ //
2
+ // Toast
3
+ //
4
+
5
+ @each $name, $color in $theme-colors {
6
+ .toast-#{$name} {
7
+ --#{$prefix}toast-header-color: #{color-contrast($color)};
8
+ --#{$prefix}toast-header-bg: #{$color};
9
+ --#{$prefix}toast-header-border-color: #{$color};
10
+ --#{$prefix}toast-border-color: #{$color};
11
+ --#{$prefix}toast-bg: var(--#{$prefix}#{$name}-bg-subtle);
12
+
13
+ @if color-contrast($color) == $color-contrast-light {
14
+ .btn-close {
15
+ @include btn-close-white();
16
+ }
17
+ }
18
+ }
19
+ }
20
+
21
+ @if $enable-dark-mode {
22
+ @include color-mode(dark) {
23
+ @each $name, $color in $theme-colors {
24
+ .toast-#{$name} {
25
+ @if color-contrast($color) == $color-contrast-dark {
26
+ .btn-close {
27
+ --#{$prefix}btn-close-white-filter: none;
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
@@ -1,21 +1,24 @@
1
+ //
1
2
  // Custom AdminLTE Variables
3
+ //
2
4
 
3
5
  // Prefix for :root CSS variables and others.
4
6
  $lte-prefix: lte- !default;
5
7
 
6
8
  // TRANSITIONS SETTINGS
7
9
  // --------------------------------------------------------
8
-
9
10
  // Transition global options
10
11
  $lte-transition-speed: .3s !default;
11
12
  $lte-transition-fn: ease-in-out !default;
12
13
 
13
- // Sidebar
14
+ // SIDEBAR
14
15
  // --------------------------------------------------------
15
16
  $lte-sidebar-width: 250px !default;
16
17
  $lte-sidebar-breakpoint: lg !default;
17
18
  $lte-sidebar-padding-x: .5rem !default;
19
+ $lte-sidebar-padding-x-compact: .5rem !default;
18
20
  $lte-sidebar-padding-y: .5rem !default;
21
+ $lte-sidebar-padding-y-compact: .25rem !default;
19
22
  $lte-sidebar-transition: min-width $lte-transition-speed $lte-transition-fn,
20
23
  max-width $lte-transition-speed $lte-transition-fn,
21
24
  margin-left $lte-transition-speed $lte-transition-fn,
@@ -40,25 +43,38 @@ $lte-sidebar-header-color: shade-color($gray-800, 5%) !default;
40
43
 
41
44
  // SIDEBAR MINI
42
45
  // --------------------------------------------------------
46
+ $nav-link-padding-x-compact: .25rem !default;
43
47
  $lte-sidebar-mini-width: ($nav-link-padding-x + $lte-sidebar-padding-x + .8rem) * 2 !default;
48
+ $lte-sidebar-mini-width-compact: ($nav-link-padding-x-compact + $lte-sidebar-padding-x-compact + .8rem) * 2 !default;
44
49
  $lte-sidebar-nav-icon-width: $lte-sidebar-mini-width - (($lte-sidebar-padding-x + $nav-link-padding-x) * 2) !default;
45
- $lte-sidebar-user-image-width: $lte-sidebar-nav-icon-width + ($nav-link-padding-x * .5) !default;
50
+ $lte-sidebar-user-image-width: $lte-sidebar-nav-icon-width + ($nav-link-padding-x * .4) !default;
46
51
 
47
52
  // MAIN HEADER
48
53
  // --------------------------------------------------------
54
+ $nav-link-height-compact: 1.75rem !default;
49
55
  $lte-app-header-bottom-border-width: $border-width !default;
50
56
  $lte-app-header-bottom-border-color: var(--#{$prefix}border-color) !default;
51
57
  $lte-app-header-bottom-border: $lte-app-header-bottom-border-width solid $lte-app-header-bottom-border-color !default;
52
58
  $lte-app-header-link-padding-y: $navbar-padding-y !default;
53
- $lte-app-header-height-inner: ($nav-link-height + ($lte-app-header-link-padding-y * 2)) !default;
59
+ $lte-app-header-height: ($nav-link-height + ($lte-app-header-link-padding-y * 2)) !default;
60
+ $lte-app-header-height-compact: ($nav-link-height-compact + ($lte-app-header-link-padding-y * 2)) !default;
54
61
 
55
- // Content padding
62
+ // CONTENT PADDING
63
+ // --------------------------------------------------------
56
64
  $lte-content-padding-y: 0 !default;
57
65
  $lte-content-padding-x: .5rem !default;
58
66
 
67
+ // MAIN CONTENT
68
+ // --------------------------------------------------------
69
+ $lte-app-content-bottom-area-height-sm: 3.5rem !default;
70
+ $lte-app-content-bottom-area-height-md: 6rem !default;
71
+ $lte-app-content-bottom-area-height-lg: 9rem !default;
72
+ $lte-app-content-bottom-area-height-xl: 12rem !default;
73
+
59
74
  // MAIN FOOTER
60
75
  // --------------------------------------------------------
61
76
  $lte-app-footer-padding: 1rem !default;
77
+ $lte-app-footer-padding-compact: .5rem !default;
62
78
  $lte-app-footer-border-top-width: 1px !default;
63
79
  $lte-app-footer-border-top-color: var(--#{$prefix}border-color) !default;
64
80
  $lte-app-footer-border-top: $lte-app-footer-border-top-width solid $lte-app-footer-border-top-color !default;
@@ -67,12 +83,15 @@ $lte-app-footer-color: var(--#{$prefix}secondary-color) !default;
67
83
 
68
84
  // BRAND LINK
69
85
  // --------------------------------------------------------
70
- $lte-brand-link-padding-y: $navbar-brand-padding-y + $navbar-padding-y !default;
71
- $lte-brand-link-padding-x: $lte-sidebar-padding-x !default;
86
+ $navbar-brand-padding-y-compact: $navbar-brand-padding-y * .75 !default;
87
+ $navbar-padding-y-compact: $navbar-padding-y * .5 !default;
88
+ $lte-brand-link-padding-y: $navbar-brand-padding-y + $navbar-padding-y !default;
89
+ $lte-brand-link-padding-y-compact: $navbar-brand-padding-y-compact + $navbar-padding-y-compact !default;
90
+ $lte-brand-link-padding-x: $lte-sidebar-padding-x !default;
91
+ $lte-brand-link-padding-x-compact: $lte-sidebar-padding-x-compact !default;
72
92
  $lte-brand-link-border-buttom: 1px !default;
73
93
 
74
-
75
- // Cards
94
+ // CARDS
76
95
  // --------------------------------------------------------
77
96
  $lte-card-shadow: 0 0 1px rgba(var(--#{$prefix}body-color-rgb), .125), 0 1px 3px rgba(var(--#{$prefix}body-color-rgb), .2) !default;
78
97
  $lte-card-title-font-size: 1.1rem !default;
@@ -82,6 +101,10 @@ $lte-card-title-font-weight: $font-weight-normal !default;
82
101
  // --------------------------------------------------------
83
102
  $lte-progress-bar-border-radius: 1px !default;
84
103
 
104
+ // CALLOUTS
105
+ // --------------------------------------------------------
106
+ $lte-callout-link-font-weight: $alert-link-font-weight !default;
107
+
85
108
  // DIRECT CHAT
86
109
  // --------------------------------------------------------
87
110
  $lte-direct-chat-default-msg-bg: var(--#{$prefix}secondary-bg) !default;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.0.0-alpha2
2
+ * AdminLTE v4.0.0-beta1
3
3
  * Author: Colorlib
4
4
  * Website: AdminLTE.io <https://adminlte.io>
5
5
  * License: Open source - MIT <https://opensource.org/licenses/MIT>
@@ -60,7 +60,6 @@
60
60
  // Bootstrap Utilities
61
61
  @import "bootstrap/scss/utilities/api";
62
62
 
63
-
64
63
  // AdminLTE Configuration
65
64
  // ---------------------------------------------------
66
65
  @import "variables";
@@ -29,27 +29,22 @@
29
29
  }
30
30
  }
31
31
 
32
-
33
32
  @keyframes fadeIn {
34
33
  from {
35
- visibility: hidden;
36
34
  opacity: 0;
37
35
  }
38
36
 
39
37
  to {
40
- visibility: visible;
41
38
  opacity: 1;
42
39
  }
43
40
  }
44
41
 
45
42
  @keyframes fadeOut {
46
43
  from {
47
- visibility: visible;
48
44
  opacity: 1;
49
45
  }
50
46
 
51
47
  to {
52
- visibility: hidden;
53
48
  opacity: 0;
54
49
  }
55
50
  }
@@ -0,0 +1,75 @@
1
+ //
2
+ // Pages: Lock Screen
3
+ //
4
+
5
+ // ADD THIS CLASS TO THE <BODY> TAG
6
+ .lockscreen {
7
+ // User name [optional]
8
+ .lockscreen-name {
9
+ font-weight: 600;
10
+ text-align: center;
11
+ }
12
+
13
+ .lockscreen-logo {
14
+ margin-bottom: 25px;
15
+ font-size: 35px;
16
+ font-weight: 300;
17
+ text-align: center;
18
+
19
+ a {
20
+ color: var(--#{$prefix}emphasis-color);
21
+ text-decoration: none;
22
+ }
23
+ }
24
+
25
+ .lockscreen-wrapper {
26
+ max-width: 400px;
27
+ margin: 0 auto;
28
+ margin-top: 10%;
29
+ }
30
+
31
+ // Will contain the image and the sign in form
32
+ .lockscreen-item {
33
+ position: relative;
34
+ width: 290px;
35
+ padding: 0;
36
+ margin: 10px auto 30px;
37
+ background-color: var(--#{$prefix}body-bg);
38
+ @include border-radius(4px);
39
+ }
40
+
41
+ // User image
42
+ .lockscreen-image {
43
+ position: absolute;
44
+ top: -25px;
45
+ left: -10px;
46
+ z-index: 10;
47
+ padding: 5px;
48
+ background-color: var(--#{$prefix}body-bg);
49
+ @include border-radius(50%);
50
+
51
+ > img {
52
+ @include border-radius(50%);
53
+ width: 70px;
54
+ height: 70px;
55
+ }
56
+ }
57
+
58
+ // Contains the password input and the login button
59
+ .lockscreen-credentials {
60
+ margin-left: 70px;
61
+
62
+ .form-control {
63
+ border: 0;
64
+ }
65
+
66
+ .btn {
67
+ padding: 0 10px;
68
+ border: 0;
69
+ }
70
+ }
71
+
72
+ .lockscreen-footer {
73
+ margin-top: 10px;
74
+ }
75
+ }
@@ -11,6 +11,7 @@
11
11
 
12
12
  a {
13
13
  color: var(--#{$prefix}secondary-color);
14
+ text-decoration: none;
14
15
  }
15
16
  }
16
17
 
@@ -46,8 +47,6 @@
46
47
 
47
48
  .input-group {
48
49
  .form-control {
49
- border-right: 0;
50
-
51
50
  &:focus {
52
51
  box-shadow: none;
53
52
 
@@ -82,7 +81,6 @@
82
81
  .input-group-text {
83
82
  color: var(--#{$prefix}secondary-color);
84
83
  background-color: transparent;
85
- border-left: 0;
86
84
  @include border-top-end-radius($border-radius);
87
85
  @include border-bottom-end-radius($border-radius);
88
86
  @include transition($input-transition);
@@ -4,10 +4,12 @@
4
4
 
5
5
  @import "../root";
6
6
  @import "../app-wrapper";
7
+ @import "../app-content";
7
8
  @import "../app-header";
8
9
  @import "../app-sidebar";
9
10
  @import "../app-main";
10
11
  @import "../app-footer";
11
12
  @import "../dropdown";
12
13
  @import "../callouts";
14
+ @import "../compact-mode";
13
15
  @import "../docs";
@@ -6,3 +6,4 @@
6
6
  @import "../info-box";
7
7
  @import "../timeline";
8
8
  @import "../direct-chat";
9
+ @import "../toasts";
@@ -3,3 +3,4 @@
3
3
  //
4
4
 
5
5
  @import "../pages/login_and_register";
6
+ @import "../pages/lockscreen";
@@ -3,11 +3,13 @@ import PushMenu from './push-menu'
3
3
  import Treeview from './treeview'
4
4
  import DirectChat from './direct-chat'
5
5
  import CardWidget from './card-widget'
6
+ import FullScreen from './fullscreen'
6
7
 
7
8
  export {
8
9
  Layout,
9
10
  PushMenu,
10
11
  Treeview,
11
12
  DirectChat,
12
- CardWidget
13
+ CardWidget,
14
+ FullScreen
13
15
  }