/*to use global variables, import them into your component stylesheet*/
@import "./../../../styles/global.scss";

.button {
    background: $grey-light;
    border: 0;
    color: $black;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    height: 26px;
    line-height: 28px;
    margin-bottom: 10px;
    margin-right: 10px;
    outline: none;
    padding: 4px 16px 6px;
    transition: background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38);
    user-select: none;
    white-space: nowrap;
}

.button.small {
    padding: 2px 10px 4px;
}

.button.mini {
    font-size: 90%;
    padding: 0 7px 1px;
}

.button:hover {
    background: $grey-medium-light;
}

.button:focus,
.button:active {
    box-shadow: 0 0 0 2px $blue;
}

.button.primary {
    background: $blue;
    color: $white;
}

.button.primary:hover {
    background: $blue-hover;
}

.button.secondary {
    background: $blue-pale;
    color: $dark-blue;
}

.button.secondary:hover {
    background: $blue-pale-hover;
}

.button.success {
    background: $green;
    color: $white;
}

.button.success:hover {
    background: $green-hover;
}

.button.link {
    background: transparent;
    color: $blue;
}

.button.link:hover {
    background: $grey-white;
}

.button .material-icons {
    float: left;
    margin-right: 6px;
}

.button.disabled {
    background: transparent;
    color: $grey-dark;
    cursor: not-allowed;
    pointer-events: none;
}

.button.warning {
    background: $hot-pink;
    border-color: $hot-pink;
    color: $white;
}

.button.warning:hover {
    background: $hot-pink;
    border-color: $hot-pink;
    color: $white;
    opacity: 0.9;
}