/*
 * © 2024 AxonOps Limited. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
* Animations regards showing an element
*/
@keyframes show {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
@keyframes show-question {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
@keyframes show-answer {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
@keyframes show-section-actions {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}
@keyframes show-sandbox {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 0.1;
    transform: translateY(12px);
  }
}
@keyframes show-sandbox-icon {
  0%,
  25% {
    transform: translateY(5px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 0.9;
  }
}
/**
* Special animations for specific type of elements
*/
@keyframes animate-toast {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes animate-save-snapshot {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes animate-or {
  %25,
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-5px);
  }

  100% {
    opacity: 0.8;
    transform: scale(0.9) translateY(0px);
  }
}
@keyframes animate-or-before {
  0%,
  25% {
    opacity: 0;
    width: 0;
  }

  100% {
    opacity: 1;
    width: 6%;
  }
}
@keyframes animate-sandbox-button {
  0%,
  25% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}
/**
* Animation regards rotate an element
*/
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/**
* Special animation for the results of searching in the metadata tree view
*/
@keyframes animate-click {
  0% {
    filter: grayscale(0) brightness(1);
  }

  50% {
    filter: grayscale(1) brightness(10);
  }

  100% {
    filter: grayscale(0) brightness(1);
  }
}
@keyframes show-switcher {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/**
* Other general animations
*/
@keyframes fade-in-out {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.8;
  }
}
@keyframes show-connection {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes show-arrow {
  0% {
    opacity: 0;
    transform: rotate(90deg) translateY(5px);
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: rotate(90deg) translateY(0px);
  }
}
@keyframes loading-effect {
  0% {
    background-position: -500px 0;
  }

  100% {
    background-position: 500px 0;
  }
}
@keyframes update-notification {
  0% {
    transform: scale(0);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}
