ui/contextmenu/inspector.razor.scss
@import "/UI/Theme.scss";
Inspector
{
font-family: $body-font;
font-size: $ui-settings-font;
font-weight: 500;
width: 100%;
color: $ui-text;
transition: all 0.2s linear;
> .canvas
{
width: 100%;
height: 100%;
z-index: 0;
position: absolute;
top: 0px;
left: 0px;
pointer-events: all;
}
}
Inspector .inspector-panel
{
position: absolute;
right: $deadzone-x;
bottom: $deadzone-y;
width: 100%;
max-width: 500px;
max-height: 80%;
flex-direction: column;
pointer-events: none;
&.hidden
{
display: none;
}
}
Inspector .tab-bar
{
flex-direction: row;
align-items: flex-end;
margin-left: 9px;
height: 25px;
align-self: flex-start;
z-index: 10;
flex-shrink: 0;
pointer-events: all;
}
Inspector .tab
{
@include ui-tab;
pointer-events: all;
&.active
{
pointer-events: none;
}
}
Inspector .window-frame
{
@include ui-block;
flex-direction: column;
min-height: 0px;
pointer-events: all;
}
Inspector .window-stack
{
width: 100%;
min-height: 0px;
pointer-events: all;
}
Inspector .window-stack .window
{
@include ui-section;
padding: 12px 10px 8px 10px;
width: 100%;
min-height: 0px;
border-radius: 2px;
pointer-events: all;
z-index: 200;
&.hidden
{
display: none;
}
}
Inspector .window-stack .window .body
{
@include ui-scroll;
flex-direction: column;
flex-grow: 1;
min-height: 0px;
overflow-y: scroll;
gap: 2px;
> *
{
flex-shrink: 0;
}
}
Inspector .window-stack .window .footer
{
flex-direction: row;
gap: 6px;
padding-top: 8px;
flex-shrink: 0;
UIButton
{
flex-grow: 1;
}
}
Inventory.hidden
{
opacity: 0;
}
Inspector .window UISlider
{
min-width: 0px;
.track
{
max-width: 100%;
min-width: 0px;
}
.entry
{
margin-left: 0px;
}
}