Skip to content

Commit 5965a75

Browse files
authored
Modernise some CSS (hestiacp#3050)
1 parent a8a0c2b commit 5965a75

File tree

117 files changed

+676
-710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+676
-710
lines changed

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="error icon-large fa-times-circle"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">Access Denied</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">Access Denied</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>You do not have permission to view this page.</p>
116112
<p>Please check your credentials and try again.</p>
117113
<section class="footer"><strong>Error Code:</strong> 403</section>

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="info icon-large fa-question-circle"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">Page Not Found</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">Page Not Found</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>Oops! We couldn't find the page that you're looking for.</p>
116112
<p>Please check the address and try again.</p>
117113
<section class="footer"><strong>Error Code:</strong> 404</section>

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="info icon-large fa-sign-out-alt"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">Resource is Gone</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">Resource is Gone</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>Oops! The requested resource is no longer available.</p>
116112
<p>Please check the address and try again.</p>
117113
<section class="footer"><strong>Error Code:</strong> 410</section>

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="warning icon-large fa-exclamation-triangle"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">Internal Server Error</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">Internal Server Error</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>Oops! Something went wrong.</p>
116112
<p>
117113
The server encountered an internal error or misconfiguration and

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="warning icon-large fa-hard-hat"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">We're working on it!</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">We're working on it!</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>This site is currently under construction.</p>
116112
<p>Please check back soon.</p>
117113
<section class="footer"><strong>Domain:</strong> %domain%</section>

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<svg
104100
class="error icon-large fa-exclamation-circle"
105101
xmlns="http://www.w3.org/2000/svg"
@@ -110,8 +106,8 @@
110106
></path>
111107
</svg>
112108
</div>
113-
<h1 class="animated fadeIn">This site is currently suspended</h1>
114-
<div class="description-text animated fadeIn delay-1s">
109+
<h1 class="animate__animated animate__fadeIn">This site is currently suspended</h1>
110+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
115111
<p>
116112
If you are the owner of this site, please contact support for more
117113
information.

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@
3131
margin-left: auto;
3232
}
3333

34-
.animated {
35-
-webkit-animation-duration: 1s;
34+
.animate__animated {
3635
animation-duration: 1s;
37-
-webkit-animation-fill-mode: both;
3836
animation-fill-mode: both;
3937
}
4038

41-
.fadeIn {
42-
-webkit-animation-name: fadeIn;
39+
.animate__fadeIn {
4340
animation-name: fadeIn;
4441
}
4542

@@ -80,8 +77,7 @@
8077
font-size: 0.7em;
8178
}
8279

83-
.delay-1s {
84-
-webkit-animation-delay: 1s;
80+
.animate__delay-1s {
8581
animation-delay: 1s;
8682
}
8783

@@ -99,7 +95,7 @@
9995
<div class="container">
10096
<div class="row">
10197
<div class="col">
102-
<div class="animated fadeIn">
98+
<div class="animate__animated animate__fadeIn">
10399
<i class="success">
104100
<svg
105101
class="success icon-large fa-check-circle"
@@ -112,8 +108,8 @@
112108
</svg>
113109
</i>
114110
</div>
115-
<h1 class="animated fadeIn">Success!</h1>
116-
<div class="description-text animated fadeIn delay-1s">
111+
<h1 class="animate__animated animate__fadeIn">Success!</h1>
112+
<div class="description-text animate__animated animate__fadeIn animate__delay-1s">
117113
<p>Your new web server is ready to use.</p>
118114
</div>
119115
</div>

web/.eslintrc.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
module.exports = {
2-
"env": {
3-
"browser": true,
4-
"es2021": true
5-
},
62
"extends": "eslint:recommended",
7-
"overrides": [
8-
],
93
"parserOptions": {
104
"ecmaVersion": "latest"
115
},
@@ -14,6 +8,10 @@ module.exports = {
148
"no-undef": "off",
159
"no-redeclare": "off",
1610
},
11+
"env": {
12+
"browser": true,
13+
"es2021": true
14+
},
1715
"globals": {
1816
"$": "readonly",
1917
"jQuery": "readonly",

web/.stylelintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"no-descending-specificity": null,
66
"block-no-empty": null,
77

8-
"property-no-vendor-prefix": null,
98
"max-line-length": null,
109
"declaration-block-no-shorthand-property-overrides": null,
1110
"selector-id-pattern": null

web/css/dependencies/animate.min.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)