aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DiagramBox.scss
blob: d2749f1ad6bf325d45c6ebee2fc84d5dcb7f363d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.DIYNodeBox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .DIYNodeBox-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .DIYNodeBox {
            /* existing code */

            .DIYNodeBox-iframe {
                height: 100%;
                width: 100%;
                border: none;

            }
        }

        .search-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 10px;

            input[type="text"] {
                flex: 1;
                margin-right: 10px;
            }

            button {
                padding: 5px 10px;
            }
        }

        .content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            width:100%;
            height:100%;
            .diagramBox{
                flex: 1;
                display: flex;
                justify-content: center;
                align-items: center;
                width:100%;
                height:100%; 
                svg{
                    flex: 1;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width:100%;
                    height:100%; 
                }
            }
        }

        .loading-circle {
            position: relative;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 3px solid #ccc;
            border-top-color: #333;
            animation: spin 1s infinite linear;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
    }
}