47 lines
929 B
SCSS
47 lines
929 B
SCSS
|
|
.renderer-container {
|
||
|
|
height: 1000px;
|
||
|
|
border: 1px solid #ccc;
|
||
|
|
border-radius: 4px;
|
||
|
|
overflow: hidden;
|
||
|
|
background-color: #f0f0f0;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
position: relative; /* Added for absolute positioning of overlay */
|
||
|
|
}
|
||
|
|
|
||
|
|
.plane-controls-overlay {
|
||
|
|
position: absolute;
|
||
|
|
top: 20px;
|
||
|
|
right: 20px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-end;
|
||
|
|
gap: 10px;
|
||
|
|
z-index: 10;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plane-orientation-buttons {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
grid-template-rows: repeat(3, 1fr);
|
||
|
|
gap: 10px;
|
||
|
|
margin-top: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plane-orientation-buttons button {
|
||
|
|
opacity: 0.7;
|
||
|
|
transition: opacity 0.2s, transform 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plane-orientation-buttons button:hover {
|
||
|
|
opacity: 1;
|
||
|
|
transform: scale(1.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.plane-orientation-buttons button.active {
|
||
|
|
opacity: 1;
|
||
|
|
transform: scale(1.1);
|
||
|
|
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
|
||
|
|
}
|