@insaic/neon
Version:
A Mobile UI Components built on Vue
66 lines (64 loc) • 1.32 kB
CSS
.sq-tabs-title {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 100%;
height: 100%;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.sq-tabs-active-line {
color: #4A90E2;
}
.sq-tabs-active-block {
color: #fff;
background-color: #4A90E2;
}
.sq-tabs-wrapper {
position: relative;
}
.sq-tabs-header {
z-index: 1;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
top: 0;
left: 0;
right: 0;
text-align: center;
font-size: 16px;
overflow: hidden;
color: #878787;
background-color: #fff;
}
.sq-tabs-header-line {
z-index: 1;
left: 0;
bottom: 0;
height: 2px;
position: absolute;
background-color: #4A90E2;
-webkit-transition-duration: 0.2s;
-o-transition-duration: 0.2s;
transition-duration: 0.2s;
}
.sq-tabs-header-item {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}