Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .idea/.gitignore

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

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

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

4 changes: 4 additions & 0 deletions .idea/misc.xml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

8 changes: 8 additions & 0 deletions .idea/product-workshop.iml

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

7 changes: 7 additions & 0 deletions .idea/vcs.xml

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

17 changes: 17 additions & 0 deletions .pr_agent.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[pr_description]
mode = "enhanced"
include_sections = ["summary", "testing_instructions", "changelog"]

[reviewer_recommendation]
enabled = true
strategy = "auto"

[suggestions]
enabled = true
num_suggestions = 3

[walkthrough]
enabled = true

[code_review]
enabled = true
104 changes: 104 additions & 0 deletions css/master.css
Original file line number Diff line number Diff line change
Expand Up @@ -1450,4 +1450,108 @@ ul {
.message:target { display: none; opacity: 0; }
@media (max-width: 600px) {
.message { font-size: 14px; padding: 12px 32px 12px 12px; }
}

/* Dark Mode Styles */
.dark-mode {
background-color: #181a1b;
color: #e0e0e0;
}
.dark-mode .page {
background-color: #181a1b;
}
.dark-mode .sidebar {
background-color: #23272a;
box-shadow: 0 0 10px #111;
}
.dark-mode .sidebar ul li a,
.dark-mode .sidebar ul li a.active,
.dark-mode .sidebar ul li a:hover {
background-color: #23272a;
color: #e0e0e0;
}
.dark-mode .sidebar>h3,
.dark-mode .sidebar ul li a span {
color: #e0e0e0;
}
.dark-mode .content {
background-color: #181a1b;
}
.dark-mode .head {
background-color: #23272a;
color: #e0e0e0;
}
.dark-mode .head .search input {
background-color: #23272a;
color: #e0e0e0;
border: 1px solid #444;
}
.dark-mode .head .search::before {
color: #aaa;
}
.dark-mode .wrapper .bg-white,
.dark-mode .welcome,
.dark-mode .quick-draft,
.dark-mode .targets,
.dark-mode .tickets,
.dark-mode .latest-news,
.dark-mode .tasks,
.dark-mode .search-items,
.dark-mode .latest-uploads,
.dark-mode .last-project,
.dark-mode .reminders,
.dark-mode .latest-post,
.dark-mode .social-media,
.dark-mode .projects {
background-color: #23272a !important;
color: #e0e0e0;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.dark-mode .bg-eee,
.dark-mode .btn-shape.bg-eee,
.dark-mode .projects thead td {
background-color: #2c2f33 !important;
color: #e0e0e0 !important;
}
.dark-mode .c-black {
color: #e0e0e0 !important;
}
.dark-mode .c-grey {
color: #b0b0b0 !important;
}
.dark-mode .border,
.dark-mode .welcome .body,
.dark-mode .tasks .task-row:not(:last-of-type),
.dark-mode .latest-news .news-row:not(:last-of-type),
.dark-mode .latest-uploads ul li:not(:last-child),
.dark-mode .projects tbody td,
.dark-mode .projects table img,
.dark-mode .profile-page .info-box .box,
.dark-mode .profile-page .skills-card ul li:not(:last-child) {
border-color: #333 !important;
}
.dark-mode .projects tbody tr:hover td {
background-color: #23272a !important;
}
.dark-mode .toggle-switch {
background-color: #444;
}
.dark-mode .toggle-switch::before {
background-color: #23272a;
color: #aaa;
}
.dark-mode .toggle-checkbox:checked+.toggle-switch {
background-color: var(--blue-color);
}
.dark-mode .toggle-checkbox:checked+.toggle-switch::before {
color: var(--blue-color);
}
.dark-mode .message {
background: #23272a;
color: #e0e0e0;
}
.dark-mode .message.notice { background: var(--green-color); }
.dark-mode .message.error { background: var(--red-color); }
.dark-mode .message .close {
color: #e0e0e0;
}
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ <h3 class="p-relative txt-c mt-0">Elzero</h3>
<input class="p-10" type="search" placeholder="Type A Keyword" />
</div>
<div class="icons d-flex align-center">
<button id="darkModeToggle" title="Toggle dark mode" style="background:none;border:none;cursor:pointer;font-size:20px;margin-right:15px;">
<i class="fa-regular fa-moon"></i>
</button>
<span class="notification p-relative">
<i class="fa-regular fa-bell fa-lg"></i>
</span>
Expand Down Expand Up @@ -583,6 +586,28 @@ <h2 class="mt-0 mb-20">Projects</h2>
<!-- End Projects Table -->
</div>
</div>
<script>
// Dark mode toggle logic
const toggleBtn = document.getElementById('darkModeToggle');
const body = document.body;

// Load preference
if (localStorage.getItem('darkMode') === 'enabled') {
body.classList.add('dark-mode');
}

// Toggle handler
if (toggleBtn) {
toggleBtn.addEventListener('click', function() {
body.classList.toggle('dark-mode');
if (body.classList.contains('dark-mode')) {
localStorage.setItem('darkMode', 'enabled');
} else {
localStorage.setItem('darkMode', 'disabled');
}
});
}
</script>
</body>

</html>