aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss
blob: 78aa526bfdf2a075d6248218cd94bceb2c34cfdc (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
89
90
.physicsSimApp {
    * {
        box-sizing: border-box;
        font-size: 14px;
    }

    .mechanicsSimulationContainer {
        background-color: white;
        height: 100%;
        width: 100%;
        display: flex;

        .mechanicsSimulationEquationContainer {
            position: fixed;
            left: 60%;
            padding: 1em;
            height: 100%;
            transform-origin: top left;

            .mechanicsSimulationControls {
                display: flex;
                justify-content: space-between;
            }
        }
        .rod,
        .spring,
        .wheel,
        .showvecs,
        .wedge {
            pointer-events: none;
            position: absolute;
            left: 0px;
            top: 0px;
        }
    }

    .coordinateSystem {
        z-index: -100;
    }

    th,
    td {
        border-collapse: collapse;
        padding: 1em;
    }

    table {
        min-width: 300px;
    }

    tr:nth-child(even) {
        background-color: #d6eeee;
    }

    button {
        z-index: 50;
    }

    .angleLabel {
        font-weight: bold;
        font-size: 20px;
        user-select: none;
        pointer-events: none;
    }

    .mechanicsSimulationSettingsMenu {
        width: 100%;
        height: 100%;
        font-size: 12px;
        background-color: rgb(224, 224, 224);
        border-radius: 2px;
        border-color: black;
        border-style: solid;
        padding: 10px;
        position: fixed;
        z-index: 1000;
    }

    .mechanicsSimulationSettingsMenuRow {
        display: flex;
    }

    .mechanicsSimulationSettingsMenuRowDescription {
        width: 50%;
    }

    .dropdownMenu {
        z-index: 50;
    }
}