Spaces:
Running
Running
Upload 8 files
Browse files- index.html +7 -22
index.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
|
| 33 |
#viewport-row {
|
| 34 |
display: flex;
|
| 35 |
-
flex-direction:
|
| 36 |
flex: 1;
|
| 37 |
min-height: 0;
|
| 38 |
overflow: hidden;
|
|
@@ -44,15 +44,13 @@
|
|
| 44 |
background: linear-gradient(180deg, #1a1a30 0%, #252540 100%);
|
| 45 |
position: relative;
|
| 46 |
overflow: hidden;
|
| 47 |
-
border-bottom: 2px solid rgba(100, 140, 255, 0.15);
|
| 48 |
touch-action: none;
|
| 49 |
}
|
| 50 |
|
| 51 |
#intensity-container {
|
| 52 |
-
width:
|
| 53 |
-
height: 160px;
|
| 54 |
background: linear-gradient(180deg, #12122a 0%, #1a1a30 100%);
|
| 55 |
-
border-
|
| 56 |
position: relative;
|
| 57 |
overflow: hidden;
|
| 58 |
flex-shrink: 0;
|
|
@@ -94,32 +92,19 @@
|
|
| 94 |
}
|
| 95 |
|
| 96 |
@media (min-width: 1024px) {
|
| 97 |
-
#viewport-row {
|
| 98 |
-
flex-direction: row;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
#scene-container {
|
| 102 |
-
flex: 1;
|
| 103 |
-
min-height: 0;
|
| 104 |
-
border-bottom: none;
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
#intensity-container {
|
| 108 |
width: 240px;
|
| 109 |
-
height: auto;
|
| 110 |
-
border-top: none;
|
| 111 |
-
border-left: 2px solid rgba(100, 140, 255, 0.2);
|
| 112 |
}
|
| 113 |
}
|
| 114 |
|
| 115 |
-
/* Mobile:
|
| 116 |
@media (max-width: 768px) {
|
|
|
|
|
|
|
|
|
|
| 117 |
#scene-container {
|
| 118 |
min-height: 120px;
|
| 119 |
}
|
| 120 |
-
#intensity-container {
|
| 121 |
-
height: 120px;
|
| 122 |
-
}
|
| 123 |
#control-container {
|
| 124 |
padding: 6px 8px;
|
| 125 |
max-height: 50vh;
|
|
|
|
| 32 |
|
| 33 |
#viewport-row {
|
| 34 |
display: flex;
|
| 35 |
+
flex-direction: row;
|
| 36 |
flex: 1;
|
| 37 |
min-height: 0;
|
| 38 |
overflow: hidden;
|
|
|
|
| 44 |
background: linear-gradient(180deg, #1a1a30 0%, #252540 100%);
|
| 45 |
position: relative;
|
| 46 |
overflow: hidden;
|
|
|
|
| 47 |
touch-action: none;
|
| 48 |
}
|
| 49 |
|
| 50 |
#intensity-container {
|
| 51 |
+
width: 200px;
|
|
|
|
| 52 |
background: linear-gradient(180deg, #12122a 0%, #1a1a30 100%);
|
| 53 |
+
border-left: 1px solid rgba(100, 140, 255, 0.2);
|
| 54 |
position: relative;
|
| 55 |
overflow: hidden;
|
| 56 |
flex-shrink: 0;
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
@media (min-width: 1024px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
#intensity-container {
|
| 96 |
width: 240px;
|
|
|
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
}
|
| 99 |
|
| 100 |
+
/* Mobile: narrower intensity panel, compact controls */
|
| 101 |
@media (max-width: 768px) {
|
| 102 |
+
#intensity-container {
|
| 103 |
+
width: 120px;
|
| 104 |
+
}
|
| 105 |
#scene-container {
|
| 106 |
min-height: 120px;
|
| 107 |
}
|
|
|
|
|
|
|
|
|
|
| 108 |
#control-container {
|
| 109 |
padding: 6px 8px;
|
| 110 |
max-height: 50vh;
|