_download-app.scss 1.3 KB
/*
 * @description: download css
 * @author: chenglong.wang@yoho.cn
 * @date: 2015/4/16
 */

.home-download {
    margin: 50px 15px 0 15px;
    border: 2px dashed #dcdcdc;
    padding-bottom: 30px;
    @include border-radius(5px);

    > div {
        margin: 30px 10px 0 30px;
        position: relative;

        h2, h3, p {
            position: absolute;
            left: 95px;
            @include ellipsis();
        }

        h2 {
            top: 4px;
            font-size: 1.7rem;
            font-weight: bold;
        }

        h3 {
            top: 23px;
            font-size: 1.4rem;
            font-weight: normal;
        }

        p {
            top: 39px;
            color: #666;
            font-size: 0.8rem;
        }

        @for $i from 1 through 2 {
            &:nth-of-type(#{$i}) {
                > span.app-icon {
                    @include retina-sprite($icons, app-#{$i});
                }
            }
        }
    }

    .down-btn {
        width: 88px;
        height: 24px;
        line-height: 24px;
        border: 1px solid #000;
        @include border-radius(5px);
        position: absolute;
        left: 95px;
        bottom: 2px;
        color: #000;
        font-size: 1.4rem;
        font-weight: bold;
        text-align: center;
        @include hover-link();
    }
}