mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-08-13 04:17:55 +02:00
dark mode
This commit is contained in:
@@ -7,6 +7,100 @@
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
||||
|
||||
<style>
|
||||
/* PHPMyAdmin Page Styles with Dark Mode Support */
|
||||
.container {
|
||||
background: var(--bg-primary, #f0f0ff);
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#page-title {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#page-title h2 {
|
||||
color: var(--text-primary, #2f3640);
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#page-title p {
|
||||
color: var(--text-secondary, #8893a7);
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: var(--bg-secondary, white);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 2px 8px var(--shadow-color, rgba(0,0,0,0.08));
|
||||
border: 1px solid var(--border-color, #e8e9ff);
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.title-hero {
|
||||
color: var(--text-primary, #2f3640);
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.example-box-wrapper {
|
||||
background: transparent;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.example-box-wrapper p {
|
||||
color: var(--text-secondary, #8893a7);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 14px 28px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--accent-color, #5b5fcf);
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: var(--accent-hover, #4b4fbf);
|
||||
box-shadow: 0 4px 12px var(--accent-shadow, rgba(91,95,207,0.3));
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<div ng-controller="phpMyAdmin" class="container">
|
||||
<div id="page-title">
|
||||
|
||||
Reference in New Issue
Block a user