Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
accgit authored and scrs_zdenek committed Aug 15, 2023
1 parent 39e8384 commit 67445e6
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 80 deletions.
139 changes: 77 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "sidebar-menu-2-compostrap",
"version": "2.0.6",
"version": "2.0.7",
"description": "Simple and fast multi-level sidebar menu on Bootstrap",
"dependencies": {
"sidebar-menu-compostrap": "^2.0.10"
"sidebar-menu-compostrap": "^2.0.12"
},
"devDependencies": {
"serve": "^14.2.0",
"sass": "^1.58.0",
"nodemon": "^2.0.20",
"sass": "^1.65.1",
"nodemon": "^3.0.1",
"clean-css-cli": "^5.6.2"
},
"scripts": {
"build": "npm run scss && npm run css-minify",
"scss": "sass scss/sidebar.custom.scss dist/css/sidebar.custom.css",
"scss": "sass -I node_modules scss/sidebar.custom.scss dist/css/sidebar.custom.css",
"css-minify": "cleancss -O1 --output dist/css/sidebar.custom.min.css dist/css/sidebar.custom.css",
"watch": "nodemon -e scss -x \"npm run scss\"",
"server": "serve --listen 3000"
Expand Down
4 changes: 2 additions & 2 deletions scss/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.list {
& &-hidden {
padding-left: 0;
margin: rem(5) 0 0 rem(23);
margin: toRem(5) 0 0 toRem(23);
background: none !important;
border-left: rem(2) solid transparent;
border-left: toRem(2) solid transparent;
}
}
20 changes: 9 additions & 11 deletions scss/sidebar.custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@
*/

// bootstrap
@import '../node_modules/bootstrap/scss/functions';
@import '../node_modules/bootstrap/scss/variables';
@import '../node_modules/bootstrap/scss/mixins';
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";

// sidebar skeleton
@import '../node_modules/sidebar-skeleton-compostrap/scss/utils/functions';
@import '../node_modules/sidebar-skeleton-compostrap/scss/utils/variables';
@import "sidebar-skeleton-compostrap/scss/utils/variables";

// sidebar menu
@import '../node_modules/sidebar-menu-compostrap/scss/utils/variables';
@import "sidebar-menu-compostrap/scss/utils/variables";

// sidebar menu
@import 'components/list';

@import 'themes/colors';
@import 'themes/theme';
// sidebar menu custom
@import "components/list";
@import "themes/colors";
@import "themes/theme";

0 comments on commit 67445e6

Please sign in to comment.