Sha256: 664a42c51fe9b380e84991884d9307db95d21cfc370f22d8553b8b9beb808920

Contents?: true

Size: 1.59 KB

Versions: 62

Compression:

Stored size: 1.59 KB

Contents

/*------------------------------------*\
    #TEXT-BUTTON
\*------------------------------------*/

$text-button-color: $off-black !default;
$text-button-hover-color: $dark-gray !default;

$text-button-create-color: $green !default;
$text-button-create-hover-color: $bright-green !default;

$text-button-destroy-color: $bright-red !default;
$text-button-destroy-hover-color: $red !default;

$text-button-font-size: 1em !default;
$text-button-icon-size: 1.3em !default;


.text-button {
    @extend %button-reset;
    color: $text-button-color;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;

    &:hover {
        color: $text-button-hover-color;
        text-decoration: none;
    }
}

.text-button--create {
    color: $text-button-create-color;

    &:hover {
        color: $text-button-create-hover-color;
    }
}

.text-button--destroy {
    color: $text-button-destroy-color;

    &:hover {
        color: $text-button-destroy-hover-color;
    }
}


    .text-button__icon {
        width: $text-button-icon-size;
        height: $text-button-icon-size;
        fill: $text-button-color;
        vertical-align: text-top;

        .text-button:hover & {
            fill: $text-button-hover-color;
        }

        .text-button--create & {
            fill: $text-button-create-color;
        }

        .text-button--create:hover & {
            fill: $text-button-create-hover-color;
        }

        .text-button--destroy & {
            fill: $text-button-destroy-color;
        }

        .text-button--destroy:hover & {
            fill: $text-button-destroy-hover-color;
        }
    }

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.4 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.26 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.3 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.25 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.2 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.24 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.1 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.23 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.22 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.0 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.21 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.5.0.beta.1 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.20 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.19 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.18 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.17 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.16 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.15 app/assets/stylesheets/workarea/admin/components/_text_button.scss
workarea-admin-3.4.14 app/assets/stylesheets/workarea/admin/components/_text_button.scss