aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-06-23 21:44:01 -0400
committerbobzel <zzzman@gmail.com>2023-06-23 21:44:01 -0400
commit85c017527f209c9d007d67ac70958843ab45e729 (patch)
treee2649860002e0c60e98d84439a67235002ddd9a4 /src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss
parente9d5dbeef2bf1dab9dfb863d970b70b3074e3d0a (diff)
parent1429ab79eac9aa316082f52c14c576f6b3a97111 (diff)
Merge branch 'master' into heartbeat
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss')
-rw-r--r--src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss
new file mode 100644
index 000000000..ac2c611c7
--- /dev/null
+++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss
@@ -0,0 +1,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: 0;
+ top: 0;
+ }
+ }
+
+ .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;
+ }
+}