Sha256: ae06f712c10e9271a6230c0731f8d31eea99ad0ac5150cefa06df131a8bc2b8c

Contents?: true

Size: 752 Bytes

Versions: 2

Compression:

Stored size: 752 Bytes

Contents

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

@import "../common";

.button {
    @include reset-inline-block;
    @include size-medium;
    cursor: pointer;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    white-space: nowrap;
    background: $gray;

    &.small, .small & { @include size-small; }
    &.medium, .medium & { @include size-medium; }
    &.large, .large & { @include size-large; }

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-1.0.0 scss/toolkit/components/button.scss
titon-toolkit-1.0.0.rc.3 scss/toolkit/components/button.scss