Skip to content

Commit 7a09373

Browse files
authored
Refactor email account sidebar (hestiacp#4154)
* Increase default height of "Proxy Extensions" field * Prevent log category label wrapping * Update comment * Remove 1s delay before showing error text * More consistent overflows * Refactor email credentials sidebar * Use dataset * Tidy
1 parent 769f74b commit 7a09373

File tree

24 files changed

+231
-233
lines changed

24 files changed

+231
-233
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-env node */
22
/* eslint-disable no-console */
33

4-
// Build JS and CSS using esbuild and PostCSS
4+
// Build JS and CSS using esbuild and Lightning CSS
55
import { promises as fs } from 'node:fs';
66
import path from 'node:path';
77
import browserslist from 'browserslist';

install/common/templates/web/skel/document_errors/403.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">Access Denied</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>You do not have permission to view this page.</p>
112108
<p>Please check your credentials and try again.</p>
113109
<section class="footer"><strong>Error Code:</strong> 403</section>

install/common/templates/web/skel/document_errors/404.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">Page Not Found</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>Oops! We couldn't find the page that you're looking for.</p>
112108
<p>Please check the address and try again.</p>
113109
<section class="footer"><strong>Error Code:</strong> 404</section>

install/common/templates/web/skel/document_errors/410.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">Resource is Gone</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>Oops! The requested resource is no longer available.</p>
112108
<p>Please check the address and try again.</p>
113109
<section class="footer"><strong>Error Code:</strong> 410</section>

install/common/templates/web/skel/document_errors/50x.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">Internal Server Error</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>Oops! Something went wrong.</p>
112108
<p>
113109
The server encountered an internal error or misconfiguration and was unable to

install/common/templates/web/skel/public_html/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">We're working on it!</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>This site is currently under construction.</p>
112108
<p>Please check back soon.</p>
113109
<section class="footer"><strong>Domain:</strong> %domain%</section>

install/common/templates/web/suspend/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -107,7 +103,7 @@
107103
</svg>
108104
</div>
109105
<h1 class="animate__animated animate__fadeIn">This site is currently suspended</h1>
110-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
106+
<div class="description-text animate__animated animate__fadeIn">
111107
<p>If you are the owner of this site, please contact support for more information.</p>
112108
</div>
113109
</div>

install/common/templates/web/unassigned/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
font-size: 0.7em;
7878
}
7979

80-
.animate__delay-1s {
81-
animation-delay: 1s;
82-
}
83-
8480
@keyframes fadeIn {
8581
from {
8682
opacity: 0;
@@ -109,7 +105,7 @@
109105
</i>
110106
</div>
111107
<h1 class="animate__animated animate__fadeIn">Success!</h1>
112-
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
108+
<div class="description-text animate__animated animate__fadeIn">
113109
<p>Your new web server is ready to use.</p>
114110
</div>
115111
</div>

web/css/src/dependencies/animate.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,13 @@
44

55
:root {
66
--animate-duration: 1s;
7-
--animate-delay: 1s;
87
--animate-repeat: 1;
98
}
109

1110
.animate__animated {
1211
animation-duration: 1s;
1312
animation-duration: var(--animate-duration);
1413
animation-fill-mode: both;
15-
16-
&.animate__delay-1s {
17-
animation-delay: 1s;
18-
animation-delay: var(--animate-delay);
19-
}
2014
}
2115

2216
.animate__fadeIn {

web/css/src/themes/dark.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,19 @@
339339
text-shadow: 0 1px rgb(0 0 0 / 95%);
340340
}
341341

342+
/* Clipboard component
343+
========================================================================== */
344+
345+
.clipboard {
346+
& .clipboard-input {
347+
border-color: #606060;
348+
}
349+
}
350+
351+
.clipboard-button {
352+
background-color: #353535;
353+
}
354+
342355
/* Server summary component
343356
========================================================================== */
344357

0 commit comments

Comments
 (0)