antd-mobile
Version:
基于 React 的移动设计规范实现
69 lines (68 loc) • 1.26 kB
CSS
.hairline-remove-right-bottom {
border-bottom: 0;
}
.hairline-remove-right-bottom:after {
display: none;
}
.hairline-remove-right-bottom-bak:after {
display: none;
}
.hairline-remove-left-top:before {
display: none;
}
.am-navbar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 12px 30px;
background-color: #108ee9;
color: #fff;
}
.am-navbar-light {
background-color: #fff;
color: #108ee9;
}
.am-navbar-left {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
font-size: 32px;
}
.am-navbar-left-icon {
margin-right: 12px;
}
.am-navbar-title {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
width: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 80%;
text-align: center;
font-size: 36px;
line-height: 1.5;
}
.am-navbar-light .am-navbar-title {
color: #000;
}
.am-navbar-right {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
font-size: 32px;
text-align: right;
}
.am-navbar-right .anticon {
margin-right: 12px;
}
.am-navbar-right .anticon:last-child {
margin-right: 0;
}
.am-navbar-right-content {
margin-right: 12px;
}