blockly3d/src/components/Panels.scss

93 lines
1.8 KiB
SCSS

.overlay-panels {
z-index: 15000;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
gap: 10px;
pointer-events: none;
&>.panel {
box-sizing: border-box;
margin: 10px;
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(4px);
padding: 4px;
border-radius: 4px;
display: flex;
flex-direction: column;
gap: 0.25em;
&:not(:first-child) {
margin-left: none !important;
}
&.left,
&.right {
min-width: 30%;
flex: 0;
}
&.main {
flex: 1;
}
&>header {
background: #00000040;
margin: -4px;
padding: 12px;
text-transform: capitalize;
}
&>*:not(.debug):not(.header):not(.gap) {
pointer-events: all;
}
&>.gap {
flex: 1;
}
&>.debug {
// border: 1px solid #ffffff20;
border-radius: 2px;
background: #00000040;
margin: -4px;
padding: 4px;
font-size: 75%;
display: flex;
gap: 0.5em;
align-items: start;
&>.chart {
display: inline;
& div {
display: inline;
position: relative !important;
z-index: unset !important;
opacity: 1 !important;
}
}
&>.metrics {
display: flex;
flex-wrap: wrap;
gap: 0.25em 0.5em;
&>* {
white-space: pre;
}
}
}
}
}