﻿
@import "_vars.scss";

Controls {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 450px;
    transform: translate( -50% 40% );
    font-family: $font-family-title;
    font-size: $font-size-medium;
    color: $white;
    transition: all 0.2s ease-out;
    text-shadow: 1px 1px $red;
    opacity: 0;
    border-image: url( /ui/border.png ) 50 fill stretch;
    border: 20px solid transparent;
    flex-direction: column;
    z-index: 69;
    align-items: center;

    &.open {
        opacity: 1;
        transition: all 0.2s ease-in;
    }

    .rows {
        flex-direction: column;
        padding: 8px;
    }

    .header {
        flex-direction: column;
        min-height: 20px;

        .title {
            margin-top: 20px;
            margin-right: 180px;
            font-size: $font-size-large;
        }
    }

    .stats {
        margin-top: 10px;
        font-size: $font-size-small;
    }

    .row {
        padding: 8px;
        flex-direction: row;
        align-items: center;

        .title {
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
        }

        .disablehud {
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
        }
    }
}