﻿@import "variables.scss";

button {
    background-color: $primary;
    color: $primary-text;
    border-radius: 4px;
    border: 0 none;
    outline: none;
    padding: 0.6em;
    font-size: 1em;
    position: relative;

    &:active {
        background-color: $primary-ligth;
    }

    &:hover {
        cursor: pointer;
    }
}

input[type=text], input[type=number] {
    background: none;
    background-color: rgba(white, 0.1);
    color: $light-text;
    border: none;
    border-radius: 2px;
    border-bottom: 1px solid $primary;
    line-height: 1em;
    font-size: 1em;
    outline: 0;
    padding: 0.2em;
    margin: 0.1em 0;

    &::-ms-clear {
        display: none;
    }
}

select {
    font-size: 1em;
    font-weight: normal;
    line-height: 1em;
    color: $light-text;
    margin: 0;
    outline: none;
    border: none;
    border-radius: 2px;
    border-bottom: 1px solid $primary;
    background-color: rgba(white, 0.1);

    & option {
        color: initial;
    }
}


a, a:visited {
    color: $background-link-text;
    text-decoration: none;
    cursor: pointer;
}

.app-panel {
    background-color: $background-dialog;
    margin: 1em;
    padding: 1em;
    border-radius: 4px;

    & > p, & > div {
        margin: 1em 0;
        padding: 0;

        &:first-child {
            margin-top: 0;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }
}
