ui/contextmenu/gameobjectinspector.razor.scss
@import "/UI/Theme.scss";

GameObjectInspector
{
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

GameObjectInspector .object-info
{
    flex-direction: row;
    gap: 12px;
    padding-bottom: 6px;
    margin-bottom: 3px;
    font-size: $ui-settings-font;
    color: $ui-text-muted;
    border-bottom: 1px solid $ui-separator;

    span
    {
        gap: 4px;
        align-items: center;
    }
}

GameObjectInspector .empty-state
{
    text-align: center;
    color: $ui-text-muted;
    font-size: $ui-settings-font;
    padding: 10px 8px;
}

GameObjectInspector .material-row
{
    flex-direction: row;
    align-items: center;
    gap: 0px;
    padding: 2px 0;
    width: 100%;

    > label, > .label
    {
        flex-shrink: 0;
        font-size: $ui-settings-font;
        color: $ui-text-label;
        width: 121px;
        padding-right: 6px;
    }

    .material-picker
    {
        min-width: 0px;
    }

    .material-revert
    {
        flex-shrink: 0;
        width: 24px;
        padding: 0;
        margin-left: 6px;
    }

    &.overridden .material-picker
    {
        border-color: $ui-blue;
        color: $ui-blue;
    }

    // slots replaced by the whole-model override can't be edited until it's cleared
    &.locked
    {
        opacity: 0.4;

        .material-picker
        {
            pointer-events: none;
        }
    }
}

GameObjectInspector UISheet UIColor
{
    justify-content: flex-end;
}