wp site home dark page

This commit is contained in:
usmannasir 2025-08-05 03:31:07 +05:00
parent 7244e7981f
commit 7fa25212dd
2 changed files with 35 additions and 38 deletions

View File

@ -4,10 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="5251c5c9-f2a1-41f2-bc76-10b517091df1" name="Changes" comment=""> <list default="true" id="5251c5c9-f2a1-41f2-bc76-10b517091df1" name="Changes" comment="" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/websiteFunctions/templates/websiteFunctions/WPsiteHome.html" beforeDir="false" afterPath="$PROJECT_DIR$/websiteFunctions/templates/websiteFunctions/WPsiteHome.html" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />

View File

@ -22,7 +22,7 @@
.page-title { .page-title {
font-size: 28px; font-size: 28px;
font-weight: 700; font-weight: 700;
color: #2f3640; color: var(--text-primary, #2f3640);
margin-bottom: 8px; margin-bottom: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
@ -32,7 +32,7 @@
.page-subtitle { .page-subtitle {
font-size: 14px; font-size: 14px;
color: #8893a7; color: var(--text-secondary, #8893a7);
} }
.learn-more-link { .learn-more-link {
@ -43,8 +43,8 @@
align-items: center; align-items: center;
gap: 6px; gap: 6px;
padding: 6px 12px; padding: 6px 12px;
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
border-radius: 6px; border-radius: 6px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@ -58,18 +58,18 @@
/* Card styles */ /* Card styles */
.content-card { .content-card {
background: white; background: var(--bg-primary, white);
border-radius: 12px; border-radius: 12px;
padding: 30px; padding: 30px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08); box-shadow: var(--shadow-md, 0 2px 8px rgba(0,0,0,0.08));
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
margin-bottom: 25px; margin-bottom: 25px;
} }
.card-title { .card-title {
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
color: #2f3640; color: var(--text-primary, #2f3640);
margin-bottom: 25px; margin-bottom: 25px;
display: flex; display: flex;
align-items: center; align-items: center;
@ -93,7 +93,7 @@
display: block; display: block;
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
color: #64748b; color: var(--text-secondary, #64748b);
margin-bottom: 8px; margin-bottom: 8px;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.5px; letter-spacing: 0.5px;
@ -102,11 +102,11 @@
.form-control { .form-control {
width: 100%; width: 100%;
padding: 10px 14px; padding: 10px 14px;
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
border-radius: 8px; border-radius: 8px;
font-size: 14px; font-size: 14px;
color: #2f3640; color: var(--text-primary, #2f3640);
background: white; background: var(--bg-primary, white);
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@ -117,7 +117,7 @@
.form-control:focus { .form-control:focus {
outline: none; outline: none;
border-color: #5b5fcf; border-color: #5b5fcf;
box-shadow: 0 0 0 3px rgba(91,95,207,0.1); box-shadow: var(--shadow-sm, 0 0 0 3px rgba(91,95,207,0.1));
} }
/* Select dropdown styles for Windows compatibility */ /* Select dropdown styles for Windows compatibility */
@ -138,8 +138,8 @@
/* Windows-specific fixes */ /* Windows-specific fixes */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
select.form-control { select.form-control {
color: #2f3640 !important; color: var(--text-primary, #2f3640) !important;
background-color: white !important; background-color: var(--bg-primary, white) !important;
} }
} }
@ -149,14 +149,14 @@
} }
select.form-control option { select.form-control option {
color: #2f3640; color: var(--text-primary, #2f3640);
background-color: white; background-color: var(--bg-primary, white);
padding: 8px; padding: 8px;
} }
select.form-control:focus { select.form-control:focus {
color: #2f3640; color: var(--text-primary, #2f3640);
background-color: white; background-color: var(--bg-primary, white);
} }
/* Path input group */ /* Path input group */
@ -167,13 +167,13 @@
} }
.input-group-prefix { .input-group-prefix {
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
border-right: none; border-right: none;
padding: 10px 14px; padding: 10px 14px;
border-radius: 8px 0 0 8px; border-radius: 8px 0 0 8px;
font-size: 13px; font-size: 13px;
color: #64748b; color: var(--text-secondary, #64748b);
font-weight: 600; font-weight: 600;
white-space: nowrap; white-space: nowrap;
} }
@ -193,8 +193,8 @@
align-items: center; align-items: center;
gap: 10px; gap: 10px;
padding: 12px 16px; padding: 12px 16px;
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
border-radius: 8px; border-radius: 8px;
transition: all 0.2s ease; transition: all 0.2s ease;
cursor: pointer; cursor: pointer;
@ -215,7 +215,7 @@
.checkbox-label { .checkbox-label {
font-size: 14px; font-size: 14px;
color: #2f3640; color: var(--text-primary, #2f3640);
font-weight: 500; font-weight: 500;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
@ -254,7 +254,7 @@
.btn-primary:hover { .btn-primary:hover {
background: #4a4fc4; background: #4a4fc4;
box-shadow: 0 4px 12px rgba(91,95,207,0.3); box-shadow: var(--shadow-lg, 0 4px 12px rgba(91,95,207,0.3));
transform: translateY(-1px); transform: translateY(-1px);
} }
@ -266,9 +266,9 @@
} }
.btn-secondary { .btn-secondary {
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
color: #5b5fcf; color: #5b5fcf;
border: 1px solid #e8e9ff; border: 1px solid var(--border-primary, #e8e9ff);
} }
.btn-secondary:hover { .btn-secondary:hover {
@ -277,14 +277,14 @@
} }
.btn-secondary:disabled { .btn-secondary:disabled {
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
color: #ccc; color: #ccc;
cursor: not-allowed; cursor: not-allowed;
} }
/* Progress section */ /* Progress section */
.progress-section { .progress-section {
background: #f8f9ff; background: var(--bg-secondary, #f8f9ff);
border-radius: 10px; border-radius: 10px;
padding: 25px; padding: 25px;
margin-top: 20px; margin-top: 20px;
@ -293,13 +293,13 @@
.progress-status { .progress-status {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #2f3640; color: var(--text-primary, #2f3640);
text-align: center; text-align: center;
margin-bottom: 20px; margin-bottom: 20px;
} }
.progress-bar-container { .progress-bar-container {
background: #e8e9ff; background: var(--border-primary, #e8e9ff);
height: 8px; height: 8px;
border-radius: 4px; border-radius: 4px;
overflow: hidden; overflow: hidden;
@ -494,7 +494,7 @@
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend"> <input ng-model="apacheBackend" type="checkbox" id="apacheBackend">
<label for="apacheBackend" class="checkbox-label"> <label for="apacheBackend" class="checkbox-label">
OpenLiteSpeed + Apache (Backend) OpenLiteSpeed + Apache (Backend)
<small style="display: block; color: #8893a7; font-weight: normal; margin-top: 4px;"> <small style="display: block; color: var(--text-secondary, #8893a7); font-weight: normal; margin-top: 4px;">
{% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %} {% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %}
</small> </small>
</label> </label>
@ -506,7 +506,7 @@
Premium Feature Premium Feature
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i> <i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
</a> </a>
<small style="display: block; color: #8893a7; font-weight: normal; margin-top: 4px;"> <small style="display: block; color: var(--text-secondary, #8893a7); font-weight: normal; margin-top: 4px;">
{% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %} {% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %}
</small> </small>
</label> </label>