...
This commit is contained in:
1
pkg/servers/ui/static/css/.gitkeep
Normal file
1
pkg/servers/ui/static/css/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file is intentionally left blank to ensure the directory is tracked by Git.
|
48
pkg/servers/ui/static/css/custom.css
Normal file
48
pkg/servers/ui/static/css/custom.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* Custom CSS for HeroApp UI */
|
||||
|
||||
body {
|
||||
/* Example: Add some padding if needed, beyond what Bootstrap provides */
|
||||
/* padding-top: 5rem; */
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
/* Sidenav can be customized further */
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 100; /* Behind the navbar */
|
||||
padding: 56px 0 0; /* Height of navbar */
|
||||
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.sidebar {
|
||||
top: 5rem; /* Adjust if navbar height changes */
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar .nav-link {
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.sidebar .nav-link .feather {
|
||||
margin-right: 4px;
|
||||
color: #727272;
|
||||
}
|
||||
|
||||
.sidebar .nav-link.active {
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
.sidebar .nav-link:hover .feather,
|
||||
.sidebar .nav-link.active .feather {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.sidebar-heading {
|
||||
font-size: .75rem;
|
||||
text-transform: uppercase;
|
||||
}
|
1
pkg/servers/ui/static/img/.gitkeep
Normal file
1
pkg/servers/ui/static/img/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file is intentionally left blank to ensure the directory is tracked by Git.
|
1
pkg/servers/ui/static/js/.gitkeep
Normal file
1
pkg/servers/ui/static/js/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file is intentionally left blank to ensure the directory is tracked by Git.
|
15
pkg/servers/ui/static/js/custom.js
Normal file
15
pkg/servers/ui/static/js/custom.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// Custom JavaScript for HeroApp UI
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
console.log('HeroApp UI custom.js loaded');
|
||||
|
||||
// Example: Add a click listener to a button with ID 'myButton'
|
||||
// const myButton = document.getElementById('myButton');
|
||||
// if (myButton) {
|
||||
// myButton.addEventListener('click', function() {
|
||||
// alert('Button clicked!');
|
||||
// });
|
||||
// }
|
||||
|
||||
// You can add more specific JavaScript interactions here as needed.
|
||||
});
|
Reference in New Issue
Block a user