﻿@import "./CarShop.scss";
@import "./shared.scss";

PaintshopUi {
    color: white;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;


    .colors-list {
        width: 100%;
        height: 280px;
        flex-wrap: wrap;
        // border: 1px solid red;
    }

    .color-button {
        flex-shrink: 0;
        width: 25%;
        height: 16%;
        cursor: pointer;
        // text-shadow: none;
        color: white;
        align-content: center;
        justify-content: center;
        align-items: center;
        font-size: 60px;
        border: 3px solid transparent;

        &:hover {
            sound-in: "sounds/menu/button-hover.sound";
            border-color: black;
        }

        &:active {
            sound-in: "sounds/menu/button-click.sound";
        }
    }

    .accessory-list {
        width: 100%;
        height: 200px;
        flex-direction: column;

        button {
            cursor: pointer;

            &:hover {
                sound-in: "sounds/menu/button-hover.sound";
                color: orange;
            }

            &.selected {
                color: yellow;
            }

            &:active {
                sound-in: "sounds/menu/button-click.sound";
            }

            &.locked {
                color: lightgrey;

                &:active {
                    sound-in: "sounds/menu/button-error.sound";
                }
            }

            .name {
                flex-grow: 1;
            }
        }

        row {
            button:first-child {
                flex-grow: 1;
            }
        }

        .purchase-accessory {
            color: yellow;
        }
    }
}
