kobeCristiano 86152d45ce [refactor] Noticebar:升级到自定义组件 (#165)
* [improvement] Tab:升级到自定义组件

* fix: 去除冗余example代码

* [refactor] 重构badge为自定义组件 (#160)

* fix: 去除tab组件使用对象入参方式,修改example用例

* refactor: 重构noticebar组件

* fix: 去除tab组件冗余属性字段
2018-03-25 18:30:53 +08:00

44 lines
631 B
Plaintext

.zan-noticebar {
display: flex;
padding: 9px 10px;
font-size: 12px;
line-height: 1.5;
&--within-icon {
position: relative;
padding-right: 30px;
}
&__left-icon {
height: 18px;
min-width: 20px;
padding-top: 1px;
box-sizing: border-box;
> image {
width: 16px;
height: 16px;
}
}
&__right-icon {
position: absolute;
top: 10px;
right: 10px;
font-size: 15px;
line-height: 1;
}
&__content-wrap {
position: relative;
flex: 1;
height: 18px;
overflow: hidden;
}
&__content {
position: absolute;
white-space: nowrap;
}
}