wux-weapp
Version:
一套组件化、可复用、易扩展的微信小程序 UI 组件库
57 lines (46 loc) • 1.13 kB
text/less
@import "../styles/mixins/index.less";
@import "../styles/themes/index.less";
.@{wux-prefix}-notice-bar {
background-color: @notice-bar-bg;
height: @notice-bar-height;
overflow: hidden;
font-size: @notice-bar-font-size;
line-height: @notice-bar-height;
color: @notice-bar-color;
display: flex;
padding: 0 @notice-bar-icon-margin;
&__icon {
.square(@notice-bar-icon-size);
margin-right: @notice-bar-icon-margin;
}
&__action {
.square(@notice-bar-icon-size);
margin-left: @notice-bar-icon-margin;
}
&__hd {
display: flex;
align-items: center;
}
&__bd {
flex: 1;
width: 100%;
width: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__marquee-container {
overflow: hidden;
}
&__marquee {
position: relative;
transform: translate3d(0, 0, 0);
white-space: nowrap;
display: inline-block;
}
&__ft {
display: flex;
align-items: center;
cursor: pointer;
}
}