sidebar-skeleton-compostrap 2.0.12 → 2.0.13

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.
package/dist/sidebar.css CHANGED
@@ -1,88 +1,88 @@
1
- body {
2
- overflow-x: hidden;
3
- }
4
-
5
- .wrapper {
6
- min-height: 100vh;
7
- }
8
- .wrapper-navbar-used {
9
- min-height: calc(100vh - 3.5rem);
10
- }
11
- .wrapper-navbar-fixed {
12
- margin-top: 3.5rem;
13
- }
14
-
15
- .sidebar {
16
- margin-left: -14.375rem;
17
- transition: margin 0.15s ease-out;
18
- }
19
- @media (min-width: 768px) {
20
- .sidebar {
21
- margin-left: 0;
22
- }
23
- }
24
- .sidebar-toggle {
25
- margin-left: 0;
26
- }
27
- .sidebar-toggle-visible {
28
- margin-left: 0;
29
- }
30
- @media (min-width: 768px) {
31
- .sidebar-toggle-visible {
32
- margin-left: -14.375rem;
33
- }
34
- }
35
- .sidebar-rounded-top-right {
36
- border-top-right-radius: 0.375rem;
37
- }
38
-
39
- .sidebar-menu {
40
- width: 14.375rem;
41
- }
42
- .sidebar-menu-fixed {
43
- position: fixed;
44
- }
45
-
46
- .sidebar-bg-white {
47
- background-color: #fff;
48
- }
49
-
50
- .sidebar-bg-light {
51
- background-color: #f8f9fa;
52
- }
53
-
54
- .sidebar-bg-dark {
55
- background-color: #343a40;
56
- }
57
-
58
- .sidebar-bg-blue {
59
- background-color: #0d6efd;
60
- }
61
-
62
- .sidebar-bg-purple {
63
- background-color: #6f42c1;
64
- }
65
-
66
- .sidebar-bg-pink {
67
- background-color: #d63384;
68
- }
69
-
70
- .sidebar-bg-red {
71
- background-color: #dc3545;
72
- }
73
-
74
- .sidebar-bg-orange {
75
- background-color: #fd7e14;
76
- }
77
-
78
- .sidebar-bg-green {
79
- background-color: #198754;
80
- }
81
-
82
- .sidebar-bg-teal {
83
- background-color: #20c997;
84
- }
85
-
86
- .sidebar-bg-cyan {
87
- background-color: #0dcaf0;
1
+ body {
2
+ overflow-x: hidden;
3
+ }
4
+
5
+ .wrapper {
6
+ min-height: 100vh;
7
+ }
8
+ .wrapper-navbar-used {
9
+ min-height: calc(100vh - 3.5rem);
10
+ }
11
+ .wrapper-navbar-fixed {
12
+ margin-top: 3.5rem;
13
+ }
14
+
15
+ .sidebar {
16
+ margin-left: -14.375rem;
17
+ transition: margin 0.15s ease-out;
18
+ }
19
+ @media (min-width: 768px) {
20
+ .sidebar {
21
+ margin-left: 0;
22
+ }
23
+ }
24
+ .sidebar-toggle {
25
+ margin-left: 0;
26
+ }
27
+ .sidebar-toggle-visible {
28
+ margin-left: 0;
29
+ }
30
+ @media (min-width: 768px) {
31
+ .sidebar-toggle-visible {
32
+ margin-left: -14.375rem;
33
+ }
34
+ }
35
+ .sidebar-rounded-top-right {
36
+ border-top-right-radius: 0.375rem;
37
+ }
38
+
39
+ .sidebar-menu {
40
+ width: 14.375rem;
41
+ }
42
+ .sidebar-menu-fixed {
43
+ position: fixed;
44
+ }
45
+
46
+ .sidebar-bg-white {
47
+ background-color: #fff;
48
+ }
49
+
50
+ .sidebar-bg-light {
51
+ background-color: #f8f9fa;
52
+ }
53
+
54
+ .sidebar-bg-dark {
55
+ background-color: #343a40;
56
+ }
57
+
58
+ .sidebar-bg-blue {
59
+ background-color: #0d6efd;
60
+ }
61
+
62
+ .sidebar-bg-purple {
63
+ background-color: #6f42c1;
64
+ }
65
+
66
+ .sidebar-bg-pink {
67
+ background-color: #d63384;
68
+ }
69
+
70
+ .sidebar-bg-red {
71
+ background-color: #dc3545;
72
+ }
73
+
74
+ .sidebar-bg-orange {
75
+ background-color: #fd7e14;
76
+ }
77
+
78
+ .sidebar-bg-green {
79
+ background-color: #198754;
80
+ }
81
+
82
+ .sidebar-bg-teal {
83
+ background-color: #20c997;
84
+ }
85
+
86
+ .sidebar-bg-cyan {
87
+ background-color: #0dcaf0;
88
88
  }
package/dist/sidebar.js CHANGED
@@ -1,5 +1,5 @@
1
- document.addEventListener("DOMContentLoaded", () => {
2
- document.getElementById("sidebar").addEventListener("click", () => {
3
- document.getElementById("navigation").classList.toggle("sidebar-toggle");
4
- });
5
- });
1
+ document.addEventListener("DOMContentLoaded", () => {
2
+ document.getElementById("sidebar").addEventListener("click", () => {
3
+ document.getElementById("navigation").classList.toggle("sidebar-toggle");
4
+ });
5
+ });
package/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
8
- <link rel="stylesheet" href="/dist/sidebar.css">
7
+ <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
8
+ <link rel="stylesheet" href="dist/sidebar.css">
9
9
  <title>Sidebar</title>
10
10
  </head>
11
11
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  <div class="d-flex wrapper wrapper-navbar-used wrapper-navbar-fixed">
30
30
 
31
- <nav role="navigation" class="sidebar sidebar-bg-light" id="navigation">
31
+ <nav role="navigation" class="sidebar sidebar-bg-dark" id="navigation">
32
32
 
33
33
  <!-- sidebar -->
34
34
  <div class="sidebar-menu">
@@ -43,8 +43,8 @@
43
43
  </div>
44
44
  </div>
45
45
 
46
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
47
- <script type="module" src="/dist/sidebar.js"></script>
46
+ <script src="node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
47
+ <script src="dist/sidebar.js"></script>
48
48
 
49
49
  </body>
50
50
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sidebar-skeleton-compostrap",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "description": "Simple and fast sidebar skeleton built on Bootstrap 5.",
5
5
  "license": "MIT",
6
6
  "keywords": [
package/readme.md CHANGED
@@ -1,15 +1,14 @@
1
1
  ## Sidebar Skeleton
2
2
  Simple and fast sidebar skeleton built on Bootstrap 5.
3
- Ideal for dashboards, admin panels, and any layout needing a responsive sidebar.
4
3
 
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/compostrap/sidebar-skeleton/blob/master/license.md)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/compostrap/sidebar-skeleton/blob/master/license)
6
5
  [![npm version](https://badge.fury.io/js/sidebar-skeleton-compostrap.svg)](https://badge.fury.io/js/sidebar-skeleton-compostrap)
7
6
  [![Build status](https://github.com/compostrap/sidebar-skeleton/actions/workflows/build.yml/badge.svg)](https://github.com/compostrap/sidebar-skeleton/actions/workflows/build.yml)
8
7
  [![CodeFactor](https://www.codefactor.io/repository/github/compostrap/sidebar-skeleton/badge)](https://www.codefactor.io/repository/github/compostrap/sidebar-skeleton)
9
8
 
10
9
  ## Installation
11
10
  ```bash
12
- npm npm install sidebar-skeleton-compostrap
11
+ npm install sidebar-skeleton-compostrap
13
12
  ```
14
13
 
15
14
  ## Built on