index.html 7.47 KB
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=5"><![endif]-->
<!DOCTYPE html>
<html>

<head>
    <title>云组态</title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Description" content="云组态">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="theme-color" content="#377dff">
    <script type="module" src="/src/main.ts"></script>
    <script src="/webapp/setting.js"></script>
    <script src="/webapp/preload.js"></script>
    <link rel="stylesheet" type="text/css" href="/webapp/styles/grapheditor.css">
    <link rel="shortcut icon" href="favicon.ico">
    <style type="text/css">
        body {
            overflow: hidden;
        }

        div.picker {
            z-index: 10007;
        }

        .geSidebarContainer .geTitle input {
            font-size: 8pt;
            color: #606060;
        }

        .geBlock {
            z-index: -3;
            margin: 100px;
            margin-top: 40px;
            margin-bottom: 30px;
            padding: 20px;
            text-align: center;
            min-width: 50%;
        }

        .geBlock h1,
        .geBlock h2 {
            margin-top: 0;
            padding-top: 0;
        }

        .geEditor *:not(.geScrollable)::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        .geEditor ::-webkit-scrollbar-track {
            background-clip: padding-box;
            border: solid transparent;
            border-width: 1px;
        }

        .geEditor ::-webkit-scrollbar-corner {
            background-color: transparent;
        }

        .geEditor ::-webkit-scrollbar-thumb {
            background-color: rgb(0 0 0 / 10%);
            background-clip: padding-box;
            border: solid transparent;
            border-radius: 10px;
        }

        .geEditor ::-webkit-scrollbar-thumb:hover {
            background-color: rgb(0 0 0 / 40%);
        }

        .geTemplate {
            border: 1px solid transparent;
            display: inline-block;
            _display: inline;
            vertical-align: top;
            border-radius: 3px;
            overflow: hidden;
            font-size: 14pt;
            cursor: pointer;
            margin: 5px;
        }
    </style>
    <style>
        :root {
            --color: #d3d3d3;
        }

        .first-text-animation-container {
            display: flex;
            width: 100vw;
            height: 100vh;
            align-items: center;
            flex-direction: column;
            justify-content: center;
        }

        .first-text-animation-container svg {
            display: block;
            font-size: 80px;

            /* width: 100vw;
            height: 100vh; */
            margin: 0 auto;
        }

        .first-text-animation-container .text-copy {
            fill: none;
            stroke: white;
            stroke-dasharray: 6% 29%;
            stroke-width: 3px;
            stroke-dashoffset: 0%;
            animation: stroke-offset 5.5s infinite linear;
        }

        .first-text-animation-container .text-copy:nth-child(1) {
            stroke: var(--color);
            animation-delay: -1s;
        }

        .first-text-animation-container .text-copy:nth-child(2) {
            stroke: var(--color);
            animation-delay: -2s;
        }

        .first-text-animation-container .text-copy:nth-child(3) {
            stroke: var(--color);
            animation-delay: -3s;
        }

        .first-text-animation-container .text-copy:nth-child(4) {
            stroke: var(--color);
            animation-delay: -4s;
        }

        .first-text-animation-container .text-copy:nth-child(5) {
            stroke: var(--color);
            animation-delay: -5s;
        }

        #first-text-animation {
            display: none;
        }

        @keyframes stroke-offset {
            100% {
                stroke-dashoffset: -35%;
            }
        }

        figure {
            width: 6.250em;
            height: 6.250em;
            animation: rotate 2.4s linear infinite;
        }

        .white {
            inset: 0;
            background: white;
            animation: flash 2.4s linear infinite;
            opacity: 0;
        }

        .dot {
            position: absolute;
            margin: auto;
            width: 2.4em;
            height: 2.4em;
            border-radius: 100%;
            transition: all 1s ease;
        }

        .dot:nth-child(2) {
            top: 0;
            bottom: 0;
            left: 0;
            background: #F44;
            animation: dotsy 2.4s linear infinite;
        }

        .dot:nth-child(3) {
            left: 0;
            right: 0;
            top: 0;
            background: #FB3;
            animation: dotsx 2.4s linear infinite;
        }

        .dot:nth-child(4) {
            top: 0;
            bottom: 0;
            right: 0;
            background: #9C0;
            animation: dotsy 2.4s linear infinite;
        }

        .dot:nth-child(5) {
            left: 0;
            right: 0;
            bottom: 0;
            background: #33B5E5;
            animation: dotsx 2.4s linear infinite;
        }

        @keyframes rotate {
            0% {
                transform: rotate(0);
            }

            10% {
                width: 6.250em;
                height: 6.250em;
            }

            66% {
                width: 2.4em;
                height: 2.4em;
            }

            100% {
                transform: rotate(360deg);
                width: 6.250em;
                height: 6.250em;
            }
        }

        @keyframes dotsy {
            66% {
                opacity: .1;
                width: 2.4em;
            }

            77% {
                opacity: 1;
                width: 0;
            }
        }

        @keyframes dotsx {
            66% {
                opacity: .1;
                height: 2.4em;
            }

            77% {
                opacity: 1;
                height: 0;
            }
        }

        @keyframes flash {
            33% {
                opacity: 0;
                border-radius: 0%;
            }

            55% {
                opacity: .6;
                border-radius: 100%;
            }

            66% {
                opacity: 0;
            }
        }
    </style>
</head>

<body class="geEditor">
    <div id="geInfo">
        <div class="first-text-animation-container">
            <svg id="first-text-animation" viewBox="0 0 960 100">
                <symbol id="first-text-animation-text">
                    <text text-anchor="middle" x="50%" y="80%">Scada</text>
                </symbol>
                <g class="g-ants">
                    <use xlink:href="#first-text-animation-text" class="text-copy"></use>
                    <use xlink:href="#first-text-animation-text" class="text-copy"></use>
                    <use xlink:href="#first-text-animation-text" class="text-copy"></use>
                    <use xlink:href="#first-text-animation-text" class="text-copy"></use>
                    <use xlink:href="#first-text-animation-text" class="text-copy"></use>
                </g>
            </svg>
            <figure>
                <div class="dot white"></div>
                <div class="dot"></div>
                <div class="dot"></div>
                <div class="dot"></div>
                <div class="dot"></div>
            </figure>
        </div>
    </div>
</body>

</html>