From c43b5f144eef86bd07fbb447b7c8a7087f4d0cac Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 22 May 2023 15:32:15 -0400 Subject: start of physics cleanup --- .../nodes/PhysicsBox/PhysicsSimulationBox.scss | 128 +++++++++++---------- 1 file changed, 65 insertions(+), 63 deletions(-) (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss') diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss index 7193e3157..c29e36a97 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss @@ -1,76 +1,78 @@ -* { - box-sizing: border-box; - font-size: 14px; -} +.physicsSimApp { + * { + box-sizing: border-box; + font-size: 14px; + } -.mechanicsSimulationContainer { - background-color: white; - height: 100%; - width: 100%; - display: flex; + .mechanicsSimulationContainer { + background-color: white; + height: 100%; + width: 100%; + display: flex; - .mechanicsSimulationEquationContainer { - position: fixed; - left: 60%; - padding: 1em; + .mechanicsSimulationEquationContainer { + position: fixed; + left: 60%; + padding: 1em; - .mechanicsSimulationControls { - display: flex; - justify-content: space-between; - } - } -} + .mechanicsSimulationControls { + display: flex; + justify-content: space-between; + } + } + } -.coordinateSystem { - z-index: -100; -} + .coordinateSystem { + z-index: -100; + } -th, -td { - border-collapse: collapse; - padding: 1em; -} + th, + td { + border-collapse: collapse; + padding: 1em; + } -table { - min-width: 300px; -} + table { + min-width: 300px; + } -tr:nth-child(even) { - background-color: #d6eeee; -} + tr:nth-child(even) { + background-color: #d6eeee; + } -button { - z-index: 50; -} + button { + z-index: 50; + } -.angleLabel { - font-weight: bold; - font-size: 20px; - user-select: none; - pointer-events: none; -} + .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; -} + .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; -} + .mechanicsSimulationSettingsMenuRow { + display: flex; + } -.mechanicsSimulationSettingsMenuRowDescription { - width: 50%; -} + .mechanicsSimulationSettingsMenuRowDescription { + width: 50%; + } -.dropdownMenu { - z-index: 50; -} \ No newline at end of file + .dropdownMenu { + z-index: 50; + } +} -- cgit v1.2.3-70-g09d2