@railzai/railz-visualizations
Version:
Railz.ai Visualizations
321 lines (319 loc) • 9.47 kB
CSS
@font-face {
font-family: Inter;
src: url("../assets/fonts/Inter-italic-var.woff2");
font-family: Inter;
src: url("../assets/fonts/Inter-upright-var.woff2");
}
body,
div[class^=railz-],
div[class*=" railz-"] {
font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
:host {
flex: 1;
display: flex;
text-align: center;
align-items: center;
flex-direction: column;
justify-content: center;
}
.rv-loading-container {
display: flex;
flex-direction: column;
align-items: center;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-android {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-android .path {
stroke-linecap: round;
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-android .path {
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite;
}
}
.rv-loading-container svg.spinner-android {
animation: rotate 2s linear infinite;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-android .path {
stroke-linecap: round;
animation: none;
}
}
.rv-loading-container svg.spinner-android .path {
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(1) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(1) {
animation: pulse 1s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(2) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(2) {
animation: pulse 1s -0.083s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(3) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(3) {
animation: pulse 1s -0.166s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(4) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(4) {
animation: pulse 1s -0.249s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(5) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(5) {
animation: pulse 1s -0.332s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(6) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(6) {
animation: pulse 1s -0.415s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(7) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(7) {
animation: pulse 1s -0.498s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(8) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(8) {
animation: pulse 1s -0.581s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(9) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(9) {
animation: pulse 1s -0.664s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(10) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(10) {
animation: pulse 1s -0.747s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(11) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(11) {
animation: pulse 1s -0.83s infinite linear;
}
}
@media screen and (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(12) {
animation: none;
}
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(12) {
animation: pulse 1s -0.913s infinite linear;
}
}
.rv-loading-container svg.spinner-ios {
animation: iosIntro 0.6s;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(1) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(1) {
animation: pulse 1s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(2) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(2) {
animation: pulse 1s -0.083s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(3) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(3) {
animation: pulse 1s -0.166s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(4) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(4) {
animation: pulse 1s -0.249s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(5) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(5) {
animation: pulse 1s -0.332s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(6) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(6) {
animation: pulse 1s -0.415s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(7) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(7) {
animation: pulse 1s -0.498s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(8) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(8) {
animation: pulse 1s -0.581s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(9) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(9) {
animation: pulse 1s -0.664s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(10) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(10) {
animation: pulse 1s -0.747s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(11) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(11) {
animation: pulse 1s -0.83s infinite linear;
}
@media screen and (prefers-reduced-motion: reduce) {
.rv-loading-container svg.spinner-ios path:nth-of-type(12) {
animation: none;
}
}
.rv-loading-container svg.spinner-ios path:nth-of-type(12) {
animation: pulse 1s -0.913s infinite linear;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 150;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -124;
}
}
@keyframes pulse {
50% {
fill-opacity: 0.2;
}
to {
fill-opacity: 1;
}
}
@keyframes ios-intro {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.rv-loading-container .rv-loading-title {
font-size: 12px;
color: #000;
}