/**
 * Uniform Theme: Crayon
 *
 * @author Tyler Akins
 */

$jquery-uniform-img-path: "../images/jeans";
$button-height: 30px;
$button-margin-left: 12px;
$button-padding: 0 15px 0 2px;
//$button-span-height: 22px;
$checkbox-height: 19px;
$checkbox-width: 19px;
$input-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus-jeans.png";
$input-background-focus-retina: "#{$jquery-uniform-img-path}/bg-input-focus-retina-jeans.png";
$input-background: "#{$jquery-uniform-img-path}/bg-input-jeans.png";
$input-background-retina: "#{$jquery-uniform-img-path}/bg-input-retina-jeans.png";
$input-padding: 3px;
$radio-height: 18px;
$radio-width: 18px;
$select-fixed-width: 190px;
$select-height: 26px;
$select-margin-left: 10px;
$select-margin-right: 25px;
$select-select-height: 22px;
$select-select-top: 2px;
$sprite: "#{$jquery-uniform-img-path}/sprite-jeans.png";
$sprite-retina: "#{$jquery-uniform-img-path}/sprite-retina-jeans.png";
$upload-action-width: 82px;
$upload-filename-margin-top: 2px;
$upload-filename-margin-left: 2px;
$upload-filename-width: 85px;
$upload-filename-padding: 0 10px;
$upload-height: 28px;
$upload-span-height: 24px;
$upload-width: 190px;
$input-background-size: 60px;

@import "_base.scss";

/* INPUT & TEXTAREA */

#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
    font-size: 12px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #ffe000;
    border: 1px solid #aaaaaa;
    border-right-color: #cccccc;
    border-bottom-color: #cccccc;
    border-radius: $input-padding;

    &:focus {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
        border-color: #999999;
    }
}

/* PRESENTATION */

/* Buttons */

div#{$class-wrapper}#{$class-button} {
    span {
        font-weight: bold;
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #ffe000;
    }

    @include whenHover {
        span {
            color: #ffe000;
        }
    }

    @include whenDisabled {
        span {
            color: #ffe000;
        }
    }
}

/* Select */

div#{$class-wrapper}#{$class-select} {
    font-size: 12px;

    select {
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
        font-size: 12px;
    }

    span {
        color: #ffe000;
        text-shadow: 0 1px 0 #000000;
    }

    @include whenDisabled {
        span {
            color: #ffe000;
        }
    }
}

/* Checker */
div#{$class-wrapper}#{$class-checkbox} {
    margin-right: 5px;
}

/* Radio */
div#{$class-wrapper}#{$class-radio} {
    margin-right: 3px;
}

/* Uploader */
div#{$class-wrapper}#{$class-upload} {
    span#{$class-action} {
        text-shadow: #000000 0 1px 0;
        background-color: #ffffff;
        font-size: 11px;
        font-weight: bold;
        color: #ffe000;
    }

    span#{$class-filename} {
        color: #ffe000;
        font-size: 11px;
        border-right: 1px solid rgb(47, 67, 104);
    }

    @include whenDisabled {
        span#{$class-action} {
            color: #ffe000;
        }

        span#{$class-filename} {
            border-color: #dddddd;
            color: #ffe000;
        }
    }
}

#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
    &, &:focus {
        background-repeat: repeat
    }
}

@include retina()
