/*
 * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
 * License granted by Canonical Limited
 *
 * This file is part of ubuntu-html5-ui-toolkit.
 *
 * This package is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of the
 * License, or
 * (at your option) any later version.

 * This package is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this program. If not, see
 * <http://www.gnu.org/licenses/>
 */

/* ----------------------------------
 * Buttons
 * ---------------------------------- */

[data-role="button"] {
    @include box_sizing (border-box);
    display: inline-block;
    width: 100%;
    height: 42px;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: $ubuntu_orange;
    border: 2px solid $ubuntu_orange;
    border-radius: 6px;
    color: $white;
    font-family: $font-family;
    font-size: 1rem;
    padding: 9px 25px;
    text-align: center;
    text-decoration: none;
    position: relative;

    &.positive {
        background: $green;
        color: $white;
        border-color: $green;
    }

    &.information {
        background: $blue;
        color: $white;
        border-color: $blue;
    }

    &.secondary {
        background: $white;
        color: $warm_grey;
    }

    &.negative {
        background: $light_grey;
        color: $white;
        border-color: $light_grey;
    }
}