Skip to content

Commit ec9df05

Browse files
authored
Reduce amount of animation styles (hestiacp#3418)
1 parent 27dd05b commit ec9df05

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

web/css/src/themes/default.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,13 @@
269269
position: absolute;
270270
top: 100%;
271271
right: 0;
272-
animation-name: fadeIn;
273272
animation-duration: var(--animate-duration);
274273

275274
@media (--viewport-medium) {
276275
display: flex !important; /* NOTE: Overrides inline style set by JS */
277276
background-color: transparent;
278277
box-shadow: none;
279278
position: static;
280-
animation-name: none;
281279
animation-duration: 0s;
282280
}
283281
}
@@ -303,7 +301,6 @@
303301

304302
&:hover {
305303
box-shadow: inset 0 0 6px rgb(255 255 255 / 60%);
306-
transition: 0.2s;
307304
color: #4686b8;
308305
border-left: 1px solid rgb(0 0 0 / 10%);
309306
border-right: 1px solid rgb(0 0 0 / 10%);
@@ -328,7 +325,6 @@
328325
rgb(255 255 255 / 95%) 95%
329326
);
330327
box-shadow: inset 0 0 1px #fff, inset -1px -1px 4px rgb(220 220 220 / 40%);
331-
transition: 0.2s;
332328
}
333329

334330
&.active {
@@ -472,7 +468,6 @@
472468
&.active {
473469
background-color: transparent;
474470
border-bottom-color: #c36;
475-
transition: 0.3s;
476471
}
477472
}
478473

@@ -716,7 +711,6 @@
716711
rgb(227 240 251 / 100%) 100%
717712
);
718713
box-shadow: inset 0 0 1px #fff, inset 0 0 6px rgb(255 255 255 / 60%);
719-
transition: 0.2s;
720714
}
721715

722716
&:active,
@@ -1860,7 +1854,6 @@
18601854
rgb(227 240 251 / 100%) 100%
18611855
);
18621856
box-shadow: 0 1px 3px rgb(0 0 0 / 25%), inset 0 0 1px #fff, inset 0 0 6px rgb(255 255 255 / 60%);
1863-
transition: 0.2s;
18641857
}
18651858

18661859
&:active {

web/css/themes/default.min.css

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

web/templates/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919

2020
<div x-data>
21-
<dialog x-ref="dialog" class="shortcuts animate__animated animate__fadeIn">
21+
<dialog x-ref="dialog" class="shortcuts">
2222
<div class="shortcuts-header">
2323
<div class="shortcuts-title"><?= _("Shortcuts") ?></div>
2424
<div

web/templates/includes/panel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class="top-bar-menu-link"
6969
<ul
7070
x-cloak
7171
x-show="open"
72-
class="top-bar-notifications-list animate__animated animate__fadeIn"
72+
class="top-bar-notifications-list"
7373
>
7474
<template x-if="initialized && notifications.length == 0">
7575
<li class="top-bar-notification-item empty">

0 commit comments

Comments
 (0)