Skip to content

Commit

Permalink
Fix scrollbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Aug 25, 2020
1 parent 832ae1e commit 5aa894a
Show file tree
Hide file tree
Showing 15 changed files with 423 additions and 179 deletions.
53 changes: 52 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"nouislider": "11.0.3",
"onscreen": "1.3.4",
"popper.js": "1.16.0",
"simplebar": "^6.0.0-beta.2",
"smooth-scroll": "^16.1.0",
"vanillajs-datepicker": "^1.0.3",
"waypoints": "4.0.1"
Expand Down
18 changes: 9 additions & 9 deletions src/assets/js/volt.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ d.addEventListener("DOMContentLoaded", function(event) {
xl: 1140
};

var preloader = d.querySelector('.preloader');
if(preloader) {
setTimeout(function() {
preloader.classList.add('show');
// var preloader = d.querySelector('.preloader');
// if(preloader) {
// setTimeout(function() {
// preloader.classList.add('show');

setTimeout(function() {
d.querySelector('.loader-element').classList.add('hide');
}, 200);
}, 1000);
}
// setTimeout(function() {
// d.querySelector('.loader-element').classList.add('hide');
// }, 200);
// }, 1000);
// }

var iconNotifications = d.querySelector('.icon-notifications');
if(iconNotifications) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
})
</head>

<body>
<body class="bg-soft">

@@include('./dashboard/_nav.html', {
"path": "../.."
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
})
</head>

<body>
<body class="bg-soft">

@@include('./dashboard/_nav.html', {
"path": "../.."
Expand Down
8 changes: 4 additions & 4 deletions src/pages/components/modals.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
})
</head>

<body>
<body class="bg-soft">

@@include('./dashboard/_nav.html', {
"path": "../.."
Expand Down Expand Up @@ -291,13 +291,13 @@ <h2 class="mb-0 h5">Create Account</h2>
<div class="modal-dialog modal-tertiary modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header mx-auto">
<p class="lead mb-0">You just unlocked a new badge</p>
<p class="lead mb-0 text-white">You just unlocked a new badge</p>
</div>
<div class="modal-body">
<div class="py-3 px-5 text-center">
<span class="modal-icon display-1-lg"><span class="fas fa-medal"></span></span>
<h2 class="h3 modal-title mb-3">Author Level 5</h2>
<p class="mb-4">One Thousand Dollars! Well done mate - heads are turning your way.</p>
<h2 class="h3 modal-title mb-3 text-white">Author Level 5</h2>
<p class="mb-4 text-white">One Thousand Dollars! Well done mate - heads are turning your way.</p>
<div class="progress-wrapper">
<div class="progress">
<div class="progress-bar bg-primary" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"></div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
})
</head>

<body>
<body class="bg-soft">

@@include('./dashboard/_nav.html', {
"path": "../.."
})

<div class="container-fluid bg-soft">
<div class="container-fluid">
<div class="row">
<div class="col-12">

Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
})
</head>

<body>
<body class="bg-soft">

@@include('./dashboard/_nav.html', {
"path": "../.."
Expand Down
4 changes: 2 additions & 2 deletions src/pages/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"path": "../.."
})

@@include('./_preloader.html', {
<!-- @@include('./_preloader.html', {
"path": "../.."
})
}) -->

<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center py-4">
<div class="btn-toolbar dropdown">
Expand Down
3 changes: 3 additions & 0 deletions src/partials/_scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<!-- Datepicker -->
<script src="@@path/vendor/vanillajs-datepicker/dist/js/datepicker.min.js"></script>

<!-- Simplebar -->
<script src="@@path/vendor/simplebar/dist/simplebar.min.js"></script>

<!-- Github buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>

Expand Down
Loading

0 comments on commit 5aa894a

Please sign in to comment.