ym-mint-ui
Version:
750px for Mint UI
68 lines (67 loc) • 1.51 kB
CSS
/* Cell Component */
/* Header Component */
/* Button Component */
/* Tab Item Component */
/* Tabbar Component */
/* Navbar Component */
/* Checklist Component */
/* Radio Component */
/* Range Component */
/* z-index */
.mint-navbar {
color: #666;
background-color: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: center;
}
.mint-navbar .mint-tab-item {
padding: 30px 0;
font-size: 32px;
position: relative;
border-bottom: 1px solid #eee
}
.mint-navbar .mint-tab-item::before, .mint-navbar .mint-tab-item::after {
content: " " ;
display: block;
}
.mint-navbar .mint-tab-item::before {
width: 60px;
height: 6px;
background-color: #fff;
border-radius: 3px;
position: absolute;
bottom: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.mint-navbar .mint-tab-item::after {
width: 1px;
height: 30px;
background-color: #eee;
position: absolute;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.mint-navbar .mint-tab-item:last-child {}
.mint-navbar .mint-tab-item:last-child::after {
width: 0;
}
.mint-navbar .mint-tab-item.is-selected {
font-weight: 700;
color: #13b9bf;
}
.mint-navbar .mint-tab-item.is-selected::before {
background-color: #13b9bf;
}
.mint-navbar.is-fixed {
top: 0;
right: 0;
left: 0;
position: fixed;
z-index: 1;
}