Sha256: 2f4891b80b3b65a2018bb24f584d646f266ab9c0eb7eec9a3ba92b1dde6eb4e7

Contents?: true

Size: 857 Bytes

Versions: 3

Compression:

Stored size: 857 Bytes

Contents

/**
 * @copyright   2010-2013, The Titon Project
 * @license     http://opensource.org/licenses/bsd-license.php
 * @link        http://titon.io
 */

@import "../common";

.#{$vendor-prefix}button {
    @include reset-inline-block;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
    @include size-medium;

    &:focus { outline: none; }

    @include is-small(true, true) { @include size-small; }
    @include is-large(true, true) { @include size-large; }

    &.#{$shape-round-class} { border-radius: $round; }
    &.#{$shape-square-class} { border-radius: 0; }

    @include is-disabled {
        cursor: not-allowed;
    }
}

// Reset browser styles
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
titon-toolkit-1.2.2 scss/toolkit/components/button.scss
titon-toolkit-1.2.1 scss/toolkit/components/button.scss
titon-toolkit-1.2.0 scss/toolkit/components/button.scss