Skip to content

Commit 7fa2521

Browse files
committed
wp site home dark page
1 parent 7244e79 commit 7fa2521

File tree

2 files changed

+35
-38
lines changed

2 files changed

+35
-38
lines changed

.idea/workspace.xml

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

websiteFunctions/templates/websiteFunctions/createDomain.html

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.page-title {
2323
font-size: 28px;
2424
font-weight: 700;
25-
color: #2f3640;
25+
color: var(--text-primary, #2f3640);
2626
margin-bottom: 8px;
2727
display: flex;
2828
align-items: center;
@@ -32,7 +32,7 @@
3232

3333
.page-subtitle {
3434
font-size: 14px;
35-
color: #8893a7;
35+
color: var(--text-secondary, #8893a7);
3636
}
3737

3838
.learn-more-link {
@@ -43,8 +43,8 @@
4343
align-items: center;
4444
gap: 6px;
4545
padding: 6px 12px;
46-
background: #f8f9ff;
47-
border: 1px solid #e8e9ff;
46+
background: var(--bg-secondary, #f8f9ff);
47+
border: 1px solid var(--border-primary, #e8e9ff);
4848
border-radius: 6px;
4949
transition: all 0.2s ease;
5050
}
@@ -58,18 +58,18 @@
5858

5959
/* Card styles */
6060
.content-card {
61-
background: white;
61+
background: var(--bg-primary, white);
6262
border-radius: 12px;
6363
padding: 30px;
64-
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
65-
border: 1px solid #e8e9ff;
64+
box-shadow: var(--shadow-md, 0 2px 8px rgba(0,0,0,0.08));
65+
border: 1px solid var(--border-primary, #e8e9ff);
6666
margin-bottom: 25px;
6767
}
6868

6969
.card-title {
7070
font-size: 18px;
7171
font-weight: 700;
72-
color: #2f3640;
72+
color: var(--text-primary, #2f3640);
7373
margin-bottom: 25px;
7474
display: flex;
7575
align-items: center;
@@ -93,7 +93,7 @@
9393
display: block;
9494
font-size: 13px;
9595
font-weight: 600;
96-
color: #64748b;
96+
color: var(--text-secondary, #64748b);
9797
margin-bottom: 8px;
9898
text-transform: uppercase;
9999
letter-spacing: 0.5px;
@@ -102,11 +102,11 @@
102102
.form-control {
103103
width: 100%;
104104
padding: 10px 14px;
105-
border: 1px solid #e8e9ff;
105+
border: 1px solid var(--border-primary, #e8e9ff);
106106
border-radius: 8px;
107107
font-size: 14px;
108-
color: #2f3640;
109-
background: white;
108+
color: var(--text-primary, #2f3640);
109+
background: var(--bg-primary, white);
110110
transition: all 0.2s ease;
111111
}
112112

@@ -117,7 +117,7 @@
117117
.form-control:focus {
118118
outline: none;
119119
border-color: #5b5fcf;
120-
box-shadow: 0 0 0 3px rgba(91,95,207,0.1);
120+
box-shadow: var(--shadow-sm, 0 0 0 3px rgba(91,95,207,0.1));
121121
}
122122

123123
/* Select dropdown styles for Windows compatibility */
@@ -138,8 +138,8 @@
138138
/* Windows-specific fixes */
139139
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
140140
select.form-control {
141-
color: #2f3640 !important;
142-
background-color: white !important;
141+
color: var(--text-primary, #2f3640) !important;
142+
background-color: var(--bg-primary, white) !important;
143143
}
144144
}
145145

@@ -149,14 +149,14 @@
149149
}
150150

151151
select.form-control option {
152-
color: #2f3640;
153-
background-color: white;
152+
color: var(--text-primary, #2f3640);
153+
background-color: var(--bg-primary, white);
154154
padding: 8px;
155155
}
156156

157157
select.form-control:focus {
158-
color: #2f3640;
159-
background-color: white;
158+
color: var(--text-primary, #2f3640);
159+
background-color: var(--bg-primary, white);
160160
}
161161

162162
/* Path input group */
@@ -167,13 +167,13 @@
167167
}
168168

169169
.input-group-prefix {
170-
background: #f8f9ff;
171-
border: 1px solid #e8e9ff;
170+
background: var(--bg-secondary, #f8f9ff);
171+
border: 1px solid var(--border-primary, #e8e9ff);
172172
border-right: none;
173173
padding: 10px 14px;
174174
border-radius: 8px 0 0 8px;
175175
font-size: 13px;
176-
color: #64748b;
176+
color: var(--text-secondary, #64748b);
177177
font-weight: 600;
178178
white-space: nowrap;
179179
}
@@ -193,8 +193,8 @@
193193
align-items: center;
194194
gap: 10px;
195195
padding: 12px 16px;
196-
background: #f8f9ff;
197-
border: 1px solid #e8e9ff;
196+
background: var(--bg-secondary, #f8f9ff);
197+
border: 1px solid var(--border-primary, #e8e9ff);
198198
border-radius: 8px;
199199
transition: all 0.2s ease;
200200
cursor: pointer;
@@ -215,7 +215,7 @@
215215

216216
.checkbox-label {
217217
font-size: 14px;
218-
color: #2f3640;
218+
color: var(--text-primary, #2f3640);
219219
font-weight: 500;
220220
cursor: pointer;
221221
user-select: none;
@@ -254,7 +254,7 @@
254254

255255
.btn-primary:hover {
256256
background: #4a4fc4;
257-
box-shadow: 0 4px 12px rgba(91,95,207,0.3);
257+
box-shadow: var(--shadow-lg, 0 4px 12px rgba(91,95,207,0.3));
258258
transform: translateY(-1px);
259259
}
260260

@@ -266,9 +266,9 @@
266266
}
267267

268268
.btn-secondary {
269-
background: #f8f9ff;
269+
background: var(--bg-secondary, #f8f9ff);
270270
color: #5b5fcf;
271-
border: 1px solid #e8e9ff;
271+
border: 1px solid var(--border-primary, #e8e9ff);
272272
}
273273

274274
.btn-secondary:hover {
@@ -277,14 +277,14 @@
277277
}
278278

279279
.btn-secondary:disabled {
280-
background: #f8f9ff;
280+
background: var(--bg-secondary, #f8f9ff);
281281
color: #ccc;
282282
cursor: not-allowed;
283283
}
284284

285285
/* Progress section */
286286
.progress-section {
287-
background: #f8f9ff;
287+
background: var(--bg-secondary, #f8f9ff);
288288
border-radius: 10px;
289289
padding: 25px;
290290
margin-top: 20px;
@@ -293,13 +293,13 @@
293293
.progress-status {
294294
font-size: 16px;
295295
font-weight: 600;
296-
color: #2f3640;
296+
color: var(--text-primary, #2f3640);
297297
text-align: center;
298298
margin-bottom: 20px;
299299
}
300300

301301
.progress-bar-container {
302-
background: #e8e9ff;
302+
background: var(--border-primary, #e8e9ff);
303303
height: 8px;
304304
border-radius: 4px;
305305
overflow: hidden;
@@ -494,7 +494,7 @@ <h2 class="card-title">
494494
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend">
495495
<label for="apacheBackend" class="checkbox-label">
496496
OpenLiteSpeed + Apache (Backend)
497-
<small style="display: block; color: #8893a7; font-weight: normal; margin-top: 4px;">
497+
<small style="display: block; color: var(--text-secondary, #8893a7); font-weight: normal; margin-top: 4px;">
498498
{% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %}
499499
</small>
500500
</label>
@@ -506,7 +506,7 @@ <h2 class="card-title">
506506
Premium Feature
507507
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
508508
</a>
509-
<small style="display: block; color: #8893a7; font-weight: normal; margin-top: 4px;">
509+
<small style="display: block; color: var(--text-secondary, #8893a7); font-weight: normal; margin-top: 4px;">
510510
{% trans "For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9" %}
511511
</small>
512512
</label>

0 commit comments

Comments
 (0)