Skip to content

A platform for community discussion. Free, open, simple.

UX: makes reports fade in when loading is done (#6440)

Joffrey JAFFEUXf34d9202b4e7
diff --git a/app/assets/stylesheets/common/components/conditional-loading-section.scss b/app/assets/stylesheets/common/components/conditional-loading-section.scss
index cb6c052b18d..7aa75ef874c 100644
--- a/app/assets/stylesheets/common/components/conditional-loading-section.scss
+++ b/app/assets/stylesheets/common/components/conditional-loading-section.scss
@@ -13,4 +13,27 @@
font-weight: 700;
}
}
+
+ &:not(.is-loading) {
+ animation: fadein 0.5s;
+ -webkit-animation: fadein 0.5s;
+ }
+
+ @keyframes fadein {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+ }
+
+ @-webkit-keyframes fadein {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+ }
}