<template>
    <div class="ht-base-timeline-horizontal-icon-demo">
        <ht-base-row style="margin: 20px 0;">
            <ht-base-timeline horizontal>
                <ht-base-timeline-item color="green">
                    <ht-base-icon type='LiRa_check1' slot="dot" size=20 />
                    <p class="demo-timeline-title">2017年10月25日</p>
                    <p class="demo-timeline-time">发布1.0版本</p>
                    <p class="demo-timeline-content">自定义事件描述文字</p>
                </ht-base-timeline-item>
                <ht-base-timeline-item color="green">
                    <ht-base-icon type='LiRa_check1' slot="dot" size=20 />
                    <p class="demo-timeline-title">2017年12月08日</p>
                    <p class="demo-timeline-time">发布2.0版本</p>
                    <p class="demo-timeline-content">自定义事件描述文字</p>
                </ht-base-timeline-item>
                <ht-base-timeline-item color="red">
                    <ht-base-icon type='LiRa_cross2' slot="dot" size=20 />
                    <p class="demo-timeline-title">2018年01月27日</p>
                    <p class="demo-timeline-time">严重故障</p>
                    <p class="demo-timeline-content">自定义事件描述文字</p>
                </ht-base-timeline-item>
                <ht-base-timeline-item>
                    <ht-base-icon type='LiRa_check1' slot="dot" size=20 />
                    <p class="demo-timeline-title">2018年02月19日</p>
                    <p class="demo-timeline-time">发布3.0版本</p>
                    <p class="demo-timeline-content">自定义事件描述文字</p>
                </ht-base-timeline-item>
            </ht-base-timeline>
        </ht-base-row>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseTimelineHorizontalIconDemo',
    }
</script>
<style lang="less">
    .ht-base-timeline-horizontal-icon-demo {
        .demo-timeline-title {
            position: relative;
            margin-top: -50px;
            margin-bottom: 30px;
            color: #8C8C8C;
            font-weight: 400;
            line-height: normal;
            font-size: 12px;
        }
        .demo-timeline-content {
            padding-top: 0 !important;
            font-size: 12px;
            color: #BFBFBF;
            font-weight: 400;
        }
        .demo-timeline-time {
            color: #262626;
            font-size: 14px;
            font-weight: 400;
        }
    }
</style>

